From 30d8319aa9105956ba7e27f17f1a530acaf26fdc Mon Sep 17 00:00:00 2001 From: desrosj Date: Mon, 30 Sep 2019 20:07:06 +0000 Subject: [PATCH] Block Editor: Update WordPress packages to include the latest bug fixes. Updated packages: @wordpress/annotations@1.7.1 @wordpress/api-fetch@3.6.1 @wordpress/babel-plugin-makepot@3.2.1 @wordpress/babel-preset-default@4.6.1 @wordpress/block-directory@1.0.1 @wordpress/block-editor@3.2.1 @wordpress/block-library@2.9.1 @wordpress/blocks@6.7.1 @wordpress/components@8.3.1 @wordpress/compose@3.7.1 @wordpress/core-data@2.7.1 @wordpress/data-controls@1.3.1 @wordpress/data@4.9.1 @wordpress/docgen@1.4.1 @wordpress/dom@2.5.1 @wordpress/e2e-test-utils@2.4.1 @wordpress/e2e-tests@1.7.1 @wordpress/edit-post@3.8.1 @wordpress/editor@9.7.1 @wordpress/element@2.8.1 @wordpress/format-library@1.9.1 @wordpress/i18n@3.6.1 @wordpress/jest-console@3.3.1 @wordpress/jest-preset-default@5.1.1 @wordpress/keycodes@2.6.1 @wordpress/library-export-default-webpack-plugin@1.4.1 @wordpress/list-reusable-blocks@1.8.1 @wordpress/media-utils@1.2.1 @wordpress/notices@1.8.1 @wordpress/nux@3.7.1 @wordpress/plugins@2.7.1 @wordpress/redux-routine@3.6.1 @wordpress/rich-text@3.7.1 @wordpress/scripts@5.0.1 @wordpress/server-side-render@1.3.1 @wordpress/shortcode@2.4.1 @wordpress/token-list@1.6.1 @wordpress/viewport@2.8.1 @wordpress/wordcount@2.6.1 Props epiqueras, youknowriad, donmhico, jorgefilipecosta, soean, mcsf, noisysocks, andraganescu, gziolo, talldanwp, iseulde, nrqsnchz, mapk, karmatosed, joen, afercia, kjellr, desrosj. Fixes #48186. Built from https://develop.svn.wordpress.org/trunk@46364 git-svn-id: http://core.svn.wordpress.org/trunk@46163 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../css/dist/block-editor/style-rtl.css | 31 +- .../css/dist/block-editor/style-rtl.min.css | 2 +- wp-includes/css/dist/block-editor/style.css | 31 +- .../css/dist/block-editor/style.min.css | 4 +- .../css/dist/block-library/style-rtl.css | 5 - .../css/dist/block-library/style-rtl.min.css | 2 +- wp-includes/css/dist/block-library/style.css | 5 - .../css/dist/block-library/style.min.css | 2 +- wp-includes/css/dist/components/style-rtl.css | 388 ++++++------ .../css/dist/components/style-rtl.min.css | 2 +- wp-includes/css/dist/components/style.css | 388 ++++++------ wp-includes/css/dist/components/style.min.css | 4 +- wp-includes/css/dist/edit-post/style-rtl.css | 22 +- .../css/dist/edit-post/style-rtl.min.css | 2 +- wp-includes/css/dist/edit-post/style.css | 22 +- wp-includes/css/dist/edit-post/style.min.css | 2 +- wp-includes/css/dist/editor/style-rtl.css | 60 +- wp-includes/css/dist/editor/style-rtl.min.css | 2 +- wp-includes/css/dist/editor/style.css | 60 +- wp-includes/css/dist/editor/style.min.css | 2 +- wp-includes/js/dist/annotations.js | 4 +- wp-includes/js/dist/annotations.min.js | 2 +- wp-includes/js/dist/block-editor.js | 409 ++++--------- wp-includes/js/dist/block-editor.min.js | 4 +- wp-includes/js/dist/block-library.js | 466 ++++++++++++-- wp-includes/js/dist/block-library.min.js | 8 +- wp-includes/js/dist/blocks.js | 23 +- wp-includes/js/dist/blocks.min.js | 2 +- wp-includes/js/dist/components.js | 566 +++++++++--------- wp-includes/js/dist/components.min.js | 6 +- wp-includes/js/dist/core-data.js | 120 +++- wp-includes/js/dist/core-data.min.js | 2 +- wp-includes/js/dist/edit-post.js | 26 +- wp-includes/js/dist/edit-post.min.js | 2 +- wp-includes/js/dist/editor.js | 440 ++++++++------ wp-includes/js/dist/editor.min.js | 4 +- wp-includes/js/dist/media-utils.js | 4 +- wp-includes/js/dist/media-utils.min.js | 2 +- wp-includes/js/dist/nux.js | 4 +- wp-includes/js/dist/nux.min.js | 2 +- wp-includes/js/dist/rich-text.js | 34 +- wp-includes/js/dist/rich-text.min.js | 2 +- wp-includes/script-loader.php | 58 +- wp-includes/version.php | 2 +- 44 files changed, 1830 insertions(+), 1398 deletions(-) diff --git a/wp-includes/css/dist/block-editor/style-rtl.css b/wp-includes/css/dist/block-editor/style-rtl.css index 9901af5ba5..797513b009 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.css +++ b/wp-includes/css/dist/block-editor/style-rtl.css @@ -284,7 +284,6 @@ .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; } @@ -885,11 +884,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ margin-left: -14px; margin-right: -14px; margin-bottom: -14px; - transform: translateY(-14px); - padding: 10px 14px; } - @media (min-width: 600px) { - .block-editor-block-list__block .block-editor-warning { - padding: 10px 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; } @@ -1194,6 +1191,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ margin-top: -75%; } .block-editor-block-styles__item-preview .block-editor-block-preview__container { padding-top: 0; + margin: 0; margin-top: -75%; } .block-editor-block-styles__item-label { @@ -1755,6 +1753,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ padding: 10px; display: grid; flex-grow: 2; } + .block-editor-inserter__preview-content .block-editor-block-preview__container { + margin-left: 0; + margin-right: 0; } .block-editor-block-types-list__list-item { display: block; @@ -2235,24 +2236,29 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before background-color: #fff; border: 1px solid #e2e4e7; text-align: right; - padding: 20px; } + 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); - border-right-color: transparent; } + border-color: rgba(66, 88, 99, 0.4); } + @media (min-width: 600px) { + .is-selected .block-editor-warning { + border-right-color: transparent; } } .is-dark-theme .is-selected .block-editor-warning { border-color: rgba(255, 255, 255, 0.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; } + 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: center; + align-items: baseline; width: 100%; } .block-editor-warning .block-editor-warning__actions { display: flex; } @@ -2260,7 +2266,8 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before margin: 0 0 0 6px; } .block-editor-warning__secondary { - margin: 3px -4px 0 0; } + margin: 5px -4px 0 0; + height: 36px; } .block-editor-warning__secondary .components-icon-button { width: auto; padding: 8px 2px; } 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 462400fe57..bcbfbcd378 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[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:600px){.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block;opacity:1;animation:none;width:45px;height:auto;padding-bottom:14px;margin-top:0}}.block-editor-block-list__block[data-align=left].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=left].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}.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);padding:10px 14px}@media (min-width:600px){.block-editor-block-list__block .block-editor-warning{padding:10px 14px}}.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}.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-top:-75%}.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;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__container .components-popover.components-font-size-picker__dropdown-content.is-bottom{z-index:100001}.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 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;padding:10px;display:grid;flex-grow:2}.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:20px}.has-warning.is-multi-selected .block-editor-warning{background-color:transparent}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.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}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;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:3px -4px 0 0}.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 +@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;-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[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:600px){.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block;opacity:1;animation:none;width:45px;height:auto;padding-bottom:14px;margin-top:0}}.block-editor-block-list__block[data-align=left].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=left].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}.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}.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;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__container .components-popover.components-font-size-picker__dropdown-content.is-bottom{z-index:100001}.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 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;padding:10px;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-left:0;margin-right:0}.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 diff --git a/wp-includes/css/dist/block-editor/style.css b/wp-includes/css/dist/block-editor/style.css index d33e6b6e34..2741d70c01 100644 --- a/wp-includes/css/dist/block-editor/style.css +++ b/wp-includes/css/dist/block-editor/style.css @@ -284,7 +284,6 @@ .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; } @@ -901,11 +900,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ margin-right: -14px; margin-left: -14px; margin-bottom: -14px; - transform: translateY(-14px); - padding: 10px 14px; } - @media (min-width: 600px) { - .block-editor-block-list__block .block-editor-warning { - padding: 10px 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; } @@ -1210,6 +1207,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ margin-top: -75%; } .block-editor-block-styles__item-preview .block-editor-block-preview__container { padding-top: 0; + margin: 0; margin-top: -75%; } .block-editor-block-styles__item-label { @@ -1771,6 +1769,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ padding: 10px; display: grid; flex-grow: 2; } + .block-editor-inserter__preview-content .block-editor-block-preview__container { + margin-right: 0; + margin-left: 0; } .block-editor-block-types-list__list-item { display: block; @@ -2251,24 +2252,29 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before background-color: #fff; border: 1px solid #e2e4e7; text-align: left; - padding: 20px; } + 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); - border-left-color: transparent; } + border-color: rgba(66, 88, 99, 0.4); } + @media (min-width: 600px) { + .is-selected .block-editor-warning { + border-left-color: transparent; } } .is-dark-theme .is-selected .block-editor-warning { border-color: rgba(255, 255, 255, 0.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; } + 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: center; + align-items: baseline; width: 100%; } .block-editor-warning .block-editor-warning__actions { display: flex; } @@ -2276,7 +2282,8 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before margin: 0 6px 0 0; } .block-editor-warning__secondary { - margin: 3px 0 0 -4px; } + margin: 5px 0 0 -4px; + height: 36px; } .block-editor-warning__secondary .components-icon-button { width: auto; padding: 8px 2px; } diff --git a/wp-includes/css/dist/block-editor/style.min.css b/wp-includes/css/dist/block-editor/style.min.css index aec5e7f2d9..3b56753ae7 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{ +@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;-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{ /*!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 @@ -10,4 +10,4 @@ /*!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: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[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:600px){.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block;opacity:1;animation:none;width:45px;height:auto;padding-bottom:14px;margin-top:0}}.block-editor-block-list__block[data-align=left].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=left].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}.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);padding:10px 14px}@media (min-width:600px){.block-editor-block-list__block .block-editor-warning{padding:10px 14px}}.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}.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-top:-75%}.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;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__container .components-popover.components-font-size-picker__dropdown-content.is-bottom{z-index:100001}.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 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;padding:10px;display:grid;flex-grow:2}.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:20px}.has-warning.is-multi-selected .block-editor-warning{background-color:transparent}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) 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}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;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:3px 0 0 -4px}.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>.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[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}@media (min-width:600px){.block-editor-block-list__block[data-align=left].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-selected>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block;opacity:1;animation:none;width:45px;height:auto;padding-bottom:14px;margin-top:0}}.block-editor-block-list__block[data-align=left].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=left].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-dragging>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__block[data-align=right].is-hovered>.block-editor-block-list__block-edit>.block-editor-block-mover{display:none}.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}.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;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__container .components-popover.components-font-size-picker__dropdown-content.is-bottom{z-index:100001}.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 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;padding:10px;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-right:0;margin-left:0}.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 diff --git a/wp-includes/css/dist/block-library/style-rtl.css b/wp-includes/css/dist/block-library/style-rtl.css index 07e6898754..1f6adbbbf3 100644 --- a/wp-includes/css/dist/block-library/style-rtl.css +++ b/wp-includes/css/dist/block-library/style-rtl.css @@ -653,11 +653,6 @@ .blocks-gallery-grid.alignright { max-width: 305px; width: 100%; } - .wp-block-gallery.alignleft, .wp-block-gallery.aligncenter, .wp-block-gallery.alignright, - .blocks-gallery-grid.alignleft, - .blocks-gallery-grid.aligncenter, - .blocks-gallery-grid.alignright { - display: flex; } .wp-block-gallery.aligncenter .blocks-gallery-item figure, .blocks-gallery-grid.aligncenter .blocks-gallery-item figure { justify-content: center; } 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 374bda0b5f..c6878b2a15 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 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{margin-bottom:1em;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{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-left-content,.wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover-image.has-left-content .wp-block-cover-text,.wp-block-cover-image.has-left-content h2,.wp-block-cover.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,.wp-block-cover.has-left-content h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content,.wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover-image.has-right-content .wp-block-cover-text,.wp-block-cover-image.has-right-content h2,.wp-block-cover.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,.wp-block-cover.has-right-content h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image .wp-block-cover-text,.wp-block-cover-image h2,.wp-block-cover .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,.wp-block-cover h2{color:#fff;font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:610px;padding:14px;text-align:center}.wp-block-cover-image .wp-block-cover-image-text a,.wp-block-cover-image .wp-block-cover-image-text a:active,.wp-block-cover-image .wp-block-cover-image-text a:focus,.wp-block-cover-image .wp-block-cover-image-text a:hover,.wp-block-cover-image .wp-block-cover-text a,.wp-block-cover-image .wp-block-cover-text a:active,.wp-block-cover-image .wp-block-cover-text a:focus,.wp-block-cover-image .wp-block-cover-text a:hover,.wp-block-cover-image h2 a,.wp-block-cover-image h2 a:active,.wp-block-cover-image h2 a:focus,.wp-block-cover-image h2 a:hover,.wp-block-cover .wp-block-cover-image-text a,.wp-block-cover .wp-block-cover-image-text a:active,.wp-block-cover .wp-block-cover-image-text a:focus,.wp-block-cover .wp-block-cover-image-text a:hover,.wp-block-cover .wp-block-cover-text a,.wp-block-cover .wp-block-cover-text a:active,.wp-block-cover .wp-block-cover-text a:focus,.wp-block-cover .wp-block-cover-text a:hover,.wp-block-cover h2 a,.wp-block-cover h2 a:active,.wp-block-cover h2 a:focus,.wp-block-cover h2 a:hover{color:#fff}.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,.wp-block-cover-image h1,.wp-block-cover-image h2,.wp-block-cover-image h3,.wp-block-cover-image h4,.wp-block-cover-image h5,.wp-block-cover-image h6,.wp-block-cover-image p,.wp-block-cover .wp-block-subhead,.wp-block-cover h1,.wp-block-cover h2,.wp-block-cover h3,.wp-block-cover h4,.wp-block-cover h5,.wp-block-cover h6,.wp-block-cover p{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}.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-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-bottom: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-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.aligncenter,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{display:flex}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}figure.wp-block-gallery{display:block;margin:0}.wp-block-image{max-width:100%;margin-bottom:1em;margin-right:0;margin-left:0}.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}.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:grid;grid-template-rows:auto;align-items:center;grid-template-areas:"media-text-media media-text-content";grid-template-columns:50% auto}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media";grid-template-columns:auto 50%}.wp-block-media-text.is-vertically-aligned-top{align-items:start}.wp-block-media-text.is-vertically-aligned-center{align-items:center}.wp-block-media-text.is-vertically-aligned-bottom{align-items:end}.wp-block-media-text .wp-block-media-text__media{grid-area:media-text-media;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;grid-area:media-text-content;padding:0 8%}.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{grid-template-columns:100%!important;grid-template-areas:"media-text-media" "media-text-content"}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right{grid-template-areas:"media-text-content" "media-text-media"}}.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}.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}: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}figcaption{margin-top:.5em}img{max-width:100%;height:auto}iframe{width:100%} \ No newline at end of file +.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{margin-bottom:1em;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{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-left-content,.wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover-image.has-left-content .wp-block-cover-text,.wp-block-cover-image.has-left-content h2,.wp-block-cover.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,.wp-block-cover.has-left-content h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content,.wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover-image.has-right-content .wp-block-cover-text,.wp-block-cover-image.has-right-content h2,.wp-block-cover.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,.wp-block-cover.has-right-content h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image .wp-block-cover-text,.wp-block-cover-image h2,.wp-block-cover .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,.wp-block-cover h2{color:#fff;font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:610px;padding:14px;text-align:center}.wp-block-cover-image .wp-block-cover-image-text a,.wp-block-cover-image .wp-block-cover-image-text a:active,.wp-block-cover-image .wp-block-cover-image-text a:focus,.wp-block-cover-image .wp-block-cover-image-text a:hover,.wp-block-cover-image .wp-block-cover-text a,.wp-block-cover-image .wp-block-cover-text a:active,.wp-block-cover-image .wp-block-cover-text a:focus,.wp-block-cover-image .wp-block-cover-text a:hover,.wp-block-cover-image h2 a,.wp-block-cover-image h2 a:active,.wp-block-cover-image h2 a:focus,.wp-block-cover-image h2 a:hover,.wp-block-cover .wp-block-cover-image-text a,.wp-block-cover .wp-block-cover-image-text a:active,.wp-block-cover .wp-block-cover-image-text a:focus,.wp-block-cover .wp-block-cover-image-text a:hover,.wp-block-cover .wp-block-cover-text a,.wp-block-cover .wp-block-cover-text a:active,.wp-block-cover .wp-block-cover-text a:focus,.wp-block-cover .wp-block-cover-text a:hover,.wp-block-cover h2 a,.wp-block-cover h2 a:active,.wp-block-cover h2 a:focus,.wp-block-cover h2 a:hover{color:#fff}.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,.wp-block-cover-image h1,.wp-block-cover-image h2,.wp-block-cover-image h3,.wp-block-cover-image h4,.wp-block-cover-image h5,.wp-block-cover-image h6,.wp-block-cover-image p,.wp-block-cover .wp-block-subhead,.wp-block-cover h1,.wp-block-cover h2,.wp-block-cover h3,.wp-block-cover h4,.wp-block-cover h5,.wp-block-cover h6,.wp-block-cover p{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}.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-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-bottom: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}figure.wp-block-gallery{display:block;margin:0}.wp-block-image{max-width:100%;margin-bottom:1em;margin-right:0;margin-left:0}.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}.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:grid;grid-template-rows:auto;align-items:center;grid-template-areas:"media-text-media media-text-content";grid-template-columns:50% auto}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media";grid-template-columns:auto 50%}.wp-block-media-text.is-vertically-aligned-top{align-items:start}.wp-block-media-text.is-vertically-aligned-center{align-items:center}.wp-block-media-text.is-vertically-aligned-bottom{align-items:end}.wp-block-media-text .wp-block-media-text__media{grid-area:media-text-media;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;grid-area:media-text-content;padding:0 8%}.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{grid-template-columns:100%!important;grid-template-areas:"media-text-media" "media-text-content"}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right{grid-template-areas:"media-text-content" "media-text-media"}}.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}.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}: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}figcaption{margin-top:.5em}img{max-width:100%;height:auto}iframe{width:100%} \ 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 e47bb3a456..544e64dd7a 100644 --- a/wp-includes/css/dist/block-library/style.css +++ b/wp-includes/css/dist/block-library/style.css @@ -657,11 +657,6 @@ .blocks-gallery-grid.alignright { max-width: 305px; width: 100%; } - .wp-block-gallery.alignleft, .wp-block-gallery.aligncenter, .wp-block-gallery.alignright, - .blocks-gallery-grid.alignleft, - .blocks-gallery-grid.aligncenter, - .blocks-gallery-grid.alignright { - display: flex; } .wp-block-gallery.aligncenter .blocks-gallery-item figure, .blocks-gallery-grid.aligncenter .blocks-gallery-item figure { justify-content: center; } diff --git a/wp-includes/css/dist/block-library/style.min.css b/wp-includes/css/dist/block-library/style.min.css index 2d624f0366..d54ecec5dd 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 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{margin-bottom:1em;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{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-left-content,.wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover-image.has-left-content .wp-block-cover-text,.wp-block-cover-image.has-left-content h2,.wp-block-cover.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,.wp-block-cover.has-left-content h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content,.wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover-image.has-right-content .wp-block-cover-text,.wp-block-cover-image.has-right-content h2,.wp-block-cover.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,.wp-block-cover.has-right-content h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image .wp-block-cover-text,.wp-block-cover-image h2,.wp-block-cover .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,.wp-block-cover h2{color:#fff;font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:610px;padding:14px;text-align:center}.wp-block-cover-image .wp-block-cover-image-text a,.wp-block-cover-image .wp-block-cover-image-text a:active,.wp-block-cover-image .wp-block-cover-image-text a:focus,.wp-block-cover-image .wp-block-cover-image-text a:hover,.wp-block-cover-image .wp-block-cover-text a,.wp-block-cover-image .wp-block-cover-text a:active,.wp-block-cover-image .wp-block-cover-text a:focus,.wp-block-cover-image .wp-block-cover-text a:hover,.wp-block-cover-image h2 a,.wp-block-cover-image h2 a:active,.wp-block-cover-image h2 a:focus,.wp-block-cover-image h2 a:hover,.wp-block-cover .wp-block-cover-image-text a,.wp-block-cover .wp-block-cover-image-text a:active,.wp-block-cover .wp-block-cover-image-text a:focus,.wp-block-cover .wp-block-cover-image-text a:hover,.wp-block-cover .wp-block-cover-text a,.wp-block-cover .wp-block-cover-text a:active,.wp-block-cover .wp-block-cover-text a:focus,.wp-block-cover .wp-block-cover-text a:hover,.wp-block-cover h2 a,.wp-block-cover h2 a:active,.wp-block-cover h2 a:focus,.wp-block-cover h2 a:hover{color:#fff}.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,.wp-block-cover-image h1,.wp-block-cover-image h2,.wp-block-cover-image h3,.wp-block-cover-image h4,.wp-block-cover-image h5,.wp-block-cover-image h6,.wp-block-cover-image p,.wp-block-cover .wp-block-subhead,.wp-block-cover h1,.wp-block-cover h2,.wp-block-cover h3,.wp-block-cover h4,.wp-block-cover h5,.wp-block-cover h6,.wp-block-cover p{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}.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-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-bottom: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-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.aligncenter,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{display:flex}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}figure.wp-block-gallery{display:block;margin:0}.wp-block-image{max-width:100%;margin-bottom:1em;margin-left:0;margin-right:0}.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}.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:grid;grid-template-rows:auto;align-items:center;grid-template-areas:"media-text-media media-text-content";grid-template-columns:50% auto}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media";grid-template-columns:auto 50%}.wp-block-media-text.is-vertically-aligned-top{align-items:start}.wp-block-media-text.is-vertically-aligned-center{align-items:center}.wp-block-media-text.is-vertically-aligned-bottom{align-items:end}.wp-block-media-text .wp-block-media-text__media{grid-area:media-text-media;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;grid-area:media-text-content;padding:0 8%}.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{grid-template-columns:100%!important;grid-template-areas:"media-text-media" "media-text-content"}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right{grid-template-areas:"media-text-content" "media-text-media"}}.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}.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}: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}figcaption{margin-top:.5em}img{max-width:100%;height:auto}iframe{width:100%} \ No newline at end of file +.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{margin-bottom:1em;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{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-left-content,.wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover-image.has-left-content .wp-block-cover-text,.wp-block-cover-image.has-left-content h2,.wp-block-cover.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,.wp-block-cover.has-left-content h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content,.wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover-image.has-right-content .wp-block-cover-text,.wp-block-cover-image.has-right-content h2,.wp-block-cover.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,.wp-block-cover.has-right-content h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image .wp-block-cover-text,.wp-block-cover-image h2,.wp-block-cover .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,.wp-block-cover h2{color:#fff;font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:610px;padding:14px;text-align:center}.wp-block-cover-image .wp-block-cover-image-text a,.wp-block-cover-image .wp-block-cover-image-text a:active,.wp-block-cover-image .wp-block-cover-image-text a:focus,.wp-block-cover-image .wp-block-cover-image-text a:hover,.wp-block-cover-image .wp-block-cover-text a,.wp-block-cover-image .wp-block-cover-text a:active,.wp-block-cover-image .wp-block-cover-text a:focus,.wp-block-cover-image .wp-block-cover-text a:hover,.wp-block-cover-image h2 a,.wp-block-cover-image h2 a:active,.wp-block-cover-image h2 a:focus,.wp-block-cover-image h2 a:hover,.wp-block-cover .wp-block-cover-image-text a,.wp-block-cover .wp-block-cover-image-text a:active,.wp-block-cover .wp-block-cover-image-text a:focus,.wp-block-cover .wp-block-cover-image-text a:hover,.wp-block-cover .wp-block-cover-text a,.wp-block-cover .wp-block-cover-text a:active,.wp-block-cover .wp-block-cover-text a:focus,.wp-block-cover .wp-block-cover-text a:hover,.wp-block-cover h2 a,.wp-block-cover h2 a:active,.wp-block-cover h2 a:focus,.wp-block-cover h2 a:hover{color:#fff}.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,.wp-block-cover-image h1,.wp-block-cover-image h2,.wp-block-cover-image h3,.wp-block-cover-image h4,.wp-block-cover-image h5,.wp-block-cover-image h6,.wp-block-cover-image p,.wp-block-cover .wp-block-subhead,.wp-block-cover h1,.wp-block-cover h2,.wp-block-cover h3,.wp-block-cover h4,.wp-block-cover h5,.wp-block-cover h6,.wp-block-cover p{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}.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-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-bottom: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}figure.wp-block-gallery{display:block;margin:0}.wp-block-image{max-width:100%;margin-bottom:1em;margin-left:0;margin-right:0}.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}.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:grid;grid-template-rows:auto;align-items:center;grid-template-areas:"media-text-media media-text-content";grid-template-columns:50% auto}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media";grid-template-columns:auto 50%}.wp-block-media-text.is-vertically-aligned-top{align-items:start}.wp-block-media-text.is-vertically-aligned-center{align-items:center}.wp-block-media-text.is-vertically-aligned-bottom{align-items:end}.wp-block-media-text .wp-block-media-text__media{grid-area:media-text-media;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;grid-area:media-text-content;padding:0 8%}.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{grid-template-columns:100%!important;grid-template-areas:"media-text-media" "media-text-content"}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right{grid-template-areas:"media-text-content" "media-text-media"}}.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}.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}: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}figcaption{margin-top:.5em}img{max-width:100%;height:auto}iframe{width:100%} \ 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 73f1b2003a..818aaaf0c8 100644 --- a/wp-includes/css/dist/components/style-rtl.css +++ b/wp-includes/css/dist/components/style-rtl.css @@ -163,269 +163,304 @@ cursor: pointer; -webkit-appearance: none; background: none; + transition: box-shadow 0.1s linear; /* Buttons that look like links, for a cross of good semantics with the visual */ /* Link buttons that are red to indicate destructive behavior. */ } + @media (prefers-reduced-motion: reduce) { + .components-button { + transition-duration: 0s; } } .components-button.is-button { - padding: 0 10px 1px; - line-height: 26px; + 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: #555; - border-color: #ccc; - background: #f7f7f7; - box-shadow: inset 0 -1px 0 #ccc; - vertical-align: top; } + color: rgb(0, 117, 175); + border-color: rgb(0, 117, 175); + background: #f3f5f6; } + body.admin-color-sunrise .components-button.is-default { + color: rgb(196, 126, 70); + border-color: rgb(196, 126, 70); } + body.admin-color-ocean .components-button.is-default { + color: rgb(153, 174, 152); + border-color: rgb(153, 174, 152); } + body.admin-color-midnight .components-button.is-default { + color: rgb(212, 72, 63); + border-color: rgb(212, 72, 63); } + body.admin-color-ectoplasm .components-button.is-default { + color: rgb(157, 171, 81); + border-color: rgb(157, 171, 81); } + body.admin-color-coffee .components-button.is-default { + color: rgb(182, 156, 132); + border-color: rgb(182, 156, 132); } + body.admin-color-blue .components-button.is-default { + color: rgb(204, 161, 84); + border-color: rgb(204, 161, 84); } + body.admin-color-light .components-button.is-default { + color: rgb(0, 125, 175); + border-color: rgb(0, 125, 175); } .components-button.is-default:hover { - background: #fafafa; - border-color: #999; - box-shadow: inset 0 -1px 0 #999; - color: #23282d; + background: #f1f1f1; + border-color: rgb(0, 93, 140); + color: rgb(0, 93, 140); text-decoration: none; } + body.admin-color-sunrise .components-button.is-default:hover { + border-color: rgb(157, 101, 56); + color: rgb(157, 101, 56); } + body.admin-color-ocean .components-button.is-default:hover { + border-color: rgb(122, 139, 122); + color: rgb(122, 139, 122); } + body.admin-color-midnight .components-button.is-default:hover { + border-color: rgb(169, 58, 50); + color: rgb(169, 58, 50); } + body.admin-color-ectoplasm .components-button.is-default:hover { + border-color: rgb(125, 137, 65); + color: rgb(125, 137, 65); } + body.admin-color-coffee .components-button.is-default:hover { + border-color: rgb(146, 125, 105); + color: rgb(146, 125, 105); } + body.admin-color-blue .components-button.is-default:hover { + border-color: rgb(163, 128, 67); + color: rgb(163, 128, 67); } + body.admin-color-light .components-button.is-default:hover { + border-color: rgb(0, 100, 140); + color: rgb(0, 100, 140); } .components-button.is-default:focus:enabled { - background: #fafafa; - color: #23282d; - border-color: #999; - box-shadow: inset 0 -1px 0 #999, 0 0 0 1px #fff, 0 0 0 3px #007cba; + background: #f3f5f6; + color: rgb(0, 93, 140); + border-color: rgb(0, 118, 177); + box-shadow: 0 0 0 1px rgb(0, 118, 177); text-decoration: none; } + body.admin-color-sunrise .components-button.is-default:focus:enabled { + color: rgb(157, 101, 56); + border-color: rgb(199, 127, 70); + box-shadow: 0 0 0 1px rgb(199, 127, 70); } + body.admin-color-ocean .components-button.is-default:focus:enabled { + color: rgb(122, 139, 122); + border-color: rgb(155, 176, 154); + box-shadow: 0 0 0 1px rgb(155, 176, 154); } + body.admin-color-midnight .components-button.is-default:focus:enabled { + color: rgb(169, 58, 50); + border-color: rgb(214, 73, 64); + box-shadow: 0 0 0 1px rgb(214, 73, 64); } + body.admin-color-ectoplasm .components-button.is-default:focus:enabled { + color: rgb(125, 137, 65); + border-color: rgb(159, 173, 82); + box-shadow: 0 0 0 1px rgb(159, 173, 82); } + body.admin-color-coffee .components-button.is-default:focus:enabled { + color: rgb(146, 125, 105); + border-color: rgb(184, 158, 133); + box-shadow: 0 0 0 1px rgb(184, 158, 133); } + body.admin-color-blue .components-button.is-default:focus:enabled { + color: rgb(163, 128, 67); + border-color: rgb(206, 162, 85); + box-shadow: 0 0 0 1px rgb(206, 162, 85); } + body.admin-color-light .components-button.is-default:focus:enabled { + color: rgb(0, 100, 140); + border-color: rgb(0, 126, 177); + box-shadow: 0 0 0 1px rgb(0, 126, 177); } .components-button.is-default:active:enabled { - background: #eee; - border-color: #999; - box-shadow: inset 0 1px 0 #999; } + background: #f3f5f6; + color: rgb(0, 118, 177); + border-color: #7e8993; + box-shadow: none; } + body.admin-color-sunrise .components-button.is-default:active:enabled { + color: rgb(199, 127, 70); } + body.admin-color-ocean .components-button.is-default:active:enabled { + color: rgb(155, 176, 154); } + body.admin-color-midnight .components-button.is-default:active:enabled { + color: rgb(214, 73, 64); } + body.admin-color-ectoplasm .components-button.is-default:active:enabled { + color: rgb(159, 173, 82); } + body.admin-color-coffee .components-button.is-default:active:enabled { + color: rgb(184, 158, 133); } + body.admin-color-blue .components-button.is-default:active:enabled { + color: rgb(206, 162, 85); } + body.admin-color-light .components-button.is-default:active:enabled { + color: rgb(0, 126, 177); } .components-button.is-default:disabled, .components-button.is-default[aria-disabled="true"] { color: #a0a5aa; border-color: #ddd; background: #f7f7f7; - box-shadow: none; text-shadow: 0 1px 0 #fff; transform: none; opacity: 1; } .components-button.is-primary { - background: rgb(0, 133, 186); - border-color: rgb(0, 106, 149) rgb(0, 100, 140) rgb(0, 100, 140); - box-shadow: inset 0 -1px 0 rgb(0, 100, 140); + background: rgb(0, 124, 186); + border-color: rgb(0, 124, 186); color: #fff; text-decoration: none; - text-shadow: 0 -1px 1px rgb(0, 93, 130), -1px 0 1px rgb(0, 93, 130), 0 1px 1px rgb(0, 93, 130), 1px 0 1px rgb(0, 93, 130); } + text-shadow: none; } body.admin-color-sunrise .components-button.is-primary { background: rgb(209, 134, 74); - border-color: rgb(167, 107, 59) rgb(157, 101, 56) rgb(157, 101, 56); - box-shadow: inset 0 -1px 0 rgb(157, 101, 56); - text-shadow: 0 -1px 1px rgb(146, 94, 52), -1px 0 1px rgb(146, 94, 52), 0 1px 1px rgb(146, 94, 52), 1px 0 1px rgb(146, 94, 52); } + border-color: rgb(209, 134, 74); } body.admin-color-ocean .components-button.is-primary { background: rgb(163, 185, 162); - border-color: rgb(130, 148, 130) rgb(122, 139, 122) rgb(122, 139, 122); - box-shadow: inset 0 -1px 0 rgb(122, 139, 122); - text-shadow: 0 -1px 1px rgb(114, 130, 113), -1px 0 1px rgb(114, 130, 113), 0 1px 1px rgb(114, 130, 113), 1px 0 1px rgb(114, 130, 113); } + border-color: rgb(163, 185, 162); } body.admin-color-midnight .components-button.is-primary { background: rgb(225, 77, 67); - border-color: rgb(180, 62, 54) rgb(169, 58, 50) rgb(169, 58, 50); - box-shadow: inset 0 -1px 0 rgb(169, 58, 50); - text-shadow: 0 -1px 1px rgb(158, 54, 47), -1px 0 1px rgb(158, 54, 47), 0 1px 1px rgb(158, 54, 47), 1px 0 1px rgb(158, 54, 47); } + border-color: rgb(225, 77, 67); } body.admin-color-ectoplasm .components-button.is-primary { background: rgb(167, 182, 86); - border-color: rgb(134, 146, 69) rgb(125, 137, 65) rgb(125, 137, 65); - box-shadow: inset 0 -1px 0 rgb(125, 137, 65); - text-shadow: 0 -1px 1px rgb(117, 127, 60), -1px 0 1px rgb(117, 127, 60), 0 1px 1px rgb(117, 127, 60), 1px 0 1px rgb(117, 127, 60); } + border-color: rgb(167, 182, 86); } body.admin-color-coffee .components-button.is-primary { background: rgb(194, 166, 140); - border-color: rgb(155, 133, 112) rgb(146, 125, 105) rgb(146, 125, 105); - box-shadow: inset 0 -1px 0 rgb(146, 125, 105); - text-shadow: 0 -1px 1px rgb(136, 116, 98), -1px 0 1px rgb(136, 116, 98), 0 1px 1px rgb(136, 116, 98), 1px 0 1px rgb(136, 116, 98); } + border-color: rgb(194, 166, 140); } body.admin-color-blue .components-button.is-primary { background: rgb(217, 171, 89); - border-color: rgb(174, 137, 71) rgb(163, 128, 67) rgb(163, 128, 67); - box-shadow: inset 0 -1px 0 rgb(163, 128, 67); - text-shadow: 0 -1px 1px rgb(152, 120, 62), -1px 0 1px rgb(152, 120, 62), 0 1px 1px rgb(152, 120, 62), 1px 0 1px rgb(152, 120, 62); } + border-color: rgb(217, 171, 89); } body.admin-color-light .components-button.is-primary { background: rgb(0, 133, 186); - border-color: rgb(0, 106, 149) rgb(0, 100, 140) rgb(0, 100, 140); - box-shadow: inset 0 -1px 0 rgb(0, 100, 140); - text-shadow: 0 -1px 1px rgb(0, 93, 130), -1px 0 1px rgb(0, 93, 130), 0 1px 1px rgb(0, 93, 130), 1px 0 1px rgb(0, 93, 130); } + border-color: rgb(0, 133, 186); } .components-button.is-primary:hover, .components-button.is-primary:focus:enabled { - background: rgb(0, 126, 177); - border-color: rgb(0, 67, 93); + background: rgb(0, 112, 167); + border-color: rgb(0, 112, 167); color: #fff; } body.admin-color-sunrise .components-button.is-primary:hover, body.admin-color-sunrise .components-button.is-primary:focus:enabled { - background: rgb(199, 127, 70); - border-color: rgb(105, 67, 37); } + background: rgb(188, 121, 67); + border-color: rgb(188, 121, 67); } body.admin-color-ocean .components-button.is-primary:hover, body.admin-color-ocean .components-button.is-primary:focus:enabled { - background: rgb(155, 176, 154); - border-color: rgb(82, 93, 81); } + background: rgb(147, 167, 146); + border-color: rgb(147, 167, 146); } body.admin-color-midnight .components-button.is-primary:hover, body.admin-color-midnight .components-button.is-primary:focus:enabled { - background: rgb(214, 73, 64); - border-color: rgb(113, 39, 34); } + background: rgb(203, 69, 60); + border-color: rgb(203, 69, 60); } body.admin-color-ectoplasm .components-button.is-primary:hover, body.admin-color-ectoplasm .components-button.is-primary:focus:enabled { - background: rgb(159, 173, 82); - border-color: rgb(84, 91, 43); } + background: rgb(150, 164, 77); + border-color: rgb(150, 164, 77); } body.admin-color-coffee .components-button.is-primary:hover, body.admin-color-coffee .components-button.is-primary:focus:enabled { - background: rgb(184, 158, 133); - border-color: rgb(97, 83, 70); } + background: rgb(175, 149, 126); + border-color: rgb(175, 149, 126); } body.admin-color-blue .components-button.is-primary:hover, body.admin-color-blue .components-button.is-primary:focus:enabled { - background: rgb(206, 162, 85); - border-color: rgb(109, 86, 45); } + background: rgb(195, 154, 80); + border-color: rgb(195, 154, 80); } body.admin-color-light .components-button.is-primary:hover, body.admin-color-light .components-button.is-primary:focus:enabled { - background: rgb(0, 126, 177); - border-color: rgb(0, 67, 93); } - .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(0, 67, 93); } - body.admin-color-sunrise .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(105, 67, 37); } - body.admin-color-ocean .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(82, 93, 81); } - body.admin-color-midnight .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(113, 39, 34); } - body.admin-color-ectoplasm .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(84, 91, 43); } - body.admin-color-coffee .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(97, 83, 70); } - body.admin-color-blue .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(109, 86, 45); } - body.admin-color-light .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(0, 67, 93); } + background: rgb(0, 120, 167); + border-color: rgb(0, 120, 167); } .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(0, 67, 93), 0 0 0 1px #fff, 0 0 0 3px rgb(0, 126, 177); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 124, 186); } body.admin-color-sunrise .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(105, 67, 37), 0 0 0 1px #fff, 0 0 0 3px rgb(199, 127, 70); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(209, 134, 74); } body.admin-color-ocean .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(82, 93, 81), 0 0 0 1px #fff, 0 0 0 3px rgb(155, 176, 154); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(163, 185, 162); } body.admin-color-midnight .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(113, 39, 34), 0 0 0 1px #fff, 0 0 0 3px rgb(214, 73, 64); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(225, 77, 67); } body.admin-color-ectoplasm .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(84, 91, 43), 0 0 0 1px #fff, 0 0 0 3px rgb(159, 173, 82); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(167, 182, 86); } body.admin-color-coffee .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(97, 83, 70), 0 0 0 1px #fff, 0 0 0 3px rgb(184, 158, 133); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(194, 166, 140); } body.admin-color-blue .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(109, 86, 45), 0 0 0 1px #fff, 0 0 0 3px rgb(206, 162, 85); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(217, 171, 89); } body.admin-color-light .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(0, 67, 93), 0 0 0 1px #fff, 0 0 0 3px rgb(0, 126, 177); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 133, 186); } .components-button.is-primary:active:enabled { - background: rgb(0, 106, 149); - border-color: rgb(0, 67, 93); - box-shadow: inset 0 1px 0 rgb(0, 67, 93); - vertical-align: top; } + background: rgb(0, 99, 149); + border-color: rgb(0, 99, 149); + color: #fff; } body.admin-color-sunrise .components-button.is-primary:active:enabled { background: rgb(167, 107, 59); - border-color: rgb(105, 67, 37); - box-shadow: inset 0 1px 0 rgb(105, 67, 37); } + border-color: rgb(167, 107, 59); } body.admin-color-ocean .components-button.is-primary:active:enabled { background: rgb(130, 148, 130); - border-color: rgb(82, 93, 81); - box-shadow: inset 0 1px 0 rgb(82, 93, 81); } + border-color: rgb(130, 148, 130); } body.admin-color-midnight .components-button.is-primary:active:enabled { background: rgb(180, 62, 54); - border-color: rgb(113, 39, 34); - box-shadow: inset 0 1px 0 rgb(113, 39, 34); } + border-color: rgb(180, 62, 54); } body.admin-color-ectoplasm .components-button.is-primary:active:enabled { background: rgb(134, 146, 69); - border-color: rgb(84, 91, 43); - box-shadow: inset 0 1px 0 rgb(84, 91, 43); } + border-color: rgb(134, 146, 69); } body.admin-color-coffee .components-button.is-primary:active:enabled { background: rgb(155, 133, 112); - border-color: rgb(97, 83, 70); - box-shadow: inset 0 1px 0 rgb(97, 83, 70); } + border-color: rgb(155, 133, 112); } body.admin-color-blue .components-button.is-primary:active:enabled { background: rgb(174, 137, 71); - border-color: rgb(109, 86, 45); - box-shadow: inset 0 1px 0 rgb(109, 86, 45); } + border-color: rgb(174, 137, 71); } body.admin-color-light .components-button.is-primary:active:enabled { background: rgb(0, 106, 149); - border-color: rgb(0, 67, 93); - box-shadow: inset 0 1px 0 rgb(0, 67, 93); } - .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 { - color: rgb(102, 182, 214); - background: rgb(0, 133, 186); - border-color: rgb(0, 124, 173); - box-shadow: none; - text-shadow: none; + border-color: rgb(0, 106, 149); } + .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"]:enabled, .components-button.is-primary[aria-disabled="true"]:active:enabled { + color: rgb(102, 176, 214); + background: rgb(25, 137, 193); + border-color: rgb(25, 137, 193); 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: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"]:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(227, 182, 146); - background: rgb(209, 134, 74); - border-color: rgb(194, 125, 69); } - 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 { + background: rgb(214, 146, 92); + border-color: rgb(214, 146, 92); } + 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"]:enabled, body.admin-color-ocean .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(200, 213, 199); - background: rgb(163, 185, 162); - border-color: rgb(152, 172, 151); } - 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 { + background: rgb(172, 192, 171); + border-color: rgb(172, 192, 171); } + 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"]:enabled, body.admin-color-midnight .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(237, 148, 142); - background: rgb(225, 77, 67); - border-color: rgb(209, 72, 62); } - 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 { + background: rgb(228, 95, 86); + border-color: rgb(228, 95, 86); } + 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"]:enabled, body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(202, 211, 154); - background: rgb(167, 182, 86); - border-color: rgb(155, 169, 80); } - 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 { + background: rgb(176, 189, 103); + border-color: rgb(176, 189, 103); } + 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"]:enabled, body.admin-color-coffee .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(218, 202, 186); - background: rgb(194, 166, 140); - border-color: rgb(180, 154, 130); } - 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 { + background: rgb(200, 175, 152); + border-color: rgb(200, 175, 152); } + 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"]:enabled, body.admin-color-blue .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(232, 205, 155); - background: rgb(217, 171, 89); - border-color: rgb(202, 159, 83); } - 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 { + background: rgb(221, 179, 106); + border-color: rgb(221, 179, 106); } + 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"]:enabled, body.admin-color-light .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(102, 182, 214); - background: rgb(0, 133, 186); - border-color: rgb(0, 124, 173); } - .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 { + background: rgb(25, 145, 193); + border-color: rgb(25, 145, 193); } + .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"]:enabled.is-button, .components-button.is-primary[aria-disabled="true"]:enabled.is-button:hover, .components-button.is-primary[aria-disabled="true"]:enabled: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 { box-shadow: none; text-shadow: none; } - .components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled="true"]:focus:enabled, .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(102, 182, 214); - border-color: rgb(0, 124, 173); - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; } - body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(227, 182, 146); - border-color: rgb(194, 125, 69); } - body.admin-color-ocean .components-button.is-primary:disabled:focus:enabled, body.admin-color-ocean .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-ocean .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-ocean .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(200, 213, 199); - border-color: rgb(152, 172, 151); } - body.admin-color-midnight .components-button.is-primary:disabled:focus:enabled, body.admin-color-midnight .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-midnight .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-midnight .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(237, 148, 142); - border-color: rgb(209, 72, 62); } - body.admin-color-ectoplasm .components-button.is-primary:disabled:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(202, 211, 154); - border-color: rgb(155, 169, 80); } - body.admin-color-coffee .components-button.is-primary:disabled:focus:enabled, body.admin-color-coffee .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-coffee .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-coffee .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(218, 202, 186); - border-color: rgb(180, 154, 130); } - body.admin-color-blue .components-button.is-primary:disabled:focus:enabled, body.admin-color-blue .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-blue .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-blue .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(232, 205, 155); - border-color: rgb(202, 159, 83); } - body.admin-color-light .components-button.is-primary:disabled:focus:enabled, body.admin-color-light .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-light .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-light .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(102, 182, 214); - border-color: rgb(0, 124, 173); } + .components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled="true"]:focus:enabled, .components-button.is-primary[aria-disabled="true"]:enabled:focus:enabled, .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 124, 186); } + body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(209, 134, 74); } + body.admin-color-ocean .components-button.is-primary:disabled:focus:enabled, body.admin-color-ocean .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-ocean .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(163, 185, 162); } + body.admin-color-midnight .components-button.is-primary:disabled:focus:enabled, body.admin-color-midnight .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-midnight .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(225, 77, 67); } + body.admin-color-ectoplasm .components-button.is-primary:disabled:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(167, 182, 86); } + body.admin-color-coffee .components-button.is-primary:disabled:focus:enabled, body.admin-color-coffee .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-coffee .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(194, 166, 140); } + body.admin-color-blue .components-button.is-primary:disabled:focus:enabled, body.admin-color-blue .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-blue .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(217, 171, 89); } + body.admin-color-light .components-button.is-primary:disabled:focus:enabled, body.admin-color-light .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-light .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 133, 186); } .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%; /* stylelint-disable */ - background-image: linear-gradient(45deg, #0085ba 28%, rgb(0, 93, 130) 28%, rgb(0, 93, 130) 72%, #0085ba 72%); + background-image: linear-gradient(45deg, #007cba 28%, rgb(0, 99, 149) 28%, rgb(0, 99, 149) 72%, #007cba 72%); /* stylelint-enable */ - border-color: rgb(0, 67, 93); } + border-color: rgb(0, 124, 186); } 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%, rgb(146, 94, 52) 28%, rgb(146, 94, 52) 72%, #d1864a 72%); - border-color: rgb(105, 67, 37); } + background-image: linear-gradient(45deg, #d1864a 28%, rgb(167, 107, 59) 28%, rgb(167, 107, 59) 72%, #d1864a 72%); + border-color: rgb(209, 134, 74); } 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%, rgb(114, 130, 113) 28%, rgb(114, 130, 113) 72%, #a3b9a2 72%); - border-color: rgb(82, 93, 81); } + background-image: linear-gradient(45deg, #a3b9a2 28%, rgb(130, 148, 130) 28%, rgb(130, 148, 130) 72%, #a3b9a2 72%); + border-color: rgb(163, 185, 162); } 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%, rgb(158, 54, 47) 28%, rgb(158, 54, 47) 72%, #e14d43 72%); - border-color: rgb(113, 39, 34); } + background-image: linear-gradient(45deg, #e14d43 28%, rgb(180, 62, 54) 28%, rgb(180, 62, 54) 72%, #e14d43 72%); + border-color: rgb(225, 77, 67); } 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%, rgb(117, 127, 60) 28%, rgb(117, 127, 60) 72%, #a7b656 72%); - border-color: rgb(84, 91, 43); } + background-image: linear-gradient(45deg, #a7b656 28%, rgb(134, 146, 69) 28%, rgb(134, 146, 69) 72%, #a7b656 72%); + border-color: rgb(167, 182, 86); } 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%, rgb(136, 116, 98) 28%, rgb(136, 116, 98) 72%, #c2a68c 72%); - border-color: rgb(97, 83, 70); } + background-image: linear-gradient(45deg, #c2a68c 28%, rgb(155, 133, 112) 28%, rgb(155, 133, 112) 72%, #c2a68c 72%); + border-color: rgb(194, 166, 140); } 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, #82b4cb 28%, rgb(91, 126, 142) 28%, rgb(91, 126, 142) 72%, #82b4cb 72%); - border-color: rgb(65, 90, 102); } + background-image: linear-gradient(45deg, #d9ab59 28%, rgb(174, 137, 71) 28%, rgb(174, 137, 71) 72%, #d9ab59 72%); + border-color: rgb(217, 171, 89); } 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%, rgb(0, 93, 130) 28%, rgb(0, 93, 130) 72%, #0085ba 72%); - border-color: rgb(0, 67, 93); } + background-image: linear-gradient(45deg, #0085ba 28%, rgb(0, 106, 149) 28%, rgb(0, 106, 149) 72%, #0085ba 72%); + border-color: rgb(0, 133, 186); } .components-button.is-link { margin: 0; padding: 0; @@ -580,7 +615,6 @@ svg.dashicon.components-checkbox-control__checked { width: 31px; height: 31px; -webkit-user-select: none; - -moz-user-select: none; -ms-user-select: none; user-select: none; pointer-events: none; } @@ -1230,7 +1264,6 @@ svg.dashicon { text-align: center; vertical-align: top; -webkit-user-select: none; - -moz-user-select: none; -ms-user-select: none; user-select: none; } @@ -1306,7 +1339,6 @@ svg.dashicon { .DayPickerNavigation_button { cursor: pointer; -webkit-user-select: none; - -moz-user-select: none; -ms-user-select: none; user-select: none; border: 0; @@ -1503,7 +1535,6 @@ svg.dashicon { .DateInput_input__readOnly { -webkit-user-select: none; - -moz-user-select: none; -ms-user-select: none; user-select: none; } @@ -1811,7 +1842,6 @@ svg.dashicon { font-size: 11px; font-weight: 600; } .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select { - padding: 2px; margin-left: 4px; } .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus { position: relative; @@ -1819,7 +1849,6 @@ svg.dashicon { .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type="number"] { padding: 2px; margin-left: 4px; - width: 40px; text-align: center; -moz-appearance: textfield; } .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type="number"]:focus { @@ -1851,7 +1880,7 @@ svg.dashicon { width: 55px; } .components-datetime__time-field-month-select { - width: 90px; } + max-width: 145px; } .components-popover .components-datetime__date { padding-right: 4px; } @@ -2073,7 +2102,6 @@ body.is-dragging-components-draggable { max-width: 100%; width: auto; -webkit-user-select: none; - -moz-user-select: none; -ms-user-select: none; user-select: none; } @@ -2892,6 +2920,7 @@ body.is-dragging-components-draggable { flex-direction: column; } .components-placeholder__input { + margin-top: 0; margin-left: 8px; flex: 1 1 auto; } @@ -3360,7 +3389,6 @@ body.lockscroll { @media (min-width: 600px) { .components-snackbar { width: -webkit-fit-content; - width: -moz-fit-content; width: fit-content; } } .components-snackbar:hover { background-color: #191e23; } diff --git a/wp-includes/css/dist/components/style-rtl.min.css b/wp-includes/css/dist/components/style-rtl.min.css index faf34ca5f9..d38148b692 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}.components-button.is-button{padding:0 10px 1px;line-height:26px;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.components-button.is-default{color:#555;border-color:#ccc;background:#f7f7f7;box-shadow:inset 0 -1px 0 #ccc;vertical-align:top}.components-button.is-default:hover{background:#fafafa;border-color:#999;box-shadow:inset 0 -1px 0 #999;color:#23282d;text-decoration:none}.components-button.is-default:focus:enabled{background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 1px #fff,0 0 0 3px #007cba;text-decoration:none}.components-button.is-default:active:enabled{background:#eee;border-color:#999;box-shadow:inset 0 1px 0 #999}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;box-shadow:none;text-shadow:0 1px 0 #fff;transform:none;opacity:1}.components-button.is-primary{background:#0085ba;border-color:#006a95 #00648c #00648c;box-shadow:inset 0 -1px 0 #00648c;color:#fff;text-decoration:none;text-shadow:0 -1px 1px #005d82,-1px 0 1px #005d82,0 1px 1px #005d82,1px 0 1px #005d82}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#a76b3b #9d6538 #9d6538;box-shadow:inset 0 -1px 0 #9d6538;text-shadow:0 -1px 1px #925e34,-1px 0 1px #925e34,0 1px 1px #925e34,1px 0 1px #925e34}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#829482 #7a8b7a #7a8b7a;box-shadow:inset 0 -1px 0 #7a8b7a;text-shadow:0 -1px 1px #728271,-1px 0 1px #728271,0 1px 1px #728271,1px 0 1px #728271}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#b43e36 #a93a32 #a93a32;box-shadow:inset 0 -1px 0 #a93a32;text-shadow:0 -1px 1px #9e362f,-1px 0 1px #9e362f,0 1px 1px #9e362f,1px 0 1px #9e362f}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#869245 #7d8941 #7d8941;box-shadow:inset 0 -1px 0 #7d8941;text-shadow:0 -1px 1px #757f3c,-1px 0 1px #757f3c,0 1px 1px #757f3c,1px 0 1px #757f3c}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#9b8570 #927d69 #927d69;box-shadow:inset 0 -1px 0 #927d69;text-shadow:0 -1px 1px #887462,-1px 0 1px #887462,0 1px 1px #887462,1px 0 1px #887462}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#ae8947 #a38043 #a38043;box-shadow:inset 0 -1px 0 #a38043;text-shadow:0 -1px 1px #98783e,-1px 0 1px #98783e,0 1px 1px #98783e,1px 0 1px #98783e}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#006a95 #00648c #00648c;box-shadow:inset 0 -1px 0 #00648c;text-shadow:0 -1px 1px #005d82,-1px 0 1px #005d82,0 1px 1px #005d82,1px 0 1px #005d82}.components-button.is-primary:focus:enabled,.components-button.is-primary:hover{background:#007eb1;border-color:#00435d;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:hover{background:#c77f46;border-color:#694325}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:hover{background:#9bb09a;border-color:#525d51}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:hover{background:#d64940;border-color:#712722}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:hover{background:#9fad52;border-color:#545b2b}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:hover{background:#b89e85;border-color:#615346}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:hover{background:#cea255;border-color:#6d562d}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:hover{background:#007eb1;border-color:#00435d}.components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d}body.admin-color-sunrise .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #694325}body.admin-color-ocean .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #525d51}body.admin-color-midnight .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #712722}body.admin-color-ectoplasm .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #545b2b}body.admin-color-coffee .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #615346}body.admin-color-blue .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #6d562d}body.admin-color-light .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d}.components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #00435d,0 0 0 1px #fff,0 0 0 3px #007eb1}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #694325,0 0 0 1px #fff,0 0 0 3px #c77f46}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #525d51,0 0 0 1px #fff,0 0 0 3px #9bb09a}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #712722,0 0 0 1px #fff,0 0 0 3px #d64940}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #545b2b,0 0 0 1px #fff,0 0 0 3px #9fad52}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #615346,0 0 0 1px #fff,0 0 0 3px #b89e85}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #6d562d,0 0 0 1px #fff,0 0 0 3px #cea255}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #00435d,0 0 0 1px #fff,0 0 0 3px #007eb1}.components-button.is-primary:active:enabled{background:#006a95;border-color:#00435d;box-shadow:inset 0 1px 0 #00435d;vertical-align:top}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#694325;box-shadow:inset 0 1px 0 #694325}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#525d51;box-shadow:inset 0 1px 0 #525d51}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#712722;box-shadow:inset 0 1px 0 #712722}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#545b2b;box-shadow:inset 0 1px 0 #545b2b}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#615346;box-shadow:inset 0 1px 0 #615346}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#6d562d;box-shadow:inset 0 1px 0 #6d562d}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#00435d;box-shadow:inset 0 1px 0 #00435d}.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{color:#66b6d6;background:#0085ba;border-color:#007cad;box-shadow:none;text-shadow:none;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{color:#e3b692;background:#d1864a;border-color:#c27d45}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{color:#c8d5c7;background:#a3b9a2;border-color:#98ac97}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{color:#ed948e;background:#e14d43;border-color:#d1483e}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{color:#cad39a;background:#a7b656;border-color:#9ba950}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{color:#dacaba;background:#c2a68c;border-color:#b49a82}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{color:#e8cd9b;background:#d9ab59;border-color:#ca9f53}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{color:#66b6d6;background:#0085ba;border-color:#007cad}.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{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]:focus:enabled{color:#66b6d6;border-color:#007cad;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]:focus:enabled{color:#e3b692;border-color:#c27d45}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]:focus:enabled{color:#c8d5c7;border-color:#98ac97}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]:focus:enabled{color:#ed948e;border-color:#d1483e}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]:focus:enabled{color:#cad39a;border-color:#9ba950}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]:focus:enabled{color:#dacaba;border-color:#b49a82}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]:focus:enabled{color:#e8cd9b;border-color:#ca9f53}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]:focus:enabled{color:#66b6d6;border-color:#007cad}.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,#0085ba 28%,#005d82 0,#005d82 72%,#0085ba 0);border-color:#00435d}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%,#925e34 0,#925e34 72%,#d1864a 0);border-color:#694325}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%,#728271 0,#728271 72%,#a3b9a2 0);border-color:#525d51}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%,#9e362f 0,#9e362f 72%,#e14d43 0);border-color:#712722}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%,#757f3c 0,#757f3c 72%,#a7b656 0);border-color:#545b2b}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%,#887462 0,#887462 72%,#c2a68c 0);border-color:#615346}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,#82b4cb 28%,#5b7e8e 0,#5b7e8e 72%,#82b4cb 0);border-color:#415a66}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%,#005d82 0,#005d82 72%,#0085ba 0);border-color:#00435d}.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]: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}.block-editor__container .components-popover.components-color-palette__picker.is-bottom{z-index:100001}.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{padding:2px;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;width:40px;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{width:90px}.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>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 #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.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{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;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;width:100%;text-align:center;background:rgba(139,139,150,.1)}.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-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%;z-index:99990}.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__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__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:-moz-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}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default){text-decoration:underline}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#fff;text-decoration:none}.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{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: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-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]: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;-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}.block-editor__container .components-popover.components-color-palette__picker.is-bottom{z-index:100001}.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;-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;-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;-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>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;-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 #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.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{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;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;width:100%;text-align:center;background:rgba(139,139,150,.1)}.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%;z-index:99990}.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__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__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}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default){text-decoration:underline}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#fff;text-decoration:none}.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{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: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-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 diff --git a/wp-includes/css/dist/components/style.css b/wp-includes/css/dist/components/style.css index 5fa914fe6d..43b4507723 100644 --- a/wp-includes/css/dist/components/style.css +++ b/wp-includes/css/dist/components/style.css @@ -163,269 +163,304 @@ cursor: pointer; -webkit-appearance: none; background: none; + transition: box-shadow 0.1s linear; /* Buttons that look like links, for a cross of good semantics with the visual */ /* Link buttons that are red to indicate destructive behavior. */ } + @media (prefers-reduced-motion: reduce) { + .components-button { + transition-duration: 0s; } } .components-button.is-button { - padding: 0 10px 1px; - line-height: 26px; + 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: #555; - border-color: #ccc; - background: #f7f7f7; - box-shadow: inset 0 -1px 0 #ccc; - vertical-align: top; } + color: rgb(0, 117, 175); + border-color: rgb(0, 117, 175); + background: #f3f5f6; } + body.admin-color-sunrise .components-button.is-default { + color: rgb(196, 126, 70); + border-color: rgb(196, 126, 70); } + body.admin-color-ocean .components-button.is-default { + color: rgb(153, 174, 152); + border-color: rgb(153, 174, 152); } + body.admin-color-midnight .components-button.is-default { + color: rgb(212, 72, 63); + border-color: rgb(212, 72, 63); } + body.admin-color-ectoplasm .components-button.is-default { + color: rgb(157, 171, 81); + border-color: rgb(157, 171, 81); } + body.admin-color-coffee .components-button.is-default { + color: rgb(182, 156, 132); + border-color: rgb(182, 156, 132); } + body.admin-color-blue .components-button.is-default { + color: rgb(204, 161, 84); + border-color: rgb(204, 161, 84); } + body.admin-color-light .components-button.is-default { + color: rgb(0, 125, 175); + border-color: rgb(0, 125, 175); } .components-button.is-default:hover { - background: #fafafa; - border-color: #999; - box-shadow: inset 0 -1px 0 #999; - color: #23282d; + background: #f1f1f1; + border-color: rgb(0, 93, 140); + color: rgb(0, 93, 140); text-decoration: none; } + body.admin-color-sunrise .components-button.is-default:hover { + border-color: rgb(157, 101, 56); + color: rgb(157, 101, 56); } + body.admin-color-ocean .components-button.is-default:hover { + border-color: rgb(122, 139, 122); + color: rgb(122, 139, 122); } + body.admin-color-midnight .components-button.is-default:hover { + border-color: rgb(169, 58, 50); + color: rgb(169, 58, 50); } + body.admin-color-ectoplasm .components-button.is-default:hover { + border-color: rgb(125, 137, 65); + color: rgb(125, 137, 65); } + body.admin-color-coffee .components-button.is-default:hover { + border-color: rgb(146, 125, 105); + color: rgb(146, 125, 105); } + body.admin-color-blue .components-button.is-default:hover { + border-color: rgb(163, 128, 67); + color: rgb(163, 128, 67); } + body.admin-color-light .components-button.is-default:hover { + border-color: rgb(0, 100, 140); + color: rgb(0, 100, 140); } .components-button.is-default:focus:enabled { - background: #fafafa; - color: #23282d; - border-color: #999; - box-shadow: inset 0 -1px 0 #999, 0 0 0 1px #fff, 0 0 0 3px #007cba; + background: #f3f5f6; + color: rgb(0, 93, 140); + border-color: rgb(0, 118, 177); + box-shadow: 0 0 0 1px rgb(0, 118, 177); text-decoration: none; } + body.admin-color-sunrise .components-button.is-default:focus:enabled { + color: rgb(157, 101, 56); + border-color: rgb(199, 127, 70); + box-shadow: 0 0 0 1px rgb(199, 127, 70); } + body.admin-color-ocean .components-button.is-default:focus:enabled { + color: rgb(122, 139, 122); + border-color: rgb(155, 176, 154); + box-shadow: 0 0 0 1px rgb(155, 176, 154); } + body.admin-color-midnight .components-button.is-default:focus:enabled { + color: rgb(169, 58, 50); + border-color: rgb(214, 73, 64); + box-shadow: 0 0 0 1px rgb(214, 73, 64); } + body.admin-color-ectoplasm .components-button.is-default:focus:enabled { + color: rgb(125, 137, 65); + border-color: rgb(159, 173, 82); + box-shadow: 0 0 0 1px rgb(159, 173, 82); } + body.admin-color-coffee .components-button.is-default:focus:enabled { + color: rgb(146, 125, 105); + border-color: rgb(184, 158, 133); + box-shadow: 0 0 0 1px rgb(184, 158, 133); } + body.admin-color-blue .components-button.is-default:focus:enabled { + color: rgb(163, 128, 67); + border-color: rgb(206, 162, 85); + box-shadow: 0 0 0 1px rgb(206, 162, 85); } + body.admin-color-light .components-button.is-default:focus:enabled { + color: rgb(0, 100, 140); + border-color: rgb(0, 126, 177); + box-shadow: 0 0 0 1px rgb(0, 126, 177); } .components-button.is-default:active:enabled { - background: #eee; - border-color: #999; - box-shadow: inset 0 1px 0 #999; } + background: #f3f5f6; + color: rgb(0, 118, 177); + border-color: #7e8993; + box-shadow: none; } + body.admin-color-sunrise .components-button.is-default:active:enabled { + color: rgb(199, 127, 70); } + body.admin-color-ocean .components-button.is-default:active:enabled { + color: rgb(155, 176, 154); } + body.admin-color-midnight .components-button.is-default:active:enabled { + color: rgb(214, 73, 64); } + body.admin-color-ectoplasm .components-button.is-default:active:enabled { + color: rgb(159, 173, 82); } + body.admin-color-coffee .components-button.is-default:active:enabled { + color: rgb(184, 158, 133); } + body.admin-color-blue .components-button.is-default:active:enabled { + color: rgb(206, 162, 85); } + body.admin-color-light .components-button.is-default:active:enabled { + color: rgb(0, 126, 177); } .components-button.is-default:disabled, .components-button.is-default[aria-disabled="true"] { color: #a0a5aa; border-color: #ddd; background: #f7f7f7; - box-shadow: none; text-shadow: 0 1px 0 #fff; transform: none; opacity: 1; } .components-button.is-primary { - background: rgb(0, 133, 186); - border-color: rgb(0, 106, 149) rgb(0, 100, 140) rgb(0, 100, 140); - box-shadow: inset 0 -1px 0 rgb(0, 100, 140); + background: rgb(0, 124, 186); + border-color: rgb(0, 124, 186); color: #fff; text-decoration: none; - text-shadow: 0 -1px 1px rgb(0, 93, 130), 1px 0 1px rgb(0, 93, 130), 0 1px 1px rgb(0, 93, 130), -1px 0 1px rgb(0, 93, 130); } + text-shadow: none; } body.admin-color-sunrise .components-button.is-primary { background: rgb(209, 134, 74); - border-color: rgb(167, 107, 59) rgb(157, 101, 56) rgb(157, 101, 56); - box-shadow: inset 0 -1px 0 rgb(157, 101, 56); - text-shadow: 0 -1px 1px rgb(146, 94, 52), 1px 0 1px rgb(146, 94, 52), 0 1px 1px rgb(146, 94, 52), -1px 0 1px rgb(146, 94, 52); } + border-color: rgb(209, 134, 74); } body.admin-color-ocean .components-button.is-primary { background: rgb(163, 185, 162); - border-color: rgb(130, 148, 130) rgb(122, 139, 122) rgb(122, 139, 122); - box-shadow: inset 0 -1px 0 rgb(122, 139, 122); - text-shadow: 0 -1px 1px rgb(114, 130, 113), 1px 0 1px rgb(114, 130, 113), 0 1px 1px rgb(114, 130, 113), -1px 0 1px rgb(114, 130, 113); } + border-color: rgb(163, 185, 162); } body.admin-color-midnight .components-button.is-primary { background: rgb(225, 77, 67); - border-color: rgb(180, 62, 54) rgb(169, 58, 50) rgb(169, 58, 50); - box-shadow: inset 0 -1px 0 rgb(169, 58, 50); - text-shadow: 0 -1px 1px rgb(158, 54, 47), 1px 0 1px rgb(158, 54, 47), 0 1px 1px rgb(158, 54, 47), -1px 0 1px rgb(158, 54, 47); } + border-color: rgb(225, 77, 67); } body.admin-color-ectoplasm .components-button.is-primary { background: rgb(167, 182, 86); - border-color: rgb(134, 146, 69) rgb(125, 137, 65) rgb(125, 137, 65); - box-shadow: inset 0 -1px 0 rgb(125, 137, 65); - text-shadow: 0 -1px 1px rgb(117, 127, 60), 1px 0 1px rgb(117, 127, 60), 0 1px 1px rgb(117, 127, 60), -1px 0 1px rgb(117, 127, 60); } + border-color: rgb(167, 182, 86); } body.admin-color-coffee .components-button.is-primary { background: rgb(194, 166, 140); - border-color: rgb(155, 133, 112) rgb(146, 125, 105) rgb(146, 125, 105); - box-shadow: inset 0 -1px 0 rgb(146, 125, 105); - text-shadow: 0 -1px 1px rgb(136, 116, 98), 1px 0 1px rgb(136, 116, 98), 0 1px 1px rgb(136, 116, 98), -1px 0 1px rgb(136, 116, 98); } + border-color: rgb(194, 166, 140); } body.admin-color-blue .components-button.is-primary { background: rgb(217, 171, 89); - border-color: rgb(174, 137, 71) rgb(163, 128, 67) rgb(163, 128, 67); - box-shadow: inset 0 -1px 0 rgb(163, 128, 67); - text-shadow: 0 -1px 1px rgb(152, 120, 62), 1px 0 1px rgb(152, 120, 62), 0 1px 1px rgb(152, 120, 62), -1px 0 1px rgb(152, 120, 62); } + border-color: rgb(217, 171, 89); } body.admin-color-light .components-button.is-primary { background: rgb(0, 133, 186); - border-color: rgb(0, 106, 149) rgb(0, 100, 140) rgb(0, 100, 140); - box-shadow: inset 0 -1px 0 rgb(0, 100, 140); - text-shadow: 0 -1px 1px rgb(0, 93, 130), 1px 0 1px rgb(0, 93, 130), 0 1px 1px rgb(0, 93, 130), -1px 0 1px rgb(0, 93, 130); } + border-color: rgb(0, 133, 186); } .components-button.is-primary:hover, .components-button.is-primary:focus:enabled { - background: rgb(0, 126, 177); - border-color: rgb(0, 67, 93); + background: rgb(0, 112, 167); + border-color: rgb(0, 112, 167); color: #fff; } body.admin-color-sunrise .components-button.is-primary:hover, body.admin-color-sunrise .components-button.is-primary:focus:enabled { - background: rgb(199, 127, 70); - border-color: rgb(105, 67, 37); } + background: rgb(188, 121, 67); + border-color: rgb(188, 121, 67); } body.admin-color-ocean .components-button.is-primary:hover, body.admin-color-ocean .components-button.is-primary:focus:enabled { - background: rgb(155, 176, 154); - border-color: rgb(82, 93, 81); } + background: rgb(147, 167, 146); + border-color: rgb(147, 167, 146); } body.admin-color-midnight .components-button.is-primary:hover, body.admin-color-midnight .components-button.is-primary:focus:enabled { - background: rgb(214, 73, 64); - border-color: rgb(113, 39, 34); } + background: rgb(203, 69, 60); + border-color: rgb(203, 69, 60); } body.admin-color-ectoplasm .components-button.is-primary:hover, body.admin-color-ectoplasm .components-button.is-primary:focus:enabled { - background: rgb(159, 173, 82); - border-color: rgb(84, 91, 43); } + background: rgb(150, 164, 77); + border-color: rgb(150, 164, 77); } body.admin-color-coffee .components-button.is-primary:hover, body.admin-color-coffee .components-button.is-primary:focus:enabled { - background: rgb(184, 158, 133); - border-color: rgb(97, 83, 70); } + background: rgb(175, 149, 126); + border-color: rgb(175, 149, 126); } body.admin-color-blue .components-button.is-primary:hover, body.admin-color-blue .components-button.is-primary:focus:enabled { - background: rgb(206, 162, 85); - border-color: rgb(109, 86, 45); } + background: rgb(195, 154, 80); + border-color: rgb(195, 154, 80); } body.admin-color-light .components-button.is-primary:hover, body.admin-color-light .components-button.is-primary:focus:enabled { - background: rgb(0, 126, 177); - border-color: rgb(0, 67, 93); } - .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(0, 67, 93); } - body.admin-color-sunrise .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(105, 67, 37); } - body.admin-color-ocean .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(82, 93, 81); } - body.admin-color-midnight .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(113, 39, 34); } - body.admin-color-ectoplasm .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(84, 91, 43); } - body.admin-color-coffee .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(97, 83, 70); } - body.admin-color-blue .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(109, 86, 45); } - body.admin-color-light .components-button.is-primary:hover { - box-shadow: inset 0 -1px 0 rgb(0, 67, 93); } + background: rgb(0, 120, 167); + border-color: rgb(0, 120, 167); } .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(0, 67, 93), 0 0 0 1px #fff, 0 0 0 3px rgb(0, 126, 177); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 124, 186); } body.admin-color-sunrise .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(105, 67, 37), 0 0 0 1px #fff, 0 0 0 3px rgb(199, 127, 70); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(209, 134, 74); } body.admin-color-ocean .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(82, 93, 81), 0 0 0 1px #fff, 0 0 0 3px rgb(155, 176, 154); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(163, 185, 162); } body.admin-color-midnight .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(113, 39, 34), 0 0 0 1px #fff, 0 0 0 3px rgb(214, 73, 64); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(225, 77, 67); } body.admin-color-ectoplasm .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(84, 91, 43), 0 0 0 1px #fff, 0 0 0 3px rgb(159, 173, 82); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(167, 182, 86); } body.admin-color-coffee .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(97, 83, 70), 0 0 0 1px #fff, 0 0 0 3px rgb(184, 158, 133); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(194, 166, 140); } body.admin-color-blue .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(109, 86, 45), 0 0 0 1px #fff, 0 0 0 3px rgb(206, 162, 85); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(217, 171, 89); } body.admin-color-light .components-button.is-primary:focus:enabled { - box-shadow: inset 0 -1px 0 rgb(0, 67, 93), 0 0 0 1px #fff, 0 0 0 3px rgb(0, 126, 177); } + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 133, 186); } .components-button.is-primary:active:enabled { - background: rgb(0, 106, 149); - border-color: rgb(0, 67, 93); - box-shadow: inset 0 1px 0 rgb(0, 67, 93); - vertical-align: top; } + background: rgb(0, 99, 149); + border-color: rgb(0, 99, 149); + color: #fff; } body.admin-color-sunrise .components-button.is-primary:active:enabled { background: rgb(167, 107, 59); - border-color: rgb(105, 67, 37); - box-shadow: inset 0 1px 0 rgb(105, 67, 37); } + border-color: rgb(167, 107, 59); } body.admin-color-ocean .components-button.is-primary:active:enabled { background: rgb(130, 148, 130); - border-color: rgb(82, 93, 81); - box-shadow: inset 0 1px 0 rgb(82, 93, 81); } + border-color: rgb(130, 148, 130); } body.admin-color-midnight .components-button.is-primary:active:enabled { background: rgb(180, 62, 54); - border-color: rgb(113, 39, 34); - box-shadow: inset 0 1px 0 rgb(113, 39, 34); } + border-color: rgb(180, 62, 54); } body.admin-color-ectoplasm .components-button.is-primary:active:enabled { background: rgb(134, 146, 69); - border-color: rgb(84, 91, 43); - box-shadow: inset 0 1px 0 rgb(84, 91, 43); } + border-color: rgb(134, 146, 69); } body.admin-color-coffee .components-button.is-primary:active:enabled { background: rgb(155, 133, 112); - border-color: rgb(97, 83, 70); - box-shadow: inset 0 1px 0 rgb(97, 83, 70); } + border-color: rgb(155, 133, 112); } body.admin-color-blue .components-button.is-primary:active:enabled { background: rgb(174, 137, 71); - border-color: rgb(109, 86, 45); - box-shadow: inset 0 1px 0 rgb(109, 86, 45); } + border-color: rgb(174, 137, 71); } body.admin-color-light .components-button.is-primary:active:enabled { background: rgb(0, 106, 149); - border-color: rgb(0, 67, 93); - box-shadow: inset 0 1px 0 rgb(0, 67, 93); } - .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 { - color: rgb(102, 182, 214); - background: rgb(0, 133, 186); - border-color: rgb(0, 124, 173); - box-shadow: none; - text-shadow: none; + border-color: rgb(0, 106, 149); } + .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"]:enabled, .components-button.is-primary[aria-disabled="true"]:active:enabled { + color: rgb(102, 176, 214); + background: rgb(25, 137, 193); + border-color: rgb(25, 137, 193); 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: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"]:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(227, 182, 146); - background: rgb(209, 134, 74); - border-color: rgb(194, 125, 69); } - 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 { + background: rgb(214, 146, 92); + border-color: rgb(214, 146, 92); } + 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"]:enabled, body.admin-color-ocean .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(200, 213, 199); - background: rgb(163, 185, 162); - border-color: rgb(152, 172, 151); } - 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 { + background: rgb(172, 192, 171); + border-color: rgb(172, 192, 171); } + 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"]:enabled, body.admin-color-midnight .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(237, 148, 142); - background: rgb(225, 77, 67); - border-color: rgb(209, 72, 62); } - 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 { + background: rgb(228, 95, 86); + border-color: rgb(228, 95, 86); } + 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"]:enabled, body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(202, 211, 154); - background: rgb(167, 182, 86); - border-color: rgb(155, 169, 80); } - 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 { + background: rgb(176, 189, 103); + border-color: rgb(176, 189, 103); } + 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"]:enabled, body.admin-color-coffee .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(218, 202, 186); - background: rgb(194, 166, 140); - border-color: rgb(180, 154, 130); } - 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 { + background: rgb(200, 175, 152); + border-color: rgb(200, 175, 152); } + 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"]:enabled, body.admin-color-blue .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(232, 205, 155); - background: rgb(217, 171, 89); - border-color: rgb(202, 159, 83); } - 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 { + background: rgb(221, 179, 106); + border-color: rgb(221, 179, 106); } + 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"]:enabled, body.admin-color-light .components-button.is-primary[aria-disabled="true"]:active:enabled { color: rgb(102, 182, 214); - background: rgb(0, 133, 186); - border-color: rgb(0, 124, 173); } - .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 { + background: rgb(25, 145, 193); + border-color: rgb(25, 145, 193); } + .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"]:enabled.is-button, .components-button.is-primary[aria-disabled="true"]:enabled.is-button:hover, .components-button.is-primary[aria-disabled="true"]:enabled: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 { box-shadow: none; text-shadow: none; } - .components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled="true"]:focus:enabled, .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(102, 182, 214); - border-color: rgb(0, 124, 173); - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; } - body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(227, 182, 146); - border-color: rgb(194, 125, 69); } - body.admin-color-ocean .components-button.is-primary:disabled:focus:enabled, body.admin-color-ocean .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-ocean .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-ocean .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(200, 213, 199); - border-color: rgb(152, 172, 151); } - body.admin-color-midnight .components-button.is-primary:disabled:focus:enabled, body.admin-color-midnight .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-midnight .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-midnight .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(237, 148, 142); - border-color: rgb(209, 72, 62); } - body.admin-color-ectoplasm .components-button.is-primary:disabled:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(202, 211, 154); - border-color: rgb(155, 169, 80); } - body.admin-color-coffee .components-button.is-primary:disabled:focus:enabled, body.admin-color-coffee .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-coffee .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-coffee .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(218, 202, 186); - border-color: rgb(180, 154, 130); } - body.admin-color-blue .components-button.is-primary:disabled:focus:enabled, body.admin-color-blue .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-blue .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-blue .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(232, 205, 155); - border-color: rgb(202, 159, 83); } - body.admin-color-light .components-button.is-primary:disabled:focus:enabled, body.admin-color-light .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-light .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-light .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { - color: rgb(102, 182, 214); - border-color: rgb(0, 124, 173); } + .components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled="true"]:focus:enabled, .components-button.is-primary[aria-disabled="true"]:enabled:focus:enabled, .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 124, 186); } + body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(209, 134, 74); } + body.admin-color-ocean .components-button.is-primary:disabled:focus:enabled, body.admin-color-ocean .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-ocean .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(163, 185, 162); } + body.admin-color-midnight .components-button.is-primary:disabled:focus:enabled, body.admin-color-midnight .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-midnight .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(225, 77, 67); } + body.admin-color-ectoplasm .components-button.is-primary:disabled:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-ectoplasm .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(167, 182, 86); } + body.admin-color-coffee .components-button.is-primary:disabled:focus:enabled, body.admin-color-coffee .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-coffee .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(194, 166, 140); } + body.admin-color-blue .components-button.is-primary:disabled:focus:enabled, body.admin-color-blue .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-blue .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(217, 171, 89); } + body.admin-color-light .components-button.is-primary:disabled:focus:enabled, body.admin-color-light .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-light .components-button.is-primary[aria-disabled="true"]: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"]:active:enabled:focus:enabled { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 133, 186); } .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%; /* stylelint-disable */ - background-image: linear-gradient(-45deg, #0085ba 28%, rgb(0, 93, 130) 28%, rgb(0, 93, 130) 72%, #0085ba 72%); + background-image: linear-gradient(-45deg, #007cba 28%, rgb(0, 99, 149) 28%, rgb(0, 99, 149) 72%, #007cba 72%); /* stylelint-enable */ - border-color: rgb(0, 67, 93); } + border-color: rgb(0, 124, 186); } 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%, rgb(146, 94, 52) 28%, rgb(146, 94, 52) 72%, #d1864a 72%); - border-color: rgb(105, 67, 37); } + background-image: linear-gradient(-45deg, #d1864a 28%, rgb(167, 107, 59) 28%, rgb(167, 107, 59) 72%, #d1864a 72%); + border-color: rgb(209, 134, 74); } 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%, rgb(114, 130, 113) 28%, rgb(114, 130, 113) 72%, #a3b9a2 72%); - border-color: rgb(82, 93, 81); } + background-image: linear-gradient(-45deg, #a3b9a2 28%, rgb(130, 148, 130) 28%, rgb(130, 148, 130) 72%, #a3b9a2 72%); + border-color: rgb(163, 185, 162); } 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%, rgb(158, 54, 47) 28%, rgb(158, 54, 47) 72%, #e14d43 72%); - border-color: rgb(113, 39, 34); } + background-image: linear-gradient(-45deg, #e14d43 28%, rgb(180, 62, 54) 28%, rgb(180, 62, 54) 72%, #e14d43 72%); + border-color: rgb(225, 77, 67); } 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%, rgb(117, 127, 60) 28%, rgb(117, 127, 60) 72%, #a7b656 72%); - border-color: rgb(84, 91, 43); } + background-image: linear-gradient(-45deg, #a7b656 28%, rgb(134, 146, 69) 28%, rgb(134, 146, 69) 72%, #a7b656 72%); + border-color: rgb(167, 182, 86); } 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%, rgb(136, 116, 98) 28%, rgb(136, 116, 98) 72%, #c2a68c 72%); - border-color: rgb(97, 83, 70); } + background-image: linear-gradient(-45deg, #c2a68c 28%, rgb(155, 133, 112) 28%, rgb(155, 133, 112) 72%, #c2a68c 72%); + border-color: rgb(194, 166, 140); } 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, #82b4cb 28%, rgb(91, 126, 142) 28%, rgb(91, 126, 142) 72%, #82b4cb 72%); - border-color: rgb(65, 90, 102); } + background-image: linear-gradient(-45deg, #d9ab59 28%, rgb(174, 137, 71) 28%, rgb(174, 137, 71) 72%, #d9ab59 72%); + border-color: rgb(217, 171, 89); } 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%, rgb(0, 93, 130) 28%, rgb(0, 93, 130) 72%, #0085ba 72%); - border-color: rgb(0, 67, 93); } + background-image: linear-gradient(-45deg, #0085ba 28%, rgb(0, 106, 149) 28%, rgb(0, 106, 149) 72%, #0085ba 72%); + border-color: rgb(0, 133, 186); } .components-button.is-link { margin: 0; padding: 0; @@ -580,7 +615,6 @@ svg.dashicon.components-checkbox-control__checked { width: 31px; height: 31px; -webkit-user-select: none; - -moz-user-select: none; -ms-user-select: none; user-select: none; pointer-events: none; } @@ -1236,7 +1270,6 @@ svg.dashicon { text-align: center; vertical-align: top; -webkit-user-select: none; - -moz-user-select: none; -ms-user-select: none; user-select: none; } @@ -1312,7 +1345,6 @@ svg.dashicon { .DayPickerNavigation_button { cursor: pointer; -webkit-user-select: none; - -moz-user-select: none; -ms-user-select: none; user-select: none; border: 0; @@ -1509,7 +1541,6 @@ svg.dashicon { .DateInput_input__readOnly { -webkit-user-select: none; - -moz-user-select: none; -ms-user-select: none; user-select: none; } @@ -1820,7 +1851,6 @@ svg.dashicon { font-size: 11px; font-weight: 600; } .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select { - padding: 2px; margin-right: 4px; } .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus { position: relative; @@ -1828,7 +1858,6 @@ svg.dashicon { .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type="number"] { padding: 2px; margin-right: 4px; - width: 40px; text-align: center; -moz-appearance: textfield; } .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type="number"]:focus { @@ -1860,7 +1889,7 @@ svg.dashicon { width: 55px; } .components-datetime__time-field-month-select { - width: 90px; } + max-width: 145px; } .components-popover .components-datetime__date { padding-left: 4px; } @@ -2082,7 +2111,6 @@ body.is-dragging-components-draggable { max-width: 100%; width: auto; -webkit-user-select: none; - -moz-user-select: none; -ms-user-select: none; user-select: none; } @@ -2903,6 +2931,7 @@ body.is-dragging-components-draggable { flex-direction: column; } .components-placeholder__input { + margin-top: 0; margin-right: 8px; flex: 1 1 auto; } @@ -3379,7 +3408,6 @@ body.lockscroll { @media (min-width: 600px) { .components-snackbar { width: -webkit-fit-content; - width: -moz-fit-content; width: fit-content; } } .components-snackbar:hover { background-color: #191e23; } diff --git a/wp-includes/css/dist/components/style.min.css b/wp-includes/css/dist/components/style.min.css index e0ac451d84..4c2eff35f8 100644 --- a/wp-includes/css/dist/components/style.min.css +++ b/wp-includes/css/dist/components/style.min.css @@ -1,4 +1,4 @@ -.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}.components-button.is-button{padding:0 10px 1px;line-height:26px;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.components-button.is-default{color:#555;border-color:#ccc;background:#f7f7f7;box-shadow:inset 0 -1px 0 #ccc;vertical-align:top}.components-button.is-default:hover{background:#fafafa;border-color:#999;box-shadow:inset 0 -1px 0 #999;color:#23282d;text-decoration:none}.components-button.is-default:focus:enabled{background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 1px #fff,0 0 0 3px #007cba;text-decoration:none}.components-button.is-default:active:enabled{background:#eee;border-color:#999;box-shadow:inset 0 1px 0 #999}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;box-shadow:none;text-shadow:0 1px 0 #fff;transform:none;opacity:1}.components-button.is-primary{background:#0085ba;border-color:#006a95 #00648c #00648c;box-shadow:inset 0 -1px 0 #00648c;color:#fff;text-decoration:none;text-shadow:0 -1px 1px #005d82,1px 0 1px #005d82,0 1px 1px #005d82,-1px 0 1px #005d82}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#a76b3b #9d6538 #9d6538;box-shadow:inset 0 -1px 0 #9d6538;text-shadow:0 -1px 1px #925e34,1px 0 1px #925e34,0 1px 1px #925e34,-1px 0 1px #925e34}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#829482 #7a8b7a #7a8b7a;box-shadow:inset 0 -1px 0 #7a8b7a;text-shadow:0 -1px 1px #728271,1px 0 1px #728271,0 1px 1px #728271,-1px 0 1px #728271}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#b43e36 #a93a32 #a93a32;box-shadow:inset 0 -1px 0 #a93a32;text-shadow:0 -1px 1px #9e362f,1px 0 1px #9e362f,0 1px 1px #9e362f,-1px 0 1px #9e362f}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#869245 #7d8941 #7d8941;box-shadow:inset 0 -1px 0 #7d8941;text-shadow:0 -1px 1px #757f3c,1px 0 1px #757f3c,0 1px 1px #757f3c,-1px 0 1px #757f3c}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#9b8570 #927d69 #927d69;box-shadow:inset 0 -1px 0 #927d69;text-shadow:0 -1px 1px #887462,1px 0 1px #887462,0 1px 1px #887462,-1px 0 1px #887462}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#ae8947 #a38043 #a38043;box-shadow:inset 0 -1px 0 #a38043;text-shadow:0 -1px 1px #98783e,1px 0 1px #98783e,0 1px 1px #98783e,-1px 0 1px #98783e}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#006a95 #00648c #00648c;box-shadow:inset 0 -1px 0 #00648c;text-shadow:0 -1px 1px #005d82,1px 0 1px #005d82,0 1px 1px #005d82,-1px 0 1px #005d82}.components-button.is-primary:focus:enabled,.components-button.is-primary:hover{background:#007eb1;border-color:#00435d;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:hover{background:#c77f46;border-color:#694325}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:hover{background:#9bb09a;border-color:#525d51}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:hover{background:#d64940;border-color:#712722}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:hover{background:#9fad52;border-color:#545b2b}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:hover{background:#b89e85;border-color:#615346}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:hover{background:#cea255;border-color:#6d562d}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:hover{background:#007eb1;border-color:#00435d}.components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d}body.admin-color-sunrise .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #694325}body.admin-color-ocean .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #525d51}body.admin-color-midnight .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #712722}body.admin-color-ectoplasm .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #545b2b}body.admin-color-coffee .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #615346}body.admin-color-blue .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #6d562d}body.admin-color-light .components-button.is-primary:hover{box-shadow:inset 0 -1px 0 #00435d}.components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #00435d,0 0 0 1px #fff,0 0 0 3px #007eb1}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #694325,0 0 0 1px #fff,0 0 0 3px #c77f46}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #525d51,0 0 0 1px #fff,0 0 0 3px #9bb09a}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #712722,0 0 0 1px #fff,0 0 0 3px #d64940}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #545b2b,0 0 0 1px #fff,0 0 0 3px #9fad52}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #615346,0 0 0 1px #fff,0 0 0 3px #b89e85}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #6d562d,0 0 0 1px #fff,0 0 0 3px #cea255}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:inset 0 -1px 0 #00435d,0 0 0 1px #fff,0 0 0 3px #007eb1}.components-button.is-primary:active:enabled{background:#006a95;border-color:#00435d;box-shadow:inset 0 1px 0 #00435d;vertical-align:top}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#694325;box-shadow:inset 0 1px 0 #694325}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#525d51;box-shadow:inset 0 1px 0 #525d51}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#712722;box-shadow:inset 0 1px 0 #712722}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#545b2b;box-shadow:inset 0 1px 0 #545b2b}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#615346;box-shadow:inset 0 1px 0 #615346}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#6d562d;box-shadow:inset 0 1px 0 #6d562d}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#00435d;box-shadow:inset 0 1px 0 #00435d}.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{color:#66b6d6;background:#0085ba;border-color:#007cad;box-shadow:none;text-shadow:none;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{color:#e3b692;background:#d1864a;border-color:#c27d45}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{color:#c8d5c7;background:#a3b9a2;border-color:#98ac97}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{color:#ed948e;background:#e14d43;border-color:#d1483e}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{color:#cad39a;background:#a7b656;border-color:#9ba950}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{color:#dacaba;background:#c2a68c;border-color:#b49a82}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{color:#e8cd9b;background:#d9ab59;border-color:#ca9f53}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{color:#66b6d6;background:#0085ba;border-color:#007cad}.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{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]:focus:enabled{color:#66b6d6;border-color:#007cad;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]:focus:enabled{color:#e3b692;border-color:#c27d45}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]:focus:enabled{color:#c8d5c7;border-color:#98ac97}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]:focus:enabled{color:#ed948e;border-color:#d1483e}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]:focus:enabled{color:#cad39a;border-color:#9ba950}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]:focus:enabled{color:#dacaba;border-color:#b49a82}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]:focus:enabled{color:#e8cd9b;border-color:#ca9f53}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]:focus:enabled{color:#66b6d6;border-color:#007cad}.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,#0085ba 28%,#005d82 0,#005d82 72%,#0085ba 0);border-color:#00435d}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%,#925e34 0,#925e34 72%,#d1864a 0);border-color:#694325}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%,#728271 0,#728271 72%,#a3b9a2 0);border-color:#525d51}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%,#9e362f 0,#9e362f 72%,#e14d43 0);border-color:#712722}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%,#757f3c 0,#757f3c 72%,#a7b656 0);border-color:#545b2b}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%,#887462 0,#887462 72%,#c2a68c 0);border-color:#615346}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,#82b4cb 28%,#5b7e8e 0,#5b7e8e 72%,#82b4cb 0);border-color:#415a66}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%,#005d82 0,#005d82 72%,#0085ba 0);border-color:#00435d}.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]: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}.block-editor__container .components-popover.components-color-palette__picker.is-bottom{z-index:100001}.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{padding:2px;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;width:40px;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{width:90px}.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>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 #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.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{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;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;width:100%;text-align:center;background:rgba(139,139,150,.1)}.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-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]: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;-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}.block-editor__container .components-popover.components-color-palette__picker.is-bottom{z-index:100001}.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;-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;-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;-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>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;-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 #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.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{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;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;width:100%;text-align:center;background:rgba(139,139,150,.1)}.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%} /*!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%;z-index:99990}.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} @@ -6,4 +6,4 @@ /*!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__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:-moz-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}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default){text-decoration:underline}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#fff;text-decoration:none}.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{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: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-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__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}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default){text-decoration:underline}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#fff;text-decoration:none}.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{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: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-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 diff --git a/wp-includes/css/dist/edit-post/style-rtl.css b/wp-includes/css/dist/edit-post/style-rtl.css index 6ac4c7d994..35b71fc5ec 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.css +++ b/wp-includes/css/dist/edit-post/style-rtl.css @@ -41,9 +41,7 @@ @media (min-width: 782px) { body.js.is-fullscreen-mode { margin-top: -46px; - height: calc(100% + 46px); - animation: edit-post__fade-in-animation 0.3s ease-out 0s; - animation-fill-mode: forwards; } } + height: calc(100% + 46px); } } @media (min-width: 782px) and (min-width: 782px) { body.js.is-fullscreen-mode { margin-top: -32px; @@ -55,12 +53,7 @@ display: none; } body.js.is-fullscreen-mode #wpcontent, body.js.is-fullscreen-mode #wpfooter { - margin-right: 0; } } - @media (min-width: 782px) and (prefers-reduced-motion: reduce) { - body.js.is-fullscreen-mode { - animation-duration: 1ms; } } - -@media (min-width: 782px) { + margin-right: 0; } body.js.is-fullscreen-mode .edit-post-header { transform: translateY(-100%); animation: edit-post-fullscreen-mode__slide-in-animation 0.1s forwards; } } @@ -459,6 +452,7 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s overflow: auto; } @media (min-width: 782px) { .edit-post-layout .editor-post-publish-panel { + z-index: 99998; top: 32px; right: auto; width: 280px; @@ -1394,7 +1388,9 @@ body.block-editor-page { border-radius: 4px; border: 1px solid #7e8993; /* Fonts smaller than 16px causes mobile safari to zoom. */ - font-size: 16px; } + font-size: 16px; + /* Override core line-height. To be reviewed. */ + line-height: normal; } @media (prefers-reduced-motion: reduce) { .edit-post-header .input-control, .edit-post-header input[type="text"], @@ -1664,7 +1660,9 @@ body.block-editor-page { .components-modal__frame input[type="number"], .components-modal__frame select, .components-modal__frame textarea { - font-size: 13px; } } + font-size: 13px; + /* Override core line-height. To be reviewed. */ + line-height: normal; } } .edit-post-header .input-control:focus, .edit-post-header input[type="text"]:focus, .edit-post-header input[type="search"]:focus, @@ -2035,6 +2033,8 @@ body.block-editor-page { .editor-post-publish-panel input[type="radio"]:checked::before, .components-popover input[type="radio"]:checked::before, .components-modal__frame input[type="radio"]:checked::before { + width: 6px; + height: 6px; margin: 6px 6px 0 0; background-color: #fff; } @media (min-width: 782px) { 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 62b64e93b7..e0b0b0eb23 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);animation:edit-post__fade-in-animation .3s ease-out 0s;animation-fill-mode:forwards}}@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}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode{animation-duration:1ms}}@media (min-width:782px){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}.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{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__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}@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}}.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{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 .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 +@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}.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__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 .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 diff --git a/wp-includes/css/dist/edit-post/style.css b/wp-includes/css/dist/edit-post/style.css index 2eae0a8568..33c146f8c0 100644 --- a/wp-includes/css/dist/edit-post/style.css +++ b/wp-includes/css/dist/edit-post/style.css @@ -41,9 +41,7 @@ @media (min-width: 782px) { body.js.is-fullscreen-mode { margin-top: -46px; - height: calc(100% + 46px); - animation: edit-post__fade-in-animation 0.3s ease-out 0s; - animation-fill-mode: forwards; } } + height: calc(100% + 46px); } } @media (min-width: 782px) and (min-width: 782px) { body.js.is-fullscreen-mode { margin-top: -32px; @@ -55,12 +53,7 @@ display: none; } body.js.is-fullscreen-mode #wpcontent, body.js.is-fullscreen-mode #wpfooter { - margin-left: 0; } } - @media (min-width: 782px) and (prefers-reduced-motion: reduce) { - body.js.is-fullscreen-mode { - animation-duration: 1ms; } } - -@media (min-width: 782px) { + margin-left: 0; } body.js.is-fullscreen-mode .edit-post-header { transform: translateY(-100%); animation: edit-post-fullscreen-mode__slide-in-animation 0.1s forwards; } } @@ -459,6 +452,7 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s overflow: auto; } @media (min-width: 782px) { .edit-post-layout .editor-post-publish-panel { + z-index: 99998; top: 32px; left: auto; width: 280px; @@ -1398,7 +1392,9 @@ body.block-editor-page { border-radius: 4px; border: 1px solid #7e8993; /* Fonts smaller than 16px causes mobile safari to zoom. */ - font-size: 16px; } + font-size: 16px; + /* Override core line-height. To be reviewed. */ + line-height: normal; } @media (prefers-reduced-motion: reduce) { .edit-post-header .input-control, .edit-post-header input[type="text"], @@ -1668,7 +1664,9 @@ body.block-editor-page { .components-modal__frame input[type="number"], .components-modal__frame select, .components-modal__frame textarea { - font-size: 13px; } } + font-size: 13px; + /* Override core line-height. To be reviewed. */ + line-height: normal; } } .edit-post-header .input-control:focus, .edit-post-header input[type="text"]:focus, .edit-post-header input[type="search"]:focus, @@ -2039,6 +2037,8 @@ body.block-editor-page { .editor-post-publish-panel input[type="radio"]:checked::before, .components-popover input[type="radio"]:checked::before, .components-modal__frame input[type="radio"]:checked::before { + width: 6px; + height: 6px; margin: 6px 0 0 6px; background-color: #fff; } @media (min-width: 782px) { diff --git a/wp-includes/css/dist/edit-post/style.min.css b/wp-includes/css/dist/edit-post/style.min.css index 616cc45049..f02a5e35dd 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);animation:edit-post__fade-in-animation .3s ease-out 0s;animation-fill-mode:forwards}}@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}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode{animation-duration:1ms}}@media (min-width:782px){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}.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{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__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}@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}}.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{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 .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 +@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}.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__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 .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 diff --git a/wp-includes/css/dist/editor/style-rtl.css b/wp-includes/css/dist/editor/style-rtl.css index f6f439aa32..5633528a6d 100644 --- a/wp-includes/css/dist/editor/style-rtl.css +++ b/wp-includes/css/dist/editor/style-rtl.css @@ -380,7 +380,6 @@ position: absolute; -webkit-touch-callout: none; -webkit-user-select: none; - -moz-user-select: none; -ms-user-select: none; user-select: none; pointer-events: none; @@ -508,9 +507,6 @@ .edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft { margin: 0; } - @media (min-width: 600px) { - .edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft .dashicon { - display: none; } } .editor-post-taxonomies__hierarchical-terms-list { max-height: 14em; @@ -520,9 +516,6 @@ .editor-post-taxonomies__hierarchical-terms-choice { margin-bottom: 8px; } -.editor-post-taxonomies__hierarchical-terms-input[type="checkbox"] { - margin-top: 0; } - .editor-post-taxonomies__hierarchical-terms-subchoices { margin-top: 8px; margin-right: 16px; } @@ -618,31 +611,32 @@ body.admin-color-light .editor-post-text-editor__link{ .editor-post-text-editor__del { text-decoration: line-through; } -.edit-post-post-visibility__dialog .editor-post-visibility__dialog-fieldset { +.edit-post-post-visibility__dialog, +.editor-post-visibility__dialog-fieldset { padding: 4px; padding-top: 0; } - -.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend { - font-weight: 600; - margin-bottom: 1em; - margin-top: 0.5em; - padding: 0; } - -.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio { - margin-top: 2px; } - -.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label { - font-weight: 600; } - -.edit-post-post-visibility__dialog .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 { - margin-bottom: 0; } - -.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input { - margin-right: 28px; } + .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: 0.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; } .edit-post-post-visibility__dialog.components-popover.is-bottom { z-index: 100001; } @@ -737,10 +731,12 @@ body.admin-color-light .editor-post-text-editor__link{ .editor-post-trash.components-button { width: 100%; - color: #c92c2c; + color: #b52727; + border-color: #b52727; justify-content: center; } .editor-post-trash.components-button:hover, .editor-post-trash.components-button:focus { - color: #b52727; } + color: #a02222; + border-color: #a02222; } .table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content { min-width: 380px; } diff --git a/wp-includes/css/dist/editor/style-rtl.min.css b/wp-includes/css/dist/editor/style-rtl.min.css index ad26e0947f..07989b262c 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}@media (min-width:600px){.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft .dashicon{display:none}}.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-input[type=checkbox]{margin-top:0}.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{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio{margin-top:2px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .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{margin-bottom:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input{margin-right:28px}.edit-post-post-visibility__dialog.components-popover.is-bottom{z-index:100001}.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:#c92c2c;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#b52727}.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content{min-width:380px}.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 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;-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}.edit-post-post-visibility__dialog.components-popover.is-bottom{z-index:100001}.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}.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 5dd85734ed..6b9b0a5818 100644 --- a/wp-includes/css/dist/editor/style.css +++ b/wp-includes/css/dist/editor/style.css @@ -382,7 +382,6 @@ position: absolute; -webkit-touch-callout: none; -webkit-user-select: none; - -moz-user-select: none; -ms-user-select: none; user-select: none; pointer-events: none; @@ -512,9 +511,6 @@ .edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft { margin: 0; } - @media (min-width: 600px) { - .edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft .dashicon { - display: none; } } .editor-post-taxonomies__hierarchical-terms-list { max-height: 14em; @@ -524,9 +520,6 @@ .editor-post-taxonomies__hierarchical-terms-choice { margin-bottom: 8px; } -.editor-post-taxonomies__hierarchical-terms-input[type="checkbox"] { - margin-top: 0; } - .editor-post-taxonomies__hierarchical-terms-subchoices { margin-top: 8px; margin-left: 16px; } @@ -622,31 +615,32 @@ body.admin-color-light .editor-post-text-editor__link{ .editor-post-text-editor__del { text-decoration: line-through; } -.edit-post-post-visibility__dialog .editor-post-visibility__dialog-fieldset { +.edit-post-post-visibility__dialog, +.editor-post-visibility__dialog-fieldset { padding: 4px; padding-top: 0; } - -.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend { - font-weight: 600; - margin-bottom: 1em; - margin-top: 0.5em; - padding: 0; } - -.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio { - margin-top: 2px; } - -.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label { - font-weight: 600; } - -.edit-post-post-visibility__dialog .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 { - margin-bottom: 0; } - -.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input { - margin-left: 28px; } + .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: 0.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; } .edit-post-post-visibility__dialog.components-popover.is-bottom { z-index: 100001; } @@ -741,10 +735,12 @@ body.admin-color-light .editor-post-text-editor__link{ .editor-post-trash.components-button { width: 100%; - color: #c92c2c; + color: #b52727; + border-color: #b52727; justify-content: center; } .editor-post-trash.components-button:hover, .editor-post-trash.components-button:focus { - color: #b52727; } + color: #a02222; + border-color: #a02222; } .table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content { min-width: 380px; } diff --git a/wp-includes/css/dist/editor/style.min.css b/wp-includes/css/dist/editor/style.min.css index f8a1962b30..c6185c3adc 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}@media (min-width:600px){.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft .dashicon{display:none}}.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-input[type=checkbox]{margin-top:0}.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{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio{margin-top:2px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .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{margin-bottom:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input{margin-left:28px}.edit-post-post-visibility__dialog.components-popover.is-bottom{z-index:100001}.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:#c92c2c;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#b52727}.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content{min-width:380px}.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 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;-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}.edit-post-post-visibility__dialog.components-popover.is-bottom{z-index:100001}.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}.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/js/dist/annotations.js b/wp-includes/js/dist/annotations.js index 17c6f094cf..302ef9e5e0 100644 --- a/wp-includes/js/dist/annotations.js +++ b/wp-includes/js/dist/annotations.js @@ -225,7 +225,7 @@ function _iterableToArray(iter) { /***/ }), -/***/ 35: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -649,7 +649,7 @@ function reducer_annotations() { var objectWithoutProperties = __webpack_require__(21); // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(35); +var rememo = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js diff --git a/wp-includes/js/dist/annotations.min.js b/wp-includes/js/dist/annotations.min.js index 19bc64c8e5..d4f8285dbf 100644 --- a/wp-includes/js/dist/annotations.min.js +++ b/wp-includes/js/dist/annotations.min.js @@ -1 +1 @@ -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=394)}({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})},35: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;r0&&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(35),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(70),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)})},4:function(t,n){!function(){t.exports=this.wp.data}()},7:function(t,n,e){"use strict";e.d(n,"a",function(){return o});var r=e(10);function o(t){for(var n=1;n>>((3&n)<<3)&255;return o}}},93: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=394)}({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})},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;r0&&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(70),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)})},4:function(t,n){!function(){t.exports=this.wp.data}()},7:function(t,n,e){"use strict";e.d(n,"a",function(){return o});var r=e(10);function o(t){for(var n=1;n>>((3&n)<<3)&255;return o}}},93: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 diff --git a/wp-includes/js/dist/block-editor.js b/wp-includes/js/dist/block-editor.js index 578a9d19de..e592ee4199 100644 --- a/wp-includes/js/dist/block-editor.js +++ b/wp-includes/js/dist/block-editor.js @@ -835,7 +835,7 @@ var __rest = (this && this.__rest) || function (s, e) { }; exports.__esModule = true; var React = __webpack_require__(28); -var PropTypes = __webpack_require__(33); +var PropTypes = __webpack_require__(34); var autosize = __webpack_require__(133); var _getLineHeight = __webpack_require__(134); var getLineHeight = _getLineHeight; @@ -4765,7 +4765,7 @@ function _typeof(obj) { /***/ }), -/***/ 33: +/***/ 34: /***/ (function(module, exports, __webpack_require__) { /** @@ -4784,14 +4784,14 @@ if (false) { var throwOnDirectAccess, ReactIs; } else { /***/ }), -/***/ 34: +/***/ 35: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["blob"]; }()); /***/ }), -/***/ 35: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5948,13 +5948,6 @@ var ifBlockEditSelected = Object(external_this_wp_compose_["createHigherOrderCom - - - - - - - /** * External dependencies */ @@ -5966,26 +5959,15 @@ var ifBlockEditSelected = Object(external_this_wp_compose_["createHigherOrderCom - /** * Internal dependencies */ -/* - * Use one array instance for fallback rather than inline array literals - * because the latter may cause rerender due to failed prop equality checks. - */ - -var completersFallback = []; /** * Wrap the default Autocomplete component with one that * supports a filter hook for customizing its list of autocompleters. * - * Since there may be many Autocomplete instances at one time, this component - * applies the filter on demand, when the component is first focused after - * receiving a new list of completers. - * * This function is exported for unit test. * * @param {Function} Autocomplete Original component. @@ -5993,98 +5975,19 @@ var completersFallback = []; */ function withFilteredAutocompleters(Autocomplete) { - return ( - /*#__PURE__*/ - function (_Component) { - Object(inherits["a" /* default */])(FilteredAutocomplete, _Component); + return function (props) { + var _props$completers = props.completers, + completers = _props$completers === void 0 ? [] : _props$completers; - function FilteredAutocomplete() { - var _this; + if (Object(external_this_wp_hooks_["hasFilter"])('editor.Autocomplete.completers')) { + completers = Object(external_this_wp_hooks_["applyFilters"])('editor.Autocomplete.completers', // Provide copies so filters may directly modify them. + completers.map(external_lodash_["clone"]), props.blockName); + } - Object(classCallCheck["a" /* default */])(this, FilteredAutocomplete); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(FilteredAutocomplete).call(this)); - _this.state = { - completers: completersFallback - }; - _this.saveParentRef = _this.saveParentRef.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onFocus = _this.onFocus.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(FilteredAutocomplete, [{ - key: "componentDidUpdate", - value: function componentDidUpdate() { - var hasFocus = this.parentNode.contains(document.activeElement); - /* - * It's possible for props to be updated when the component has focus, - * so here, we ensure new completers are immediately applied while we - * have the focus. - * - * NOTE: This may trigger another render but only when the component has focus. - */ - - if (hasFocus && this.hasStaleCompleters()) { - this.updateCompletersState(); - } - } - }, { - key: "onFocus", - value: function onFocus() { - if (this.hasStaleCompleters()) { - this.updateCompletersState(); - } - } - }, { - key: "hasStaleCompleters", - value: function hasStaleCompleters() { - return !('lastFilteredCompletersProp' in this.state) || this.state.lastFilteredCompletersProp !== this.props.completers; - } - }, { - key: "updateCompletersState", - value: function updateCompletersState() { - var _this$props = this.props, - blockName = _this$props.blockName, - completers = _this$props.completers; - var nextCompleters = completers; - var lastFilteredCompletersProp = nextCompleters; - - if (Object(external_this_wp_hooks_["hasFilter"])('editor.Autocomplete.completers')) { - nextCompleters = Object(external_this_wp_hooks_["applyFilters"])('editor.Autocomplete.completers', // Provide copies so filters may directly modify them. - nextCompleters && nextCompleters.map(external_lodash_["clone"]), blockName); - } - - this.setState({ - lastFilteredCompletersProp: lastFilteredCompletersProp, - completers: nextCompleters || completersFallback - }); - } - }, { - key: "saveParentRef", - value: function saveParentRef(parentNode) { - this.parentNode = parentNode; - } - }, { - key: "render", - value: function render() { - var completers = this.state.completers; - - var autocompleteProps = Object(objectSpread["a" /* default */])({}, this.props, { - completers: completers - }); - - return Object(external_this_wp_element_["createElement"])("div", { - onFocus: this.onFocus, - ref: this.saveParentRef - }, Object(external_this_wp_element_["createElement"])(Autocomplete, Object(esm_extends["a" /* default */])({ - onFocus: this.onFocus - }, autocompleteProps))); - } - }]); - - return FilteredAutocomplete; - }(external_this_wp_element_["Component"]) - ); + return Object(external_this_wp_element_["createElement"])(Autocomplete, Object(esm_extends["a" /* default */])({}, props, { + completers: completers + })); + }; } /** * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/autocomplete/README.md @@ -9491,7 +9394,7 @@ function actions_setNavigationMode() { } // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(35); +var rememo = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/selectors.js @@ -12056,23 +11959,7 @@ function (_Component) { title: Object(external_this_wp_i18n_["__"])('Attempt Block Recovery'), onClick: attemptBlockRecovery }]; - - if (compare) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Modal"], { - title: // translators: Dialog title to fix block content - Object(external_this_wp_i18n_["__"])('Resolve Block'), - onRequestClose: this.onCompareClose, - className: "editor-block-compare block-editor-block-compare" - }, Object(external_this_wp_element_["createElement"])(block_compare, { - block: block, - onKeep: convertToHTML, - onConvert: convertToBlocks, - convertor: block_invalid_warning_blockToBlocks, - convertButtonText: Object(external_this_wp_i18n_["__"])('Convert to Blocks') - })); - } - - return Object(external_this_wp_element_["createElement"])(warning, { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(warning, { actions: [Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { key: "convert", onClick: this.onCompare, @@ -12086,7 +11973,18 @@ function (_Component) { isPrimary: true }, Object(external_this_wp_i18n_["__"])('Convert to HTML'))], secondaryActions: hiddenActions - }, Object(external_this_wp_i18n_["__"])('This block contains unexpected or invalid content.')); + }, Object(external_this_wp_i18n_["__"])('This block contains unexpected or invalid content.')), compare && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Modal"], { + title: // translators: Dialog title to fix block content + Object(external_this_wp_i18n_["__"])('Resolve Block'), + onRequestClose: this.onCompareClose, + className: "editor-block-compare block-editor-block-compare" + }, Object(external_this_wp_element_["createElement"])(block_compare, { + block: block, + onKeep: convertToHTML, + onConvert: convertToBlocks, + convertor: block_invalid_warning_blockToBlocks, + convertButtonText: Object(external_this_wp_i18n_["__"])('Convert to Blocks') + }))); } }]); @@ -12157,7 +12055,9 @@ var block_invalid_warning_recoverBlock = function recoverBlock(_ref) { */ -var block_crash_warning_warning = Object(external_this_wp_element_["createElement"])(warning, null, Object(external_this_wp_i18n_["__"])('This block has encountered an error and cannot be previewed.')); +var block_crash_warning_warning = Object(external_this_wp_element_["createElement"])(warning, { + className: "block-editor-block-list__block-crash-warning" +}, Object(external_this_wp_i18n_["__"])('This block has encountered an error and cannot be previewed.')); /* harmony default export */ var block_crash_warning = (function () { return block_crash_warning_warning; }); @@ -13043,6 +12943,7 @@ function hasInnerBlocksContext(element) { + /** * Simple reducer used to increment a counter. * @@ -13053,6 +12954,13 @@ function hasInnerBlocksContext(element) { var counterReducer = function counterReducer(state) { return state + 1; }; + +var getAbsolutePosition = function getAbsolutePosition(element) { + return { + top: element.offsetTop, + left: element.offsetLeft + }; +}; /** * Hook used to compute the styles required to move a div into a new position. * @@ -13066,6 +12974,7 @@ var counterReducer = function counterReducer(state) { * * @param {Object} ref Reference to the element to animate. * @param {boolean} isSelected Whether it's the current block or not. + * @param {boolean} adjustScrolling Adjust the scroll position to the current block. * @param {boolean} enableAnimation Enable/Disable animation. * @param {*} triggerAnimationOnChange Variable used to trigger the animation if it changes. * @@ -13073,7 +12982,7 @@ var counterReducer = function counterReducer(state) { */ -function useMovingAnimation(ref, isSelected, enableAnimation, triggerAnimationOnChange) { +function useMovingAnimation(ref, isSelected, adjustScrolling, enableAnimation, triggerAnimationOnChange) { var prefersReducedMotion = Object(external_this_wp_compose_["useReducedMotion"])() || !enableAnimation; var _useReducer = Object(external_this_wp_element_["useReducer"])(counterReducer, 0), @@ -13088,13 +12997,21 @@ function useMovingAnimation(ref, isSelected, enableAnimation, triggerAnimationOn var _useState = Object(external_this_wp_element_["useState"])({ x: 0, - y: 0 + y: 0, + scrollTop: 0 }), _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), transform = _useState2[0], setTransform = _useState2[1]; - var previous = ref.current ? ref.current.getBoundingClientRect() : null; + var previous = ref.current ? getAbsolutePosition(ref.current) : null; + var scrollContainer = Object(external_this_wp_element_["useMemo"])(function () { + if (!adjustScrolling) { + return false; + } + + return Object(external_this_wp_dom_["getScrollContainer"])(ref.current); + }, [adjustScrolling]); Object(external_this_wp_element_["useLayoutEffect"])(function () { if (triggeredAnimation) { endAnimation(); @@ -13102,21 +13019,35 @@ function useMovingAnimation(ref, isSelected, enableAnimation, triggerAnimationOn }, [triggeredAnimation]); Object(external_this_wp_element_["useLayoutEffect"])(function () { if (prefersReducedMotion) { + if (adjustScrolling && scrollContainer) { + // if the animation is disabled and the scroll needs to be adjusted, + // just move directly to the final scroll position + ref.current.style.transform = 'none'; + + var _destination = getAbsolutePosition(ref.current); + + scrollContainer.scrollTop = scrollContainer.scrollTop - previous.top + _destination.top; + } + return; } ref.current.style.transform = 'none'; - var destination = ref.current.getBoundingClientRect(); + var destination = getAbsolutePosition(ref.current); var newTransform = { x: previous ? previous.left - destination.left : 0, - y: previous ? previous.top - destination.top : 0 + y: previous ? previous.top - destination.top : 0, + scrollTop: previous && scrollContainer ? scrollContainer.scrollTop - previous.top + destination.top : 0 }; ref.current.style.transform = newTransform.x === 0 && newTransform.y === 0 ? undefined : "translate3d(".concat(newTransform.x, "px,").concat(newTransform.y, "px,0)"); triggerAnimation(); setTransform(newTransform); }, [triggerAnimationOnChange]); var animationProps = Object(web_cjs["useSpring"])({ - from: transform, + from: { + x: transform.x, + y: transform.y + }, to: { x: 0, y: 0 @@ -13127,7 +13058,12 @@ function useMovingAnimation(ref, isSelected, enableAnimation, triggerAnimationOn tension: 2000, friction: 200 }, - immediate: prefersReducedMotion + immediate: prefersReducedMotion, + onFrame: function onFrame(props) { + if (adjustScrolling && scrollContainer && !prefersReducedMotion && props.y) { + scrollContainer.scrollTop = transform.scrollTop + props.y; + } + } }); // Dismiss animations if disabled. return prefersReducedMotion ? {} : { @@ -13334,7 +13270,7 @@ function block_BlockListBlock(_ref) { setErrorState = _useState8[1]; var onBlockError = function onBlockError() { - return setErrorState(false); + return setErrorState(true); }; // Handling of forceContextualToolbarFocus @@ -13408,7 +13344,7 @@ function block_BlockListBlock(_ref) { } }, [isFirstMultiSelected]); // Block Reordering animation - var animationStyle = moving_animation(wrapper, isSelected || isPartOfMultiSelection, enableAnimation, animateOnChange); // Focus the breadcrumb if the wrapper is focused on navigation mode. + var animationStyle = moving_animation(wrapper, isSelected || isPartOfMultiSelection, isSelected || isFirstMultiSelected, enableAnimation, animateOnChange); // Focus the breadcrumb if the wrapper is focused on navigation mode. // Focus the first editable or the wrapper if edit mode. Object(external_this_wp_element_["useLayoutEffect"])(function () { @@ -13650,9 +13586,9 @@ function block_BlockListBlock(_ref) { clientId: clientId }), Object(external_this_wp_element_["createElement"])("div", { key: "invalid-preview" - }, Object(external_this_wp_blocks_["getSaveElement"])(blockType, attributes))]), shouldShowMobileToolbar && Object(external_this_wp_element_["createElement"])(block_mobile_toolbar, { + }, 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 - }), !!hasError && Object(external_this_wp_element_["createElement"])(block_crash_warning, null))), showInserterShortcuts && Object(external_this_wp_element_["createElement"])("div", { + }))), 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, @@ -14293,7 +14229,7 @@ function (_Component) { 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) { + }, 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, @@ -14308,7 +14244,7 @@ function (_Component) { // to avoid being impacted by the async mode // otherwise there might be a small delay to trigger the animation. , - animateOnChange: blockClientIds, + animateOnChange: index, enableAnimation: enableAnimation })); }), Object(external_this_wp_element_["createElement"])(block_list_appender, { @@ -15020,14 +14956,16 @@ function (_Component) { itemsPerCategory = _this$state.itemsPerCategory, openPanels = _this$state.openPanels, reusableItems = _this$state.reusableItems, - suggestedItems = _this$state.suggestedItems; + suggestedItems = _this$state.suggestedItems, + filterValue = _this$state.filterValue; var isPanelOpen = function isPanelOpen(panel) { return openPanels.indexOf(panel) !== -1; }; - var hasItems = Object(external_lodash_["isEmpty"])(suggestedItems) && Object(external_lodash_["isEmpty"])(reusableItems) && Object(external_lodash_["isEmpty"])(itemsPerCategory); - var hoveredItemBlockType = hoveredItem ? Object(external_this_wp_blocks_["getBlockType"])(hoveredItem.name) : null; // Disable reason (no-autofocus): The inserter menu is a modal display, not one which + var hasItems = !Object(external_lodash_["isEmpty"])(suggestedItems) || !Object(external_lodash_["isEmpty"])(reusableItems) || !Object(external_lodash_["isEmpty"])(itemsPerCategory); + var hoveredItemBlockType = hoveredItem ? Object(external_this_wp_blocks_["getBlockType"])(hoveredItem.name) : null; + var hasHelpPanel = hasItems && showInserterHelpPanel; // Disable reason (no-autofocus): The inserter menu is a modal display, not one which // is always visible, and one which already incurs this behavior of autoFocus via // Popover's focusOnMount. // Disable reason (no-static-element-interactions): Navigational key-presses within @@ -15037,7 +14975,7 @@ function (_Component) { return Object(external_this_wp_element_["createElement"])("div", { className: classnames_default()('editor-inserter__menu block-editor-inserter__menu', { - 'has-help-panel': showInserterHelpPanel + 'has-help-panel': hasHelpPanel }), onKeyPress: stopKeyPropagation, onKeyDown: this.onKeyDown @@ -15112,7 +15050,7 @@ function (_Component) { fillProps: { onSelect: onSelect, onHover: this.onHover, - filterValue: this.state.filterValue, + filterValue: filterValue, hasItems: hasItems } }, function (fills) { @@ -15120,16 +15058,16 @@ function (_Component) { return fills; } - if (hasItems) { + if (!hasItems) { return Object(external_this_wp_element_["createElement"])("p", { className: "editor-inserter__no-results block-editor-inserter__no-results" }, Object(external_this_wp_i18n_["__"])('No blocks found.')); } return null; - }))), showInserterHelpPanel && Object(external_this_wp_element_["createElement"])("div", { + }))), hasHelpPanel && Object(external_this_wp_element_["createElement"])("div", { className: "block-editor-inserter__menu-help-panel" - }, hoveredItem && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(block_card, { + }, hoveredItem && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !Object(external_this_wp_blocks_["isReusableBlock"])(hoveredItem) && Object(external_this_wp_element_["createElement"])(block_card, { blockType: hoveredItemBlockType }), (Object(external_this_wp_blocks_["isReusableBlock"])(hoveredItem) || hoveredItemBlockType.example) && Object(external_this_wp_element_["createElement"])("div", { className: "block-editor-inserter__preview" @@ -15137,7 +15075,7 @@ function (_Component) { className: "block-editor-inserter__preview-content" }, Object(external_this_wp_element_["createElement"])(block_preview, { viewportWidth: 500, - blocks: Object(external_this_wp_blocks_["createBlock"])(hoveredItem.name, hoveredItemBlockType.example ? hoveredItemBlockType.example.attributes : hoveredItem.initialAttributes, hoveredItemBlockType.example ? hoveredItemBlockType.example.innerBlocks : undefined) + blocks: hoveredItemBlockType.example ? Object(external_this_wp_blocks_["getBlockFromExample"])(hoveredItem.name, hoveredItemBlockType.example) : Object(external_this_wp_blocks_["createBlock"])(hoveredItem.name, hoveredItem.initialAttributes) })))), !hoveredItem && Object(external_this_wp_element_["createElement"])("div", { className: "block-editor-inserter__menu-help-panel-no-block" }, Object(external_this_wp_element_["createElement"])("div", { @@ -15154,7 +15092,8 @@ function (_Component) { /* harmony default export */ var menu = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { var clientId = _ref2.clientId, isAppender = _ref2.isAppender, - rootClientId = _ref2.rootClientId; + rootClientId = _ref2.rootClientId, + showInserterHelpPanel = _ref2.showInserterHelpPanel; var _select = select('core/block-editor'), getInserterItems = _select.getInserterItems, @@ -15180,7 +15119,7 @@ function (_Component) { return { rootChildBlocks: getChildBlockNames(destinationRootBlockName), items: getInserterItems(destinationRootClientId), - showInserterHelpPanel: getSettings().showInserterHelpPanel, + showInserterHelpPanel: showInserterHelpPanel && getSettings().showInserterHelpPanel, destinationRootClientId: destinationRootClientId }; }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref3) { @@ -15366,12 +15305,14 @@ function (_Component) { var _this$props2 = this.props, rootClientId = _this$props2.rootClientId, clientId = _this$props2.clientId, - isAppender = _this$props2.isAppender; + isAppender = _this$props2.isAppender, + showInserterHelpPanel = _this$props2.showInserterHelpPanel; return Object(external_this_wp_element_["createElement"])(menu, { onSelect: onClose, rootClientId: rootClientId, clientId: clientId, - isAppender: isAppender + isAppender: isAppender, + showInserterHelpPanel: showInserterHelpPanel }); } }, { @@ -17143,7 +17084,7 @@ 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__(34); +var external_this_wp_blob_ = __webpack_require__(35); // EXTERNAL MODULE: external {"this":["wp","deprecated"]} var external_this_wp_deprecated_ = __webpack_require__(37); @@ -17676,9 +17617,9 @@ function (_Component) { var start = value.start, text = value.text; - var characterBefore = text.slice(start - 1, start); + var characterBefore = text.slice(start - 1, start); // The character right before the caret must be a plain space. - if (!/\s/.test(characterBefore)) { + if (characterBefore !== ' ') { return; } @@ -17832,16 +17773,19 @@ function (_Component) { onReplace: onReplace, completers: autocompleters, record: value, - onChange: onChange + onChange: onChange, + isSelected: isSelected }, function (_ref8) { var listBoxId = _ref8.listBoxId, - activeId = _ref8.activeId; + activeId = _ref8.activeId, + onKeyDown = _ref8.onKeyDown; return Object(external_this_wp_element_["createElement"])(Editable, { "aria-autocomplete": listBoxId ? 'list' : undefined, "aria-owns": listBoxId, "aria-activedescendant": activeId, start: start, - reversed: reversed + reversed: reversed, + onKeyDown: onKeyDown }); })); }); @@ -18615,9 +18559,12 @@ function BlockStyles(_ref) { className: "editor-block-styles__item-preview block-editor-block-styles__item-preview" }, Object(external_this_wp_element_["createElement"])(block_preview, { viewportWidth: 500, - blocks: type.example ? Object(external_this_wp_blocks_["createBlock"])(block.name, Object(objectSpread["a" /* default */])({}, type.example.attributes, { - className: styleClassName - }), type.example.innerBlocks) : Object(external_this_wp_blocks_["cloneBlock"])(block, { + blocks: type.example ? Object(external_this_wp_blocks_["getBlockFromExample"])(block.name, { + attributes: Object(objectSpread["a" /* default */])({}, type.example.attributes, { + className: styleClassName + }), + innerBlocks: type.example.innerBlocks + }) : Object(external_this_wp_blocks_["cloneBlock"])(block, { className: styleClassName }) })), Object(external_this_wp_element_["createElement"])("div", { @@ -19379,9 +19326,12 @@ function (_Component) { className: "block-editor-block-switcher__preview-title" }, Object(external_this_wp_i18n_["__"])('Preview')), Object(external_this_wp_element_["createElement"])(block_preview, { viewportWidth: 500, - blocks: hoveredBlockType.example ? Object(external_this_wp_blocks_["createBlock"])(hoveredBlock.name, Object(objectSpread["a" /* default */])({}, hoveredBlockType.example.attributes, { - className: hoveredClassName - }), hoveredBlockType.example.innerBlocks) : Object(external_this_wp_blocks_["cloneBlock"])(hoveredBlock, { + blocks: hoveredBlockType.example ? Object(external_this_wp_blocks_["getBlockFromExample"])(hoveredBlock.name, { + attributes: Object(objectSpread["a" /* default */])({}, hoveredBlockType.example.attributes, { + className: hoveredClassName + }), + innerBlocks: hoveredBlockType.example.innerBlocks + }) : Object(external_this_wp_blocks_["cloneBlock"])(hoveredBlock, { className: hoveredClassName }) }))); @@ -19923,121 +19873,16 @@ function (_Component) { }), external_this_wp_compose_["withSafeTimeout"]])(observe_typing_ObserveTyping)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/preserve-scroll-in-reorder/index.js - - - - - - /** * WordPress dependencies */ - - -/** - * Internal dependencies - */ - - -/** - * Non-visual component which preserves offset of selected block within nearest - * scrollable container while reordering. - * - * @example - * - * ```jsx - * - * ``` - */ - -var preserve_scroll_in_reorder_PreserveScrollInReorder = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(PreserveScrollInReorder, _Component); - - function PreserveScrollInReorder() { - Object(classCallCheck["a" /* default */])(this, PreserveScrollInReorder); - - return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(PreserveScrollInReorder).apply(this, arguments)); - } - - Object(createClass["a" /* default */])(PreserveScrollInReorder, [{ - key: "getSnapshotBeforeUpdate", - value: function getSnapshotBeforeUpdate(prevProps) { - var _this$props = this.props, - blockOrder = _this$props.blockOrder, - selectionStart = _this$props.selectionStart; - - if (blockOrder !== prevProps.blockOrder && selectionStart) { - return this.getOffset(selectionStart); - } - - return null; - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps, prevState, snapshot) { - if (snapshot) { - this.restorePreviousOffset(snapshot); - } - } - /** - * Given the block client ID of the start of the selection, saves the - * block's top offset as an instance property before a reorder is to occur. - * - * @param {string} selectionStart Client ID of selected block. - * - * @return {number?} The scroll offset. - */ - - }, { - key: "getOffset", - value: function getOffset(selectionStart) { - var blockNode = getBlockDOMNode(selectionStart); - - if (!blockNode) { - return null; - } - - return blockNode.getBoundingClientRect().top; - } - /** - * After a block reordering, restores the previous viewport top offset. - * - * @param {number} offset The scroll offset. - */ - - }, { - key: "restorePreviousOffset", - value: function restorePreviousOffset(offset) { - var selectionStart = this.props.selectionStart; - var blockNode = getBlockDOMNode(selectionStart); - - if (blockNode) { - var scrollContainer = Object(external_this_wp_dom_["getScrollContainer"])(blockNode); - - if (scrollContainer) { - scrollContainer.scrollTop = scrollContainer.scrollTop + blockNode.getBoundingClientRect().top - offset; - } - } - } - }, { - key: "render", - value: function render() { - return null; - } - }]); - - return PreserveScrollInReorder; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var preserve_scroll_in_reorder = (Object(external_this_wp_data_["withSelect"])(function (select) { - return { - blockOrder: select('core/block-editor').getBlockOrder(), - selectionStart: select('core/block-editor').getBlockSelectionStart() - }; -})(preserve_scroll_in_reorder_PreserveScrollInReorder)); +function PreserveScrollInReorder() { + external_this_wp_deprecated_default()('PreserveScrollInReorder component', { + hint: 'This behavior is now built-in the block list' + }); + return null; +} // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/typewriter/index.js @@ -22841,7 +22686,7 @@ var transform_styles_transformStyles = function transformStyles(styles) { /* concated harmony reexport MultiSelectScrollIntoView */__webpack_require__.d(__webpack_exports__, "MultiSelectScrollIntoView", function() { return multi_select_scroll_into_view; }); /* 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 preserve_scroll_in_reorder; }); +/* concated harmony reexport PreserveScrollInReorder */__webpack_require__.d(__webpack_exports__, "PreserveScrollInReorder", function() { return PreserveScrollInReorder; }); /* concated harmony reexport SkipToSelectedBlock */__webpack_require__.d(__webpack_exports__, "SkipToSelectedBlock", function() { return skip_to_selected_block; }); /* concated harmony reexport Typewriter */__webpack_require__.d(__webpack_exports__, "Typewriter", function() { return typewriter; }); /* concated harmony reexport Warning */__webpack_require__.d(__webpack_exports__, "Warning", function() { return warning; }); diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index 7eb3c32e94..b69429c13c 100644 --- a/wp-includes/js/dist/block-editor.min.js +++ b/wp-includes/js/dist/block-editor.min.js @@ -1,4 +1,4 @@ -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=381)}({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})},104:function(e,t){!function(){e.exports=this.wp.wordcount}()},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+y.top):k.top<0?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+y.top):i||((c=void 0===c||!!c)?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+y.top)),o&&(k.left<0||y.left>0?!0===a?r.scrollLeft(t,O.left+k.left):!1===a?r.scrollLeft(t,O.left+y.left):k.left<0?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+y.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+y.left)))}},131:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t0?!0===c?r.scrollTop(t,O.top+k.top):!1===c?r.scrollTop(t,O.top+y.top):k.top<0?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+y.top):i||((c=void 0===c||!!c)?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+y.top)),o&&(k.left<0||y.left>0?!0===a?r.scrollLeft(t,O.left+k.left):!1===a?r.scrollLeft(t,O.left+y.left):k.left<0?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+y.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+y.left)))}},131:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;te.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}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.callback;"function"==typeof n&&(o=n,n={}),this.options=n;var i=this;function c(e){return o?(setTimeout(function(){o(void 0,e)},0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,s=1,u=a+l,d=[{newPos:-1,components:[]}],f=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=a&&f+1>=l)return c([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*s;n<=s;n+=2){var o=void 0,u=d[n-1],f=d[n+1],p=(f?f.newPos:0)-n;u&&(d[n-1]=void 0);var b=u&&u.newPos+1=a&&p+1>=l)return c(r(i,o.components,t,e,i.useLongestToken));d[n]=o}else d[n]=void 0}var m;s++}if(o)!function e(){setTimeout(function(){if(s>u)return o();p()||e()},0)}();else for(;s<=u;){var b=p();if(b)return b}},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 y=/\n$/.test(n),j=/\n$/.test(i);0!=r.length||y?y&&j||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/g,">")).replace(/"/g,""")}t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],r=0;r"):o.removed&&t.push(""),t.push(n(o.value)),o.added?t.push(""):o.removed&&t.push("")}return t.join("")}}])},e.exports=r()},228: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(Te.a)(e);return o.splice(t,r),De(o,e.slice(t,t+r),n)}function He(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,He(o,r))}),n}function Ue(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),Ue(n.innerBlocks,n.clientId))},{})}function Ve(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.identity,n={},r=Object(Te.a)(e);r.length;){var o=r.shift(),i=o.innerBlocks,c=Object(Me.a)(o,["innerBlocks"]);r.push.apply(r,Object(Te.a)(i)),n[c.clientId]=t(c)}return n}function ze(e){return Ve(e,function(e){return Object(p.omit)(e,"attributes")})}function Ke(e){return Ve(e,function(e){return e.attributes})}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)(Ve(n.blocks),function(){return{}});break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var i=Object(p.keys)(Ve(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)(Ve(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(Te.a)(n),[r],Object(Te.a)(e(t,r)))},[])}(t.order);return Object(l.a)({},t,{byClientId:Object(l.a)({},Object(p.omit)(t.byClientId,r),ze(n.blocks)),attributes:Object(l.a)({},Object(p.omit)(t.attributes,r),Ke(n.blocks)),order:Object(l.a)({},Object(p.omit)(t.order,r),He(n.blocks)),parents:Object(l.a)({},Object(p.omit)(t.parents,r),Ue(n.blocks)),cache:Object(l.a)({},Object(p.omit)(t.cache,r),Object(p.mapValues)(Ve(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 ze(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Object(l.a)({},e,ze(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),ze(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 Ke(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Object(l.a)({},e,Ke(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){var i,c;return r!==n[o]&&((n=(i=e[t.clientId])===(c=n)?Object(l.a)({},i):c)[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),Ke(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 He(t.blocks);case"RECEIVE_BLOCKS":return Object(l.a)({},e,Object(p.omit)(He(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=He(t.blocks,r),c=t.index,a=void 0===c?o.length:c;return Object(l.a)({},e,i,Object(I.a)({},r,De(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].indexOf(h);return Object(l.a)({},e,Object(I.a)({},b,Fe(e[b],g,v)))}return Object(l.a)({},e,(s={},Object(I.a)(s,d,Object(p.without)(e[d],h)),Object(I.a)(s,b,De(e[b],h,v)),s));case"MOVE_BLOCKS_UP":var O=t.clientIds,k=t.rootClientId,y=void 0===k?"":k,j=Object(p.first)(O),_=e[y];if(!_.length||j===Object(p.first)(_))return e;var S=_.indexOf(j);return Object(l.a)({},e,Object(I.a)({},y,Fe(_,S,S-1,O.length)));case"MOVE_BLOCKS_DOWN":var C=t.clientIds,E=t.rootClientId,w=void 0===E?"":E,B=Object(p.first)(C),T=Object(p.last)(C),x=e[w];if(!x.length||T===Object(p.last)(x))return e;var L=x.indexOf(B);return Object(l.a)({},e,Object(I.a)({},w,Fe(x,L,L+1,C.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var N=t.clientIds;if(!t.blocks)return e;var A=He(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)(A,""))},function(e){return Object(p.mapValues)(e,function(e){return Object(p.reduce)(e,function(e,t){return t===N[0]?[].concat(Object(Te.a)(e),Object(Te.a)(A[""])):(-1===N.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(Te.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 Ue(t.blocks);case"RECEIVE_BLOCKS":return Object(l.a)({},e,Ue(t.blocks));case"INSERT_BLOCKS":return Object(l.a)({},e,Ue(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),Ue(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]:Pe,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]:Re,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(76),Je=n.n(Ze),Qe=n(226),et=n.n(Qe),tt=n(46),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 yt(){return{type:"START_MULTI_SELECT"}}function jt(){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(35),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(Te.a)(r),Object(Te.a)(e(t,r)))})},vn=Object(nn.a)(function(e){var t=Wn(e);return[].concat(Object(Te.a)(t),Object(Te.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 yn(e){return e.blockSelection.start}function jn(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(Te.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;if(!r(br(e).allowedBlockTypes,t,!0))return!1;if(!!cr(e,n))return!1;var c=pr(e,n),a=r(Object(p.get)(c,["allowedBlocks"]),t),l=r(o.parent,un(e,n));return null!==a&&null!==l?a||l:null!==a?a:null===l||l},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=Object(i.getBlockTypes)().filter(function(n){return ur(e,n,t)}).map(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=ar(e,"core/block",t)?Or(e).map(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}}):[];return Object(p.orderBy)([].concat(Object(Te.a)(o),Object(Te.a)(c)),["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;return!!Object(p.some)(Object(i.getBlockTypes)(),function(n){return ur(e,n,t)})||ar(e,"core/block",t)&&Or(e).length>0},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 yr(e){return e.didAutomaticChange}var jr={MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=Object(Ae.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=yn(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),y=Object(i.cloneBlock)(f);if(O){var j=m===a?k:y,_=j.attributes[v],S=(m===a?d:b).attributes[v].multiline,C=Object(c.insert)(Object(c.create)({html:_,multilineTag:S}),"†",g,g);j.attributes[v]=Object(c.toHTMLString)({value:C,multilineTag:S})}var E=u.name===f.name?[y]:Object(i.switchToBlockType)(y,u.name);if(E&&E.length){var w=d.merge(k.attributes,E[0].attributes);if(O){var I=Object(p.findKey)(w,function(e){return"string"==typeof e&&-1!==e.indexOf("†")}),B=w[I],T=d.attributes[I].multiline,x=Object(c.create)({html:B,multilineTag:T}),L=x.text.indexOf("†"),N=Object(c.remove)(x,L,L+1),A=Object(c.toHTMLString)({value:N,multilineTag:T});w[I]=A,n($t(u.clientId,I,L,L))}n(wt([u.clientId,f.clientId],[Object(l.a)({},u,{attributes:Object(l.a)({},u.attributes,w)})].concat(Object(Te.a)(E.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()(jr),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(Te.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(Me.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(Ae.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(j.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(66),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(j.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(227),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(j.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(j.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 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")})):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."))}}]),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,null,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(j.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(64),Zr=n.n(Xr),Jr=function(e){function t(e){var n;return Object(j.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(j.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(Me.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)(Sc,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)(Uo,null),Object(u.createElement)(Fr,{clientIds:[t]}))}),co=function(e){function t(){var e;return Object(j.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)(Uo,{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(j.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(Me.a)(t,["childHandledEvents","forwardedRef","tagName"]),s=Object(p.reduce)([].concat(Object(Te.a)(r),Object(Te.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)(he,{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};var ho=function(e,t,n,r){var o=Object(b.useReducedMotion)()||!n,i=Object(u.useReducer)(bo,0),c=Object(Ae.a)(i,2),a=c[0],l=c[1],s=Object(u.useReducer)(bo,0),d=Object(Ae.a)(s,2),f=d[0],p=d[1],h=Object(u.useState)({x:0,y:0}),m=Object(Ae.a)(h,2),v=m[0],g=m[1],O=e.current?e.current.getBoundingClientRect():null;Object(u.useLayoutEffect)(function(){a&&p()},[a]),Object(u.useLayoutEffect)(function(){if(!o){e.current.style.transform="none";var t=e.current.getBoundingClientRect(),n={x:O?O.left-t.left:0,y:O?O.top-t.top:0};e.current.style.transform=0===n.x&&0===n.y?void 0:"translate3d(".concat(n.x,"px,").concat(n.y,"px,0)"),l(),g(n)}},[r]);var k=Object(Tr.useSpring)({from:v,to:{x:0,y:0},reset:a!==f,config:{mass:5,tension:2e3,friction:200},immediate:o});return o?{}:{transformOrigin:"center",transform:Object(Tr.interpolate)([k.x,k.y],function(e,t){return 0===e&&0===t?void 0:"translate3d(".concat(e,"px,").concat(t,"px,0)")}),zIndex:Object(Tr.interpolate)([k.x,k.y],function(e,n){return!t||0===e&&0===n?void 0:"1"})}},mo=function(e){e.preventDefault()};var vo=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,y=c.__unstableGetBlockWithoutInnerBlocks,j=c.isNavigationMode,_=y(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:j(),isRTL:I,block:_,name:A,attributes:M,isValid:R,isSelected:S,isParentOfSelectedBlock:T}}),go=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)}}}),Oo=Object(b.compose)(b.pure,Object(a.withViewportMatch)({isLargeViewport:"medium"}),vo,go,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,y=e.isParentOfSelectedBlock,j=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(Ae.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(Ae.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(Ae.a)(oe,2),ce=ie[0],ae=ie[1],le=Object(u.useState)(!1),ue=Object(Ae.a)(le,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()}},he=Object(u.useRef)(!0);Object(u.useEffect)(function(){b&&be(!he.current),he.current=!1},[b]),Object(u.useEffect)(function(){m&&Y.current.focus()},[m]);var ve=ho(Y,b||h,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),ye=Object(H.sprintf)(Object(H.__)("Block: %s"),ke.title),je=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,Ie=b&&W||!W&&!r&&Oe&&!O,Te=!W&&!o&&!Se&&(b&&(!v||g)||m),xe=!W&&Ce,Le=h&&m||!h,Ne=f()("wp-block editor-block-list__block block-editor-block-list__block",{"has-warning":!E||!!de||je,"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||y),"is-focus-mode":r,"has-child-selected":y},S);ke.getEditWrapperProps&&(T=Object(l.a)({},T,ke.getEditWrapperProps(I)));var Me="block-".concat(a),Re=Object(u.createElement)(se,{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:Ne,"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 me.ENTER:r&&o&&(D(),e.preventDefault());break;case me.BACKSPACE:case me.DELETE:r&&(R(a),e.preventDefault());break;case me.ESCAPE:b&&o&&(q(),Y.current.focus())}},tabIndex:"0","aria-label":ye,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)(Be,{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!==j&&!h&&k,onDragStart:function(){ae(!0)},onDragEnd:function(){ae(!1)}}),Ie&&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:mo,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(!1)}},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))]),xe&&Object(u.createElement)(io,{clientId:a}),!!de&&Object(u.createElement)($r,null))),_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)(Uo,{position:"top right",onToggle:ge,rootClientId:d,clientId:a})))}),ko=n(54);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(ko.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)(Be,{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)(Uo,{rootClientId:c,position:"top right",isAppender:!0}))});var jo=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)(Vo,{rootClientId:n,className:"block-list-appender__toggle"}))}),_o=function(e){function t(e){var n;return Object(j.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 ec.height*l?(i.height-c.height*l)/2:0;p(l),O({x:s*l,y:u}),o.style.marginTop="0"}else{var d=e.getBoundingClientRect();p(d.width/n)}a(!0)}},100);return function(){e&&window.clearTimeout(e)}},[]),!t||0===t.length)return null;var k={transform:"scale(".concat(d,")"),visibility:c?"visible":"hidden",left:-v,top:g,width:n};return Object(u.createElement)("div",{ref:r,className:f()("block-editor-block-preview__container editor-styles-wrapper",{"is-ready":c}),"aria-hidden":!0},Object(u.createElement)(P.Disabled,{style:k,className:"block-editor-block-preview__content"},Object(u.createElement)(So,null)))}var Eo=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.settings,i=Object(u.useMemo)(function(){return Object(p.castArray)(t)},[t]),c=Object(u.useReducer)(function(e){return e+1},0),a=Object(Ae.a)(c,2),l=a[0],s=a[1];return Object(u.useLayoutEffect)(s,[t]),Object(u.createElement)(Ir,{value:i,settings:o},Object(u.createElement)(Co,{key:l,blocks:i,viewportWidth:r}))});var wo=function(e){var t=e.icon,n=e.onClick,r=e.isDisabled,o=e.title,i=e.className,c=Object(Me.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)(he,{icon:t,showColors:!0})),Object(u.createElement)("span",{className:"editor-block-types-list__item-title block-editor-block-types-list__item-title"},o)))};var Io=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)(wo,{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 Bo=function(e){var t=e.blockType;return Object(u.createElement)("div",{className:"block-editor-block-card"},Object(u.createElement)(he,{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 To=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(Me.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)(he,{icon:t,showColors:!0}),n&&Object(u.createElement)("h2",null,n)),Object(u.createElement)(Io,Object(s.a)({items:r},o)))}),xo=Object(P.createSlotFill)("__experimentalInserterMenuExtension"),Lo=xo.Fill,No=xo.Slot;Lo.Slot=No;var Ao=Lo,Mo=function(e){return e.stopPropagation()},Ro=function(e){return e=(e=(e=(e=Object(p.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},Po=function(e){function t(){var e;return Object(j.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(Te.a)(t.state.openPanels),[e])}),t.props.setTimeout(function(){Le()(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=function(e,t){var n=Ro(t),r=function(e){return-1!==Ro(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)})}(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);n(Object(H.sprintf)(Object(H._n)("%d result found.","%d results found.",b),b))}},{key:"onKeyDown",value:function(e){Object(p.includes)([me.LEFT,me.DOWN,me.RIGHT,me.UP,me.BACKSPACE,me.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=function(e){return-1!==b.indexOf(e)},g=Object(p.isEmpty)(m)&&Object(p.isEmpty)(h)&&Object(p.isEmpty)(d),O=s?Object(i.getBlockType)(s.name):null;return Object(u.createElement)("div",{className:f()("editor-inserter__menu block-editor-inserter__menu",{"has-help-panel":c}),onKeyPress:Mo,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)(To,{rootClientId:o,items:l,onSelect:r,onHover:this.onHover}),!!m.length&&Object(u.createElement)(P.PanelBody,{title:Object(H._x)("Most Used","blocks"),opened:v("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(u.createElement)(Io,{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:v(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(u.createElement)(Io,{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:v("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(u.createElement)(Io,{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(Ne.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(H.__)("Manage All Reusable Blocks"))),Object(u.createElement)(Ao.Slot,{fillProps:{onSelect:r,onHover:this.onHover,filterValue:this.state.filterValue,hasItems:g}},function(e){return e.length?e:g?Object(u.createElement)("p",{className:"editor-inserter__no-results block-editor-inserter__no-results"},Object(H.__)("No blocks found.")):null}))),c&&Object(u.createElement)("div",{className:"block-editor-inserter__menu-help-panel"},s&&Object(u.createElement)(u.Fragment,null,Object(u.createElement)(Bo,{blockType:O}),(Object(i.isReusableBlock)(s)||O.example)&&Object(u.createElement)("div",{className:"block-editor-inserter__preview"},Object(u.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(u.createElement)(Eo,{viewportWidth:500,blocks:Object(i.createBlock)(s.name,O.example?O.example.attributes:s.initialAttributes,O.example?O.example.innerBlocks:void 0)})))),!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),Do=Object(b.compose)(Object(m.withSelect)(function(e,t){var n=t.clientId,r=t.isAppender,o=t.rootClientId,i=e("core/block-editor"),c=i.getInserterItems,a=i.getBlockName,l=i.getBlockRootClientId,s=i.getBlockSelectionEnd,u=i.getSettings,d=e("core/blocks").getChildBlockNames,f=o;if(!f&&!n&&!r){var p=s();p&&(f=l(p)||void 0)}return{rootChildBlocks:d(a(f)),items:c(f),showInserterHelpPanel:u().showInserterHelpPanel,destinationRootClientId:f}}),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)(Po),Fo=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})},Ho=function(e){function t(){var e;return Object(j.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?Fo: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;return Object(u.createElement)(Do,{onSelect:t,rootClientId:r,clientId:o,isAppender:i})}},{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),Uo=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})])(Ho);var Vo=function(e){var t=e.rootClientId,n=e.className;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(Be,{rootClientId:t}),Object(u.createElement)(Uo,{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}))},zo=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"),Ko=zo(P.ColorPalette);function Wo(e){var t=e.tinyBackgroundColor,n=e.tinyTextColor,r=e.backgroundColor,o=e.textColor,i=t.getBrightness()=24?"large":"small"})?null:Object(u.createElement)(Wo,{backgroundColor:t,textColor:c,tinyBackgroundColor:a,tinyTextColor:l})},Go=n(41),$o=n.n(Go),Yo=Object(b.createHigherOrderComponent)(function(e){return q(function(e){return Object(p.pick)(e,["clientId"])})(e)},"withClientId"),Xo=Yo(function(e){var t=e.clientId;return Object(u.createElement)(Vo,{rootClientId:t})}),Zo=Object(b.compose)([Yo,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 Jo=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"))))},Qo=function(e){function t(){var e;return Object(j.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};$o()(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)(Jo,{options:c,onSelect:a,allowSkip:l}):Object(u.createElement)(So,{rootClientId:n,renderAppender:o})))}}]),t}(u.Component);(Qo=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))}}})])(Qo)).DefaultBlockAppender=Zo,Qo.ButtonBlockAppender=Xo,Qo.Content=Object(i.withBlockContentContext)(function(e){var t=e.BlockContent;return Object(u.createElement)(t,null)});var ei=Qo,ti=Object(P.createSlotFill)("InspectorAdvancedControls"),ni=ti.Fill,ri=ti.Slot,oi=G(ni);oi.Slot=ri;var ii=oi,ci=Object(P.createSlotFill)("InspectorControls"),ai=ci.Fill,li=ci.Slot,si=G(ai);si.Slot=li;var ui=si,di=Object(P.withFilters)("editor.MediaUpload")(function(){return null});function fi(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(Ne.filterURLForDisplay)(Object(Ne.safeDecodeURI)(t))):Object(u.createElement)("span",{className:o})}var pi=function(e){return e.stopPropagation()},bi=function(e){function t(e){var n,r=e.autocompleteRef;return Object(j.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,Le()(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 me.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case me.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case me.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(H.__)("Link selected.")));break;case me.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case me.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case me.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:pi,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),hi=Object(b.compose)(b.withSafeTimeout,P.withSpokenMessages,b.withInstanceId,Object(m.withSelect)(function(e){return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}}))(bi);var mi=function(e){function t(){var e;return Object(j.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(Me.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);mi.LinkEditor=function(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,i=Object(Me.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)(hi,{value:o,onChange:r,autocompleteRef:t}),Object(u.createElement)(P.IconButton,{icon:"editor-break",label:Object(H.__)("Apply"),type:"submit"}))},mi.LinkViewer=function(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,i=e.urlLabel,c=Object(Me.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)(fi,{url:o,urlLabel:i,className:n}),r&&Object(u.createElement)(P.IconButton,{icon:"edit",label:Object(H.__)("Edit"),onClick:r}))};var vi=mi,gi=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(u.createElement)(vi,{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"})))},Oi=function(e){function t(){var e;return Object(j.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(Ae.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,y=k&&"audio"===o[0],j=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."),y?g=Object(H.__)("Upload an audio file, pick one from your media library, or add one with a URL."):j?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"),y?O=Object(H.__)("Audio"):j?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)(gi,{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)(di,{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)(we,null,this.renderDropZone()):Object(u.createElement)(we,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(u.Component),ki=Object(m.withSelect)(function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}}),yi=Object(b.compose)(ki,Object(P.withFilters)("editor.MediaPlaceholder"))(Oi),ji=Object(H.__)("(current %s: %s)");var _i=Object(b.compose)([zo,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)(ji,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)(Ko,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})))}),Si=Object(H.__)("(%s: %s)"),Ci=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!function(e,t){return void 0!==t.disableCustomColors?t.disableCustomColors:e}(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(Me.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)(Si,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)(_i,Object(s.a)({key:t},Object(l.a)({colors:n,disableCustomColors:o},e)))}),t)}),Ei=zo(Ci),wi=Object(u.forwardRef)(function(e,t){var n=e.onChange,r=e.className,o=Object(Me.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))}),Ii=n(34),Bi=n(37),Ti=n.n(Bi),xi={position:"bottom left"},Li=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(Ae.a)(e,1)[0].props}),"title"),popoverProps:xi})})))},Ni=[me.rawShortcut.primary("z"),me.rawShortcut.primaryShift("z"),me.rawShortcut.primary("y")],Ai=Object(u.createElement)(P.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.fromPairs)(Ni.map(function(e){return[e,function(e){return e.preventDefault()}]}))}),Mi=function(){return Ai},Ri=function(e){function t(){var e;return Object(j.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)({},me.rawShortcut[n](t),this.onUse)})}}]),t}(u.Component);function Pi(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,i=Object(Me.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),r&&o&&(t=me.displayShortcut[r](o)),Object(u.createElement)(P.Fill,{name:c},Object(u.createElement)(P.ToolbarButton,Object(s.a)({},i,{shortcut:t})))}var Di=function(e){function t(){var e;return Object(j.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),Fi=window.requestIdleCallback||function(e){window.setTimeout(e,100)};function Hi(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var Ui=function(e){function t(){var e;return Object(j.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(Ne.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(Ae.a)(s,2),d=u[0],f=u[1],p=t.length>0,b=Hi(a);p&&Object(c.isEmpty)(d)||l.push(o(Object(c.toHTMLString)({value:d,multilineTag:b}))),p?l.push.apply(l,Object(Te.a)(t)):i&&l.push(i()),!p&&i&&Object(c.isEmpty)(f)||l.push(o(Object(c.toHTMLString)({value:f,multilineTag:b}))),r(l,p?l.length-1:1)}}},{key:"inputRule",value:function(e,t){var n=this.props.onReplace;if(n){var r=e.start,o=e.text,a=o.slice(r-1,r);if(/\s/.test(a)){var l=o.slice(0,r).trim(),s=Object(i.getBlockTransforms)("from").filter(function(e){return"prefix"===e.type}),u=Object(i.findTransform)(s,function(e){var t=e.prefix;return l===t});if(u){var d=t(Object(c.slice)(e,r,o.length));n([u.transform(d)]),this.markAutomaticChange()}}}}},{key:"getAllowedFormats",value:function(){var e=this.props,t=e.allowedFormats,n=e.formattingControls;if(t||n)return t||(Ti()("wp.blockEditor.RichText formattingControls prop",{alternative:"allowedFormats"}),n.map(function(e){return"core/".concat(e)}))}},{key:"markAutomaticChange",value:function(){var e=this;Fi(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,y=e.onExitFormattedText,j=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(Me.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=Hi(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":j,"keep-placeholder-on-focus":w}),placeholder:E,allowedFormats:N,withoutInteractiveFormatting:I,onEnter:this.onEnter,onDelete:this.onDelete,onPaste:this.onPaste,__unstableIsSelected:j,__unstableInputRule:this.inputRule,__unstableMultilineTag:L,__unstableIsCaretWithinFormattedText:O,__unstableOnEnterFormattedText:k,__unstableOnExitFormattedText:y,__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)(be,null,Object(u.createElement)(Li,null)),n&&b&&A&&Object(u.createElement)(P.IsolatedEventContainer,{className:"editor-rich-text__inline-toolbar block-editor-rich-text__inline-toolbar"},Object(u.createElement)(Li,null)),n&&Object(u.createElement)(Mi,null),Object(u.createElement)(Y,{onReplace:g,completers:v,record:r,onChange:o},function(e){var t=e.listBoxId,n=e.activeId;return Object(u.createElement)(i,{"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,start:B,reversed:T})}))});return Object(u.createElement)("div",{className:f()("editor-rich-text block-editor-rich-text",h)},D)}}]),t}(u.Component),Vi=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")])(Ui);Vi.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(Me.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=i.children.toHTML(t));var c=Hi(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},Vi.isEmpty=function(e){return!e||0===e.length},Vi.Content.defaultProps={format:"string",value:""};var zi=Vi,Ki=function(e){function t(){var e;return Object(j.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)(hi,{value:t||"",onChange:n}),Object(u.createElement)(P.IconButton,{icon:"editor-break",label:Object(H.__)("Submit"),type:"submit"}))))}}]),t}(u.Component),Wi=Object(P.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),qi=Wi.Fill,Gi=Wi.Slot;qi.Slot=Gi;var $i=qi,Yi=Object(P.createSlotFill)("__experimentalBlockSettingsMenuPluginsExtension"),Xi=Yi.Fill,Zi=Yi.Slot;Xi.Slot=Zi;var Ji=Xi;var Qi=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})}),ec=function(e){return e.preventDefault(),e},tc={duplicate:{raw:me.rawShortcut.primaryShift("d"),display:me.displayShortcut.primaryShift("d")},removeBlock:{raw:me.rawShortcut.access("z"),display:me.displayShortcut.access("z")},insertBefore:{raw:me.rawShortcut.primaryAlt("t"),display:me.displayShortcut.primaryAlt("t")},insertAfter:{raw:me.rawShortcut.primaryAlt("y"),display:me.displayShortcut.primaryAlt("y")}},nc=function(e){function t(){var e;return Object(j.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,me.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)(Qi,{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,tc.duplicate.raw,Object(p.flow)(ec,n)),Object(I.a)(t,tc.removeBlock.raw,Object(p.flow)(ec,r)),Object(I.a)(t,tc.insertBefore.raw,Object(p.flow)(ec,i)),Object(I.a)(t,tc.insertAfter.raw,Object(p.flow)(ec,o)),t)})}))}}]),t}(u.Component),rc=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}})])(nc),oc=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"))}),ic=n(158),cc=n.n(ic);function ac(e,t,n){var r=new cc.a(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var lc=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(Te.a)(t)));var h=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,c=new cc.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=ac(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=ac(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){me.ENTER!==t.keyCode&&me.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)(Eo,{viewportWidth:500,blocks:o.example?Object(i.createBlock)(c.name,Object(l.a)({},o.example.attributes,{className:t}),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))}))}),sc=n(104);var uc=Object(m.withSelect)(function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}})(function(e){var t=e.blocks,n=Object(sc.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)(he,{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 dc(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(Te.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 fc=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)(uc,null);var s=c===Object(i.getUnregisteredTypeHandlerName)();return t&&o&&!s?Object(u.createElement)(u.Fragment,null,Object(u.createElement)(Bo,{blockType:t}),r&&Object(u.createElement)("div",null,Object(u.createElement)(P.PanelBody,{title:Object(H.__)("Styles"),initialOpen:!1},Object(u.createElement)(lc,{clientId:o}),Object(u.createElement)(dc,{blockName:t.name}))),Object(u.createElement)("div",null,Object(u.createElement)(ui.Slot,null)),Object(u.createElement)("div",null,Object(u.createElement)(ii.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)(oc,{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}),pc=function(e){function t(){var e;return Object(j.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),bc=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}})])(pc);var hc=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 mc(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 vc=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)}))}}}))(mc),gc=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)}))}}}))(mc),Oc={className:"block-editor-block-settings-menu__popover editor-block-settings-menu__popover",position:"bottom right"};var kc=function(e){var t=e.clientIds,n=Object(p.castArray)(t),r=n.length,o=n[0];return Object(u.createElement)(Qi,{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:Oc},function(e){var f=e.onClose;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(P.MenuGroup,null,Object(u.createElement)($i.Slot,{fillProps:{onClose:f}}),1===r&&Object(u.createElement)(gc,{clientId:o}),1===r&&Object(u.createElement)(vc,{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:tc.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:tc.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:tc.insertAfter.display},Object(H.__)("Insert After"))),1===r&&Object(u.createElement)(hc,{clientId:o,onToggle:f}),Object(u.createElement)(Ji.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:tc.removeBlock.display},Object(H.__)("Remove Block"))))}))})},yc=function(e){function t(){var e;return Object(j.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!==me.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(u.createElement)(u.Fragment,null,Object(u.createElement)(he,{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)(lc,{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)(Io,{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)(Eo,{viewportWidth:500,blocks:f.example?Object(i.createBlock)(d.name,Object(l.a)({},f.example.attributes,{className:a}),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)(he,{icon:s,showColors:!0})}))}}]),t}(u.Component),jc=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))}}}))(yc);var _c=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)(jc,{key:"switcher",clientIds:n}):null});var Sc=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)(_c,null),Object(u.createElement)(kc,{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)(jc,{clientIds:t}),Object(u.createElement)(ie.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(u.createElement)(be.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(u.createElement)(kc,{clientIds:t}))});var Cc=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)}),Ec=function(e){function t(){return Object(j.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&&Le()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(u.Component),wc=Object(m.withSelect)(function(e){return{extentClientId:(0,e("core/block-editor").getLastMultiSelectedBlockClientId)()}})(Ec),Ic=[me.UP,me.RIGHT,me.DOWN,me.LEFT,me.ENTER,me.BACKSPACE];var Bc=function(e){function t(){var e;return Object(j.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===me.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)(Ic,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),Tc=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])(Bc),xc=function(e){function t(){return Object(j.a)(this,t),Object(S.a)(this,Object(C.a)(t).apply(this,arguments))}return Object(w.a)(t,e),Object(_.a)(t,[{key:"getSnapshotBeforeUpdate",value:function(e){var t=this.props,n=t.blockOrder,r=t.selectionStart;return n!==e.blockOrder&&r?this.getOffset(r):null}},{key:"componentDidUpdate",value:function(e,t,n){n&&this.restorePreviousOffset(n)}},{key:"getOffset",value:function(e){var t=po(e);return t?t.getBoundingClientRect().top:null}},{key:"restorePreviousOffset",value:function(e){var t=po(this.props.selectionStart);if(t){var n=Object(xr.getScrollContainer)(t);n&&(n.scrollTop=n.scrollTop+t.getBoundingClientRect().top-e)}}},{key:"render",value:function(){return null}}]),t}(u.Component),Lc=Object(m.withSelect)(function(e){return{blockOrder:e("core/block-editor").getBlockOrder(),selectionStart:e("core/block-editor").getBlockSelectionStart()}})(xc),Nc=-1!==window.navigator.userAgent.indexOf("Trident"),Ac=new Set([me.UP,me.DOWN,me.LEFT,me.RIGHT]),Mc=function(e){function t(){var e;return Object(j.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(Ac.has(t))this.caretRect=n;else{var r=n.y-this.caretRect.y;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().y,l=i?this.caretRect.y/window.innerHeight:(this.caretRect.y-a)/(window.innerHeight-a);if(0===c&&l<.75&&this.isLastEditableNode())this.caretRect=n;else{var s=i?window.innerHeight:o.clientHeight;this.caretRect.y+this.caretRect.height>a+s||this.caretRect.y1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?zc:[],!r||!0===e&&!n?p.without.apply(void 0,[t].concat(Kc)):t}var qc=Object(b.createHigherOrderComponent)(function(e){return function(t){var n=t.name,r=Wc(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(u.createElement)(ie,{key:"align-controls"},Object(u.createElement)(ee,{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"),Gc=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=Wc(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",Gc),Object(h.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",qc),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)(Wc(o,c),r)&&(e.className=f()("align".concat(r),e.className)),e});var $c=/[\s#]/g;var Yc=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)(ii,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($c,"-"),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",Yc),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 Xc=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)(ii,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 Zc(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",Xc),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=Zc(o),a=Zc(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(Te.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e});var Jc=n(228),Qc=n.n(Jc),ea=n(31),ta=/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//g,na=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 ra(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=ra(t[0]),!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(ta,""),value:n?ra(n[0]).replace(ta,""):""});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,y=S("import"),j=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=ra(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:ra(t[1]),media:ra(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var n=ra(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 '}'")}}()||y()||j()||_()||function(){var e=i(),t=f(/^@([-\w]+)?document *([^{]+)/);if(t){var n=ra(t[1]),r=ra(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(ea.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 ra(e){return e?e.replace(/^\s+|\s+$/g,""):""}var oa=n(122),ia=n.n(oa),ca=aa;function aa(e){this.options=e||{}}aa.prototype.emit=function(e){return e},aa.prototype.visit=function(e){return this[e.type](e)},aa.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(ga)?n.replace(/^(body|html|:root)/,e):e+" "+n})}):n}},ka=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(Oa(t)),r&&o.push(va(r)),o.length?pa(n,Object(b.compose)(o)):n})};n.d(t,"AlignmentToolbar",function(){return V}),n.d(t,"Autocomplete",function(){return Y}),n.d(t,"BlockAlignmentToolbar",function(){return ee}),n.d(t,"BlockControls",function(){return ie}),n.d(t,"BlockEdit",function(){return se}),n.d(t,"BlockFormatControls",function(){return be}),n.d(t,"BlockIcon",function(){return he}),n.d(t,"BlockNavigationDropdown",function(){return ke}),n.d(t,"__experimentalBlockNavigationList",function(){return ve}),n.d(t,"BlockVerticalAlignmentToolbar",function(){return Ee}),n.d(t,"ButtonBlockerAppender",function(){return Vo}),n.d(t,"ColorPalette",function(){return Ko}),n.d(t,"ContrastChecker",function(){return qo}),n.d(t,"InnerBlocks",function(){return ei}),n.d(t,"InspectorAdvancedControls",function(){return ii}),n.d(t,"InspectorControls",function(){return ui}),n.d(t,"MediaPlaceholder",function(){return yi}),n.d(t,"MediaUpload",function(){return di}),n.d(t,"MediaUploadCheck",function(){return we}),n.d(t,"PanelColorSettings",function(){return Ei}),n.d(t,"PlainText",function(){return wi}),n.d(t,"RichText",function(){return zi}),n.d(t,"RichTextShortcut",function(){return Ri}),n.d(t,"RichTextToolbarButton",function(){return Pi}),n.d(t,"__unstableRichTextInputEvent",function(){return Di}),n.d(t,"URLInput",function(){return hi}),n.d(t,"URLInputButton",function(){return Ki}),n.d(t,"URLPopover",function(){return vi}),n.d(t,"withColorContext",function(){return zo}),n.d(t,"__experimentalBlockSettingsMenuFirstItem",function(){return $i}),n.d(t,"__experimentalBlockSettingsMenuPluginsExtension",function(){return Ji}),n.d(t,"__experimentalInserterMenuExtension",function(){return Ao}),n.d(t,"BlockEditorKeyboardShortcuts",function(){return rc}),n.d(t,"BlockInspector",function(){return fc}),n.d(t,"BlockList",function(){return So}),n.d(t,"BlockMover",function(){return Fr}),n.d(t,"BlockPreview",function(){return Eo}),n.d(t,"BlockSelectionClearer",function(){return bc}),n.d(t,"BlockSettingsMenu",function(){return kc}),n.d(t,"BlockTitle",function(){return eo}),n.d(t,"BlockToolbar",function(){return Sc}),n.d(t,"CopyHandler",function(){return Cc}),n.d(t,"DefaultBlockAppender",function(){return yo}),n.d(t,"Inserter",function(){return Uo}),n.d(t,"MultiBlocksSwitcher",function(){return _c}),n.d(t,"MultiSelectScrollIntoView",function(){return wc}),n.d(t,"NavigableToolbar",function(){return no}),n.d(t,"ObserveTyping",function(){return Tc}),n.d(t,"PreserveScrollInReorder",function(){return Lc}),n.d(t,"SkipToSelectedBlock",function(){return oc}),n.d(t,"Typewriter",function(){return Rc}),n.d(t,"Warning",function(){return Hr}),n.d(t,"WritingFlow",function(){return Vc}),n.d(t,"BlockEditorProvider",function(){return Ir}),n.d(t,"getColorClassName",function(){return y}),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 ka}),n.d(t,"storeConfig",function(){return Sr}),n.d(t,"SETTINGS_DEFAULTS",function(){return Pe})},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}()},41:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},43:function(e,t){!function(){e.exports=this.wp.viewport}()},45: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;c=0;--i){var c=this.tryEntries[i],a=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var l=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(l&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:I(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},49:function(e,t,n){var r;!function(o){var i=/^\s+/,c=/\s+$/,a=0,l=o.round,s=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,a=null,l=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(c,"").toLowerCase();var t,n=!1;if(T[e])e=T[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=z.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=z.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=z.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=z.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=z.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=z.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=z.hex8.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=z.hex6.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),format:n?"name":"hex"};if(t=z.hex4.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=z.hex3.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(K(e.r)&&K(e.g)&&K(e.b)?(p=e.r,b=e.g,h=e.b,t={r:255*N(p,255),g:255*N(b,255),b:255*N(h,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):K(e.h)&&K(e.s)&&K(e.v)?(r=P(e.s),a=P(e.v),t=function(e,t,n){e=6*N(e,360),t=N(t,100),n=N(n,100);var r=o.floor(e),i=e-r,c=n*(1-t),a=n*(1-i*t),l=n*(1-(1-i)*t),s=r%6;return{r:255*[n,a,c,c,l,n][s],g:255*[l,n,n,a,c,c][s],b:255*[c,c,l,n,n,a][s]}}(e.h,r,a),d=!0,f="hsv"):K(e.h)&&K(e.s)&&K(e.l)&&(r=P(e.s),l=P(e.l),t=function(e,t,n){var r,o,i;function c(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=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(y,arguments)},darken:function(){return this._applyModification(j,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})},54:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},64:function(e,t,n){"use strict";t.__esModule=!0;var r=n(132);t.default=r.default},66: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(136)),i=r(n(137)),c=n(28),a=r(c),l=r(n(138)),s=r(n(139)),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),y=0;yh: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,ye=new RegExp("("+Object.keys(ee).join("|")+")","g"),je={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||je.hasOwnProperty(e)&&je[e]?(""+t).trim():t+"px"}je=Object.keys(je).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},je);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(ye,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+")"})}}),j(ee),y(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(),y=c.useRef(!1),j=c.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!y.current&&new Map,forceUpdate:k});return c.useImperativeHandle(r.ref,function(){return{start:function(){return Promise.all(Array.from(j.current.instances).map(function(e){var t=e[1];return new Promise(function(e){return t.start(e)})}))},stop:function(e){return Array.from(j.current.instances).forEach(function(t){return t[1].stop(e)})},get controllers(){return Array.from(j.current.instances).map(function(e){return e[1]})}}}),j.current=function(e,t){for(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,y=void 0===k?[G,$,Y]:k,j=Z(r),_=j.keys,S=j.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;y.length;){var A=y.shift();switch(A){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 M=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=M.findIndex(function(e){return e.originalKey===n}))&&(t+=1),t=Math.max(0,t),M=[].concat(M.slice(0,t),[r],M.slice(t))}),o({},c,{changed:T.length||x.length||L.length,first:n&&0===T.length,transitions:M,current:C,deleted:E,prevProps:t})}(j.current,r),j.current.changed&&j.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;j.current.instances.has(a)||j.current.instances.set(a,new K);var u=j.current.instances.get(a),d=o({},O,{to:r,from:n,config:i,ref:g,onRest:function(n){j.current.mounted&&(e.destroyed&&(g||s||J(j,a),p&&p(l)),!Array.from(j.current.instances).some(function(e){return!e[1].idle})&&(g||s)&&j.current.deleted.length>0&&J(j),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),j.current.paused||u.start()}),c.useEffect(function(){return j.current.mounted=y.current=!0,function(){j.current.mounted=y.current=!1,Array.from(j.current.instances).map(function(e){return e[1].destroy()}),j.current.instances.clear()}},[]),j.current.transitions.map(function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:j.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){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},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(143);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[j])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(!y&&!j)for(;w--;w)_.unshift("..");!y||""===_[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(y=y||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)}},9:function(e,t){!function(){e.exports=this.wp.blocks}()},94:function(e,t,n){"use strict";var r=n(95);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}},95:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}); \ 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),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}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.callback;"function"==typeof n&&(o=n,n={}),this.options=n;var i=this;function c(e){return o?(setTimeout(function(){o(void 0,e)},0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,s=1,u=a+l,d=[{newPos:-1,components:[]}],f=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=a&&f+1>=l)return c([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*s;n<=s;n+=2){var o=void 0,u=d[n-1],f=d[n+1],p=(f?f.newPos:0)-n;u&&(d[n-1]=void 0);var b=u&&u.newPos+1=a&&p+1>=l)return c(r(i,o.components,t,e,i.useLongestToken));d[n]=o}else d[n]=void 0}var m;s++}if(o)!function e(){setTimeout(function(){if(s>u)return o();p()||e()},0)}();else for(;s<=u;){var b=p();if(b)return b}},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 y=/\n$/.test(n),j=/\n$/.test(i);0!=r.length||y?y&&j||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/g,">")).replace(/"/g,""")}t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],r=0;r"):o.removed&&t.push(""),t.push(n(o.value)),o.added?t.push(""):o.removed&&t.push("")}return t.join("")}}])},e.exports=r()},228: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"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 We=function(e){return e.reduce(function(e,t){return e[t]={},e},{})};var qe=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,We(o(i)));break;case"UPDATE_BLOCK":case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Object(l.a)({},r.cache,We(o([n.clientId])));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var c=We(o(n.replacedClientIds));r.cache=Object(l.a)({},Object(p.omit)(r.cache,n.replacedClientIds),Object(p.omit)(c,n.replacedClientIds),We(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),We(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,We(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,We(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,We(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||!Ke(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){var i,c;return r!==n[o]&&((n=(i=e[t.clientId])===(c=n)?Object(l.a)({},i):c)[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].indexOf(h);return Object(l.a)({},e,Object(I.a)({},b,De(e[b],g,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 O=t.clientIds,k=t.rootClientId,y=void 0===k?"":k,j=Object(p.first)(O),_=e[y];if(!_.length||j===Object(p.first)(_))return e;var S=_.indexOf(j);return Object(l.a)({},e,Object(I.a)({},y,De(_,S,S-1,O.length)));case"MOVE_BLOCKS_DOWN":var C=t.clientIds,E=t.rootClientId,w=void 0===E?"":E,B=Object(p.first)(C),T=Object(p.last)(C),x=e[w];if(!x.length||T===Object(p.last)(x))return e;var L=x.indexOf(B);return Object(l.a)({},e,Object(I.a)({},w,De(x,L,L+1,C.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var N=t.clientIds;if(!t.blocks)return e;var A=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)(A,""))},function(e){return Object(p.mapValues)(e,function(e){return Object(p.reduce)(e,function(e,t){return t===N[0]?[].concat(Object(Be.a)(e),Object(Be.a)(A[""])):(-1===N.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 Ge={},$e={start:Ge,end:Ge,isMultiSelecting:!1,isEnabled:!0,initialPosition:null};var Ye=Object(m.combineReducers)({blocks:qe,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]:$e,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:Ge,end:Ge,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:Ge,end:Ge,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:Ge,end:Ge,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}}),Xe=n(76),Ze=n.n(Xe),Je=n(226),Qe=n.n(Je),et=n(46),tt=n(20),nt=n.n(tt);function rt(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 gt(e){var t;return nt.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,rt("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,vt(t,-1);case 6:case"end":return n.stop()}},ct)}function Ot(e){var t;return nt.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,rt("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,vt(t);case 6:case"end":return n.stop()}},at)}function kt(){return{type:"START_MULTI_SELECT"}}function yt(){return{type:"STOP_MULTI_SELECT"}}function jt(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function _t(){return{type:"CLEAR_SELECTED_BLOCK"}}function St(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function Ct(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 Et(e,t,n){var r,o,i;return nt.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return e=Object(p.castArray)(e),c.t0=Ct,c.t1=Object(p.castArray)(t),c.next=5,rt("core/block-editor","getSettings");case 5:return c.t2=c.sent,t=(0,c.t0)(c.t1,c.t2),c.next=9,rt("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,rt("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,rt("core/block-editor","getBlockName",e);case 17:return c=l.sent,l.next=20,rt("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()}},st)}function Lt(e,t,n){return Nt([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function Nt(e,t,n){var r,o,i,c,a,l,s,u,d=arguments;return nt.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=Ct,f.t1=Object(p.castArray)(e),f.next=5,rt("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,rt("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()}},ut,null,[[11,24,28,36],[29,,31,35]])}function At(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Mt(){return{type:"HIDE_INSERTION_POINT"}}function Rt(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Pt(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Dt(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function Ft(e){var t,n=arguments;return nt.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,gt(e[0]);case 5:return r.next=7,{type:"REMOVE_BLOCKS",clientIds:e};case 7:return r.delegateYield(ft(),"t0",8);case 8:case"end":return r.stop()}},dt)}function Ht(e,t){return Ft([e],t)}function Ut(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 Vt(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function zt(){return{type:"START_TYPING"}}function Kt(){return{type:"STOP_TYPING"}}function Wt(){return{type:"ENTER_FORMATTED_TEXT"}}function qt(){return{type:"EXIT_FORMATTED_TEXT"}}function Gt(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function $t(e,t,n){var r=Object(i.getDefaultBlockName)();if(r)return Lt(Object(i.createBlock)(r,e),n,t)}function Yt(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function Xt(e){return{type:"UPDATE_SETTINGS",settings:e}}function Zt(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function Jt(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function Qt(){return{type:"MARK_AUTOMATIC_CHANGE"}}function en(){return{type:"SET_NAVIGATION_MODE",isNavigationMode:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}var tn=n(36),nn=3,rn=2,on=1,cn=0,an=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"}))),ln=[];function sn(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function un(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}function dn(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}var fn=Object(tn.a)(function(e,t){var n=e.blocks.byClientId[t];return n?Object(l.a)({},n,{attributes:dn(e,t),innerBlocks:bn(e,t)}):null},function(e,t){return[e.blocks.cache[t]]}),pn=Object(tn.a)(function(e,t){var n=e.blocks.byClientId[t];return n?Object(l.a)({},n,{attributes:dn(e,t)}):null},function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t]]}),bn=Object(tn.a)(function(e,t){return Object(p.map)(Kn(e,t),function(t){return fn(e,t)})},function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}),hn=function e(t,n){return Object(p.flatMap)(n,function(n){var r=Kn(t,n);return[].concat(Object(Be.a)(r),Object(Be.a)(e(t,r)))})},mn=Object(tn.a)(function(e){var t=Kn(e);return[].concat(Object(Be.a)(t),Object(Be.a)(hn(e,t)))},function(e){return[e.blocks.order]}),vn=Object(tn.a)(function(e,t){var n=mn(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]}),gn=Object(tn.a)(function(e,t){return Object(p.map)(Object(p.castArray)(t),function(t){return fn(e,t)})},function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]});function On(e,t){return Kn(e,t).length}function kn(e){return e.blockSelection.start}function yn(e){return e.blockSelection.end}function jn(e){return e.blockSelection.start.clientId}function _n(e){return e.blockSelection.end.clientId}function Sn(e){var t=Mn(e).length;return t||(e.blockSelection.start.clientId?1:0)}function Cn(e){var t=e.blockSelection,n=t.start,r=t.end;return!!n.clientId&&n.clientId===r.clientId}function En(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 wn(e){var t=En(e);return t?fn(e,t):null}function In(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}function Bn(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function Tn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=En(e)),void 0===t&&(t=n<0?Pn(e):Dn(e)),!t)return null;var r=In(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 xn(e,t){return Tn(e,t,-1)}function Ln(e,t){return Tn(e,t,1)}function Nn(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId&&n.clientId?e.blockSelection.initialPosition:null}var An=Object(tn.a)(function(e){var t=e.blockSelection,n=t.start,r=t.end;if(void 0===n.clientId||void 0===r.clientId)return ln;if(n.clientId===r.clientId)return[n.clientId];var o=In(e,n.clientId);if(null===o)return ln;var i=Kn(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 Mn(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?ln:An(e)}var Rn=Object(tn.a)(function(e){var t=Mn(e);return t.length?t.map(function(t){return fn(e,t)}):ln},function(e){return[].concat(Object(Be.a)(An.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])});function Pn(e){return Object(p.first)(Mn(e))||null}function Dn(e){return Object(p.last)(Mn(e))||null}function Fn(e,t){return Pn(e)===t}function Hn(e,t){return-1!==Mn(e).indexOf(t)}var Un=Object(tn.a)(function(e,t){for(var n=t,r=!1;n&&!r;)r=Hn(e,n=In(e,n));return r},function(e){return[e.blocks.order,e.blockSelection.start.clientId,e.blockSelection.end.clientId]});function Vn(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?null:n.clientId||null}function zn(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?null:r.clientId||null}function Kn(e,t){return e.blocks.order[t||""]||ln}function Wn(e,t,n){return Kn(e,n).indexOf(t)}function qn(e,t){var n=e.blockSelection,r=n.start,o=n.end;return r.clientId===o.clientId&&r.clientId===t}function Gn(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(p.some)(Kn(e,t),function(t){return qn(e,t)||Hn(e,t)||n&&Gn(e,t,n)})}function $n(e,t){if(!t)return!1;var n=Mn(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;if(!r(pr(e).allowedBlockTypes,t,!0))return!1;if(!!ir(e,n))return!1;var c=fr(e,n),a=r(Object(p.get)(c,["allowedBlocks"]),t),l=r(o.parent,sn(e,n));return null!==a&&null!==l?a||l:null!==a?a:null===l||l},ar=Object(tn.a)(cr,function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]});function lr(e,t){return Object(p.get)(e.preferences.insertUsage,[t],null)}var sr=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&cr(e,t.name,n)},ur=Object(tn.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?nn:t>0?rn:"common"===e?on:cn},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=Object(i.getBlockTypes)().filter(function(n){return sr(e,n,t)}).map(function(t){var o=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(p.some)(gn(e,mn(e)),{name:t.name}));var a=Object(p.isArray)(t.parent),l=lr(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=cr(e,"core/block",t)?gr(e).map(function(t){var o,c="core/block/".concat(t.id),a=hr(e,t.id);1===a.length&&(o=Object(i.getBlockType)(a[0].name));var l=lr(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:an,category:"reusable",keywords:[],isDisabled:!1,utility:f,frecency:p}}):[];return Object(p.orderBy)([].concat(Object(Be.a)(o),Object(Be.a)(c)),["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,gr(e),Object(i.getBlockTypes)()]}),dr=Object(tn.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!!Object(p.some)(Object(i.getBlockTypes)(),function(n){return sr(e,n,t)})||cr(e,"core/block",t)&&gr(e).length>0},function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,gr(e),Object(i.getBlockTypes)()]});function fr(e,t){return e.blockListSettings[t]}function pr(e){return e.settings}function br(e){return e.blocks.isPersistentChange}var hr=Object(tn.a)(function(e,t){var n=Object(p.find)(gr(e),function(e){return e.id===t});return n?Object(i.parse)(n.content):null},function(e){return[gr(e)]});function mr(e){return e.blocks.isIgnoredChange}function vr(e){return e.lastBlockAttributesChange}function gr(e){return Object(p.get)(e,["settings","__experimentalReusableBlocks"],ln)}function Or(e){return e.isNavigationMode}function kr(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=fn(r,a),d=Object(i.getBlockType)(u.name);if(d.merge){var f=fn(r,s),b=Object(i.getBlockType)(f.name),h=kn(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),y=Object(i.cloneBlock)(f);if(O){var j=m===a?k:y,_=j.attributes[v],S=(m===a?d:b).attributes[v].multiline,C=Object(c.insert)(Object(c.create)({html:_,multilineTag:S}),"†",g,g);j.attributes[v]=Object(c.toHTMLString)({value:C,multilineTag:S})}var E=u.name===f.name?[y]:Object(i.switchToBlockType)(y,u.name);if(E&&E.length){var w=d.merge(k.attributes,E[0].attributes);if(O){var I=Object(p.findKey)(w,function(e){return"string"==typeof e&&-1!==e.indexOf("†")}),B=w[I],T=d.attributes[I].multiline,x=Object(c.create)({html:B,multilineTag:T}),L=x.text.indexOf("†"),N=Object(c.remove)(x,L,L+1),A=Object(c.toHTMLString)({value:N,multilineTag:T});w[I]=A,n(Gt(u.clientId,I,L,L))}n(Et([u.clientId,f.clientId],[Object(l.a)({},u,{attributes:Object(l.a)({},u.attributes,w)})].concat(Object(Be.a)(E.slice(1)))))}}else n(vt(u.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),r=or(n),o=ir(n),c=!r||"all"!==o||Object(i.doBlocksMatchTemplate)(e.blocks,r);if(c!==rr(n))return Rt(c)}],MULTI_SELECT:function(e,t){var n=Sn((0,t.getState)());Object(et.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=bn(n),o=or(n);return pt(Object(i.synchronizeBlocksWithTemplate)(r,o))}};var jr=function(e){var t,n=[Ze()(yr),Qe.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},_r={reducer:Ye,selectors:o,actions:r,controls:ot},Sr=Object(m.registerStore)("core/block-editor",Object(l.a)({},_r,{persist:["preferences"]}));jr(Sr);var Cr=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",_r);jr(t),d(e)},[o]),l?Object(u.createElement)(m.RegistryProvider,{value:l},Object(u.createElement)(e,Object(s.a)({registry:l},i))):null})},"withRegistryProvider"),Er=function(e){function t(){return Object(j.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),wr=Object(b.compose)([Cr,Object(m.withDispatch)(function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks}})])(Er),Ir=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)},Br=n(66),Tr=n(25);function xr(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 Lr=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 "})),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,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),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.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"})),Mr=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})})}),Rr=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)(Mr,{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)})},Pr=function(e){function t(){var e;return Object(j.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:Lr,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)(Rr,{className:"editor-block-mover__control block-editor-block-mover__control",icon:Ar,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:Nr,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"},xr(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"},xr(k,d&&d.title,b,r,o,1)))}}]),t}(u.Component),Dr=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)(Pr);var Fr=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)}))}}))},Hr=n(227),Ur=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)))},Vr=function(e){function t(){return Object(j.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(Hr.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)(Ur,{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)(Ur,{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),zr=function(e){function t(e){var n;return Object(j.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)(Fr,{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)(Vr,{block:c,onKeep:t,onConvert:n,convertor:Kr,convertButtonText:Object(H.__)("Convert to Blocks")})))}}]),t}(u.Component),Kr=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},Wr=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,Kr(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)))}}})])(zr),qr=Object(u.createElement)(Fr,{className:"block-editor-block-list__block-crash-warning"},Object(H.__)("This block has encountered an error and cannot be previewed.")),Gr=function(){return qr},$r=function(e){function t(){var e;return Object(j.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),Yr=n(64),Xr=n.n(Yr),Zr=function(e){function t(e){var n;return Object(j.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)(Xr.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),Jr=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})}}})])(Zr);var Qr=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}),eo=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)(Qr,{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)(Qr,{clientId:n}))))}),to=function(e){function t(){var e;return Object(j.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=Tr.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 no=function(e){var t=e.focusOnMount;return Object(u.createElement)(to,{focusOnMount:t,className:"editor-block-contextual-toolbar block-editor-block-contextual-toolbar","aria-label":Object(H.__)("Block tools")},Object(u.createElement)(Sc,null))};var ro=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)(Dr,{clientIds:t})});var oo=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)(Uo,null),Object(u.createElement)(Dr,{clientIds:[t]}))}),io=function(e){function t(){var e;return Object(j.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)(Uo,{rootClientId:r,clientId:o})))}}]),t}(u.Component),co=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}})(io),ao=function(e){function t(){var e;return Object(j.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),lo=function(e,t){return Object(u.createElement)(ao,Object(s.a)({},e,{forwardedRef:t}))};lo.displayName="IgnoreNestedEvents";var so=Object(u.forwardRef)(lo);var uo=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 fo(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document).querySelector('[data-block="'+e+'"]')}var po=function(e){return e+1},bo=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var ho=function(e,t,n,r,o){var i=Object(b.useReducedMotion)()||!r,c=Object(u.useReducer)(po,0),a=Object(Ne.a)(c,2),l=a[0],s=a[1],d=Object(u.useReducer)(po,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?bo(e.current):null,y=Object(u.useMemo)(function(){return!!n&&Object(Tr.getScrollContainer)(e.current)},[n]);Object(u.useLayoutEffect)(function(){l&&h()},[l]),Object(u.useLayoutEffect)(function(){if(i){if(n&&y){e.current.style.transform="none";var t=bo(e.current);y.scrollTop=y.scrollTop-k.top+t.top}}else{e.current.style.transform="none";var r=bo(e.current),o={x:k?k.left-r.left:0,y:k?k.top-r.top:0,scrollTop:k&&y?y.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 j=Object(Br.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&&y&&!i&&e.y&&(y.scrollTop=g.scrollTop+e.y)}});return i?{}:{transformOrigin:"center",transform:Object(Br.interpolate)([j.x,j.y],function(e,t){return 0===e&&0===t?void 0:"translate3d(".concat(e,"px,").concat(t,"px,0)")}),zIndex:Object(Br.interpolate)([j.x,j.y],function(e,n){return!t||0===e&&0===n?void 0:"1"})}},mo=function(e){e.preventDefault()};var vo=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,y=c.__unstableGetBlockWithoutInnerBlocks,j=c.isNavigationMode,_=y(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:j(),isRTL:I,block:_,name:A,attributes:M,isValid:R,isSelected:S,isParentOfSelectedBlock:T}}),go=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)}}}),Oo=Object(b.compose)(b.pure,Object(a.withViewportMatch)({isLargeViewport:"medium"}),vo,go,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,y=e.isParentOfSelectedBlock,j=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=Tr.focus.tabbable.find(X.current).filter(Tr.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(Tr.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=ho(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),ye=Object(H.sprintf)(Object(H.__)("Block: %s"),ke.title),je=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||je,"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||y),"is-focus-mode":r,"has-child-selected":y},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)(so,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":ye,childHandledEvents:["onDragStart","onMouseDown"],tagName:Br.animated.div},T,{style:T&&T.style?Object(l.a)({},T.style,ve):ve}),Le&&Object(u.createElement)(co,{clientId:a,rootClientId:d}),Object(u.createElement)(Ie,{clientId:a,rootClientId:d}),m&&Object(u.createElement)(ro,{rootClientId:d}),Object(u.createElement)("div",{className:"editor-block-list__block-edit block-editor-block-list__block-edit"},we&&Object(u.createElement)(Dr,{clientIds:a,blockElementId:Me,isHidden:!b,isDraggable:!1!==j&&!h&&k,onDragStart:function(){ae(!0)},onDragEnd:function(){ae(!1)}}),Be&&Object(u.createElement)(eo,{clientId:a,ref:Z}),(Te||pe.current)&&Object(u.createElement)(no,{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)(so,{ref:X,onDragStart:mo,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)($r,{onError:function(){return fe(!0)}},E&&Re,E&&"html"===n&&Object(u.createElement)(Jr,{clientId:a}),!E&&[Object(u.createElement)(Wr,{key:"invalid-warning",clientId:a}),Object(u.createElement)("div",{key:"invalid-preview"},Object(i.getSaveElement)(ke,I))]),!!de&&Object(u.createElement)(Gr,null),xe&&Object(u.createElement)(oo,{clientId:a}))),_e&&Object(u.createElement)("div",{className:"editor-block-list__side-inserter block-editor-block-list__side-inserter"},Object(u.createElement)(uo,{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)(Uo,{position:"top right",onToggle:ge,rootClientId:d,clientId:a})))}),ko=n(54);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(ko.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)(Xr.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)(uo,{rootClientId:c}),Object(u.createElement)(Uo,{rootClientId:c,position:"top right",isAppender:!0}))});var jo=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)(so,{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)(Vo,{rootClientId:n,className:"block-list-appender__toggle"}))}),_o=function(e){function t(e){var n;return Object(j.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=fo(this.selectionAtStart).getBoundingClientRect();if(!(t>=n.top&&t<=n.bottom)){var r=t-n.top,o=Object(p.findLast)(this.coordMapKeys,function(e){return ec.height*l?(i.height-c.height*l)/2:0;p(l),O({x:s*l,y:u}),o.style.marginTop="0"}else{var d=e.getBoundingClientRect();p(d.width/n)}a(!0)}},100);return function(){e&&window.clearTimeout(e)}},[]),!t||0===t.length)return null;var k={transform:"scale(".concat(d,")"),visibility:c?"visible":"hidden",left:-v,top:g,width:n};return Object(u.createElement)("div",{ref:r,className:f()("block-editor-block-preview__container editor-styles-wrapper",{"is-ready":c}),"aria-hidden":!0},Object(u.createElement)(P.Disabled,{style:k,className:"block-editor-block-preview__content"},Object(u.createElement)(So,null)))}var Eo=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.settings,i=Object(u.useMemo)(function(){return Object(p.castArray)(t)},[t]),c=Object(u.useReducer)(function(e){return e+1},0),a=Object(Ne.a)(c,2),l=a[0],s=a[1];return Object(u.useLayoutEffect)(s,[t]),Object(u.createElement)(wr,{value:i,settings:o},Object(u.createElement)(Co,{key:l,blocks:i,viewportWidth:r}))});var wo=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 Io=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)(wo,{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 Bo=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 To=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)(Io,Object(s.a)({items:r},o)))}),xo=Object(P.createSlotFill)("__experimentalInserterMenuExtension"),Lo=xo.Fill,No=xo.Slot;Lo.Slot=No;var Ao=Lo,Mo=function(e){return e.stopPropagation()},Ro=function(e){return e=(e=(e=(e=Object(p.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},Po=function(e){function t(){var e;return Object(j.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=function(e,t){var n=Ro(t),r=function(e){return-1!==Ro(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)})}(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);n(Object(H.sprintf)(Object(H._n)("%d result found.","%d results found.",b),b))}},{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,y=O&&c;return Object(u.createElement)("div",{className:f()("editor-inserter__menu block-editor-inserter__menu",{"has-help-panel":y}),onKeyPress:Mo,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)(To,{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)(Io,{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)(Io,{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)(Io,{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)(Ao.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."))}))),y&&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)(Bo,{blockType:k}),(Object(i.isReusableBlock)(s)||k.example)&&Object(u.createElement)("div",{className:"block-editor-inserter__preview"},Object(u.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(u.createElement)(Eo,{viewportWidth:500,blocks:k.example?Object(i.getBlockFromExample)(s.name,k.example):Object(i.createBlock)(s.name,s.initialAttributes)})))),!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),Do=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)(Po),Fo=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})},Ho=function(e){function t(){var e;return Object(j.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?Fo: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)(Do,{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),Uo=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})])(Ho);var Vo=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)(Uo,{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}))},zo=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"),Ko=zo(P.ColorPalette);function Wo(e){var t=e.tinyBackgroundColor,n=e.tinyTextColor,r=e.backgroundColor,o=e.textColor,i=t.getBrightness()=24?"large":"small"})?null:Object(u.createElement)(Wo,{backgroundColor:t,textColor:c,tinyBackgroundColor:a,tinyTextColor:l})},Go=n(41),$o=n.n(Go),Yo=Object(b.createHigherOrderComponent)(function(e){return q(function(e){return Object(p.pick)(e,["clientId"])})(e)},"withClientId"),Xo=Yo(function(e){var t=e.clientId;return Object(u.createElement)(Vo,{rootClientId:t})}),Zo=Object(b.compose)([Yo,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)(so,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(u.createElement)(yo,{rootClientId:t,lastBlockClientId:n}))});var Jo=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"))))},Qo=function(e){function t(){var e;return Object(j.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};$o()(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)(Jo,{options:c,onSelect:a,allowSkip:l}):Object(u.createElement)(So,{rootClientId:n,renderAppender:o})))}}]),t}(u.Component);(Qo=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))}}})])(Qo)).DefaultBlockAppender=Zo,Qo.ButtonBlockAppender=Xo,Qo.Content=Object(i.withBlockContentContext)(function(e){var t=e.BlockContent;return Object(u.createElement)(t,null)});var ei=Qo,ti=Object(P.createSlotFill)("InspectorAdvancedControls"),ni=ti.Fill,ri=ti.Slot,oi=G(ni);oi.Slot=ri;var ii=oi,ci=Object(P.createSlotFill)("InspectorControls"),ai=ci.Fill,li=ci.Slot,si=G(ai);si.Slot=li;var ui=si,di=Object(P.withFilters)("editor.MediaUpload")(function(){return null});function fi(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 pi=function(e){return e.stopPropagation()},bi=function(e){function t(e){var n,r=e.autocompleteRef;return Object(j.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:pi,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),hi=Object(b.compose)(b.withSafeTimeout,P.withSpokenMessages,b.withInstanceId,Object(m.withSelect)(function(e){return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}}))(bi);var mi=function(e){function t(){var e;return Object(j.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);mi.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)(hi,{value:o,onChange:r,autocompleteRef:t}),Object(u.createElement)(P.IconButton,{icon:"editor-break",label:Object(H.__)("Apply"),type:"submit"}))},mi.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)(fi,{url:o,urlLabel:i,className:n}),r&&Object(u.createElement)(P.IconButton,{icon:"edit",label:Object(H.__)("Edit"),onClick:r}))};var vi=mi,gi=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(u.createElement)(vi,{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"})))},Oi=function(e){function t(){var e;return Object(j.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,y=k&&"audio"===o[0],j=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."),y?g=Object(H.__)("Upload an audio file, pick one from your media library, or add one with a URL."):j?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"),y?O=Object(H.__)("Audio"):j?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)(gi,{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)(di,{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),ki=Object(m.withSelect)(function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}}),yi=Object(b.compose)(ki,Object(P.withFilters)("editor.MediaPlaceholder"))(Oi),ji=Object(H.__)("(current %s: %s)");var _i=Object(b.compose)([zo,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)(ji,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)(Ko,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})))}),Si=Object(H.__)("(%s: %s)"),Ci=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!function(e,t){return void 0!==t.disableCustomColors?t.disableCustomColors:e}(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)(Si,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)(_i,Object(s.a)({key:t},Object(l.a)({colors:n,disableCustomColors:o},e)))}),t)}),Ei=zo(Ci),wi=Object(u.forwardRef)(function(e,t){var n=e.onChange,r=e.className,o=Object(Ae.a)(e,["onChange","className"]);return Object(u.createElement)(Xr.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))}),Ii=n(35),Bi=n(37),Ti=n.n(Bi),xi={position:"bottom left"},Li=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:xi})})))},Ni=[he.rawShortcut.primary("z"),he.rawShortcut.primaryShift("z"),he.rawShortcut.primary("y")],Ai=Object(u.createElement)(P.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.fromPairs)(Ni.map(function(e){return[e,function(e){return e.preventDefault()}]}))}),Mi=function(){return Ai},Ri=function(e){function t(){var e;return Object(j.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 Pi(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 Di=function(e){function t(){var e;return Object(j.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),Fi=window.requestIdleCallback||function(e){window.setTimeout(e,100)};function Hi(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var Ui=function(e){function t(){var e;return Object(j.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=Hi(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}))),r(l,p?l.length-1:1)}}},{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||(Ti()("wp.blockEditor.RichText formattingControls prop",{alternative:"allowedFormats"}),n.map(function(e){return"core/".concat(e)}))}},{key:"markAutomaticChange",value:function(){var e=this;Fi(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,y=e.onExitFormattedText,j=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=Hi(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":j,"keep-placeholder-on-focus":w}),placeholder:E,allowedFormats:N,withoutInteractiveFormatting:I,onEnter:this.onEnter,onDelete:this.onDelete,onPaste:this.onPaste,__unstableIsSelected:j,__unstableInputRule:this.inputRule,__unstableMultilineTag:L,__unstableIsCaretWithinFormattedText:O,__unstableOnEnterFormattedText:k,__unstableOnExitFormattedText:y,__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)(Li,null)),n&&b&&A&&Object(u.createElement)(P.IsolatedEventContainer,{className:"editor-rich-text__inline-toolbar block-editor-rich-text__inline-toolbar"},Object(u.createElement)(Li,null)),n&&Object(u.createElement)(Mi,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),Vi=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")])(Ui);Vi.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=Hi(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},Vi.isEmpty=function(e){return!e||0===e.length},Vi.Content.defaultProps={format:"string",value:""};var zi=Vi,Ki=function(e){function t(){var e;return Object(j.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)(hi,{value:t||"",onChange:n}),Object(u.createElement)(P.IconButton,{icon:"editor-break",label:Object(H.__)("Submit"),type:"submit"}))))}}]),t}(u.Component),Wi=Object(P.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),qi=Wi.Fill,Gi=Wi.Slot;qi.Slot=Gi;var $i=qi,Yi=Object(P.createSlotFill)("__experimentalBlockSettingsMenuPluginsExtension"),Xi=Yi.Fill,Zi=Yi.Slot;Xi.Slot=Zi;var Ji=Xi;var Qi=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})}),ec=function(e){return e.preventDefault(),e},tc={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")}},nc=function(e){function t(){var e;return Object(j.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)(Qi,{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,tc.duplicate.raw,Object(p.flow)(ec,n)),Object(I.a)(t,tc.removeBlock.raw,Object(p.flow)(ec,r)),Object(I.a)(t,tc.insertBefore.raw,Object(p.flow)(ec,i)),Object(I.a)(t,tc.insertAfter.raw,Object(p.flow)(ec,o)),t)})}))}}]),t}(u.Component),rc=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}})])(nc),oc=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(){fo(t).closest(".block-editor-block-list__block").focus()}},Object(H.__)("Skip to the selected block"))}),ic=n(158),cc=n.n(ic);function ac(e,t,n){var r=new cc.a(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var lc=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 cc.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=ac(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=ac(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)(Eo,{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))}))}),sc=n(104);var uc=Object(m.withSelect)(function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}})(function(e){var t=e.blocks,n=Object(sc.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 dc(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 fc=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)(uc,null);var s=c===Object(i.getUnregisteredTypeHandlerName)();return t&&o&&!s?Object(u.createElement)(u.Fragment,null,Object(u.createElement)(Bo,{blockType:t}),r&&Object(u.createElement)("div",null,Object(u.createElement)(P.PanelBody,{title:Object(H.__)("Styles"),initialOpen:!1},Object(u.createElement)(lc,{clientId:o}),Object(u.createElement)(dc,{blockName:t.name}))),Object(u.createElement)("div",null,Object(u.createElement)(ui.Slot,null)),Object(u.createElement)("div",null,Object(u.createElement)(ii.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)(oc,{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}),pc=function(e){function t(){var e;return Object(j.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),bc=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}})])(pc);var hc=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 mc(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 vc=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)}))}}}))(mc),gc=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)}))}}}))(mc),Oc={className:"block-editor-block-settings-menu__popover editor-block-settings-menu__popover",position:"bottom right"};var kc=function(e){var t=e.clientIds,n=Object(p.castArray)(t),r=n.length,o=n[0];return Object(u.createElement)(Qi,{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:Oc},function(e){var f=e.onClose;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(P.MenuGroup,null,Object(u.createElement)($i.Slot,{fillProps:{onClose:f}}),1===r&&Object(u.createElement)(gc,{clientId:o}),1===r&&Object(u.createElement)(vc,{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:tc.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:tc.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:tc.insertAfter.display},Object(H.__)("Insert After"))),1===r&&Object(u.createElement)(hc,{clientId:o,onToggle:f}),Object(u.createElement)(Ji.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:tc.removeBlock.display},Object(H.__)("Remove Block"))))}))})},yc=function(e){function t(){var e;return Object(j.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)(lc,{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)(Io,{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)(Eo,{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),jc=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))}}}))(yc);var _c=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)(jc,{key:"switcher",clientIds:n}):null});var Sc=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)(_c,null),Object(u.createElement)(kc,{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)(jc,{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)(kc,{clientIds:t}))});var Cc=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(Tr.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)}),Ec=function(e){function t(){return Object(j.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=fo(e);if(t){var n=Object(Tr.getScrollContainer)(t);n&&xe()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(u.Component),wc=Object(m.withSelect)(function(e){return{extentClientId:(0,e("core/block-editor").getLastMultiSelectedBlockClientId)()}})(Ec),Ic=[he.UP,he.RIGHT,he.DOWN,he.LEFT,he.ENTER,he.BACKSPACE];var Bc=function(e){function t(){var e;return Object(j.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(Tr.isTextField)(i)||i.closest(".block-editor-block-toolbar")||("keydown"!==o||function(e){var t=e.keyCode;return!e.shiftKey&&Object(p.includes)(Ic,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(Tr.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),Tc=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])(Bc);function xc(){return Ti()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var Lc=-1!==window.navigator.userAgent.indexOf("Trident"),Nc=new Set([he.UP,he.DOWN,he.LEFT,he.RIGHT]),Ac=function(e){function t(){var e;return Object(j.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(Tr.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(Tr.computeCaretRect)();if(n)if(this.caretRect)if(Nc.has(t))this.caretRect=n;else{var r=n.y-this.caretRect.y;if(0!==r){var o=Object(Tr.getScrollContainer)(this.ref.current);if(o){var i=o===document.body,c=i?window.scrollY:o.scrollTop,a=i?0:o.getBoundingClientRect().y,l=i?this.caretRect.y/window.innerHeight:(this.caretRect.y-a)/(window.innerHeight-a);if(0===c&&l<.75&&this.isLastEditableNode())this.caretRect=n;else{var s=i?window.innerHeight:o.clientHeight;this.caretRect.y+this.caretRect.height>a+s||this.caretRect.y1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?Vc:[],!r||!0===e&&!n?p.without.apply(void 0,[t].concat(zc)):t}var Wc=Object(b.createHigherOrderComponent)(function(e){return function(t){var n=t.name,r=Kc(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"),qc=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=Kc(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",qc),Object(h.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",Wc),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)(Kc(o,c),r)&&(e.className=f()("align".concat(r),e.className)),e});var Gc=/[\s#]/g;var $c=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)(ii,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(Gc,"-"),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",$c),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 Yc=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)(ii,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 Xc(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",Yc),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=Xc(o),a=Xc(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 Zc=n(228),Jc=n.n(Zc),Qc=n(31),ea=/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//g,ta=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 na(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=na(t[0]),!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(ea,""),value:n?na(n[0]).replace(ea,""):""});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,y=S("import"),j=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=na(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:na(t[1]),media:na(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var n=na(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 '}'")}}()||y()||j()||_()||function(){var e=i(),t=f(/^@([-\w]+)?document *([^{]+)/);if(t){var n=na(t[1]),r=na(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(Qc.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 na(e){return e?e.replace(/^\s+|\s+$/g,""):""}var ra=n(122),oa=n.n(ra),ia=ca;function ca(e){this.options=e||{}}ca.prototype.emit=function(e){return e},ca.prototype.visit=function(e){return this[e.type](e)},ca.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(va)?n.replace(/^(body|html|:root)/,e):e+" "+n})}):n}},Oa=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(ga(t)),r&&o.push(ma(r)),o.length?fa(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 Vo}),n.d(t,"ColorPalette",function(){return Ko}),n.d(t,"ContrastChecker",function(){return qo}),n.d(t,"InnerBlocks",function(){return ei}),n.d(t,"InspectorAdvancedControls",function(){return ii}),n.d(t,"InspectorControls",function(){return ui}),n.d(t,"MediaPlaceholder",function(){return yi}),n.d(t,"MediaUpload",function(){return di}),n.d(t,"MediaUploadCheck",function(){return Ee}),n.d(t,"PanelColorSettings",function(){return Ei}),n.d(t,"PlainText",function(){return wi}),n.d(t,"RichText",function(){return zi}),n.d(t,"RichTextShortcut",function(){return Ri}),n.d(t,"RichTextToolbarButton",function(){return Pi}),n.d(t,"__unstableRichTextInputEvent",function(){return Di}),n.d(t,"URLInput",function(){return hi}),n.d(t,"URLInputButton",function(){return Ki}),n.d(t,"URLPopover",function(){return vi}),n.d(t,"withColorContext",function(){return zo}),n.d(t,"__experimentalBlockSettingsMenuFirstItem",function(){return $i}),n.d(t,"__experimentalBlockSettingsMenuPluginsExtension",function(){return Ji}),n.d(t,"__experimentalInserterMenuExtension",function(){return Ao}),n.d(t,"BlockEditorKeyboardShortcuts",function(){return rc}),n.d(t,"BlockInspector",function(){return fc}),n.d(t,"BlockList",function(){return So}),n.d(t,"BlockMover",function(){return Dr}),n.d(t,"BlockPreview",function(){return Eo}),n.d(t,"BlockSelectionClearer",function(){return bc}),n.d(t,"BlockSettingsMenu",function(){return kc}),n.d(t,"BlockTitle",function(){return Qr}),n.d(t,"BlockToolbar",function(){return Sc}),n.d(t,"CopyHandler",function(){return Cc}),n.d(t,"DefaultBlockAppender",function(){return yo}),n.d(t,"Inserter",function(){return Uo}),n.d(t,"MultiBlocksSwitcher",function(){return _c}),n.d(t,"MultiSelectScrollIntoView",function(){return wc}),n.d(t,"NavigableToolbar",function(){return to}),n.d(t,"ObserveTyping",function(){return Tc}),n.d(t,"PreserveScrollInReorder",function(){return xc}),n.d(t,"SkipToSelectedBlock",function(){return oc}),n.d(t,"Typewriter",function(){return Mc}),n.d(t,"Warning",function(){return Fr}),n.d(t,"WritingFlow",function(){return Uc}),n.d(t,"BlockEditorProvider",function(){return wr}),n.d(t,"getColorClassName",function(){return y}),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 Oa}),n.d(t,"storeConfig",function(){return _r}),n.d(t,"SETTINGS_DEFAULTS",function(){return Re})},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}()},41:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},43:function(e,t){!function(){e.exports=this.wp.viewport}()},45: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;c=0;--i){var c=this.tryEntries[i],a=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var l=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(l&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:I(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},49:function(e,t,n){var r;!function(o){var i=/^\s+/,c=/\s+$/,a=0,l=o.round,s=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,a=null,l=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(c,"").toLowerCase();var t,n=!1;if(T[e])e=T[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=z.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=z.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=z.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=z.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=z.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=z.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=z.hex8.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=z.hex6.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),format:n?"name":"hex"};if(t=z.hex4.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=z.hex3.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(K(e.r)&&K(e.g)&&K(e.b)?(p=e.r,b=e.g,h=e.b,t={r:255*N(p,255),g:255*N(b,255),b:255*N(h,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):K(e.h)&&K(e.s)&&K(e.v)?(r=P(e.s),a=P(e.v),t=function(e,t,n){e=6*N(e,360),t=N(t,100),n=N(n,100);var r=o.floor(e),i=e-r,c=n*(1-t),a=n*(1-i*t),l=n*(1-(1-i)*t),s=r%6;return{r:255*[n,a,c,c,l,n][s],g:255*[l,n,n,a,c,c][s],b:255*[c,c,l,n,n,a][s]}}(e.h,r,a),d=!0,f="hsv"):K(e.h)&&K(e.s)&&K(e.l)&&(r=P(e.s),l=P(e.l),t=function(e,t,n){var r,o,i;function c(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=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(y,arguments)},darken:function(){return this._applyModification(j,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})},54:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},64:function(e,t,n){"use strict";t.__esModule=!0;var r=n(132);t.default=r.default},66: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(136)),i=r(n(137)),c=n(28),a=r(c),l=r(n(138)),s=r(n(139)),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),y=0;yh: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,ye=new RegExp("("+Object.keys(ee).join("|")+")","g"),je={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||je.hasOwnProperty(e)&&je[e]?(""+t).trim():t+"px"}je=Object.keys(je).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},je);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(ye,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+")"})}}),j(ee),y(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(),y=c.useRef(!1),j=c.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!y.current&&new Map,forceUpdate:k});return c.useImperativeHandle(r.ref,function(){return{start:function(){return Promise.all(Array.from(j.current.instances).map(function(e){var t=e[1];return new Promise(function(e){return t.start(e)})}))},stop:function(e){return Array.from(j.current.instances).forEach(function(t){return t[1].stop(e)})},get controllers(){return Array.from(j.current.instances).map(function(e){return e[1]})}}}),j.current=function(e,t){for(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,y=void 0===k?[G,$,Y]:k,j=Z(r),_=j.keys,S=j.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;y.length;){var A=y.shift();switch(A){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 M=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=M.findIndex(function(e){return e.originalKey===n}))&&(t+=1),t=Math.max(0,t),M=[].concat(M.slice(0,t),[r],M.slice(t))}),o({},c,{changed:T.length||x.length||L.length,first:n&&0===T.length,transitions:M,current:C,deleted:E,prevProps:t})}(j.current,r),j.current.changed&&j.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;j.current.instances.has(a)||j.current.instances.set(a,new K);var u=j.current.instances.get(a),d=o({},O,{to:r,from:n,config:i,ref:g,onRest:function(n){j.current.mounted&&(e.destroyed&&(g||s||J(j,a),p&&p(l)),!Array.from(j.current.instances).some(function(e){return!e[1].idle})&&(g||s)&&j.current.deleted.length>0&&J(j),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),j.current.paused||u.start()}),c.useEffect(function(){return j.current.mounted=y.current=!0,function(){j.current.mounted=y.current=!1,Array.from(j.current.instances).map(function(e){return e[1].destroy()}),j.current.instances.clear()}},[]),j.current.transitions.map(function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:j.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){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},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(143);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[j])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(!y&&!j)for(;w--;w)_.unshift("..");!y||""===_[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(y=y||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)}},9:function(e,t){!function(){e.exports=this.wp.blocks}()},94:function(e,t,n){"use strict";var r=n(95);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}},95:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}); \ 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 127c1039d7..5c62f30ff4 100644 --- a/wp-includes/js/dist/block-library.js +++ b/wp-includes/js/dist/block-library.js @@ -570,13 +570,13 @@ function _typeof(obj) { /***/ }), /* 33 */, -/* 34 */ +/* 34 */, +/* 35 */ /***/ (function(module, exports) { (function() { module.exports = this["wp"]["blob"]; }()); /***/ }), -/* 35 */, /* 36 */, /* 37 */ /***/ (function(module, exports) { @@ -6104,6 +6104,54 @@ var settings = { icon: icon, description: Object(external_this_wp_i18n_["__"])('A block that groups other blocks.'), keywords: [Object(external_this_wp_i18n_["__"])('container'), Object(external_this_wp_i18n_["__"])('wrapper'), Object(external_this_wp_i18n_["__"])('row'), Object(external_this_wp_i18n_["__"])('section')], + example: { + attributes: { + customBackgroundColor: '#ffffff' + }, + innerBlocks: [{ + name: 'core/paragraph', + attributes: { + customTextColor: '#cf2e2e', + fontSize: 'large', + content: Object(external_this_wp_i18n_["__"])('One.') + } + }, { + name: 'core/paragraph', + attributes: { + customTextColor: '#ff6900', + fontSize: 'large', + content: Object(external_this_wp_i18n_["__"])('Two.') + } + }, { + name: 'core/paragraph', + attributes: { + customTextColor: '#fcb900', + fontSize: 'large', + content: Object(external_this_wp_i18n_["__"])('Three.') + } + }, { + name: 'core/paragraph', + attributes: { + customTextColor: '#00d084', + fontSize: 'large', + content: Object(external_this_wp_i18n_["__"])('Four.') + } + }, { + name: 'core/paragraph', + attributes: { + customTextColor: '#0693e3', + fontSize: 'large', + content: Object(external_this_wp_i18n_["__"])('Five.') + } + }, { + name: 'core/paragraph', + attributes: { + customTextColor: '#9b51e0', + fontSize: 'large', + content: Object(external_this_wp_i18n_["__"])('Six.') + } + }] + }, supports: { align: ['wide', 'full'], anchor: true, @@ -7560,7 +7608,9 @@ var settings = { keywords: [Object(external_this_wp_i18n_["__"])('text')], example: { attributes: { - content: Object(external_this_wp_i18n_["__"])('Start writing, no matter what. The water does not flow until the faucet is turned on.') + content: Object(external_this_wp_i18n_["__"])('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: true } }, supports: { @@ -9199,6 +9249,12 @@ var settings = { className: false, anchor: true }, + example: { + attributes: { + content: Object(external_this_wp_i18n_["__"])('Code is Poetry'), + level: 2 + } + }, transforms: heading_transforms, deprecated: heading_deprecated, merge: function merge(attributes, attributesToMerge) { @@ -9599,7 +9655,7 @@ var external_this_wp_compose_ = __webpack_require__(8); var external_this_wp_components_ = __webpack_require__(3); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(34); +var external_this_wp_blob_ = __webpack_require__(35); // EXTERNAL MODULE: external {"this":["wp","data"]} var external_this_wp_data_ = __webpack_require__(4); @@ -9833,7 +9889,7 @@ function (_Component) { className: "blocks-gallery-item__remove", label: Object(external_this_wp_i18n_["__"])('Remove image'), disabled: !isSelected - })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + })), (isSelected || caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { tagName: "figcaption", placeholder: isSelected ? Object(external_this_wp_i18n_["__"])('Write caption…') : null, value: caption, @@ -10603,6 +10659,16 @@ var settings = { description: Object(external_this_wp_i18n_["__"])('Display multiple images in a rich gallery.'), icon: icon, keywords: [Object(external_this_wp_i18n_["__"])('images'), Object(external_this_wp_i18n_["__"])('photos')], + example: { + attributes: { + columns: 2, + images: [{ + url: 'https://upload.wikimedia.org/wikipedia/commons/c/c3/Glacial_lakes%2C_Bhutan.jpg' + }, { + url: 'https://upload.wikimedia.org/wikipedia/commons/0/01/Sediment_off_the_Yucatan_Peninsula.jpg' + }] + } + }, supports: { align: true }, @@ -11169,7 +11235,8 @@ function (_Component) { var temporaryMediaWidth = this.state.mediaWidth; var classNames = classnames_default()(className, (_classnames = { 'has-media-on-the-right': 'right' === mediaPosition, - 'is-selected': isSelected + 'is-selected': isSelected, + 'has-background': backgroundColor.class || backgroundColor.color }, Object(defineProperty["a" /* default */])(_classnames, backgroundColor.class, backgroundColor.class), 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 widthString = "".concat(temporaryMediaWidth || mediaWidth, "%"); var style = { @@ -11339,7 +11406,8 @@ function save_save(_ref) { }; var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor); var className = classnames_default()((_classnames = { - 'has-media-on-the-right': 'right' === mediaPosition + 'has-media-on-the-right': 'right' === mediaPosition, + 'has-background': backgroundClass || customBackgroundColor }, 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; @@ -11521,6 +11589,23 @@ var settings = { align: ['wide', 'full'], html: false }, + example: { + attributes: { + mediaType: 'image', + mediaUrl: 'https://upload.wikimedia.org/wikipedia/commons/d/d4/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg' + }, + innerBlocks: [{ + name: 'core/paragraph', + attributes: { + content: Object(external_this_wp_i18n_["__"])('The wren
Earns his living
Noiselessly.') + } + }, { + name: 'core/paragraph', + attributes: { + content: Object(external_this_wp_i18n_["__"])('— Kobayashi Issa (一茶)') + } + }] + }, transforms: media_text_transforms, edit: edit, save: save_save, @@ -11759,7 +11844,7 @@ var slicedToArray = __webpack_require__(23); var external_lodash_ = __webpack_require__(2); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(34); +var external_this_wp_blob_ = __webpack_require__(35); // EXTERNAL MODULE: external {"this":["wp","components"]} var external_this_wp_components_ = __webpack_require__(3); @@ -12886,7 +12971,8 @@ function (_Component) { var _select2 = select('core/block-editor'), getSettings = _select2.getSettings; - var id = props.attributes.id; + var id = props.attributes.id, + isSelected = props.isSelected; var _getSettings = getSettings(), __experimentalMediaUpload = _getSettings.__experimentalMediaUpload, @@ -12895,7 +12981,7 @@ function (_Component) { maxWidth = _getSettings.maxWidth; return { - image: id ? getMedia(id) : null, + image: id && isSelected ? getMedia(id) : null, maxWidth: maxWidth, isRTL: isRTL, imageSizes: imageSizes, @@ -13224,6 +13310,13 @@ var settings = { icon: icon, keywords: ['img', // "img" is not translated as it is intended to reflect the HTML tag. Object(external_this_wp_i18n_["__"])('photo')], + example: { + attributes: { + sizeSlug: 'large', + url: 'https://upload.wikimedia.org/wikipedia/commons/1/15/MtBlanc1.JPG', + caption: Object(external_this_wp_i18n_["__"])('Mont Blanc appears—still, snowy, and serene.') + } + }, styles: [{ name: 'default', label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'), @@ -13653,7 +13746,7 @@ var CoverHeightInput = Object(external_this_wp_compose_["withInstanceId"])(funct }, [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_["__"])('Height in pixels'), + label: Object(external_this_wp_i18n_["__"])('Minimum height in pixels'), id: inputId }, Object(external_this_wp_element_["createElement"])("input", { type: "number", @@ -13867,13 +13960,6 @@ function (_Component) { focalPoint: value }); } - }), 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_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { isDefault: true, isSmall: true, @@ -13888,7 +13974,16 @@ function (_Component) { hasParallax: undefined }); } - }, Object(external_this_wp_i18n_["__"])('Clear Media')))), (url || overlayColor.color) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], { + }, 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: [{ @@ -13904,7 +13999,7 @@ function (_Component) { max: 100, step: 10, required: true - })))); + }))))); if (!(url || overlayColor.color)) { var placeholderIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { @@ -14274,6 +14369,21 @@ var settings = { supports: { align: true }, + example: { + attributes: { + customOverlayColor: '#065174', + dimRatio: 40, + url: 'https://upload.wikimedia.org/wikipedia/commons/9/95/Windbuchencom.jpg' + }, + innerBlocks: [{ + name: 'core/paragraph', + attributes: { + customFontSize: 48, + content: Object(external_this_wp_i18n_["__"])('Snow Patrol'), + align: 'center' + } + }] + }, transforms: cover_transforms, save: save_save, edit: edit, @@ -15783,6 +15893,56 @@ var settings = { title: Object(external_this_wp_i18n_["__"])('Table'), description: Object(external_this_wp_i18n_["__"])('Insert a table — perfect for sharing charts and data.'), icon: icon, + example: { + attributes: { + head: [{ + cells: [{ + content: Object(external_this_wp_i18n_["__"])('Version'), + tag: 'th' + }, { + content: Object(external_this_wp_i18n_["__"])('Jazz Musician'), + tag: 'th' + }, { + content: Object(external_this_wp_i18n_["__"])('Release Date'), + tag: 'th' + }] + }], + body: [{ + cells: [{ + content: '5.2', + tag: 'td' + }, { + content: 'Jaco Pastorius', + tag: 'td' + }, { + content: Object(external_this_wp_i18n_["__"])('May 7, 2019'), + tag: 'td' + }] + }, { + cells: [{ + content: '5.1', + tag: 'td' + }, { + content: 'Betty Carter', + tag: 'td' + }, { + content: Object(external_this_wp_i18n_["__"])('February 21, 2019'), + tag: 'td' + }] + }, { + cells: [{ + content: '5.0', + tag: 'td' + }, { + content: 'Bebo Valdés', + tag: 'td' + }, { + content: Object(external_this_wp_i18n_["__"])('December 6, 2018'), + tag: 'td' + }] + }] + } + }, styles: [{ name: 'regular', label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'), @@ -15843,7 +16003,7 @@ var classnames = __webpack_require__(16); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(34); +var external_this_wp_blob_ = __webpack_require__(35); // EXTERNAL MODULE: external {"this":["wp","components"]} var external_this_wp_components_ = __webpack_require__(3); @@ -16681,6 +16841,11 @@ var settings = { title: Object(external_this_wp_i18n_["__"])('Verse'), description: Object(external_this_wp_i18n_["__"])('Insert poetry. Use special spacing formats. Or quote song lyrics.'), icon: 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.') + } + }, keywords: [Object(external_this_wp_i18n_["__"])('poetry')], transforms: tranforms, deprecated: verse_deprecated, @@ -17394,20 +17559,46 @@ var SOLID_COLOR_CLASS = "is-style-".concat(SOLID_COLOR_STYLE_NAME); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js var objectSpread = __webpack_require__(7); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(10); + // 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_default = /*#__PURE__*/__webpack_require__.n(classnames); + +// EXTERNAL MODULE: external "lodash" +var external_lodash_ = __webpack_require__(2); + // EXTERNAL MODULE: external {"this":["wp","blockEditor"]} var external_this_wp_blockEditor_ = __webpack_require__(6); +// EXTERNAL MODULE: external {"this":["wp","data"]} +var external_this_wp_data_ = __webpack_require__(4); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/deprecated.js + +/** + * External dependencies + */ + + /** * WordPress dependencies */ + + +/** + * Internal dependencies + */ + + var blockAttributes = { value: { type: 'string', @@ -17435,9 +17626,64 @@ var blockAttributes = { } }; var deprecated = [{ - attributes: Object(objectSpread["a" /* default */])({}, blockAttributes), + attributes: blockAttributes, save: function save(_ref) { var attributes = _ref.attributes; + var mainColor = attributes.mainColor, + customMainColor = attributes.customMainColor, + textColor = attributes.textColor, + customTextColor = attributes.customTextColor, + value = attributes.value, + citation = attributes.citation, + className = attributes.className; + var isSolidColorStyle = Object(external_lodash_["includes"])(className, SOLID_COLOR_CLASS); + var figureClass, figureStyles; // Is solid color style + + if (isSolidColorStyle) { + figureClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', mainColor); + + if (!figureClass) { + figureStyles = { + backgroundColor: customMainColor + }; + } // Is normal style and a custom color is being used ( we can set a style directly with its value) + + } else if (customMainColor) { + figureStyles = { + borderColor: customMainColor + }; // Is normal style and a named color is being used, we need to retrieve the color value to set the style, + // as there is no expectation that themes create classes that set border colors. + } else if (mainColor) { + var colors = Object(external_lodash_["get"])(Object(external_this_wp_data_["select"])('core/block-editor').getSettings(), ['colors'], []); + var colorObject = Object(external_this_wp_blockEditor_["getColorObjectByAttributeValues"])(colors, mainColor); + figureStyles = { + borderColor: colorObject.color + }; + } + + var blockquoteTextColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor); + var blockquoteClasses = textColor || customTextColor ? classnames_default()('has-text-color', Object(defineProperty["a" /* default */])({}, blockquoteTextColorClass, blockquoteTextColorClass)) : undefined; + var blockquoteStyle = blockquoteTextColorClass ? undefined : { + color: customTextColor + }; + return Object(external_this_wp_element_["createElement"])("figure", { + className: figureClass, + style: figureStyles + }, Object(external_this_wp_element_["createElement"])("blockquote", { + className: blockquoteClasses, + style: blockquoteStyle + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, { + value: value, + multiline: true + }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, { + tagName: "cite", + value: citation + }))); + } +}, { + attributes: Object(objectSpread["a" /* default */])({}, blockAttributes), + save: function save(_ref2) { + var attributes = _ref2.attributes; var value = attributes.value, citation = attributes.citation; return Object(external_this_wp_element_["createElement"])("blockquote", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, { @@ -17460,8 +17706,8 @@ var deprecated = [{ default: 'none' } }), - save: function save(_ref2) { - var attributes = _ref2.attributes; + save: function save(_ref3) { + var attributes = _ref3.attributes; var value = attributes.value, citation = attributes.citation, align = attributes.align; @@ -17481,9 +17727,6 @@ var 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/defineProperty.js -var defineProperty = __webpack_require__(10); - // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js var classCallCheck = __webpack_require__(12); @@ -17502,13 +17745,6 @@ 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/classnames/index.js -var classnames = __webpack_require__(16); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); - -// EXTERNAL MODULE: external "lodash" -var external_lodash_ = __webpack_require__(2); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/edit.js @@ -17594,20 +17830,23 @@ function (_Component) { var value = attributes.value, citation = attributes.citation; var isSolidColorStyle = Object(external_lodash_["includes"])(className, SOLID_COLOR_CLASS); - var figureStyle = isSolidColorStyle ? { + var figureStyles = isSolidColorStyle ? { backgroundColor: mainColor.color } : { borderColor: mainColor.color }; - var blockquoteStyle = { + var figureClasses = classnames_default()(className, Object(defineProperty["a" /* default */])({ + 'has-background': isSolidColorStyle && mainColor.color + }, mainColor.class, isSolidColorStyle && mainColor.class)); + var blockquoteStyles = { color: textColor.color }; - var blockquoteClasses = textColor.color ? classnames_default()('has-text-color', Object(defineProperty["a" /* default */])({}, textColor.class, textColor.class)) : undefined; + var blockquoteClasses = textColor.color && classnames_default()('has-text-color', Object(defineProperty["a" /* default */])({}, textColor.class, textColor.class)); return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("figure", { - style: figureStyle, - className: classnames_default()(className, Object(defineProperty["a" /* default */])({}, mainColor.class, isSolidColorStyle && mainColor.class)) + style: figureStyles, + className: figureClasses }, Object(external_this_wp_element_["createElement"])("blockquote", { - style: blockquoteStyle, + style: blockquoteStyles, className: blockquoteClasses }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { multiline: true, @@ -17682,9 +17921,6 @@ var external_this_wp_components_ = __webpack_require__(3); points: "21 4 2 4 2 6 21 6" }))); -// EXTERNAL MODULE: external {"this":["wp","data"]} -var external_this_wp_data_ = __webpack_require__(4); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/save.js @@ -17715,21 +17951,20 @@ function save_save(_ref) { citation = attributes.citation, className = attributes.className; var isSolidColorStyle = Object(external_lodash_["includes"])(className, SOLID_COLOR_CLASS); - var figureClass, figureStyles; // Is solid color style + var figureClasses, figureStyles; // Is solid color style if (isSolidColorStyle) { - figureClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', mainColor); - - if (!figureClass) { - figureStyles = { - backgroundColor: customMainColor - }; - } // Is normal style and a custom color is being used ( we can set a style directly with its value) - + var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', mainColor); + figureClasses = classnames_default()(Object(defineProperty["a" /* default */])({ + 'has-background': backgroundClass || customMainColor + }, backgroundClass, backgroundClass)); + figureStyles = { + backgroundColor: backgroundClass ? undefined : customMainColor + }; // Is normal style and a custom color is being used ( we can set a style directly with its value) } else if (customMainColor) { figureStyles = { borderColor: customMainColor - }; // Is normal style and a named color is being used, we need to retrieve the color value to set the style, + }; // If normal style and a named color are being used, we need to retrieve the color value to set the style, // as there is no expectation that themes create classes that set border colors. } else if (mainColor) { var colors = Object(external_lodash_["get"])(Object(external_this_wp_data_["select"])('core/block-editor').getSettings(), ['colors'], []); @@ -17740,16 +17975,16 @@ function save_save(_ref) { } var blockquoteTextColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor); - var blockquoteClasses = textColor || customTextColor ? classnames_default()('has-text-color', Object(defineProperty["a" /* default */])({}, blockquoteTextColorClass, blockquoteTextColorClass)) : undefined; - var blockquoteStyle = blockquoteTextColorClass ? undefined : { + var blockquoteClasses = (textColor || customTextColor) && classnames_default()('has-text-color', Object(defineProperty["a" /* default */])({}, blockquoteTextColorClass, blockquoteTextColorClass)); + var blockquoteStyles = blockquoteTextColorClass ? undefined : { color: customTextColor }; return Object(external_this_wp_element_["createElement"])("figure", { - className: figureClass, + className: figureClasses, style: figureStyles }, Object(external_this_wp_element_["createElement"])("blockquote", { className: blockquoteClasses, - style: blockquoteStyle + style: blockquoteStyles }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, { value: value, multiline: true @@ -17812,6 +18047,12 @@ var settings = { title: Object(external_this_wp_i18n_["__"])('Pullquote'), description: Object(external_this_wp_i18n_["__"])('Give special visual emphasis to a quote from your text.'), icon: icon, + example: { + attributes: { + value: '

' + Object(external_this_wp_i18n_["__"])('One of the hardest things to do in technology is disrupt yourself.') + '

', + citation: 'Matt Mullenweg' + } + }, styles: [{ name: 'default', label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'), @@ -18090,6 +18331,11 @@ var settings = { title: Object(external_this_wp_i18n_["__"])('Code'), description: Object(external_this_wp_i18n_["__"])('Display code snippets that respect your spacing and tabs.'), icon: 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 );') + } + }, supports: { html: false }, @@ -18553,6 +18799,11 @@ var settings = { supports: { className: false }, + example: { + attributes: { + values: '
  • Alice.
  • The White Rabbit.
  • The Cheshire Cat.
  • The Mad Hatter.
  • The Queen of Hearts.
  • ' + } + }, transforms: list_transforms, merge: function merge(attributes, attributesToMerge) { var values = attributesToMerge.values; @@ -19090,7 +19341,14 @@ var settings = { title: Object(external_this_wp_i18n_["__"])('Quote'), description: Object(external_this_wp_i18n_["__"])('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'), icon: icon, - keywords: [Object(external_this_wp_i18n_["__"])('blockquote')], + keywords: [Object(external_this_wp_i18n_["__"])('blockquote'), Object(external_this_wp_i18n_["__"])('cite')], + example: { + attributes: { + value: '

    ' + Object(external_this_wp_i18n_["__"])('In quoting others, we cite ourselves.') + '

    ', + citation: 'Julio Cortázar', + className: 'is-style-large' + } + }, styles: [{ name: 'default', label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'), @@ -19373,6 +19631,11 @@ var settings = { description: Object(external_this_wp_i18n_["__"])('Add custom HTML code and preview it as you edit.'), icon: icon, keywords: [Object(external_this_wp_i18n_["__"])('embed')], + example: { + attributes: { + content: '' + Object(external_this_wp_i18n_["__"])('Welcome to the wonderful world of blocks…') + '' + } + }, supports: { customClassName: false, className: false, @@ -20057,6 +20320,13 @@ var settings = { description: Object(external_this_wp_i18n_["__"])('Prompt visitors to take action with a button-style link.'), icon: icon, keywords: [Object(external_this_wp_i18n_["__"])('link')], + example: { + attributes: { + className: 'is-style-fill', + backgroundColor: 'vivid-green-cyan', + text: Object(external_this_wp_i18n_["__"])('Call to Action') + } + }, supports: { align: true, alignWide: false @@ -20341,6 +20611,7 @@ var settings = { html: false, multiple: false }, + example: {}, transforms: more_transforms, edit: edit_MoreEdit, save: save @@ -20464,6 +20735,7 @@ var settings = { className: false, html: false }, + example: {}, transforms: nextpage_transforms, edit: NextPageEdit, save: save @@ -21010,6 +21282,40 @@ var settings = { align: ['wide', 'full'], html: false }, + example: { + innerBlocks: [{ + name: 'core/column', + innerBlocks: [{ + name: 'core/paragraph', + attributes: { + content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis pellentesque efficitur. Nam dapibus felis malesuada tincidunt rhoncus. Integer non malesuada tortor.' + } + }, { + name: 'core/image', + attributes: { + url: 'https://upload.wikimedia.org/wikipedia/commons/9/95/Windbuchencom.jpg' + } + }, { + name: 'core/paragraph', + attributes: { + content: 'Suspendisse commodo neque lacus, a dictum orci interdum et. Ut vel mi ut leo fringilla rutrum.' + } + }] + }, { + name: 'core/column', + innerBlocks: [{ + name: 'core/paragraph', + attributes: { + content: Object(external_this_wp_i18n_["__"])('Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit, eget faucibus urna pulvinar.') + } + }, { + name: 'core/paragraph', + attributes: { + content: Object(external_this_wp_i18n_["__"])('Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim ultricies commodo.') + } + }] + }] + }, deprecated: deprecated, edit: edit, save: save_save @@ -21193,6 +21499,11 @@ var settings = { title: Object(external_this_wp_i18n_["__"])('Preformatted'), description: Object(external_this_wp_i18n_["__"])('Add text that respects your spacing and tabs, and also allows styling.'), icon: icon, + example: { + attributes: { + content: Object(external_this_wp_i18n_["__"])('EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)') + '\n' + Object(external_this_wp_i18n_["__"])('Window, very small in the distance, illuminated.') + '\n' + Object(external_this_wp_i18n_["__"])('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: preformatted_transforms, edit: PreformattedEdit, save: save, @@ -21387,6 +21698,12 @@ var settings = { description: Object(external_this_wp_i18n_["__"])('Create a break between ideas or sections with a horizontal separator.'), icon: icon, keywords: [Object(external_this_wp_i18n_["__"])('horizontal-line'), 'hr', Object(external_this_wp_i18n_["__"])('divider')], + example: { + attributes: { + customColor: '#065174', + className: 'is-style-wide' + } + }, styles: [{ name: 'default', label: Object(external_this_wp_i18n_["__"])('Default'), @@ -21442,7 +21759,7 @@ var inherits = __webpack_require__(15); var external_this_wp_element_ = __webpack_require__(0); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(34); +var external_this_wp_blob_ = __webpack_require__(35); // EXTERNAL MODULE: external {"this":["wp","compose"]} var external_this_wp_compose_ = __webpack_require__(8); @@ -22278,7 +22595,7 @@ var inherits = __webpack_require__(15); var external_this_wp_element_ = __webpack_require__(0); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(34); +var external_this_wp_blob_ = __webpack_require__(35); // EXTERNAL MODULE: external {"this":["wp","components"]} var external_this_wp_components_ = __webpack_require__(3); @@ -25018,6 +25335,7 @@ var settings = { supports: { align: true }, + example: {}, edit: edit }; @@ -25735,6 +26053,24 @@ var settings = { supports: { align: ['left', 'center', 'right'] }, + example: { + innerBlocks: [{ + name: 'core/social-link-wordpress', + attributes: { + url: 'https://wordpress.org' + } + }, { + name: 'core/social-link-facebook', + attributes: { + url: 'https://www.facebook.com/WordPress/' + } + }, { + name: 'core/social-link-twitter', + attributes: { + url: 'https://twitter.com/WordPress' + } + }] + }, styles: [{ name: 'default', label: Object(external_this_wp_i18n_["__"])('Default'), @@ -26292,6 +26628,7 @@ var settings = { supports: { align: true }, + example: {}, edit: SearchEdit }; @@ -26551,6 +26888,11 @@ var settings = { align: true, html: false }, + example: { + attributes: { + feedURL: 'https://wordpress.org' + } + }, edit: edit }; @@ -26718,7 +27060,7 @@ var registerCoreBlocks = function registerCoreBlocks() { // in various contexts — like the inserter and auto-complete components. _paragraph__WEBPACK_IMPORTED_MODULE_6__, _image__WEBPACK_IMPORTED_MODULE_7__, _heading__WEBPACK_IMPORTED_MODULE_8__, _gallery__WEBPACK_IMPORTED_MODULE_10__, _list__WEBPACK_IMPORTED_MODULE_29__, _quote__WEBPACK_IMPORTED_MODULE_9__, // Register all remaining core blocks. _shortcode__WEBPACK_IMPORTED_MODULE_40__, _archives__WEBPACK_IMPORTED_MODULE_11__, _audio__WEBPACK_IMPORTED_MODULE_12__, _button__WEBPACK_IMPORTED_MODULE_13__, _calendar__WEBPACK_IMPORTED_MODULE_14__, _categories__WEBPACK_IMPORTED_MODULE_15__, _code__WEBPACK_IMPORTED_MODULE_16__, _columns__WEBPACK_IMPORTED_MODULE_17__, _column__WEBPACK_IMPORTED_MODULE_18__, _cover__WEBPACK_IMPORTED_MODULE_19__, _embed__WEBPACK_IMPORTED_MODULE_20__].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_embed__WEBPACK_IMPORTED_MODULE_20__["common"]), Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_embed__WEBPACK_IMPORTED_MODULE_20__["others"]), [_file__WEBPACK_IMPORTED_MODULE_21__, _group__WEBPACK_IMPORTED_MODULE_38__, window.wp && window.wp.oldEditor ? _classic__WEBPACK_IMPORTED_MODULE_48__ : null, // Only add the classic block in WP Context - _html__WEBPACK_IMPORTED_MODULE_22__, _media_text__WEBPACK_IMPORTED_MODULE_23__, _latest_comments__WEBPACK_IMPORTED_MODULE_26__, _latest_posts__WEBPACK_IMPORTED_MODULE_27__, _missing__WEBPACK_IMPORTED_MODULE_30__, _more__WEBPACK_IMPORTED_MODULE_31__, _nextpage__WEBPACK_IMPORTED_MODULE_32__, _preformatted__WEBPACK_IMPORTED_MODULE_33__, _pullquote__WEBPACK_IMPORTED_MODULE_34__, _rss__WEBPACK_IMPORTED_MODULE_36__, _search__WEBPACK_IMPORTED_MODULE_37__, _separator__WEBPACK_IMPORTED_MODULE_39__, _block__WEBPACK_IMPORTED_MODULE_35__, _social_links__WEBPACK_IMPORTED_MODULE_49__], Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_social_link__WEBPACK_IMPORTED_MODULE_50__[/* sites */ "a"]), [_spacer__WEBPACK_IMPORTED_MODULE_41__, _subhead__WEBPACK_IMPORTED_MODULE_42__, _table__WEBPACK_IMPORTED_MODULE_43__, _tag_cloud__WEBPACK_IMPORTED_MODULE_47__, _text_columns__WEBPACK_IMPORTED_MODULE_44__, _verse__WEBPACK_IMPORTED_MODULE_45__, _video__WEBPACK_IMPORTED_MODULE_46__]).forEach(registerBlock); + _html__WEBPACK_IMPORTED_MODULE_22__, _media_text__WEBPACK_IMPORTED_MODULE_23__, _latest_comments__WEBPACK_IMPORTED_MODULE_26__, _latest_posts__WEBPACK_IMPORTED_MODULE_27__, _missing__WEBPACK_IMPORTED_MODULE_30__, _more__WEBPACK_IMPORTED_MODULE_31__, _nextpage__WEBPACK_IMPORTED_MODULE_32__, _preformatted__WEBPACK_IMPORTED_MODULE_33__, _pullquote__WEBPACK_IMPORTED_MODULE_34__, _rss__WEBPACK_IMPORTED_MODULE_36__, _search__WEBPACK_IMPORTED_MODULE_37__, _separator__WEBPACK_IMPORTED_MODULE_39__, _block__WEBPACK_IMPORTED_MODULE_35__, _spacer__WEBPACK_IMPORTED_MODULE_41__, _subhead__WEBPACK_IMPORTED_MODULE_42__, _table__WEBPACK_IMPORTED_MODULE_43__, _tag_cloud__WEBPACK_IMPORTED_MODULE_47__, _text_columns__WEBPACK_IMPORTED_MODULE_44__, _verse__WEBPACK_IMPORTED_MODULE_45__, _video__WEBPACK_IMPORTED_MODULE_46__]).forEach(registerBlock); Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_5__["setDefaultBlockName"])(_paragraph__WEBPACK_IMPORTED_MODULE_6__["name"]); if (window.wp && window.wp.oldEditor) { @@ -26747,7 +27089,7 @@ var registerCoreBlocks = function registerCoreBlocks() { var __experimentalRegisterExperimentalCoreBlocks = process.env.GUTENBERG_PHASE === 2 ? function (settings) { var __experimentalEnableLegacyWidgetBlock = settings.__experimentalEnableLegacyWidgetBlock, __experimentalEnableMenuBlock = settings.__experimentalEnableMenuBlock; - [__experimentalEnableLegacyWidgetBlock ? _legacy_widget__WEBPACK_IMPORTED_MODULE_28__ : null, __experimentalEnableMenuBlock ? _navigation_menu__WEBPACK_IMPORTED_MODULE_24__ : null, __experimentalEnableMenuBlock ? _navigation_menu_item__WEBPACK_IMPORTED_MODULE_25__ : null].forEach(registerBlock); + [__experimentalEnableLegacyWidgetBlock ? _legacy_widget__WEBPACK_IMPORTED_MODULE_28__ : null, __experimentalEnableMenuBlock ? _navigation_menu__WEBPACK_IMPORTED_MODULE_24__ : null, __experimentalEnableMenuBlock ? _navigation_menu_item__WEBPACK_IMPORTED_MODULE_25__ : null, _social_links__WEBPACK_IMPORTED_MODULE_49__].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_social_link__WEBPACK_IMPORTED_MODULE_50__[/* sites */ "a"])).forEach(registerBlock); } : undefined; /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(96))) diff --git a/wp-includes/js/dist/block-library.min.js b/wp-includes/js/dist/block-library.min.js index 95f9b67f47..d6627c758c 100644 --- a/wp-includes/js/dist/block-library.min.js +++ b/wp-includes/js/dist/block-library.min.js @@ -1,4 +1,4 @@ -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=282)}([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){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.data}()},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){!function(){e.exports=this.wp.blockEditor}()},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 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})},function(e,t){!function(){e.exports=this.wp.richText}()},function(e,t,n){"use strict";var r=n(38);var o=n(39);function c(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||Object(o.a)()}n.d(t,"a",function(){return c})},function(e,t){!function(){e.exports=this.wp.editor}()},,function(e,t){!function(){e.exports=this.wp.url}()},,,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){!function(){e.exports=this.wp.apiFetch}()},,function(e,t){!function(){e.exports=this.wp.blob}()},,,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";n.d(t,"c",function(){return c}),n.d(t,"b",function(){return a}),n.d(t,"g",function(){return i}),n.d(t,"l",function(){return l}),n.d(t,"k",function(){return s}),n.d(t,"o",function(){return u}),n.d(t,"d",function(){return b}),n.d(t,"f",function(){return d}),n.d(t,"n",function(){return m}),n.d(t,"i",function(){return h}),n.d(t,"e",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"h",function(){return f}),n.d(t,"j",function(){return v}),n.d(t,"a",function(){return O});var r=n(0),o=n(3),c=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.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"})),a=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(o.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"})),i=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.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(r.createElement)(o.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),l=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.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"})),s={foreground:"#1da1f2",src:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.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"})))},u={foreground:"#ff0000",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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"}))},b={foreground:"#3b5998",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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"}))},d=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.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"}))),m={foreground:"#0073AA",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.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"})))},h={foreground:"#1db954",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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"}))},p=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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"})),g={foreground:"#1ab7ea",src:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.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"})))},f=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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"})),v={foreground:"#35465c",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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"}))},O=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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(r.createElement)(o.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(r.createElement)(o.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"}))},function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},,function(e,t){!function(){e.exports=this.wp.viewport}()},,function(e,t,n){e.exports=function(e,t){var n,r,o,c=0;function a(){var t,a,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(a=0;a1&&(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=c=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=a(l,i,e+1/3),o=a(l,i,e),c=a(l,i,e-1/3)}return{r:255*r,g:255*o,b:255*c}}(e.h,r,l),b=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a));var m,h,p;return n=M(n),{ok:b,format:e.format||d,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 m(e,t,n){e=A(e,255),t=A(t,255),n=A(n,255);var r,o,c=u(e,t,n),a=s(e,t,n),i=(c+a)/2;if(c==a)r=o=0;else{var l=c-a;switch(o=i>.5?l/(2-c-a):l/(c+a),c){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,c.push(d(r));return c}function T(e,t){t=t||6;for(var n=d(e).toHsv(),r=n.h,o=n.s,c=n.v,a=[],i=1/t;t--;)a.push(d({h:r,s:o,v:c})),c=(c+i)%1;return a}d.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=M(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=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(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 c=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16)),L(z(r))];if(o&&c[0].charAt(0)==c[0].charAt(1)&&c[1].charAt(0)==c[1].charAt(1)&&c[2].charAt(0)==c[2].charAt(1)&&c[3].charAt(0)==c[3].charAt(1))return c[0].charAt(0)+c[1].charAt(0)+c[2].charAt(0)+c[3].charAt(0);return c.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*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)&&(N[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=d(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 d(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(k,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(_,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)}},d.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 d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:b(),g:b(),b:b()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),o=d(t).toRgb(),c=n/100;return d({r:(o.r-r.r)*c+r.r,g:(o.g-r.g)*c+r.g,b:(o.b-r.b)*c+r.b,a:(o.a-r.a)*c+r.a})},d.readability=function(e,t){var n=d(e),r=d(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,o,c=d.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=c>=4.5;break;case"AAlarge":o=c>=3;break;case"AAAsmall":o=c>=7}return o},d.mostReadable=function(e,t,n){var r,o,c,a,i=null,l=0;o=(n=n||{}).includeFallbackColors,c=n.level,a=n.size;for(var s=0;sl&&(l=r,i=d(t[s]));return d.isReadable(e,i,{level:c,size:a})||!o?i:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var B=d.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=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(B);function M(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 R(e){return s(1,u(0,e))}function I(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function z(e){return o.round(255*parseFloat(e)).toString(16)}function H(e){return I(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=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}(Math)},,,,,,function(e,t){!function(){e.exports=this.wp.serverSideRender}()},function(e,t){!function(){e.exports=this.wp.date}()},function(e,t,n){"use strict";n.d(t,"c",function(){return i}),n.d(t,"h",function(){return l}),n.d(t,"a",function(){return s}),n.d(t,"f",function(){return b}),n.d(t,"b",function(){return d}),n.d(t,"e",function(){return m}),n.d(t,"g",function(){return h}),n.d(t,"d",function(){return p});var r=n(10),o=n(45),c=n.n(o),a=n(2),i=c()(function(e){return void 0===e?null:Object(a.times)(e,function(){return["core/column"]})}),l=function(e){return Number.isFinite(e)?parseFloat(e.toFixed(2)):void 0};function s(e,t){var n=Object(a.findIndex)(e,{clientId:t});return n===e.length-1?e.slice(0,n):e.slice(n+1)}function u(e,t){var n=e.attributes.width;return l(void 0===n?100/t:n)}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(a.sumBy)(e,function(e){return u(e,t)})}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce(function(e,n){var o=u(n,t);return Object.assign(e,Object(r.a)({},n.clientId,o))},{})}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=(t-b(e,n))/e.length;return Object(a.mapValues)(d(e,n),function(e){return l(e+r)})}function h(e){return e.some(function(e){return Number.isFinite(e.attributes.width)})}function p(e,t){return e.map(function(e){return Object(a.merge)({},e,{attributes:{width:t[e.clientId]}})})}},,,,function(e,t,n){"use strict";n.d(t,"e",function(){return f}),n.d(t,"a",function(){return v}),n.d(t,"d",function(){return O}),n.d(t,"b",function(){return j}),n.d(t,"c",function(){return y});var r=n(10),o=n(7),c=n(17),a=n(0),i=n(89),l=n(62),s=n(2),u=n(73),b=n.n(u),d=n(45),m=n.n(d),h=n(9),p=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some(function(t){return e.match(t)})},g=function(e){return Object(s.includes)(e,'class="wp-embedded-content"')},f=function(e){var t=e.thumbnail_url?e.thumbnail_url:e.url,n=Object(a.createElement)("p",null,Object(a.createElement)("img",{src:t,alt:e.title,width:"100%"}));return Object(a.renderToString)(n)},v=function(e,t){var n=e.preview,r=e.name,a=e.attributes.url;if(a){var s=function(e){for(var t=0,n=[].concat(Object(c.a)(i.a),Object(c.a)(i.b));t1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var o={"wp-has-aspect-ratio":!1},c=0;c=m.ratio)return b()(t,(d={},Object(r.a)(d,m.className,n),Object(r.a)(d,"wp-has-aspect-ratio",n),d))}return t}function j(e,t){var n=Object(a.createElement)("a",{href:e},e);t(Object(h.createBlock)("core/paragraph",{content:Object(a.renderToString)(n)}))}var y=m()(function(e,t,n,r){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!e)return{};var c={},a=e.type,i=void 0===a?"rich":a,l=e.html,u=e.provider_name,b=Object(s.kebabCase)(Object(s.toLower)(""!==u?u:t));return g(l)&&(i="wp-embed"),(l||"photo"===i)&&(c.type=i,c.providerNameSlug=b),c.className=O(l,n,r&&o),c})},function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"b",function(){return c}),n.d(t,"d",function(){return a});var r=["facebook.com","smugmug.com"],o=[{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"}],c="core/embed",a="core-embed/wordpress"},,,,,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){!function(){e.exports=this.wp.autop}()},function(e,t,n){var r; +!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;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 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})},function(e,t){!function(){e.exports=this.wp.editor}()},,function(e,t){!function(){e.exports=this.wp.url}()},,,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){!function(){e.exports=this.wp.apiFetch}()},,,function(e,t){!function(){e.exports=this.wp.blob}()},,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";n.d(t,"c",function(){return a}),n.d(t,"b",function(){return c}),n.d(t,"g",function(){return i}),n.d(t,"l",function(){return l}),n.d(t,"k",function(){return s}),n.d(t,"o",function(){return u}),n.d(t,"d",function(){return b}),n.d(t,"f",function(){return m}),n.d(t,"n",function(){return d}),n.d(t,"i",function(){return h}),n.d(t,"e",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"h",function(){return f}),n.d(t,"j",function(){return v}),n.d(t,"a",function(){return O});var r=n(0),o=n(3),a=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.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"})),c=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)(o.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"})),i=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.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(r.createElement)(o.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),l=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(r.createElement)(o.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"})),s={foreground:"#1da1f2",src:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.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"})))},u={foreground:"#ff0000",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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"}))},b={foreground:"#3b5998",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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"}))},m=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.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"}))),d={foreground:"#0073AA",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.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"})))},h={foreground:"#1db954",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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"}))},p=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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"})),g={foreground:"#1ab7ea",src:Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.G,null,Object(r.createElement)(o.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"})))},f=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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"})),v={foreground:"#35465c",src:Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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"}))},O=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24"},Object(r.createElement)(o.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(r.createElement)(o.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(r.createElement)(o.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"}))},function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},,function(e,t){!function(){e.exports=this.wp.viewport}()},,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=M(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=M(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=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16)),L(P(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)&&(N[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]:z(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 B=m.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},N=m.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(B);function M(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 R(e){return s(1,u(0,e))}function I(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function z(e){return e<=1&&(e=100*e+"%"),e}function P(e){return o.round(255*parseFloat(e)).toString(16)}function H(e){return I(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)},,,,,,function(e,t){!function(){e.exports=this.wp.serverSideRender}()},function(e,t){!function(){e.exports=this.wp.date}()},function(e,t,n){"use strict";n.d(t,"c",function(){return i}),n.d(t,"h",function(){return l}),n.d(t,"a",function(){return s}),n.d(t,"f",function(){return b}),n.d(t,"b",function(){return m}),n.d(t,"e",function(){return d}),n.d(t,"g",function(){return h}),n.d(t,"d",function(){return p});var r=n(10),o=n(45),a=n.n(o),c=n(2),i=a()(function(e){return void 0===e?null:Object(c.times)(e,function(){return["core/column"]})}),l=function(e){return Number.isFinite(e)?parseFloat(e.toFixed(2)):void 0};function s(e,t){var n=Object(c.findIndex)(e,{clientId:t});return n===e.length-1?e.slice(0,n):e.slice(n+1)}function u(e,t){var n=e.attributes.width;return l(void 0===n?100/t:n)}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(c.sumBy)(e,function(e){return u(e,t)})}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce(function(e,n){var o=u(n,t);return Object.assign(e,Object(r.a)({},n.clientId,o))},{})}function d(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=(t-b(e,n))/e.length;return Object(c.mapValues)(m(e,n),function(e){return l(e+r)})}function h(e){return e.some(function(e){return Number.isFinite(e.attributes.width)})}function p(e,t){return e.map(function(e){return Object(c.merge)({},e,{attributes:{width:t[e.clientId]}})})}},,,,function(e,t,n){"use strict";n.d(t,"e",function(){return f}),n.d(t,"a",function(){return v}),n.d(t,"d",function(){return O}),n.d(t,"b",function(){return j}),n.d(t,"c",function(){return y});var r=n(10),o=n(7),a=n(17),c=n(0),i=n(89),l=n(62),s=n(2),u=n(73),b=n.n(u),m=n(45),d=n.n(m),h=n(9),p=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some(function(t){return e.match(t)})},g=function(e){return Object(s.includes)(e,'class="wp-embedded-content"')},f=function(e){var t=e.thumbnail_url?e.thumbnail_url:e.url,n=Object(c.createElement)("p",null,Object(c.createElement)("img",{src:t,alt:e.title,width:"100%"}));return Object(c.renderToString)(n)},v=function(e,t){var n=e.preview,r=e.name,c=e.attributes.url;if(c){var s=function(e){for(var t=0,n=[].concat(Object(a.a)(i.a),Object(a.a)(i.b));t1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var o={"wp-has-aspect-ratio":!1},a=0;a=d.ratio)return b()(t,(m={},Object(r.a)(m,d.className,n),Object(r.a)(m,"wp-has-aspect-ratio",n),m))}return t}function j(e,t){var n=Object(c.createElement)("a",{href:e},e);t(Object(h.createBlock)("core/paragraph",{content:Object(c.renderToString)(n)}))}var y=d()(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,u=e.provider_name,b=Object(s.kebabCase)(Object(s.toLower)(""!==u?u:t));return g(l)&&(i="wp-embed"),(l||"photo"===i)&&(a.type=i,a.providerNameSlug=b),a.className=O(l,n,r&&o),a})},function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"d",function(){return c});var r=["facebook.com","smugmug.com"],o=[{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"}],a="core/embed",c="core-embed/wordpress"},,,,,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){!function(){e.exports=this.wp.autop}()},function(e,t,n){var r; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see @@ -20,6 +20,6 @@ this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(r){if(t 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),d=["/","?","#"],m=/^[+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(143);function O(e,t,n){if(e&&o.isObject(e)&&e instanceof c)return e;var r=new c;return r.parse(e,t,n),r}c.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var c=e.indexOf("?"),i=-1!==c&&c127?A+="x":A+=M[R];if(!A.match(m)){var L=B.slice(0,x),P=B.slice(x+1),z=M.match(h);z&&(L.push(z[1]),P.unshift(z[2])),P.length&&(O="/"+P.join(".")+O),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var H=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+H,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!p[k])for(x=0,N=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(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var w=_.slice(-1)[0],E=(n.host||e.host||_.length>1)&&("."===w||".."===w)||""===w,x=0,S=_.length;S>=0;S--)"."===(w=_[S])?_.splice(S,1):".."===w?(_.splice(S,1),x++):x&&(_.splice(S,1),x--);if(!y&&!k)for(;x--;x)_.unshift("..");!y||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),E&&"/"!==_.join("/").substr(-1)&&_.push("");var T,B=""===_[0]||_[0]&&"/"===_[0].charAt(0);C&&(n.hostname=n.host=B?"":_.length?_.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&&_.length)&&!B&&_.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},c.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)}},,function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return i});var r=n(40),o=n(1),c=n(9),a=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:r.k,keywords:["tweet"],description:Object(o.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:r.o,keywords:[Object(o.__)("music"),Object(o.__)("video")],description:Object(o.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:r.d,description:Object(o.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:r.f,keywords:[Object(o.__)("image")],description:Object(o.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:r.n,keywords:[Object(o.__)("post"),Object(o.__)("blog")],responsive:!1,description:Object(o.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:r.b,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:r.i,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:r.e,keywords:[Object(o.__)("image")],description:Object(o.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:r.m,keywords:[Object(o.__)("video")],description:Object(o.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],i=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:r.l,description:Object(o.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:r.c,description:Object(o.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:r.l,description:Object(o.__)("Embed CollegeHumor content.")},patterns:[/^https?:\/\/(www\.)?collegehumor\.com\/.+/i]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:r.c,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object(c.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(o.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:r.l,description:Object(o.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:r.l,description:Object(o.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:r.g,description:Object(o.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:r.c,description:Object(o.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:r.c,description:Object(o.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:r.c,description:Object(o.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:r.b,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:r.c,description:Object(o.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:r.h,description:Object(o.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:r.b,description:Object(o.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:r.l,description:Object(o.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:r.c,description:Object(o.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:r.c,description:Object(o.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:r.g,description:Object(o.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:r.b,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:r.c,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object(c.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(o.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:r.l,description:Object(o.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:r.j,description:Object(o.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:r.l,keywords:[Object(o.__)("video")],description:Object(o.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:r.l,description:Object(o.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:r.a,keywords:[Object(o.__)("ebook")],responsive:!1,description:Object(o.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}]},,,,,,,function(e,t){var n,r,o=e.exports={};function c(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(n===setTimeout)return setTimeout(e,0);if((n===c||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:c}catch(e){n=c}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,s=[],u=!1,b=-1;function d(){u&&l&&(u=!1,l.length?s=l.concat(s):b=-1,s.length&&m())}function m(){if(!u){var e=i(d);u=!0;for(var t=s.length;t;){for(l=s,s=[];++b1)for(var n=1;n2&&void 0!==arguments[2])||arguments[2];return function(o){function c(){var e;return Object(l.a)(this,c),(e=Object(u.a)(this,Object(b.a)(c).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(d.a)(e)),e.setUrl=e.setUrl.bind(Object(d.a)(e)),e.getMergedAttributes=e.getMergedAttributes.bind(Object(d.a)(e)),e.setMergedAttributes=e.setMergedAttributes.bind(Object(d.a)(e)),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(d.a)(e)),e.toggleResponsive=e.toggleResponsive.bind(Object(d.a)(e)),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(d.a)(e)),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(m.a)(c,o),Object(s.a)(c,[{key:"handleIncomingPreview",value:function(){if(this.setMergedAttributes(),this.props.onReplace){var e=Object(h.a)(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,o=this.props.attributes,c=o.className,a=o.allowResponsive;return Object(r.a)({},this.props.attributes,Object(h.c)(t,e,c,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(p.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(p.__)("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,c=!t;this.props.setAttributes({allowResponsive:c,className:Object(h.d)(o,r,n&&c)})}},{key:"render",value:function(){var r=this,o=this.state,c=o.url,a=o.editingURL,l=this.props,s=l.fetching,u=l.setAttributes,b=l.isSelected,d=l.preview,m=l.cannotEmbed,g=l.themeSupportsResponsive,f=l.tryAgain;if(s)return Object(i.createElement)(O,null);var y=Object(p.sprintf)(Object(p.__)("%s URL"),e);if(!d||m||a)return Object(i.createElement)(j,{icon:t,label:y,onSubmit:this.setUrl,value:c,cannotEmbed:m,onChange:function(e){return r.setState({url:e.target.value})},fallback:function(){return Object(h.b)(c,r.props.onReplace)},tryAgain:f});var k=this.getMergedAttributes(),_=k.caption,C=k.type,w=k.allowResponsive,E=M()(k.className,this.props.className);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(v,{showEditButton:d&&!m,themeSupportsResponsive:g,blockSupportsResponsive:n,allowResponsive:w,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object(i.createElement)(B,{preview:d,className:E,url:c,type:C,caption:_,onCaptionChange:function(e){return u({caption:e})},isSelected:b,icon:t,label:y}))}}]),c}(i.Component)}(t,o,T);return{title:t,description:N,icon:o,category:g,keywords:_,attributes:R,supports:Object(r.a)({align:!0},x),transforms:y,edit:Object(E.compose)(Object(A.withSelect)(function(e,t){var n=t.attributes.url,r=e("core"),o=r.getEmbedPreview,c=r.isPreviewEmbedFallback,a=r.isRequestingEmbedPreview,i=r.getThemeSupports,l=void 0!==n&&o(n),s=void 0!==n&&c(n),u=void 0!==n&&a(n),b=i(),d=!!l&&void 0===l.type&&!1===l.html,m=!!l&&l.data&&404===l.data.status,h=!!l&&!d&&!m,p=void 0!==n&&(!h||s);return{preview:h?l:void 0,fetching:u,themeSupportsResponsive:b["responsive-embeds"],cannotEmbed:p}}),Object(A.withDispatch)(function(e,t){var n=t.attributes.url,r=e("core/data");return{tryAgain:function(){r.invalidateResolution("core","getEmbedPreview",[n])}}}))(I),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,c=n.type,l=n.providerNameSlug;if(!r)return null;var s=w()("wp-block-embed",(t={},Object(a.a)(t,"is-type-".concat(c),c),Object(a.a)(t,"is-provider-".concat(l),l),t));return Object(i.createElement)("figure",{className:s},Object(i.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(r,"\n")),!f.RichText.isEmpty(o)&&Object(i.createElement)(f.RichText.Content,{tagName:"figcaption",value:o}))},deprecated:[{attributes:R,save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,c=n.type,l=n.providerNameSlug;if(!r)return null;var s=w()("wp-block-embed",(t={},Object(a.a)(t,"is-type-".concat(c),c),Object(a.a)(t,"is-provider-".concat(l),l),t));return Object(i.createElement)("figure",{className:s},"\n".concat(r,"\n"),!f.RichText.isEmpty(o)&&Object(i.createElement)(f.RichText.Content,{tagName:"figcaption",value:o}))}}]}}var L=n(9);n.d(t,"name",function(){return P}),n.d(t,"settings",function(){return z}),n.d(t,"common",function(){return H}),n.d(t,"others",function(){return V});var P="core/embed",z=I({title:Object(p._x)("Embed","block title"),description:Object(p.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:c.c,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(L.createBlock)("core/embed",{url:e.textContent.trim()})}}]}}),H=o.a.map(function(e){return Object(r.a)({},e,{settings:I(e.settings)})}),V=o.b.map(function(e){return Object(r.a)({},e,{settings:I(e.settings)})})},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(9),c=n(0),a=n(16),i=n.n(a),l=n(6),s=[{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(l.getColorClassName)("background-color",n),a=i()(o,{"has-background":n||r}),s={backgroundColor:o?void 0:r};return Object(c.createElement)("div",{className:a,style:s},Object(c.createElement)(l.InnerBlocks.Content,null))}}],u=n(4),b=n(8);var d=Object(b.compose)([Object(l.withColors)("backgroundColor"),Object(u.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,o=e.backgroundColor,a=e.hasInnerBlocks,s={backgroundColor:o.color},u=i()(t,o.class,{"has-background":!!o.color});return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(l.InspectorControls,null,Object(c.createElement)(l.PanelColorSettings,{title:Object(r.__)("Color Settings"),colorSettings:[{value:o.color,onChange:n,label:Object(r.__)("Background Color")}]})),Object(c.createElement)("div",{className:u,style:s},Object(c.createElement)("div",{className:"wp-block-group__inner-container"},Object(c.createElement)(l.InnerBlocks,{renderAppender:!a&&l.InnerBlocks.ButtonBlockAppender}))))}),m=n(3),h=Object(c.createElement)(m.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(m.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(c.createElement)(m.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"}));n.d(t,"metadata",function(){return p}),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var p={name:"core/group",category:"layout",attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}}},g=p.name,f={title:Object(r.__)("Group"),icon:h,description:Object(r.__)("A block that groups other blocks."),keywords:[Object(r.__)("container"),Object(r.__)("wrapper"),Object(r.__)("row"),Object(r.__)("section")],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(o.createBlock)(e.name,e.attributes,e.innerBlocks)});return Object(o.createBlock)("core/group",{align:n},r)}}}]},edit:d,save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,o=Object(l.getColorClassName)("background-color",n),a=i()(o,{"has-background":n||r}),s={backgroundColor:o?void 0:r};return Object(c.createElement)("div",{className:a,style:s},Object(c.createElement)("div",{className:"wp-block-group__inner-container"},Object(c.createElement)(l.InnerBlocks.Content,null)))},deprecated:s}},,,,,,,,,,,function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(c){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var i,l=2147483647,s=36,u=1,b=26,d=38,m=700,h=72,p=128,g="-",f=/^xn--/,v=/[^\x20-\x7E]/,O=/[\x2E\u3002\uFF0E\uFF61]/g,j={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=s-u,k=Math.floor,_=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,c=e.length;o=55296&&t<=56319&&o65535&&(t+=_((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=_(e)}).join("")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function B(e,t,n){var r=0;for(e=n?k(e/m):e>>1,e+=k(e/t);e>y*b>>1;r+=s)e=k(e/y);return k(r+(y+1)*e/(e+d))}function N(e){var t,n,r,o,c,a,i,d,m,f,v,O=[],j=e.length,y=0,_=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"),((d=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||d>k((l-y)/a))&&C("overflow"),y+=d*a,!(d<(m=i<=w?u:i>=w+b?b:i-w));i+=s)a>k(l/(f=s-m))&&C("overflow"),a*=f;w=B(y-c,t=O.length+1,0==c),k(y/t)>l-_&&C("overflow"),_+=k(y/t),y%=t,O.splice(y++,0,_)}return S(O)}function M(e){var t,n,r,o,c,a,i,d,m,f,v,O,j,y,w,E=[];for(O=(e=x(e)).length,t=p,n=0,c=h,a=0;a=t&&vk((l-n)/(j=r+1))&&C("overflow"),n+=(i-t)*j,t=i,a=0;al&&C("overflow"),v==t){for(d=n,m=s;!(d<(f=m<=c?u:m>=c+b?b:m-c));m+=s)w=d-f,y=s-f,E.push(_(T(f+w%y,0))),d=k(w/y);E.push(_(T(d,0))),c=B(n,j,r==o),n=0,++r}++n,++t}return E.join("")}i={version:"1.3.2",ucs2:{decode:x,encode:S},decode:N,encode:M,toASCII:function(e){return E(e,function(e){return v.test(e)?"xn--"+M(e):e})},toUnicode:function(e){return E(e,function(e){return f.test(e)?N(e.slice(4).toLowerCase()):e})}},void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(141)(e),n(67))},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}},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}}},function(e,t,n){"use strict";t.decode=t.parse=n(144),t.encode=t.stringify=n(145)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,c){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var i=/\+/g;e=e.split(t);var l=1e3;c&&"number"==typeof c.maxKeys&&(l=c.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u=0?(b=p.substr(0,g),d=p.substr(g+1)):(b=p,d=""),m=decodeURIComponent(b),h=decodeURIComponent(d),r(a,m)?o(a[m])?a[m].push(h):a[m]=[a[m],h]:a[m]=h}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},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?c(a(e),function(a){var i=encodeURIComponent(r(a))+n;return o(e[a])?c(e[a],function(e){return i+encodeURIComponent(r(e))}).join(t):i+encodeURIComponent(r(e[a]))}).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 c(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r1)&&(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===d.F10&&t.stopPropagation()}),e.addButton("kitchensink",{tooltip:Object(r._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(i,"has-advanced-toolbar",t)}}),e.on("init",function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(i,"has-advanced-toolbar")}),e.addButton("wp_add_media",{tooltip:Object(r.__)("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(b.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(r.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(b.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}(b.Component),p=n(3),g=Object(b.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(p.Path,{d:"M0,0h24v24H0V0z M0,0h24v24H0V0z",fill:"none"}),Object(b.createElement)(p.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(b.createElement)(p.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(b.createElement)(p.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"17",y:"8",width:"2",height:"2"}));n.d(t,"metadata",function(){return f}),n.d(t,"name",function(){return v}),n.d(t,"settings",function(){return O});var f={name:"core/freeform",category:"formatting",attributes:{content:{type:"string",source:"html"}}},v=f.name,O={title:Object(r._x)("Classic","block title"),description:Object(r.__)("Use the classic WordPress editor."),icon:g,supports:{className:!1,customClassName:!1,reusable:!1},edit:h,save:function(e){var t=e.attributes.content;return Object(b.createElement)(b.RawHTML,null,t)}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),c=n(3),a=n(9),i=n(4),l=n(6);var s=Object(i.withDispatch)(function(e,t){var n=t.clientId,r=t.attributes,o=e("core/block-editor").replaceBlock;return{convertToHTML:function(){o(n,Object(a.createBlock)("core/html",{content:r.originalUndelimitedContent}))}}})(function(e){var t,n=e.attributes,i=e.convertToHTML,s=n.originalName,u=n.originalUndelimitedContent,b=!!u,d=Object(a.getBlockType)("core/html"),m=[];return b&&d?(t=Object(r.sprintf)(Object(r.__)('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.'),s),m.push(Object(o.createElement)(c.Button,{key:"convert",onClick:i,isLarge:!0,isPrimary:!0},Object(r.__)("Keep as HTML")))):t=Object(r.sprintf)(Object(r.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),s),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.Warning,{actions:m},t),Object(o.createElement)(o.RawHTML,null,u))});n.d(t,"metadata",function(){return u}),n.d(t,"name",function(){return b}),n.d(t,"settings",function(){return d});var u={name:"core/missing",category:"common",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}}},b=u.name,d={name:b,title:Object(r.__)("Unrecognized Block"),description:Object(r.__)("Your site doesn’t include support for this block."),supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1},edit:s,save:function(e){var t=e.attributes;return Object(o.createElement)(o.RawHTML,null,t.originalContent)}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){ +!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(143);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+=M[R];if(!A.match(d)){var L=B.slice(0,x),z=B.slice(x+1),P=M.match(h);P&&(L.push(P[1]),z.unshift(P[2])),z.length&&(O="/"+z.join(".")+O),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var H=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+H,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!p[_])for(x=0,N=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,B=""===k[0]||k[0]&&"/"===k[0].charAt(0);C&&(n.hostname=n.host=B?"":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)&&!B&&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)}},,function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return i});var r=n(40),o=n(1),a=n(9),c=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:r.k,keywords:["tweet"],description:Object(o.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:r.o,keywords:[Object(o.__)("music"),Object(o.__)("video")],description:Object(o.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:r.d,description:Object(o.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:r.f,keywords:[Object(o.__)("image")],description:Object(o.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:r.n,keywords:[Object(o.__)("post"),Object(o.__)("blog")],responsive:!1,description:Object(o.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:r.b,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:r.i,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:r.e,keywords:[Object(o.__)("image")],description:Object(o.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:r.m,keywords:[Object(o.__)("video")],description:Object(o.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],i=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:r.l,description:Object(o.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:r.c,description:Object(o.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:r.l,description:Object(o.__)("Embed CollegeHumor content.")},patterns:[/^https?:\/\/(www\.)?collegehumor\.com\/.+/i]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:r.c,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object(a.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(o.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:r.l,description:Object(o.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:r.l,description:Object(o.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:r.g,description:Object(o.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:r.c,description:Object(o.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:r.c,description:Object(o.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:r.c,description:Object(o.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:r.b,keywords:[Object(o.__)("music"),Object(o.__)("audio")],description:Object(o.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:r.c,description:Object(o.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:r.h,description:Object(o.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:r.b,description:Object(o.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:r.l,description:Object(o.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:r.c,description:Object(o.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:r.c,description:Object(o.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:r.g,description:Object(o.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:r.b,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:r.c,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object(a.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(o.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:r.l,description:Object(o.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:r.j,description:Object(o.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:r.l,keywords:[Object(o.__)("video")],description:Object(o.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:r.l,description:Object(o.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:r.a,keywords:[Object(o.__)("ebook")],responsive:!1,description:Object(o.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}]},,,,,,,function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function i(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:c}catch(e){r=c}}();var l,s=[],u=!1,b=-1;function m(){u&&l&&(u=!1,l.length?s=l.concat(s):b=-1,s.length&&d())}function d(){if(!u){var e=i(m);u=!0;for(var t=s.length;t;){for(l=s,s=[];++b1)for(var n=1;n2&&void 0!==arguments[2])||arguments[2];return function(o){function a(){var e;return Object(l.a)(this,a),(e=Object(u.a)(this,Object(b.a)(a).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(m.a)(e)),e.setUrl=e.setUrl.bind(Object(m.a)(e)),e.getMergedAttributes=e.getMergedAttributes.bind(Object(m.a)(e)),e.setMergedAttributes=e.setMergedAttributes.bind(Object(m.a)(e)),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(m.a)(e)),e.toggleResponsive=e.toggleResponsive.bind(Object(m.a)(e)),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(m.a)(e)),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(d.a)(a,o),Object(s.a)(a,[{key:"handleIncomingPreview",value:function(){if(this.setMergedAttributes(),this.props.onReplace){var e=Object(h.a)(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,o=this.props.attributes,a=o.className,c=o.allowResponsive;return Object(r.a)({},this.props.attributes,Object(h.c)(t,e,a,n,c))}},{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(p.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(p.__)("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:Object(h.d)(o,r,n&&a)})}},{key:"render",value:function(){var r=this,o=this.state,a=o.url,c=o.editingURL,l=this.props,s=l.fetching,u=l.setAttributes,b=l.isSelected,m=l.preview,d=l.cannotEmbed,g=l.themeSupportsResponsive,f=l.tryAgain;if(s)return Object(i.createElement)(O,null);var y=Object(p.sprintf)(Object(p.__)("%s URL"),e);if(!m||d||c)return Object(i.createElement)(j,{icon:t,label:y,onSubmit:this.setUrl,value:a,cannotEmbed:d,onChange:function(e){return r.setState({url:e.target.value})},fallback:function(){return Object(h.b)(a,r.props.onReplace)},tryAgain:f});var _=this.getMergedAttributes(),k=_.caption,C=_.type,w=_.allowResponsive,E=M()(_.className,this.props.className);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(v,{showEditButton:m&&!d,themeSupportsResponsive:g,blockSupportsResponsive:n,allowResponsive:w,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object(i.createElement)(B,{preview:m,className:E,url:a,type:C,caption:k,onCaptionChange:function(e){return u({caption:e})},isSelected:b,icon:t,label:y}))}}]),a}(i.Component)}(t,o,T);return{title:t,description:N,icon:o,category:g,keywords:k,attributes:R,supports:Object(r.a)({align:!0},x),transforms:y,edit:Object(E.compose)(Object(A.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(A.withDispatch)(function(e,t){var n=t.attributes.url,r=e("core/data");return{tryAgain:function(){r.invalidateResolution("core","getEmbedPreview",[n])}}}))(I),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,l=n.providerNameSlug;if(!r)return null;var s=w()("wp-block-embed",(t={},Object(c.a)(t,"is-type-".concat(a),a),Object(c.a)(t,"is-provider-".concat(l),l),t));return Object(i.createElement)("figure",{className:s},Object(i.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(r,"\n")),!f.RichText.isEmpty(o)&&Object(i.createElement)(f.RichText.Content,{tagName:"figcaption",value:o}))},deprecated:[{attributes:R,save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,l=n.providerNameSlug;if(!r)return null;var s=w()("wp-block-embed",(t={},Object(c.a)(t,"is-type-".concat(a),a),Object(c.a)(t,"is-provider-".concat(l),l),t));return Object(i.createElement)("figure",{className:s},"\n".concat(r,"\n"),!f.RichText.isEmpty(o)&&Object(i.createElement)(f.RichText.Content,{tagName:"figcaption",value:o}))}}]}}var L=n(9);n.d(t,"name",function(){return z}),n.d(t,"settings",function(){return P}),n.d(t,"common",function(){return H}),n.d(t,"others",function(){return V});var z="core/embed",P=I({title:Object(p._x)("Embed","block title"),description:Object(p.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:a.c,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(L.createBlock)("core/embed",{url:e.textContent.trim()})}}]}}),H=o.a.map(function(e){return Object(r.a)({},e,{settings:I(e.settings)})}),V=o.b.map(function(e){return Object(r.a)({},e,{settings:I(e.settings)})})},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(9),a=n(0),c=n(16),i=n.n(c),l=n(6),s=[{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(l.getColorClassName)("background-color",n),c=i()(o,{"has-background":n||r}),s={backgroundColor:o?void 0:r};return Object(a.createElement)("div",{className:c,style:s},Object(a.createElement)(l.InnerBlocks.Content,null))}}],u=n(4),b=n(8);var m=Object(b.compose)([Object(l.withColors)("backgroundColor"),Object(u.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,o=e.backgroundColor,c=e.hasInnerBlocks,s={backgroundColor:o.color},u=i()(t,o.class,{"has-background":!!o.color});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(l.PanelColorSettings,{title:Object(r.__)("Color Settings"),colorSettings:[{value:o.color,onChange:n,label:Object(r.__)("Background Color")}]})),Object(a.createElement)("div",{className:u,style:s},Object(a.createElement)("div",{className:"wp-block-group__inner-container"},Object(a.createElement)(l.InnerBlocks,{renderAppender:!c&&l.InnerBlocks.ButtonBlockAppender}))))}),d=n(3),h=Object(a.createElement)(d.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(d.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(a.createElement)(d.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"}));n.d(t,"metadata",function(){return p}),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var p={name:"core/group",category:"layout",attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}}},g=p.name,f={title:Object(r.__)("Group"),icon:h,description:Object(r.__)("A block that groups other blocks."),keywords:[Object(r.__)("container"),Object(r.__)("wrapper"),Object(r.__)("row"),Object(r.__)("section")],example:{attributes:{customBackgroundColor:"#ffffff"},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(r.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(r.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(r.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(r.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(r.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(r.__)("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(o.createBlock)(e.name,e.attributes,e.innerBlocks)});return Object(o.createBlock)("core/group",{align:n},r)}}}]},edit:m,save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,o=Object(l.getColorClassName)("background-color",n),c=i()(o,{"has-background":n||r}),s={backgroundColor:o?void 0:r};return Object(a.createElement)("div",{className:c,style:s},Object(a.createElement)("div",{className:"wp-block-group__inner-container"},Object(a.createElement)(l.InnerBlocks.Content,null)))},deprecated:s}},,,,,,,,,,,function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(a){t&&t.nodeType,e&&e.nodeType;var c="object"==typeof r&&r;c.global!==c&&c.window!==c&&c.self;var i,l=2147483647,s=36,u=1,b=26,m=38,d=700,h=72,p=128,g="-",f=/^xn--/,v=/[^\x20-\x7E]/,O=/[\x2E\u3002\uFF0E\uFF61]/g,j={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 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 B(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 N(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=B(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 M(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=B(n,j,r==o),n=0,++r}++n,++t}return E.join("")}i={version:"1.3.2",ucs2:{decode:x,encode:S},decode:N,encode:M,toASCII:function(e){return E(e,function(e){return v.test(e)?"xn--"+M(e):e})},toUnicode:function(e){return E(e,function(e){return f.test(e)?N(e.slice(4).toLowerCase()):e})}},void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(141)(e),n(67))},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}},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}}},function(e,t,n){"use strict";t.decode=t.parse=n(144),t.encode=t.stringify=n(145)},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)}},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;r1)&&(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===m.F10&&t.stopPropagation()}),e.addButton("kitchensink",{tooltip:Object(r._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(i,"has-advanced-toolbar",t)}}),e.on("init",function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(i,"has-advanced-toolbar")}),e.addButton("wp_add_media",{tooltip:Object(r.__)("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(b.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(r.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(b.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}(b.Component),p=n(3),g=Object(b.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(p.Path,{d:"M0,0h24v24H0V0z M0,0h24v24H0V0z",fill:"none"}),Object(b.createElement)(p.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(b.createElement)(p.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(b.createElement)(p.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"17",y:"8",width:"2",height:"2"}));n.d(t,"metadata",function(){return f}),n.d(t,"name",function(){return v}),n.d(t,"settings",function(){return O});var f={name:"core/freeform",category:"formatting",attributes:{content:{type:"string",source:"html"}}},v=f.name,O={title:Object(r._x)("Classic","block title"),description:Object(r.__)("Use the classic WordPress editor."),icon:g,supports:{className:!1,customClassName:!1,reusable:!1},edit:h,save:function(e){var t=e.attributes.content;return Object(b.createElement)(b.RawHTML,null,t)}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(3),c=n(9),i=n(4),l=n(6);var s=Object(i.withDispatch)(function(e,t){var n=t.clientId,r=t.attributes,o=e("core/block-editor").replaceBlock;return{convertToHTML:function(){o(n,Object(c.createBlock)("core/html",{content:r.originalUndelimitedContent}))}}})(function(e){var t,n=e.attributes,i=e.convertToHTML,s=n.originalName,u=n.originalUndelimitedContent,b=!!u,m=Object(c.getBlockType)("core/html"),d=[];return b&&m?(t=Object(r.sprintf)(Object(r.__)('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.'),s),d.push(Object(o.createElement)(a.Button,{key:"convert",onClick:i,isLarge:!0,isPrimary:!0},Object(r.__)("Keep as HTML")))):t=Object(r.sprintf)(Object(r.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),s),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.Warning,{actions:d},t),Object(o.createElement)(o.RawHTML,null,u))});n.d(t,"metadata",function(){return u}),n.d(t,"name",function(){return b}),n.d(t,"settings",function(){return m});var u={name:"core/missing",category:"common",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}}},b=u.name,m={name:b,title:Object(r.__)("Unrecognized Block"),description:Object(r.__)("Your site doesn’t include support for this block."),supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1},edit:s,save:function(e){var t=e.attributes;return Object(o.createElement)(o.RawHTML,null,t.originalContent)}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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;na?(n=c/a,i=100,l=Math.round(i/n)):(n=a/c,l=100,i=Math.round(l/n)),(i>c||l>a||i<10||l<10)&&(i=c,l=a),{srcLeft:r,srcTop:o,srcWidth:c,srcHeight:a,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var r=0,o=0,c=0,a=0,i=0,l=0;lr?-1:n===r?0:1}),d=t(b[0],5),m=d[0],h=d[1],p=d[2],g=d[3],f=d[4];return g?[Math.round(m/g),Math.round(h/g),Math.round(p/g),Math.round(g/f)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var r=this,o=(n=n||{})&&n.data,c=this._getDefaultColor(n),a=function(){s(),t.call(e,r.getColor(e,n),o)},i=function(){s(),t.call(e,r._prepareResult(c,new Error("Image error")),o)},l=function(){s(),t.call(e,r._prepareResult(c,new Error("Image abort")),o)},s=function(){e.removeEventListener("load",a),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",a),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){var t=(299*e[0]+587*e[1]+114*e[2])/1e3;return t<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(r.prototype,o),c&&e(r,c),n;var r,o,c}()}()},,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),c=n(0),a=n(16),i=n.n(a),l=n(6),s=[{supports:{className:!1,anchor:!0},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"}},save:function(e){var t=e.attributes,n=t.align,r=t.level,a=t.content,s=t.textColor,u=t.customTextColor,b="h"+r,d=Object(l.getColorClassName)("color",s),m=i()(Object(o.a)({},d,d));return Object(c.createElement)(l.RichText.Content,{className:m||void 0,tagName:b,style:{textAlign:n,color:d?void 0:u},value:a})}}],u=n(7),b=n(12),d=n(11),m=n(13),h=n(14),p=n(15),g=n(2),f=n(3);function v(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(c.createElement)(f.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(f.Path,{d:n[t]})):null}var O=function(e){function t(){return Object(b.a)(this,t),Object(m.a)(this,Object(h.a)(t).apply(this,arguments))}return Object(p.a)(t,e),Object(d.a)(t,[{key:"createLevelControl",value:function(e,t,n){return{icon:Object(c.createElement)(v,{level:e}),title:Object(r.sprintf)(Object(r.__)("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,i=t.selectedLevel,l=t.onChange;return Object(c.createElement)(f.Toolbar,{isCollapsed:r,icon:Object(c.createElement)(v,{level:i}),controls:Object(g.range)(o,a).map(function(t){return e.createLevelControl(t,i,l)})})}}]),t}(c.Component),j=n(8),y=n(9),k=Object(c.memo)(function(e){var t=e.textColorValue,n=e.setTextColor;return Object(c.createElement)(l.PanelColorSettings,{title:Object(r.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:t,onChange:n,label:Object(r.__)("Text Color")}]})});var _=Object(j.compose)([Object(l.withColors)("backgroundColor",{textColor:"color"})])(function(e){var t,n=e.attributes,a=e.setAttributes,s=e.mergeBlocks,b=e.onReplace,d=e.className,m=e.textColor,h=e.setTextColor,p=n.align,g=n.content,v=n.level,j=n.placeholder,_="h"+v;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(l.BlockControls,null,Object(c.createElement)(O,{minLevel:2,maxLevel:5,selectedLevel:v,onChange:function(e){return a({level:e})}}),Object(c.createElement)(l.AlignmentToolbar,{value:p,onChange:function(e){a({align:e})}})),Object(c.createElement)(l.InspectorControls,null,Object(c.createElement)(f.PanelBody,{title:Object(r.__)("Heading Settings")},Object(c.createElement)("p",null,Object(r.__)("Level")),Object(c.createElement)(O,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:v,onChange:function(e){return a({level:e})}})),Object(c.createElement)(k,{setTextColor:h,textColorValue:m.color})),Object(c.createElement)(l.RichText,{identifier:"content",wrapperClassName:"wp-block-heading",tagName:_,value:g,onChange:function(e){return a({content:e})},onMerge:s,onSplit:function(e){return e?Object(y.createBlock)("core/heading",Object(u.a)({},n,{content:e})):Object(y.createBlock)("core/paragraph")},onReplace:b,onRemove:function(){return b([])},className:i()(d,(t={},Object(o.a)(t,"has-text-align-".concat(p),p),Object(o.a)(t,"has-text-color",m.color),Object(o.a)(t,m.class,m.class),t)),placeholder:j||Object(r.__)("Write heading…"),style:{color:m.color}}))});var C=n(17);var w={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(y.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:{h1:{children:Object(y.getPhrasingContentSchema)()},h2:{children:Object(y.getPhrasingContentSchema)()},h3:{children:Object(y.getPhrasingContentSchema)()},h4:{children:Object(y.getPhrasingContentSchema)()},h5:{children:Object(y.getPhrasingContentSchema)()},h6:{children:Object(y.getPhrasingContentSchema)()}},transform:function(e){return Object(y.createBlock)("core/heading",Object(u.a)({},Object(y.getBlockAttributes)("core/heading",e.outerHTML),{level:(t=e.nodeName,Number(t.substr(1)))}));var t}}].concat(Object(C.a)([2,3,4,5,6].map(function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(y.createBlock)("core/heading",{level:e,content:t})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(y.createBlock)("core/paragraph",{content:t})}}]};n.d(t,"metadata",function(){return E}),n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var E={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"}}},x=E.name,S={title:Object(r.__)("Heading"),description:Object(r.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:"heading",keywords:[Object(r.__)("title"),Object(r.__)("subtitle")],supports:{className:!1,anchor:!0},transforms:w,deprecated:s,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:_,save:function(e){var t,n=e.attributes,r=n.align,a=n.content,s=n.customTextColor,u=n.level,b=n.textColor,d="h"+u,m=Object(l.getColorClassName)("color",b),h=i()((t={},Object(o.a)(t,m,m),Object(o.a)(t,"has-text-align-".concat(r),r),t));return Object(c.createElement)(l.RichText.Content,{className:h||void 0,tagName:d,style:{color:m?void 0:s},value:a})}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(7),c=n(0),a=n(16),i=n.n(a),l=n(2),s=n(6);function u(e){return Math.min(3,e.images.length)}var b=function(e){var t=Object(l.pick)(e,["alt","id","link","caption"]);t.url=Object(l.get)(e,["sizes","large","url"])||Object(l.get)(e,["media_details","sizes","large","source_url"])||e.url;var n=Object(l.get)(e,["sizes","full","url"])||Object(l.get)(e,["media_details","sizes","full","source_url"]);return n&&(t.fullUrl=n),t},d=[{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?u(t):r,a=t.imageCrop,i=t.linkTo;return Object(c.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var n=Object(c.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(c.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(c.createElement)("figure",null,t?Object(c.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(c.createElement)(s.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(l.some)(t,function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]}))},migrate:function(e){return Object(o.a)({},e,{ids:Object(l.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?u(t):r,a=t.imageCrop,i=t.linkTo;return Object(c.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(c.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(c.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(c.createElement)("figure",null,t?Object(c.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(c.createElement)(s.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?u(t):r,a=t.align,l=t.imageCrop,s=t.linkTo,b=i()("columns-".concat(o),{alignnone:"none"===a,"is-cropped":l});return Object(c.createElement)("div",{className:b},n.map(function(e){var t;switch(s){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(c.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(c.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(c.createElement)("a",{href:t},n):n)}))}}],m=n(10),h=n(17),p=n(12),g=n(11),f=n(13),v=n(14),O=n(5),j=n(15),y=n(8),k=n(3),_=n(34),C=n(4),w=n(19),E=Object(c.createElement)(k.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(k.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(c.createElement)(k.G,null,Object(c.createElement)(k.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"}))),x=Object(c.createElement)(k.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(k.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),S=Object(c.createElement)(k.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(k.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),T=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(f.a)(this,Object(v.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(O.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(O.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(O.a)(e)),e.bindContainer=e.bindContainer.bind(Object(O.a)(e)),e.state={captionSelected:!1},e}return Object(j.a)(t,e),Object(g.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!==[w.BACKSPACE,w.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,o=t.alt,a=t.id,l=t.linkTo,u=t.link,b=t.isFirstItem,d=t.isLastItem,m=t.isSelected,h=t.caption,p=t.onRemove,g=t.onMoveForward,f=t.onMoveBackward,v=t.setAttributes,O=t["aria-label"];switch(l){case"media":e=n;break;case"attachment":e=u}var j=Object(c.createElement)(c.Fragment,null,Object(c.createElement)("img",{src:n,alt:o,"data-id":a,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":O,ref:this.bindContainer}),Object(_.isBlobURL)(n)&&Object(c.createElement)(k.Spinner,null)),y=i()({"is-selected":m,"is-transient":Object(_.isBlobURL)(n)});return Object(c.createElement)("figure",{className:y},e?Object(c.createElement)("a",{href:e},j):j,Object(c.createElement)("div",{className:"block-library-gallery-item__move-menu"},Object(c.createElement)(k.IconButton,{icon:x,onClick:b?void 0:f,className:"blocks-gallery-item__move-backward",label:Object(r.__)("Move image backward"),"aria-disabled":b,disabled:!m}),Object(c.createElement)(k.IconButton,{icon:S,onClick:d?void 0:g,className:"blocks-gallery-item__move-forward",label:Object(r.__)("Move image forward"),"aria-disabled":d,disabled:!m})),Object(c.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(c.createElement)(k.IconButton,{icon:"no-alt",onClick:p,className:"blocks-gallery-item__remove",label:Object(r.__)("Remove image"),disabled:!m})),Object(c.createElement)(s.RichText,{tagName:"figcaption",placeholder:m?Object(r.__)("Write caption…"):null,value:h,isSelected:this.state.captionSelected,onChange:function(e){return v({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),t}(c.Component),B=Object(C.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(T),N=[{value:"attachment",label:Object(r.__)("Attachment Page")},{value:"media",label:Object(r.__)("Media File")},{value:"none",label:Object(r.__)("None")}],M=["image"],A=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(f.a)(this,Object(v.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(O.a)(e)),e.onSelectImages=e.onSelectImages.bind(Object(O.a)(e)),e.setLinkTo=e.setLinkTo.bind(Object(O.a)(e)),e.setColumnsNumber=e.setColumnsNumber.bind(Object(O.a)(e)),e.toggleImageCrop=e.toggleImageCrop.bind(Object(O.a)(e)),e.onMove=e.onMove.bind(Object(O.a)(e)),e.onMoveForward=e.onMoveForward.bind(Object(O.a)(e)),e.onMoveBackward=e.onMoveBackward.bind(Object(O.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(O.a)(e)),e.onUploadError=e.onUploadError.bind(Object(O.a)(e)),e.setImageAttributes=e.setImageAttributes.bind(Object(O.a)(e)),e.setAttributes=e.setAttributes.bind(Object(O.a)(e)),e.onFocusGalleryCaption=e.onFocusGalleryCaption.bind(Object(O.a)(e)),e.state={selectedImage:null,attachmentCaptions:null},e}return Object(j.a)(t,e),Object(g.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(o.a)({},e,{ids:Object(l.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(h.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(l.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(l.find)(t,{id:e.id}),o=r?r.caption:e.caption;if(!n)return o;var c=Object(l.find)(n,{id:e.id});return c&&c.caption!==e.caption?e.caption:o}},{key:"onSelectImages",value:function(e){var t=this,n=this.props.attributes,r=n.columns,c=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(o.a)({},b(e),{caption:t.selectCaption(e,c,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(r.__)("Thumbnails are cropped to align."):Object(r.__)("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(h.a)(n.slice(0,e)),[Object(o.a)({},n[e],t)],Object(h.a)(n.slice(e+1)))})}},{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.mediaUpload,r=t.images;if(Object(l.every)(r,function(e){var t=e.url;return Object(_.isBlobURL)(t)})){var o=Object(l.map)(r,function(e){var t=e.url;return Object(_.getBlobByURL)(t)});Object(l.forEach)(r,function(e){var t=e.url;return Object(_.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,o=n.attributes,a=n.className,b=n.isSelected,d=n.noticeUI,h=n.setAttributes,p=o.align,g=o.columns,f=void 0===g?u(o):g,v=o.caption,O=o.imageCrop,j=o.images,y=o.linkTo,_=!!j.length,C=_&&Object(l.some)(j,function(e){return e.id}),w=Object(c.createElement)(s.MediaPlaceholder,{addToGallery:C,isAppender:_,className:a,dropZoneUIOnly:_&&!b,icon:!_&&Object(c.createElement)(s.BlockIcon,{icon:E}),labels:{title:!_&&Object(r.__)("Gallery"),instructions:!_&&Object(r.__)("Drag images, upload new ones or select files from your library.")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:M,multiple:!0,value:C?j:void 0,onError:this.onUploadError,notices:_?void 0:d});if(!_)return w;var x=i()("blocks-gallery-caption",{"screen-reader-text":!b&&s.RichText.isEmpty(v)});return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(s.InspectorControls,null,Object(c.createElement)(k.PanelBody,{title:Object(r.__)("Gallery Settings")},j.length>1&&Object(c.createElement)(k.RangeControl,{label:Object(r.__)("Columns"),value:f,onChange:this.setColumnsNumber,min:1,max:Math.min(8,j.length),required:!0}),Object(c.createElement)(k.ToggleControl,{label:Object(r.__)("Crop Images"),checked:!!O,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),Object(c.createElement)(k.SelectControl,{label:Object(r.__)("Link To"),value:y,onChange:this.setLinkTo,options:N}))),d,Object(c.createElement)("figure",{className:i()(a,(e={},Object(m.a)(e,"align".concat(p),p),Object(m.a)(e,"columns-".concat(f),f),Object(m.a)(e,"is-cropped",O),e))},Object(c.createElement)("ul",{className:"blocks-gallery-grid"},j.map(function(e,n){var o=Object(r.sprintf)(Object(r.__)("image %1$d of %2$d in gallery"),n+1,j.length);return Object(c.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(c.createElement)(B,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===n,isLastItem:n+1===j.length,isSelected:b&&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":o}))})),w,Object(c.createElement)(s.RichText,{tagName:"figcaption",className:x,placeholder:Object(r.__)("Write gallery caption…"),value:v,unstableOnFocus:this.onFocusGalleryCaption,onChange:function(e){return h({caption:e})},inlineToolbar:!0})))}}]),t}(c.Component),R=Object(y.compose)([Object(C.withSelect)(function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}}),k.withNotices])(A);var I=n(9),L=function(e){return e?e.split(",").map(function(e){return parseInt(e,10)}):[]},P={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(l.every)(e,["align",t])?t:void 0;var n=Object(l.filter)(e,function(e){return e.url});return Object(I.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 L(t).map(function(e){return{id:e}})}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return L(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(l.every)(e,function(e){return 0===e.type.indexOf("image/")})},transform:function(e){return Object(I.createBlock)("core/gallery",{images:e.map(function(e){return b({url:Object(_.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,c=e.caption;return Object(I.createBlock)("core/image",{id:t,url:r,alt:o,caption:c,align:n})}):Object(I.createBlock)("core/image",{align:n})}}]};n.d(t,"metadata",function(){return z}),n.d(t,"name",function(){return H}),n.d(t,"settings",function(){return V});var z={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"}}},H=z.name,V={title:Object(r.__)("Gallery"),description:Object(r.__)("Display multiple images in a rich gallery."),icon:E,keywords:[Object(r.__)("images"),Object(r.__)("photos")],supports:{align:!0},transforms:P,edit:R,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?u(t):r,a=t.imageCrop,i=t.caption,l=t.linkTo;return Object(c.createElement)("figure",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},Object(c.createElement)("ul",{className:"blocks-gallery-grid"},n.map(function(e){var t;switch(l){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var n=Object(c.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(c.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(c.createElement)("figure",null,t?Object(c.createElement)("a",{href:t},n):n,!s.RichText.isEmpty(e.caption)&&Object(c.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!s.RichText.isEmpty(i)&&Object(c.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:i}))},deprecated:d}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),c=n(0),a=n(16),i=n.n(a),l=n(2),s=n(6),u=[{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,a=r.backgroundColor,u=r.customBackgroundColor,b=r.isStackedOnMobile,d=r.mediaAlt,m=r.mediaPosition,h=r.mediaType,p=r.mediaUrl,g=r.mediaWidth,f={image:function(){return Object(c.createElement)("img",{src:p,alt:d})},video:function(){return Object(c.createElement)("video",{controls:!0,src:p})}},v=Object(s.getColorClassName)("background-color",a),O=i()((t={"has-media-on-the-right":"right"===m},Object(o.a)(t,v,v),Object(o.a)(t,"is-stacked-on-mobile",b),t));50!==g&&(n="right"===m?"auto ".concat(g,"%"):"".concat(g,"% auto"));var j={backgroundColor:v?void 0:u,gridTemplateColumns:n};return Object(c.createElement)("div",{className:O,style:j},Object(c.createElement)("figure",{className:"wp-block-media-text__media"},(f[h]||l.noop)()),Object(c.createElement)("div",{className:"wp-block-media-text__content"},Object(c.createElement)(s.InnerBlocks.Content,null)))}}],b=n(18),d=n(12),m=n(11),h=n(13),p=n(14),g=n(5),f=n(15),v=n(3),O=n(8),j=n(4),y=Object(c.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(v.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(c.createElement)(v.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(c.createElement)(v.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),k=["image","video"];function _(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}var C=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).onUploadError=e.onUploadError.bind(Object(g.a)(e)),e}return Object(f.a)(t,e),Object(m.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(c.createElement)(s.BlockControls,null,Object(c.createElement)(v.Toolbar,null,Object(c.createElement)(s.MediaUpload,{onSelect:n,allowedTypes:k,value:t,render:function(e){var t=e.open;return Object(c.createElement)(v.IconButton,{className:"components-toolbar__control",label:Object(r.__)("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,i=o?_(n,a):{};return Object(c.createElement)(c.Fragment,null,this.renderToolbarEditButton(),Object(c.createElement)("figure",{className:r,style:i},Object(c.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object(c.createElement)(c.Fragment,null,this.renderToolbarEditButton(),Object(c.createElement)("figure",{className:n},Object(c.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className,o=e.noticeUI;return Object(c.createElement)(s.MediaPlaceholder,{icon:Object(c.createElement)(s.BlockIcon,{icon:y}),labels:{title:Object(r.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:k,notices:o,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,i=e.onWidthChange,l=e.toggleSelection;if(r&&n){var s={right:"left"===t,left:"right"===t},u=null;switch(r){case"image":u=this.renderImage();break;case"video":u=this.renderVideo()}return Object(c.createElement)(v.ResizableBox,{className:"editor-media-container__resizer",size:{width:o+"%"},minWidth:"10%",maxWidth:"100%",enable:s,onResizeStart:function(){l(!1)},onResize:function(e,t,n){i(parseInt(n.style.width))},onResizeStop:function(e,t,n){l(!0),a(parseInt(n.style.width))},axis:"x"},u)}return this.renderPlaceholder()}}]),t}(c.Component),w=Object(O.compose)([Object(j.withDispatch)(function(e){return{toggleSelection:e("core/block-editor").toggleSelection}}),v.withNotices])(C),E=[["core/paragraph",{fontSize:"large",placeholder:Object(r._x)("Content…","content placeholder")}]],x=function(e){return Math.max(15,Math.min(e,85))},S=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(g.a)(e)),e.onWidthChange=e.onWidthChange.bind(Object(g.a)(e)),e.commitWidthChange=e.commitWidthChange.bind(Object(g.a)(e)),e.state={mediaWidth:null},e}return Object(f.a)(t,e),Object(m.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(l.get)(e,["sizes","large","url"])||Object(l.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:x(e)})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:x(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,i=e.mediaWidth,l=e.imageFill,s=e.focalPoint;return Object(c.createElement)(w,Object(b.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:i,imageFill:l,focalPoint:s}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,a=t.className,l=t.backgroundColor,u=t.isSelected,b=t.setAttributes,d=t.setBackgroundColor,m=n.isStackedOnMobile,h=n.mediaAlt,p=n.mediaPosition,g=n.mediaType,f=n.mediaWidth,O=n.verticalAlignment,j=n.mediaUrl,y=n.imageFill,k=n.focalPoint,_=this.state.mediaWidth,C=i()(a,(e={"has-media-on-the-right":"right"===p,"is-selected":u},Object(o.a)(e,l.class,l.class),Object(o.a)(e,"is-stacked-on-mobile",m),Object(o.a)(e,"is-vertically-aligned-".concat(O),O),Object(o.a)(e,"is-image-fill",y),e)),w="".concat(_||f,"%"),x={gridTemplateColumns:"right"===p?"auto ".concat(w):"".concat(w," auto"),backgroundColor:l.color},S=[{value:l.color,onChange:d,label:Object(r.__)("Background Color")}],T=[{icon:"align-pull-left",title:Object(r.__)("Show media on left"),isActive:"left"===p,onClick:function(){return b({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(r.__)("Show media on right"),isActive:"right"===p,onClick:function(){return b({mediaPosition:"right"})}}],B=Object(c.createElement)(v.PanelBody,{title:Object(r.__)("Media & Text Settings")},Object(c.createElement)(v.ToggleControl,{label:Object(r.__)("Stack on mobile"),checked:m,onChange:function(){return b({isStackedOnMobile:!m})}}),"image"===g&&Object(c.createElement)(v.ToggleControl,{label:Object(r.__)("Crop image to fill entire column"),checked:y,onChange:function(){return b({imageFill:!y})}}),y&&Object(c.createElement)(v.FocalPointPicker,{label:Object(r.__)("Focal Point Picker"),url:j,value:k,onChange:function(e){return b({focalPoint:e})}}),"image"===g&&Object(c.createElement)(v.TextareaControl,{label:Object(r.__)("Alt Text (Alternative Text)"),value:h,onChange:function(e){b({mediaAlt:e})},help:Object(c.createElement)(c.Fragment,null,Object(c.createElement)(v.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(r.__)("Describe the purpose of the image")),Object(r.__)("Leave empty if the image is purely decorative."))}));return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(s.InspectorControls,null,B,Object(c.createElement)(s.PanelColorSettings,{title:Object(r.__)("Color Settings"),initialOpen:!1,colorSettings:S})),Object(c.createElement)(s.BlockControls,null,Object(c.createElement)(v.Toolbar,{controls:T}),Object(c.createElement)(s.BlockVerticalAlignmentToolbar,{onChange:function(e){b({verticalAlignment:e})},value:O})),Object(c.createElement)("div",{className:C,style:x},this.renderMediaArea(),Object(c.createElement)(s.InnerBlocks,{template:E,templateInsertUpdatesSelection:!1})))}}]),t}(c.Component),T=Object(s.withColors)("backgroundColor")(S),B=Object(c.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(v.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"})),N=50;var M=n(9),A={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object(M.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(M.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(M.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(M.createBlock)("core/video",{id:t,src:n})}}]};n.d(t,"metadata",function(){return R}),n.d(t,"name",function(){return I}),n.d(t,"settings",function(){return L});var R={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"}}},I=R.name,L={title:Object(r.__)("Media & Text"),description:Object(r.__)("Set media and words side-by-side for a richer layout."),icon:B,keywords:[Object(r.__)("image"),Object(r.__)("video")],supports:{align:["wide","full"],html:!1},transforms:A,edit:T,save:function(e){var t,n,r=e.attributes,a=r.backgroundColor,u=r.customBackgroundColor,b=r.isStackedOnMobile,d=r.mediaAlt,m=r.mediaPosition,h=r.mediaType,p=r.mediaUrl,g=r.mediaWidth,f=r.mediaId,v=r.verticalAlignment,O=r.imageFill,j=r.focalPoint,y={image:function(){return Object(c.createElement)("img",{src:p,alt:d,className:f&&"image"===h?"wp-image-".concat(f):null})},video:function(){return Object(c.createElement)("video",{controls:!0,src:p})}},k=Object(s.getColorClassName)("background-color",a),C=i()((t={"has-media-on-the-right":"right"===m},Object(o.a)(t,k,k),Object(o.a)(t,"is-stacked-on-mobile",b),Object(o.a)(t,"is-vertically-aligned-".concat(v),v),Object(o.a)(t,"is-image-fill",O),t)),w=O?_(p,j):{};g!==N&&(n="right"===m?"auto ".concat(g,"%"):"".concat(g,"% auto"));var E={backgroundColor:k?void 0:u,gridTemplateColumns:n};return Object(c.createElement)("div",{className:C,style:E},Object(c.createElement)("figure",{className:"wp-block-media-text__media",style:w},(y[h]||l.noop)()),Object(c.createElement)("div",{className:"wp-block-media-text__content"},Object(c.createElement)(s.InnerBlocks.Content,null)))},deprecated:u}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(18),c=n(10),a=n(0),i=n(16),l=n.n(i),s=n(6),u={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"}},b=[{attributes:u,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,i=n.caption,u=n.align,b=n.href,d=n.width,m=n.height,h=n.id,p=l()((t={},Object(c.a)(t,"align".concat(u),u),Object(c.a)(t,"is-resized",d||m),t)),g=Object(a.createElement)("img",{src:r,alt:o,className:h?"wp-image-".concat(h):null,width:d,height:m});return Object(a.createElement)("figure",{className:p},b?Object(a.createElement)("a",{href:b},g):g,!s.RichText.isEmpty(i)&&Object(a.createElement)(s.RichText.Content,{tagName:"figcaption",value:i}))}},{attributes:u,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,c=t.align,i=t.href,l=t.width,u=t.height,b=t.id,d=Object(a.createElement)("img",{src:n,alt:r,className:b?"wp-image-".concat(b):null,width:l,height:u});return Object(a.createElement)("figure",{className:c?"align".concat(c):null},i?Object(a.createElement)("a",{href:i},d):d,!s.RichText.isEmpty(o)&&Object(a.createElement)(s.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:u,save:function(e){var t=e.attributes,n=t.url,r=t.alt,c=t.caption,i=t.align,l=t.href,u=t.width,b=t.height,d=u||b?{width:u,height:b}:{},m=Object(a.createElement)("img",Object(o.a)({src:n,alt:r},d)),h={};return u?h={width:u}:"left"!==i&&"right"!==i||(h={maxWidth:"50%"}),Object(a.createElement)("figure",{className:i?"align".concat(i):null,style:h},l?Object(a.createElement)("a",{href:l},m):m,!s.RichText.isEmpty(c)&&Object(a.createElement)(s.RichText.Content,{tagName:"figcaption",value:c}))}}],d=n(7),m=n(12),h=n(11),p=n(13),g=n(14),f=n(5),v=n(15),O=n(23),j=n(2),y=n(34),k=n(3),_=n(8),C=n(19),w=n(4),E=n(26),x=n(43),S=n(46),T=n(61),B=Object(a.createElement)(k.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(k.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(a.createElement)(k.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(a.createElement)(k.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"}));var N=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(p.a)(this,Object(g.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(f.a)(e)),e.calculateSize=e.calculateSize.bind(Object(f.a)(e)),e}return Object(v.a)(t,e),Object(h.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,c=(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}),a=c.width,i=c.height;this.setState({width:a,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(a.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(a.Component),M=Object(_.withGlobalEvents)({resize:"calculateSize"})(N),A=["image"],R=function(e,t){return!e&&Object(y.isBlobURL)(t)},I=function(e){e.stopPropagation()},L=function(e){[C.LEFT,C.DOWN,C.RIGHT,C.UP,C.BACKSPACE,C.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},P=function(e){var t=e.advancedOptions,n=e.linkDestination,o=e.mediaLinks,c=e.onChangeUrl,i=e.url,l=Object(a.useState)(!1),u=Object(O.a)(l,2),b=u[0],d=u[1],m=Object(a.useCallback)(function(){d(!0)}),h=Object(a.useState)(!1),p=Object(O.a)(h,2),g=p[0],f=p[1],v=Object(a.useState)(null),y=Object(O.a)(v,2),_=y[0],C=y[1],w=Object(a.useCallback)(function(){"media"!==n&&"attachment"!==n||C(""),f(!0)}),E=Object(a.useCallback)(function(){f(!1)}),x=Object(a.useCallback)(function(){C(null),E(),d(!1)}),S=Object(a.useRef)(null),T=Object(a.useCallback)(function(){return function(e){var t=S.current;t&&t.contains(e.target)||(d(!1),C(null),E())}}),B=Object(a.useCallback)(function(){return function(e){_&&c(_),E(),C(null),e.preventDefault()}}),N=Object(a.useCallback)(function(){x(),c("")}),M=null!==_?_:i,A=(Object(j.find)(o,["linkDestination",n])||{}).title;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(k.IconButton,{icon:"admin-links",className:"components-toolbar__control",label:i?Object(r.__)("Edit link"):Object(r.__)("Insert link"),"aria-expanded":b,onClick:m}),b&&Object(a.createElement)(s.URLPopover,{onClickOutside:T(),onClose:x,renderSettings:function(){return t},additionalControls:!M&&Object(a.createElement)(k.NavigableMenu,null,Object(j.map)(o,function(e){return Object(a.createElement)(k.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){C(null),c(e.url),E()}},e.title)}))},(!i||g)&&Object(a.createElement)(s.URLPopover.LinkEditor,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",value:M,onChangeInputValue:C,onKeyDown:L,onKeyPress:I,onSubmit:B(),autocompleteRef:S}),i&&!g&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.URLPopover.LinkViewer,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",onKeyPress:I,url:i,onEditLinkClick:w,urlLabel:A}),Object(a.createElement)(k.IconButton,{icon:"no",label:Object(r.__)("Remove link"),onClick:N}))))},z=function(e){function t(e){var n,r=e.attributes;return Object(m.a)(this,t),(n=Object(p.a)(this,Object(g.a)(t).apply(this,arguments))).updateAlt=n.updateAlt.bind(Object(f.a)(n)),n.updateAlignment=n.updateAlignment.bind(Object(f.a)(n)),n.onFocusCaption=n.onFocusCaption.bind(Object(f.a)(n)),n.onImageClick=n.onImageClick.bind(Object(f.a)(n)),n.onSelectImage=n.onSelectImage.bind(Object(f.a)(n)),n.onSelectURL=n.onSelectURL.bind(Object(f.a)(n)),n.updateImage=n.updateImage.bind(Object(f.a)(n)),n.updateWidth=n.updateWidth.bind(Object(f.a)(n)),n.updateHeight=n.updateHeight.bind(Object(f.a)(n)),n.updateDimensions=n.updateDimensions.bind(Object(f.a)(n)),n.onSetHref=n.onSetHref.bind(Object(f.a)(n)),n.onSetLinkClass=n.onSetLinkClass.bind(Object(f.a)(n)),n.onSetLinkRel=n.onSetLinkRel.bind(Object(f.a)(n)),n.onSetNewTab=n.onSetNewTab.bind(Object(f.a)(n)),n.getFilename=n.getFilename.bind(Object(f.a)(n)),n.toggleIsEditing=n.toggleIsEditing.bind(Object(f.a)(n)),n.onUploadError=n.onUploadError.bind(Object(f.a)(n)),n.onImageError=n.onImageError.bind(Object(f.a)(n)),n.getLinkDestinations=n.getLinkDestinations.bind(Object(f.a)(n)),n.state={captionFocused:!1,isEditing:!r.url},n}return Object(v.a)(t,e),Object(h.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,c=n.id,a=n.url,i=void 0===a?"":a;if(R(c,i)){var l=Object(y.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(t){var n=Object(O.a)(t,1)[0];e.onSelectImage(n)},allowedTypes:A,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,c=this.props.attributes,a=c.id,i=c.url,l=void 0===i?"":i;R(n,o)&&!R(a,l)&&Object(y.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,c=o.id,a=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);R(c,a)&&(i&&(s=Object(j.omit)(s,["alt"])),l&&(s=Object(j.omit)(s,["caption"]))),r=e.id&&e.id===c?{url:a}:{width:void 0,height:void 0,sizeSlug:"large"},this.props.setAttributes(Object(d.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=Object(T.a)({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(d.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(E.getPath)(e);if(t)return Object(j.last)(t.split("/"))}},{key:"getLinkDestinations",value:function(){return[{linkDestination:"media",title:Object(r.__)("Media File"),url:this.props.image&&this.props.image.source_url||this.props.attributes.url,icon:B},{linkDestination:"attachment",title:Object(r.__)("Attachment Page"),url:this.props.image&&this.props.image.link,icon:Object(a.createElement)(k.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(k.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(a.createElement)(k.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(S.speak)(Object(r.__)("You are now viewing the image in the image block.")):Object(S.speak)(Object(r.__)("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,o=n.attributes,i=n.setAttributes,u=n.isLargeViewport,b=n.isSelected,d=n.className,m=n.maxWidth,h=n.noticeUI,p=n.isRTL,g=n.onResizeStart,f=n.onResizeStop,v=o.url,O=o.alt,_=o.caption,C=o.align,w=o.id,E=o.href,x=o.rel,S=o.linkClass,T=o.linkDestination,N=o.width,R=o.height,z=o.linkTarget,H=o.sizeSlug,V=function(e,t){return t&&!e&&!Object(y.isBlobURL)(t)}(w,v),D=Object(a.createElement)(k.SVG,{width:20,height:20,viewBox:"0 0 20 20"},Object(a.createElement)(k.Rect,{x:11,y:3,width:7,height:5,rx:1}),Object(a.createElement)(k.Rect,{x:2,y:12,width:7,height:5,rx:1}),Object(a.createElement)(k.Path,{d:"M13,12h1a3,3,0,0,1-3,3v2a5,5,0,0,0,5-5h1L15,9Z"}),Object(a.createElement)(k.Path,{d:"M4,8H3l2,3L7,8H6A3,3,0,0,1,9,5V3A5,5,0,0,0,4,8Z"})),F=Object(a.createElement)(s.BlockControls,null,Object(a.createElement)(s.BlockAlignmentToolbar,{value:C,onChange:this.updateAlignment}),v&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(k.Toolbar,null,Object(a.createElement)(k.IconButton,{className:l()("components-icon-button components-toolbar__control",{"is-active":this.state.isEditing}),label:Object(r.__)("Edit image"),"aria-pressed":this.state.isEditing,onClick:this.toggleIsEditing,icon:D})),Object(a.createElement)(k.Toolbar,null,Object(a.createElement)(P,{url:E||"",onChangeUrl:this.onSetHref,mediaLinks:this.getLinkDestinations(),linkDestination:T,advancedOptions:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(k.ToggleControl,{label:Object(r.__)("Open in New Tab"),onChange:this.onSetNewTab,checked:"_blank"===z}),Object(a.createElement)(k.TextControl,{label:Object(r.__)("Link CSS Class"),value:S||"",onKeyPress:I,onKeyDown:L,onChange:this.onSetLinkClass}),Object(a.createElement)(k.TextControl,{label:Object(r.__)("Link Rel"),value:x||"",onChange:this.onSetLinkRel,onKeyPress:I,onKeyDown:L}))})))),U=V?v:void 0,q={title:v?Object(r.__)("Edit image"):Object(r.__)("Image"),instructions:Object(r.__)("Upload an image file, pick one from your media library, or add one with a URL.")},W=!!v&&Object(a.createElement)("img",{alt:Object(r.__)("Edit image"),title:Object(r.__)("Edit image"),className:"edit-image-preview",src:v}),G=Object(a.createElement)(s.MediaPlaceholder,{icon:Object(a.createElement)(s.BlockIcon,{icon:B}),className:d,labels:q,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,onDoubleClick:this.toggleIsEditing,onCancel:!!v&&this.toggleIsEditing,notices:h,onError:this.onUploadError,accept:"image/*",allowedTypes:A,value:{id:w,src:U},mediaPreview:W,dropZoneUIOnly:!t&&v});if(t||!v)return Object(a.createElement)(a.Fragment,null,F,G);var Z=l()(d,Object(c.a)({"is-transient":Object(y.isBlobURL)(v),"is-resized":!!N||!!R,"is-focused":b},"size-".concat(H),H)),K=-1===["wide","full"].indexOf(C)&&u,$=this.getImageSizeOptions(),Y=function(t,n){return Object(a.createElement)(s.InspectorControls,null,Object(a.createElement)(k.PanelBody,{title:Object(r.__)("Image Settings")},Object(a.createElement)(k.TextareaControl,{label:Object(r.__)("Alt Text (Alternative Text)"),value:O,onChange:e.updateAlt,help:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(k.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(r.__)("Describe the purpose of the image")),Object(r.__)("Leave empty if the image is purely decorative."))}),!Object(j.isEmpty)($)&&Object(a.createElement)(k.SelectControl,{label:Object(r.__)("Image Size"),value:H,options:$,onChange:e.updateImage}),K&&Object(a.createElement)("div",{className:"block-library-image__dimensions"},Object(a.createElement)("p",{className:"block-library-image__dimensions__row"},Object(r.__)("Image Dimensions")),Object(a.createElement)("div",{className:"block-library-image__dimensions__row"},Object(a.createElement)(k.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(r.__)("Width"),value:N||t||"",min:1,onChange:e.updateWidth}),Object(a.createElement)(k.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(r.__)("Height"),value:R||n||"",min:1,onChange:e.updateHeight})),Object(a.createElement)("div",{className:"block-library-image__dimensions__row"},Object(a.createElement)(k.ButtonGroup,{"aria-label":Object(r.__)("Image Size")},[25,50,75,100].map(function(r){var o=Math.round(t*(r/100)),c=Math.round(n*(r/100)),i=N===o&&R===c;return Object(a.createElement)(k.Button,{key:r,isSmall:!0,isPrimary:i,"aria-pressed":i,onClick:e.updateDimensions(o,c)},r,"%")})),Object(a.createElement)(k.Button,{isSmall:!0,onClick:e.updateDimensions()},Object(r.__)("Reset"))))))};return Object(a.createElement)(a.Fragment,null,F,Object(a.createElement)("figure",{className:Z},Object(a.createElement)(M,{src:v,dirtynessTrigger:C},function(t){var n,o=t.imageWidthWithinContainer,c=t.imageHeightWithinContainer,l=t.imageWidth,s=t.imageHeight,u=e.getFilename(v);n=O||(u?Object(r.sprintf)(Object(r.__)("This image has an empty alt attribute; its file name is %s"),u):Object(r.__)("This image has an empty alt attribute"));var b=Object(a.createElement)(a.Fragment,null,Object(a.createElement)("img",{src:v,alt:n,onDoubleClick:e.toggleIsEditing,onClick:e.onImageClick,onError:function(){return e.onImageError(v)}}),Object(y.isBlobURL)(v)&&Object(a.createElement)(k.Spinner,null));if(!K||!o)return Object(a.createElement)(a.Fragment,null,Y(l,s),Object(a.createElement)("div",{style:{width:N,height:R}},b));var d=N||o,h=R||c,j=l/s,_=l 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"}}},W=q.name,G={title:Object(r.__)("Image"),description:Object(r.__)("Insert an image to make a visual statement."),icon:B,keywords:["img",Object(r.__)("photo")],styles:[{name:"default",label:Object(r._x)("Default","block style"),isDefault:!0},{name:"circle-mask",label:Object(r._x)("Circle Mask","block style")}],transforms:U,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:H,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,i=n.caption,u=n.align,b=n.href,d=n.rel,m=n.linkClass,h=n.width,p=n.height,g=n.id,f=n.linkTarget,v=n.sizeSlug,O=l()((t={},Object(c.a)(t,"align".concat(u),u),Object(c.a)(t,"size-".concat(v),v),Object(c.a)(t,"is-resized",h||p),t)),j=Object(a.createElement)("img",{src:r,alt:o,className:g?"wp-image-".concat(g):null,width:h,height:p}),y=Object(a.createElement)(a.Fragment,null,b?Object(a.createElement)("a",{className:m,href:b,target:f,rel:d},j):j,!s.RichText.isEmpty(i)&&Object(a.createElement)(s.RichText.Content,{tagName:"figcaption",value:i}));return"left"===u||"right"===u||"center"===u?Object(a.createElement)("div",null,Object(a.createElement)("figure",{className:O},y)):Object(a.createElement)("figure",{className:O},y)},deprecated:b}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),c=n(7),a=n(0),i=n(2),l=n(16),s=n.n(l),u=n(9),b=n(6),d="image",m="video",h=50;function p(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}function g(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}var f={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"}},v=[{attributes:Object(c.a)({},f,{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,c=t.customOverlayColor,i=t.dimRatio,l=t.focalPoint,u=t.hasParallax,h=t.overlayColor,f=t.title,v=t.url,O=Object(b.getColorClassName)("background-color",h),j=n===d?p(v):{};O||(j.backgroundColor=c),l&&!u&&(j.backgroundPosition="".concat(100*l.x,"% ").concat(100*l.y,"%"));var y=s()(g(i),O,Object(o.a)({"has-background-dim":0!==i,"has-parallax":u},"has-".concat(r,"-content"),"center"!==r));return Object(a.createElement)("div",{className:y,style:j},m===n&&v&&Object(a.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:v}),!b.RichText.isEmpty(f)&&Object(a.createElement)(b.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:f}))},migrate:function(e){return[Object(i.omit)(e,["title","contentAlign"]),[Object(u.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(r.__)("Write title…")})]]}},{attributes:Object(c.a)({},f,{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,c=t.hasParallax,i=t.dimRatio,l=t.align,u=t.contentAlign,d=t.overlayColor,m=t.customOverlayColor,h=Object(b.getColorClassName)("background-color",d),f=p(n);h||(f.backgroundColor=m);var v=s()("wp-block-cover-image",g(i),h,Object(o.a)({"has-background-dim":0!==i,"has-parallax":c},"has-".concat(u,"-content"),"center"!==u),l?"align".concat(l):null);return Object(a.createElement)("div",{className:v,style:f},!b.RichText.isEmpty(r)&&Object(a.createElement)(b.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:r}))},migrate:function(e){return[Object(i.omit)(e,["title","contentAlign","align"]),[Object(u.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(r.__)("Write title…")})]]}},{attributes:Object(c.a)({},f,{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,c=t.dimRatio,i=t.align,l=p(n),u=s()("wp-block-cover-image",g(c),{"has-background-dim":0!==c,"has-parallax":o},i?"align".concat(i):null);return Object(a.createElement)("section",{className:u,style:l},Object(a.createElement)(b.RichText.Content,{tagName:"h2",value:r}))},migrate:function(e){return[Object(i.omit)(e,["title","contentAlign","align"]),[Object(u.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(r.__)("Write title…")})]]}}],O=n(12),j=n(11),y=n(13),k=n(14),_=n(5),C=n(15),w=n(23),E=n(229),x=n.n(E),S=n(49),T=n.n(S),B=n(3),N=n(8),M=n(4),A=Object(a.createElement)(B.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(B.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(a.createElement)(B.Path,{d:"M0 0h24v24H0z",fill:"none"})),R=["image","video"],I=[["core/paragraph",{align:"center",fontSize:"large",placeholder:Object(r.__)("Write title…")}]];function L(){return L.fastAverageColor||(L.fastAverageColor=new x.a),L.fastAverageColor}var P=Object(N.withInstanceId)(function(e){var t=e.value,n=void 0===t?"":t,o=e.instanceId,c=e.onChange,i=Object(a.useState)(null),l=Object(w.a)(i,2),s=l[0],u=l[1],b=Object(a.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(T()(o.color).isDark()):void this.changeIsDarkIfRequired(!0)}if(!(e&&e.attributes.dimRatio<=50&&e.attributes.url===a)){var i;switch(r.backgroundType){case d:i=this.imageRef.current;break;case m:i=this.videoRef.current}i&&L().getColorAsync(i,function(e){t.changeIsDarkIfRequired(e.isDark)})}}},{key:"changeIsDarkIfRequired",value:function(e){this.state.isDark!==e&&this.setState({isDark:e})}}]),t}(a.Component),D=Object(N.compose)([Object(M.withDispatch)(function(e){return{toggleSelection:e("core/block-editor").toggleSelection}}),Object(b.withColors)({overlayColor:"background-color"}),B.withNotices,N.withInstanceId])(V);var F={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object(u.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(u.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:m})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType;return!e.url||t===d},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(u.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===m},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(u.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]};n.d(t,"metadata",function(){return U}),n.d(t,"name",function(){return q}),n.d(t,"settings",function(){return W});var U={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"}}},q=U.name,W={title:Object(r.__)("Cover"),description:Object(r.__)("Add an image or video with a text overlay — great for headers."),icon:A,supports:{align:!0},transforms:F,save:function(e){var t=e.attributes,n=t.backgroundType,r=t.customOverlayColor,o=t.dimRatio,c=t.focalPoint,i=t.hasParallax,l=t.overlayColor,u=t.url,h=t.minHeight,f=Object(b.getColorClassName)("background-color",l),v=n===d?p(u):{};f||(v.backgroundColor=r),c&&!i&&(v.backgroundPosition="".concat(100*c.x,"% ").concat(100*c.y,"%")),v.minHeight=h||void 0;var O=s()(g(o),f,{"has-background-dim":0!==o,"has-parallax":i});return Object(a.createElement)("div",{className:O,style:v},m===n&&u&&Object(a.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(a.createElement)("div",{className:"wp-block-cover__inner-container"},Object(a.createElement)(b.InnerBlocks.Content,null)))},edit:D,deprecated:v}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),c=n(16),a=n.n(c),i=n(6),l=[{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,c=t.body,l=t.foot,s=t.backgroundColor;if(!r.length&&!c.length&&!l.length)return null;var u=Object(i.getColorClassName)("background-color",s),b=a()(u,{"has-fixed-layout":n,"has-background":!!u}),d=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object(o.createElement)(r,null,n.map(function(e,t){var n=e.cells;return Object(o.createElement)("tr",{key:t},n.map(function(e,t){var n=e.content,r=e.tag,c=e.scope;return Object(o.createElement)(i.RichText.Content,{tagName:r,value:n,key:t,scope:"th"===r?c:void 0})}))}))};return Object(o.createElement)("table",{className:b},Object(o.createElement)(d,{type:"head",rows:r}),Object(o.createElement)(d,{type:"body",rows:c}),Object(o.createElement)(d,{type:"foot",rows:l}))}}],s=n(10),u=n(7),b=n(12),d=n(11),m=n(13),h=n(14),p=n(5),g=n(15),f=n(3),v=n(17),O=n(2),j=["align"];function y(e,t,n){if(!t)return e;var r=Object(O.pick)(e,["head","body","foot"]),o=t.sectionName,c=t.rowIndex;return Object(O.mapValues)(r,function(e,r){return o&&o!==r?e:e.map(function(e,o){return c&&c!==o?e:{cells:e.cells.map(function(e,c){return k({sectionName:r,columnIndex:c,rowIndex:o},t)?n(e):e})}})})}function k(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 _(e,t){var n=t.sectionName,r=t.rowIndex,o=t.columnCount,c=function(e){return w(e.head)?w(e.body)?w(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),a=void 0===o?Object(O.get)(c,["cells","length"]):o;return a?Object(s.a)({},n,[].concat(Object(v.a)(e[n].slice(0,r)),[{cells:Object(O.times)(a,function(e){var t=Object(O.get)(c,["cells",e],{}),r=Object(O.pick)(t,j);return Object(u.a)({},r,{content:"",tag:"head"===n?"th":"td"})})}],Object(v.a)(e[n].slice(r)))):e}function C(e,t){return w(e[t])?_(e,{sectionName:t,rowIndex:0,columnCount:Object(O.get)(e,["body",0,"cells","length"],1)}):Object(s.a)({},t,[])}function w(e){return!e||!e.length||Object(O.every)(e,E)}function E(e){return!(e.cells&&e.cells.length)}var x=Object(o.createElement)(f.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(f.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(o.createElement)(f.G,null,Object(o.createElement)(f.Path,{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}))),S=[{color:"#f3f4f5",name:"Subtle light gray",slug:"subtle-light-gray"},{color:"#e9fbe5",name:"Subtle pale green",slug:"subtle-pale-green"},{color:"#e7f5fe",name:"Subtle pale blue",slug:"subtle-pale-blue"},{color:"#fcf0ef",name:"Subtle pale pink",slug:"subtle-pale-pink"}],T=[{icon:"editor-alignleft",title:Object(r.__)("Align Column Left"),align:"left"},{icon:"editor-aligncenter",title:Object(r.__)("Align Column Center"),align:"center"},{icon:"editor-alignright",title:Object(r.__)("Align Column Right"),align:"right"}],B=Object(i.createCustomColorsHOC)(S),N=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(h.a)(t).apply(this,arguments))).onCreateTable=e.onCreateTable.bind(Object(p.a)(e)),e.onChangeFixedLayout=e.onChangeFixedLayout.bind(Object(p.a)(e)),e.onChange=e.onChange.bind(Object(p.a)(e)),e.onChangeInitialColumnCount=e.onChangeInitialColumnCount.bind(Object(p.a)(e)),e.onChangeInitialRowCount=e.onChangeInitialRowCount.bind(Object(p.a)(e)),e.renderSection=e.renderSection.bind(Object(p.a)(e)),e.getTableControls=e.getTableControls.bind(Object(p.a)(e)),e.onInsertRow=e.onInsertRow.bind(Object(p.a)(e)),e.onInsertRowBefore=e.onInsertRowBefore.bind(Object(p.a)(e)),e.onInsertRowAfter=e.onInsertRowAfter.bind(Object(p.a)(e)),e.onDeleteRow=e.onDeleteRow.bind(Object(p.a)(e)),e.onInsertColumn=e.onInsertColumn.bind(Object(p.a)(e)),e.onInsertColumnBefore=e.onInsertColumnBefore.bind(Object(p.a)(e)),e.onInsertColumnAfter=e.onInsertColumnAfter.bind(Object(p.a)(e)),e.onDeleteColumn=e.onDeleteColumn.bind(Object(p.a)(e)),e.onToggleHeaderSection=e.onToggleHeaderSection.bind(Object(p.a)(e)),e.onToggleFooterSection=e.onToggleFooterSection.bind(Object(p.a)(e)),e.onChangeColumnAlignment=e.onChangeColumnAlignment.bind(Object(p.a)(e)),e.getCellAlignment=e.getCellAlignment.bind(Object(p.a)(e)),e.state={initialRowCount:2,initialColumnCount:2,selectedCell:null},e}return Object(g.a)(t,e),Object(d.a)(t,[{key:"onChangeInitialColumnCount",value:function(e){this.setState({initialColumnCount:e})}},{key:"onChangeInitialRowCount",value:function(e){this.setState({initialRowCount:e})}},{key:"onCreateTable",value:function(e){e.preventDefault();var t,n,r,o=this.props.setAttributes,c=this.state,a=c.initialRowCount,i=c.initialColumnCount;a=parseInt(a,10)||2,i=parseInt(i,10)||2,o((n=(t={rowCount:a,columnCount:i}).rowCount,r=t.columnCount,{body:Object(O.times)(n,function(){return{cells:Object(O.times)(r,function(){return{content:"",tag:"td"}})}})}))}},{key:"onChangeFixedLayout",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({hasFixedLayout:!t.hasFixedLayout})}},{key:"onChange",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes;(0,n.setAttributes)(y(r,t,function(t){return Object(u.a)({},t,{content:e})}))}}},{key:"onChangeColumnAlignment",value:function(e){var t=this.state.selectedCell;if(t){var n={type:"column",columnIndex:t.columnIndex},r=this.props,o=r.attributes;(0,r.setAttributes)(y(o,n,function(t){return Object(u.a)({},t,{align:e})}))}}},{key:"getCellAlignment",value:function(){var e=this.state.selectedCell;if(e){var t,n,r,o,c,a,i=this.props.attributes;return t=i,r="align",o=(n=e).sectionName,c=n.rowIndex,a=n.columnIndex,Object(O.get)(t,[o,c,"cells",a,r])}}},{key:"onToggleHeaderSection",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)(C(t,"head"))}},{key:"onToggleFooterSection",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)(C(t,"foot"))}},{key:"onInsertRow",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,c=t.sectionName,a=t.rowIndex;this.setState({selectedCell:null}),o(_(r,{sectionName:c,rowIndex:a+e}))}}},{key:"onInsertRowBefore",value:function(){this.onInsertRow(0)}},{key:"onInsertRowAfter",value:function(){this.onInsertRow(1)}},{key:"onDeleteRow",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.sectionName,c=e.rowIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.sectionName,r=t.rowIndex;return Object(s.a)({},n,e[n].filter(function(e,t){return t!==r}))}(n,{sectionName:o,rowIndex:c}))}}},{key:"onInsertColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,c=t.columnIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.columnIndex,r=Object(O.pick)(e,["head","body","foot"]);return Object(O.mapValues)(r,function(e,t){return w(e)?e:e.map(function(e){return E(e)||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:c}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:Object(u.a)({},e,{type:"cell"})})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(r.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(r.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(r.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(r.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(r.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(r.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.name,r=e.rows;if(w(r))return null;var c="t".concat(n),l=this.state.selectedCell;return Object(o.createElement)(c,null,r.map(function(e,r){var c=e.cells;return Object(o.createElement)("tr",{key:r},c.map(function(e,c){var u=e.content,b=e.tag,d=e.scope,m=e.align,h={sectionName:n,rowIndex:r,columnIndex:c},p=k(h,l),g=a()(Object(s.a)({"is-selected":p},"has-text-align-".concat(m),m));return Object(o.createElement)(b,{key:c,className:g,scope:"th"===b?d:void 0,onClick:function(e){var t=e&&e.target&&e.target.querySelector(".".concat("wp-block-table__cell-content"));t&&t.focus()}},Object(o.createElement)(i.RichText,{className:"wp-block-table__cell-content",value:u,onChange:t.onChange,unstableOnFocus:t.createOnFocus(h)}))}))}))}},{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,c=t.className,l=t.backgroundColor,s=t.setBackgroundColor,u=this.state,b=u.initialRowCount,d=u.initialColumnCount,m=n.hasFixedLayout,h=n.head,p=n.body,g=n.foot,v=w(h)&&w(p)&&w(g),O=this.renderSection;if(v)return Object(o.createElement)(f.Placeholder,{label:Object(r.__)("Table"),icon:Object(o.createElement)(i.BlockIcon,{icon:x,showColors:!0}),instructions:Object(r.__)("Insert a table for sharing data."),isColumnLayout:!0},Object(o.createElement)("form",{className:"wp-block-table__placeholder-form",onSubmit:this.onCreateTable},Object(o.createElement)(f.TextControl,{type:"number",label:Object(r.__)("Column Count"),value:d,onChange:this.onChangeInitialColumnCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(o.createElement)(f.TextControl,{type:"number",label:Object(r.__)("Row Count"),value:b,onChange:this.onChangeInitialRowCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(o.createElement)(f.Button,{className:"wp-block-table__placeholder-button",isDefault:!0,type:"submit"},Object(r.__)("Create Table"))));var j=a()(l.class,{"has-fixed-layout":m,"has-background":!!l.color});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(i.BlockControls,null,Object(o.createElement)(f.Toolbar,null,Object(o.createElement)(f.DropdownMenu,{hasArrowIndicator:!0,icon:"editor-table",label:Object(r.__)("Edit table"),controls:this.getTableControls()})),Object(o.createElement)(i.AlignmentToolbar,{label:Object(r.__)("Change column alignment"),alignmentControls:T,value:this.getCellAlignment(),onChange:function(t){return e.onChangeColumnAlignment(t)},onHover:this.onHoverAlignment})),Object(o.createElement)(i.InspectorControls,null,Object(o.createElement)(f.PanelBody,{title:Object(r.__)("Table Settings"),className:"blocks-table-settings"},Object(o.createElement)(f.ToggleControl,{label:Object(r.__)("Fixed width table cells"),checked:!!m,onChange:this.onChangeFixedLayout}),Object(o.createElement)(f.ToggleControl,{label:Object(r.__)("Header section"),checked:!(!h||!h.length),onChange:this.onToggleHeaderSection}),Object(o.createElement)(f.ToggleControl,{label:Object(r.__)("Footer section"),checked:!(!g||!g.length),onChange:this.onToggleFooterSection})),Object(o.createElement)(i.PanelColorSettings,{title:Object(r.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:l.color,onChange:s,label:Object(r.__)("Background Color"),disableCustomColors:!0,colors:S}]})),Object(o.createElement)("figure",{className:c},Object(o.createElement)("table",{className:j},Object(o.createElement)(O,{name:"head",rows:h}),Object(o.createElement)(O,{name:"body",rows:p}),Object(o.createElement)(O,{name:"foot",rows:g}))))}}]),t}(o.Component),M=B("backgroundColor")(N);var A=n(9),R={tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:Object(A.getPhrasingContentSchema)(),attributes:["scope"]},td:{allowEmpty:!0,children:Object(A.getPhrasingContentSchema)()}}}},I={from:[{type:"raw",selector:"table",schema:{table:{children:{thead:{allowEmpty:!0,children:R},tfoot:{allowEmpty:!0,children:R},tbody:{allowEmpty:!0,children:R}}}}}]};n.d(t,"metadata",function(){return L}),n.d(t,"name",function(){return P}),n.d(t,"settings",function(){return z});var L={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"}}}}}}},P=L.name,z={title:Object(r.__)("Table"),description:Object(r.__)("Insert a table — perfect for sharing charts and data."),icon:x,styles:[{name:"regular",label:Object(r._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(r.__)("Stripes")}],supports:{align:!0},transforms:I,edit:M,save:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,c=t.body,l=t.foot,u=t.backgroundColor;if(!r.length&&!c.length&&!l.length)return null;var b=Object(i.getColorClassName)("background-color",u),d=a()(b,{"has-fixed-layout":n,"has-background":!!b}),m=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object(o.createElement)(r,null,n.map(function(e,t){var n=e.cells;return Object(o.createElement)("tr",{key:t},n.map(function(e,t){var n=e.content,r=e.tag,c=e.scope,l=e.align,u=a()(Object(s.a)({},"has-text-align-".concat(l),l));return Object(o.createElement)(i.RichText.Content,{className:u||void 0,"data-align":l,tagName:r,value:n,key:t,scope:"th"===r?c:void 0})}))}))};return Object(o.createElement)("figure",null,Object(o.createElement)("table",{className:d},Object(o.createElement)(m,{type:"head",rows:r}),Object(o.createElement)(m,{type:"body",rows:c}),Object(o.createElement)(m,{type:"foot",rows:l})))},deprecated:l}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(18),c=n(23),a=n(12),i=n(11),l=n(13),s=n(14),u=n(5),b=n(15),d=n(0),m=n(16),h=n.n(m),p=n(34),g=n(3),f=n(8),v=n(4),O=n(6),j=Object(d.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(g.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(g.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 y(e){var t=e.hrefs,n=e.openInNewWindow,o=e.showDownloadButton,c=e.changeLinkDestinationOption,a=e.changeOpenInNewWindow,i=e.changeShowDownloadButton,l=t.href,s=t.textLinkHref,u=t.attachmentPage,b=[{value:l,label:Object(r.__)("URL")}];return u&&(b=[{value:l,label:Object(r.__)("Media File")},{value:u,label:Object(r.__)("Attachment page")}]),Object(d.createElement)(d.Fragment,null,Object(d.createElement)(O.InspectorControls,null,Object(d.createElement)(g.PanelBody,{title:Object(r.__)("Text link settings")},Object(d.createElement)(g.SelectControl,{label:Object(r.__)("Link To"),value:s,options:b,onChange:c}),Object(d.createElement)(g.ToggleControl,{label:Object(r.__)("Open in new tab"),checked:n,onChange:a})),Object(d.createElement)(g.PanelBody,{title:Object(r.__)("Download button settings")},Object(d.createElement)(g.ToggleControl,{label:Object(r.__)("Show download button"),checked:o,onChange:i}))))}var k=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(u.a)(e)),e.confirmCopyURL=e.confirmCopyURL.bind(Object(u.a)(e)),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(u.a)(e)),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(u.a)(e)),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(u.a)(e)),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(u.a)(e)),e.onUploadError=e.onUploadError.bind(Object(u.a)(e)),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(b.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,o=t.mediaUpload,a=t.noticeOperations,i=t.setAttributes,l=n.downloadButtonText,s=n.href;Object(p.isBlobURL)(s)&&(o({filesList:[Object(p.getBlobByURL)(s)],onFileChange:function(t){var n=Object(c.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),a.createErrorNotice(t)}}),Object(p.revokeBlobURL)(s));void 0===l&&i({downloadButtonText:Object(r._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,c=t.isSelected,a=t.attributes,i=t.setAttributes,l=t.noticeUI,s=t.media,u=a.fileName,b=a.href,m=a.textLinkHref,f=a.textLinkTarget,v=a.showDownloadButton,k=a.downloadButtonText,_=a.id,C=this.state,w=C.hasError,E=C.showCopyConfirmation,x=s&&s.link;if(!b||w)return Object(d.createElement)(O.MediaPlaceholder,{icon:Object(d.createElement)(O.BlockIcon,{icon:j}),labels:{title:Object(r.__)("File"),instructions:Object(r.__)("Upload a file or pick one from your media library.")},onSelect:this.onSelectFile,notices:l,onError:this.onUploadError,accept:"*"});var S=h()(n,{"is-transient":Object(p.isBlobURL)(b)});return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(y,Object(o.a)({hrefs:{href:b,textLinkHref:m,attachmentPage:x}},{openInNewWindow:!!f,showDownloadButton:v,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(d.createElement)(O.BlockControls,null,Object(d.createElement)(O.MediaUploadCheck,null,Object(d.createElement)(g.Toolbar,null,Object(d.createElement)(O.MediaUpload,{onSelect:this.onSelectFile,value:_,render:function(e){var t=e.open;return Object(d.createElement)(g.IconButton,{className:"components-toolbar__control",label:Object(r.__)("Edit file"),onClick:t,icon:"edit"})}})))),Object(d.createElement)(g.Animate,{type:Object(p.isBlobURL)(b)?"loading":null},function(t){var n=t.className;return Object(d.createElement)("div",{className:h()(S,n)},Object(d.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(d.createElement)(O.RichText,{wrapperClassName:"wp-block-file__textlink",tagName:"div",value:u,placeholder:Object(r.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:function(e){return i({fileName:e})}}),v&&Object(d.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(d.createElement)(O.RichText,{tagName:"div",className:"wp-block-file__button",value:k,withoutInteractiveFormatting:!0,placeholder:Object(r.__)("Add text…"),onChange:function(e){return i({downloadButtonText:e})}}))),c&&Object(d.createElement)(g.ClipboardButton,{isDefault:!0,text:b,className:"wp-block-file__copy-url-button",onCopy:e.confirmCopyURL,onFinishCopy:e.resetCopyConfirmation,disabled:Object(p.isBlobURL)(b)},E?Object(r.__)("Copied!"):Object(r.__)("Copy URL")))}))}}]),t}(d.Component),_=Object(f.compose)([Object(v.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}}),g.withNotices])(k);var C=n(2),w=n(9),E={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(p.createBlobURL)(e);t.push(Object(w.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(w.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(w.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(w.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(v.select)("core").getMedia)(t);return!!n&&Object(C.includes)(n.mime_type,"audio")},transform:function(e){return Object(w.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(v.select)("core").getMedia)(t);return!!n&&Object(C.includes)(n.mime_type,"video")},transform:function(e){return Object(w.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(v.select)("core").getMedia)(t);return!!n&&Object(C.includes)(n.mime_type,"image")},transform:function(e){return Object(w.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]};n.d(t,"metadata",function(){return x}),n.d(t,"name",function(){return S}),n.d(t,"settings",function(){return T});var x={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]"}}},S=x.name,T={title:Object(r.__)("File"),description:Object(r.__)("Add a link to a downloadable file."),icon:j,keywords:[Object(r.__)("document"),Object(r.__)("pdf")],supports:{align:!0},transforms:E,edit:_,save:function(e){var t=e.attributes,n=t.href,r=t.fileName,o=t.textLinkHref,c=t.textLinkTarget,a=t.showDownloadButton,i=t.downloadButtonText;return n&&Object(d.createElement)("div",null,!O.RichText.isEmpty(r)&&Object(d.createElement)("a",{href:o,target:c,rel:!!c&&"noreferrer noopener"},Object(d.createElement)(O.RichText.Content,{value:r})),a&&Object(d.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(d.createElement)(O.RichText.Content,{value:i})))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),c=n(6),a=[{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(o.createElement)(c.RichText.Content,{tagName:"pre",style:{textAlign:n},value:r})}}],i=n(10),l=n(16),s=n.n(l);var u=n(3),b=Object(o.createElement)(u.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(u.Path,{d:"M21 11.01L3 11V13H21V11.01ZM3 16H17V18H3V16ZM15 6H3V8.01L15 8V6Z"}));var d=n(9),m={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(d.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(d.createBlock)("core/paragraph",e)}}]};n.d(t,"metadata",function(){return h}),n.d(t,"name",function(){return p}),n.d(t,"settings",function(){return g});var h={name:"core/verse",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}}},p=h.name,g={title:Object(r.__)("Verse"),description:Object(r.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:b,keywords:[Object(r.__)("poetry")],transforms:m,deprecated:a,merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.mergeBlocks,u=t.textAlign,b=t.content;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.BlockControls,null,Object(o.createElement)(c.AlignmentToolbar,{value:u,onChange:function(e){n({textAlign:e})}})),Object(o.createElement)(c.RichText,{tagName:"pre",value:b,onChange:function(e){n({content:e})},placeholder:Object(r.__)("Write…"),wrapperClassName:a,className:s()(Object(i.a)({},"has-text-align-".concat(u),u)),onMerge:l}))},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content,a=s()(Object(i.a)({},"has-text-align-".concat(n),n));return Object(o.createElement)(c.RichText.Content,{tagName:"pre",className:a,value:r})}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(12),c=n(11),a=n(13),i=n(14),l=n(5),s=n(15),u=n(0),b=n(3),d=n(4),m=n(6),h=n(55),p=n.n(h),g=n(32),f=n.n(g),v=n(8),O=n(2),j=n(41),y=n.n(j),k=function(e){function t(){var e;return Object(o.a)(this,t),(e=Object(a.a)(this,Object(i.a)(t).apply(this,arguments))).containerRef=Object(u.createRef)(),e.formRef=Object(u.createRef)(),e.widgetContentRef=Object(u.createRef)(),e.triggerWidgetEvent=e.triggerWidgetEvent.bind(Object(l.a)(e)),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){this.triggerWidgetEvent("widget-added"),this.previousFormData=new window.FormData(this.formRef.current)}},{key:"shouldComponentUpdate",value:function(e){e.form!==this.props.form&&this.widgetContentRef.current&&(this.widgetContentRef.current.innerHTML=e.form,this.triggerWidgetEvent("widget-updated"),this.previousFormData=new window.FormData(this.formRef.current));return!1}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,r=t.idBase,o=t.widgetNumber,c=t.form;return Object(u.createElement)("div",{className:"widget open",ref:this.containerRef},Object(u.createElement)("div",{className:"widget-inside"},Object(u.createElement)("form",{ref:this.formRef,method:"post",onBlur:function(){e.shouldTriggerInstanceUpdate()&&e.props.onInstanceChange(e.retrieveUpdatedInstance())}},Object(u.createElement)("div",{ref:this.widgetContentRef,className:"widget-content",dangerouslySetInnerHTML:{__html:c}}),Object(u.createElement)("input",{type:"hidden",name:"widget-id",className:"widget-id",value:n}),Object(u.createElement)("input",{type:"hidden",name:"id_base",className:"id_base",value:r}),Object(u.createElement)("input",{type:"hidden",name:"widget_number",className:"widget_number",value:o}),Object(u.createElement)("input",{type:"hidden",name:"multi_number",className:"multi_number",value:""}),Object(u.createElement)("input",{type:"hidden",name:"add_new",className:"add_new",value:""}))))}},{key:"shouldTriggerInstanceUpdate",value:function(){if(!this.formRef.current)return!1;if(!this.previousFormData)return!0;var e=new window.FormData(this.formRef.current),t=Array.from(e.keys()),n=Array.from(this.previousFormData.keys());if(t.length!==n.length)return!0;for(var r=0,o=t;r1?c[h]=p:c[h]=p[0]}}}catch(e){s=!0,u=e}finally{try{l||null==d.return||d.return()}finally{if(s)throw u}}return c}}}]),t}(u.Component),_=function(e){function t(){var e;return Object(o.a)(this,t),(e=Object(a.a)(this,Object(i.a)(t).apply(this,arguments))).state={form:null,idBase:null},e.instanceUpdating=null,e.onInstanceChange=e.onInstanceChange.bind(Object(l.a)(e)),e.requestWidgetUpdater=e.requestWidgetUpdater.bind(Object(l.a)(e)),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.requestWidgetUpdater()}},{key:"componentDidUpdate",value:function(e){e.instance!==this.props.instance&&this.instanceUpdating!==this.props.instance&&this.requestWidgetUpdater(),this.instanceUpdating===this.props.instance&&(this.instanceUpdating=null)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,o=t.identifier,c=this.state,a=c.id,i=c.idBase,l=c.form;return o?l?Object(u.createElement)("div",{className:"wp-block-legacy-widget__edit-container",style:{display:this.props.isVisible?"block":"none"}},Object(u.createElement)(k,{ref:function(t){e.widgetEditDomManagerRef=t},onInstanceChange:this.onInstanceChange,widgetNumber:-1*n,id:a,idBase:i,form:l})):null:Object(r.__)("Not a valid widget.")}},{key:"onInstanceChange",value:function(e){var t=this;this.requestWidgetUpdater(e,function(e){t.instanceUpdating=e.instance,t.props.onInstanceChange(e.instance)})}},{key:"requestWidgetUpdater",value:function(e,t){var n=this,r=this.props,o=r.identifier,c=r.instanceId,a=r.instance;o&&f()({path:"/wp/v2/widgets/".concat(o,"/"),data:{identifier:o,instance:a,id_to_use:-1*c,instance_changes:e},method:"POST"}).then(function(e){n.isStillMounted&&(n.setState({form:e.form,idBase:e.id_base,id:e.id}),t&&t(e))})}}]),t}(u.Component),C=Object(v.withInstanceId)(_);function w(e){var t,n=e.availableLegacyWidgets,o=e.currentWidget,c=e.hasPermissionsToManageWidgets,a=e.onChangeWidget,i=Object(u.useMemo)(function(){return Object(O.pickBy)(n,function(e){return!e.isHidden})},[n]);return c||(t=Object(r.__)("You don't have permissions to use widgets on this site.")),Object(O.isEmpty)(i)&&(t=Object(r.__)("There are no widgets available.")),t=Object(u.createElement)(b.SelectControl,{label:Object(r.__)("Select a legacy widget to display:"),value:o||"none",onChange:a,options:[{value:"none",label:"Select widget"}].concat(Object(O.map)(i,function(e,t){return{value:t,label:e.name}}))}),Object(u.createElement)(b.Placeholder,{icon:Object(u.createElement)(m.BlockIcon,{icon:"admin-customizer"}),label:Object(r.__)("Legacy Widget")},t)}var E=function(e){function t(){var e;return Object(o.a)(this,t),(e=Object(a.a)(this,Object(i.a)(t).apply(this,arguments))).state={isPreview:!1},e.switchToEdit=e.switchToEdit.bind(Object(l.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(l.a)(e)),e.changeWidget=e.changeWidget.bind(Object(l.a)(e)),e}return Object(s.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.availableLegacyWidgets,c=t.hasPermissionsToManageWidgets,a=t.setAttributes,i=this.state.isPreview,l=n.identifier,s=n.isCallbackWidget,d=l&&o[l];if(!d)return Object(u.createElement)(w,{availableLegacyWidgets:o,currentWidget:l,hasPermissionsToManageWidgets:c,onChangeWidget:function(e){return a({instance:{},identifier:e,isCallbackWidget:o[e].isCallbackWidget})}});var h=Object(u.createElement)(m.InspectorControls,null,Object(u.createElement)(b.PanelBody,{title:d.name},d.description));return c?Object(u.createElement)(u.Fragment,null,Object(u.createElement)(m.BlockControls,null,Object(u.createElement)(b.Toolbar,null,!d.isHidden&&Object(u.createElement)(b.IconButton,{onClick:this.changeWidget,label:Object(r.__)("Change widget"),icon:"update"}),!s&&Object(u.createElement)(u.Fragment,null,Object(u.createElement)(b.Button,{className:"components-tab-button ".concat(i?"":"is-active"),onClick:this.switchToEdit},Object(u.createElement)("span",null,Object(r.__)("Edit"))),Object(u.createElement)(b.Button,{className:"components-tab-button ".concat(i?"is-active":""),onClick:this.switchToPreview},Object(u.createElement)("span",null,Object(r.__)("Preview")))))),h,!s&&Object(u.createElement)(C,{isVisible:!i,identifier:n.identifier,instance:n.instance,onInstanceChange:function(t){e.props.setAttributes({instance:t})}}),(i||s)&&this.renderWidgetPreview()):Object(u.createElement)(u.Fragment,null,h,this.renderWidgetPreview())}},{key:"changeWidget",value:function(){this.switchToEdit(),this.props.setAttributes({instance:{},identifier:void 0})}},{key:"switchToEdit",value:function(){this.setState({isPreview:!1})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"renderWidgetPreview",value:function(){var e=this.props.attributes;return Object(u.createElement)(p.a,{className:"wp-block-legacy-widget__preview",block:"core/legacy-widget",attributes:e})}}]),t}(u.Component),x=Object(d.withSelect)(function(e){var t=e("core/block-editor").getSettings(),n=t.availableLegacyWidgets;return{hasPermissionsToManageWidgets:t.hasPermissionsToManageWidgets,availableLegacyWidgets:n}})(E),S=Object(u.createElement)(b.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(u.createElement)(b.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(u.createElement)(b.G,null,Object(u.createElement)(b.Path,{d:"M7 11h2v2H7v-2zm14-5v14l-2 2H5l-2-2V6l2-2h1V2h2v2h8V2h2v2h1l2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"})));n.d(t,"name",function(){return T}),n.d(t,"settings",function(){return B});var T="core/legacy-widget",B={title:Object(r.__)("Legacy Widget (Experimental)"),description:Object(r.__)("Display a legacy widget."),icon:S,category:"widgets",supports:{html:!1,customClassName:!1},edit:x}},function(e,t,n){"use strict";n.r(t);var r=n(1),o="is-style-".concat("solid-color"),c=n(7),a=n(0),i=n(6),l={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"}},s=[{attributes:Object(c.a)({},l),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object(a.createElement)("blockquote",null,Object(a.createElement)(i.RichText.Content,{value:n,multiline:!0}),!i.RichText.isEmpty(r)&&Object(a.createElement)(i.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(c.a)({},l,{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(a.createElement)("blockquote",{className:"align".concat(o)},Object(a.createElement)(i.RichText.Content,{value:n,multiline:!0}),!i.RichText.isEmpty(r)&&Object(a.createElement)(i.RichText.Content,{tagName:"footer",value:r}))}}],u=n(18),b=n(10),d=n(12),m=n(11),h=n(13),p=n(14),g=n(5),f=n(15),v=n(16),O=n.n(v),j=n(2),y=function(e){function t(e){var n;return Object(d.a)(this,t),(n=Object(h.a)(this,Object(p.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(g.a)(n)),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(g.a)(n)),n}return Object(f.a)(t,e),Object(m.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,c=t.setTextColor,a=t.setMainColor,i=t.className,l=Object(j.includes)(i,o),s=!r.color||this.wasTextColorAutomaticallyComputed,u=l&&s&&e;a(e),u&&(this.wasTextColorAutomaticallyComputed=!0,c(n.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.mainColor,c=e.textColor,l=e.setAttributes,s=e.isSelected,d=e.className,m=t.value,h=t.citation,p=Object(j.includes)(d,o),g=p?{backgroundColor:n.color}:{borderColor:n.color},f={color:c.color},v=c.color?O()("has-text-color",Object(b.a)({},c.class,c.class)):void 0;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("figure",{style:g,className:O()(d,Object(b.a)({},n.class,p&&n.class))},Object(a.createElement)("blockquote",{style:f,className:v},Object(a.createElement)(i.RichText,{multiline:!0,value:m,onChange:function(e){return l({value:e})},placeholder:Object(r.__)("Write quote…"),wrapperClassName:"block-library-pullquote__content"}),(!i.RichText.isEmpty(h)||s)&&Object(a.createElement)(i.RichText,{value:h,placeholder:Object(r.__)("Write citation…"),onChange:function(e){return l({citation:e})},className:"wp-block-pullquote__citation"}))),Object(a.createElement)(i.InspectorControls,null,Object(a.createElement)(i.PanelColorSettings,{title:Object(r.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(r.__)("Main Color")},{value:c.color,onChange:this.pullQuoteTextColorSetter,label:Object(r.__)("Text Color")}]},p&&Object(a.createElement)(i.ContrastChecker,Object(u.a)({textColor:c.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}(a.Component),k=Object(i.withColors)({mainColor:"background-color",textColor:"color"})(y),_=n(3),C=Object(a.createElement)(_.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(_.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(a.createElement)(_.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object(a.createElement)(_.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(a.createElement)(_.Polygon,{points:"21 4 2 4 2 6 21 6"})),w=n(4);n.d(t,"metadata",function(){return E}),n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var E={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"}}},x=E.name,S={title:Object(r.__)("Pullquote"),description:Object(r.__)("Give special visual emphasis to a quote from your text."),icon:C,styles:[{name:"default",label:Object(r._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(r.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:k,save:function(e){var t,n,r=e.attributes,c=r.mainColor,l=r.customMainColor,s=r.textColor,u=r.customTextColor,d=r.value,m=r.citation,h=r.className;if(Object(j.includes)(h,o))(t=Object(i.getColorClassName)("background-color",c))||(n={backgroundColor:l});else if(l)n={borderColor:l};else if(c){var p=Object(j.get)(Object(w.select)("core/block-editor").getSettings(),["colors"],[]);n={borderColor:Object(i.getColorObjectByAttributeValues)(p,c).color}}var g=Object(i.getColorClassName)("color",s),f=s||u?O()("has-text-color",Object(b.a)({},g,g)):void 0,v=g?void 0:{color:u};return Object(a.createElement)("figure",{className:t,style:n},Object(a.createElement)("blockquote",{className:f,style:v},Object(a.createElement)(i.RichText.Content,{value:d,multiline:!0}),!i.RichText.isEmpty(m)&&Object(a.createElement)(i.RichText.Content,{tagName:"cite",value:m})))},deprecated:s}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),c=n(6),a=n(2);function i(e){return Object(a.flow)(l,u,d)(e||"")}function l(e){return e.replace(/&/g,"&")}function s(e){return e.replace(/&/g,"&")}function u(e){return e.replace(/\[/g,"[")}function b(e){return e.replace(/[/g,"[")}function d(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1//$2")}function m(e){return e.replace(/^(\s*https?:)//([^\s<>"]+\s*)$/m,"$1//$2")}var h=n(3),p=Object(o.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(h.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(o.createElement)(h.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 g=n(9),f={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":{}}}}}}}]};n.d(t,"metadata",function(){return v}),n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return j});var v={name:"core/code",category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}}},O=v.name,j={title:Object(r.__)("Code"),description:Object(r.__)("Display code snippets that respect your spacing and tabs."),icon:p,supports:{html:!1},transforms:f,edit:function(e){var t,n=e.attributes,l=e.setAttributes,u=e.className;return Object(o.createElement)("div",{className:u},Object(o.createElement)(c.PlainText,{value:(t=n.content,Object(a.flow)(m,b,s)(t||"")),onChange:function(e){return l({content:i(e)})},placeholder:Object(r.__)("Write code…"),"aria-label":Object(r.__)("Code")}))},save:function(e){var t=e.attributes;return Object(o.createElement)("pre",null,Object(o.createElement)("code",null,t.content))}}},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(1),c=n(0),a=n(9),i=n(6),l=n(3),s=n(22),u=function(e){var t=e.setAttributes,n=e.reversed,r=e.start;return Object(c.createElement)(i.InspectorControls,null,Object(c.createElement)(l.PanelBody,{title:Object(o.__)("Ordered List Settings")},Object(c.createElement)(l.TextControl,{label:Object(o.__)("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(c.createElement)(l.ToggleControl,{label:Object(o.__)("Reverse List Numbering"),checked:n||!1,onChange:function(e){t({reversed:e||void 0})}})))};var b=Object(c.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(l.G,null,Object(c.createElement)(l.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 d=n(17),m=Object(r.a)({},Object(a.getPhrasingContentSchema)(),{ul:{},ol:{attributes:["type"]}});["ul","ol"].forEach(function(e){m[e].children={li:{children:m}}});var h={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(a.createBlock)("core/list",{values:Object(s.toHTMLString)({value:Object(s.join)(e.map(function(t){var n=t.content,r=Object(s.create)({html:n});return e.length>1?r:Object(s.replace)(r,/\n/g,s.__UNSTABLE_LINE_SEPARATOR)}),s.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(a.createBlock)("core/list",{values:Object(s.toHTMLString)({value:Object(s.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:{ol:m.ol,ul:m.ul},transform:function(e){return Object(a.createBlock)("core/list",Object(r.a)({},Object(a.getBlockAttributes)("core/list",e.outerHTML),{ordered:"OL"===e.nodeName}))}}].concat(Object(d.a)(["*","-"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(a.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}})),Object(d.a)(["1.","1)"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(a.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(s.split)(Object(s.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),s.__UNSTABLE_LINE_SEPARATOR).map(function(e){return Object(a.createBlock)("core/paragraph",{content:Object(s.toHTMLString)({value:e})})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(a.createBlock)("core/quote",{value:Object(s.toHTMLString)({value:Object(s.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]};n.d(t,"metadata",function(){return p}),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var p={name:"core/list",category:"common",attributes:{ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",default:""},start:{type:"number"},reversed:{type:"boolean"}}},g=p.name,f={title:Object(o.__)("List"),description:Object(o.__)("Create a bulleted or numbered list."),icon:b,keywords:[Object(o.__)("bullet list"),Object(o.__)("ordered list"),Object(o.__)("numbered list")],supports:{className:!1},transforms:h,merge:function(e,t){var n=t.values;return n&&"
  • "!==n?Object(r.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,b=e.onReplace,d=e.className,m=t.ordered,h=t.values,p=t.reversed,f=t.start,v=m?"ol":"ul";return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(i.RichText,{identifier:"values",multiline:"li",tagName:v,onChange:function(e){return n({values:e})},value:h,wrapperClassName:"block-library-list",className:d,placeholder:Object(o.__)("Write list…"),onMerge:r,onSplit:function(e){return Object(a.createBlock)(g,{ordered:m,values:e})},__unstableOnSplitMiddle:function(){return Object(a.createBlock)("core/paragraph")},onReplace:b,onRemove:function(){return b([])},start:f,reversed:p},function(e){var t=e.value,r=e.onChange;if(void 0!==t.start)return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(i.RichTextShortcut,{type:"primary",character:"[",onUse:function(){r(Object(s.__unstableOutdentListItems)(t))}}),Object(c.createElement)(i.RichTextShortcut,{type:"primary",character:"]",onUse:function(){r(Object(s.__unstableIndentListItems)(t,{type:v}))}}),Object(c.createElement)(i.RichTextShortcut,{type:"primary",character:"m",onUse:function(){r(Object(s.__unstableIndentListItems)(t,{type:v}))}}),Object(c.createElement)(i.RichTextShortcut,{type:"primaryShift",character:"m",onUse:function(){r(Object(s.__unstableOutdentListItems)(t))}}),Object(c.createElement)(i.BlockControls,null,Object(c.createElement)(l.Toolbar,{controls:[{icon:"editor-ul",title:Object(o.__)("Convert to unordered list"),isActive:Object(s.__unstableIsActiveListType)(t,"ul",v),onClick:function(){r(Object(s.__unstableChangeListType)(t,{type:"ul"})),Object(s.__unstableIsListRootSelected)(t)&&n({ordered:!1})}},{icon:"editor-ol",title:Object(o.__)("Convert to ordered list"),isActive:Object(s.__unstableIsActiveListType)(t,"ol",v),onClick:function(){r(Object(s.__unstableChangeListType)(t,{type:"ol"})),Object(s.__unstableIsListRootSelected)(t)&&n({ordered:!0})}},{icon:"editor-outdent",title:Object(o.__)("Outdent list item"),shortcut:Object(o._x)("Backspace","keyboard key"),onClick:function(){r(Object(s.__unstableOutdentListItems)(t))}},{icon:"editor-indent",title:Object(o.__)("Indent list item"),shortcut:Object(o._x)("Space","keyboard key"),onClick:function(){r(Object(s.__unstableIndentListItems)(t,{type:v}))}}]})))}),m&&Object(c.createElement)(u,{setAttributes:n,ordered:m,reversed:p,start:f}))},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=t.reversed,a=t.start,l=n?"ol":"ul";return Object(c.createElement)(i.RichText.Content,{tagName:l,value:r,reversed:o,start:a,multiline:"li"})}}},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(1),c=n(0),a=n(2),i=n(6),l={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}},s=[{attributes:l,save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation;return Object(c.createElement)("blockquote",{style:{textAlign:n||null}},Object(c.createElement)(i.RichText.Content,{multiline:!0,value:r}),!i.RichText.isEmpty(o)&&Object(c.createElement)(i.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(r.a)({},l,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?Object(r.a)({},Object(a.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(c.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},Object(c.createElement)(i.RichText.Content,{multiline:!0,value:r}),!i.RichText.isEmpty(o)&&Object(c.createElement)(i.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(r.a)({},l,{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(c.createElement)("blockquote",{className:"blocks-quote-style-".concat(a),style:{textAlign:n||null}},Object(c.createElement)(i.RichText.Content,{multiline:!0,value:r}),!i.RichText.isEmpty(o)&&Object(c.createElement)(i.RichText.Content,{tagName:"footer",value:o}))}}],u=n(10),b=n(16),d=n.n(b),m=n(3),h=n(9);var p=Object(c.createElement)(m.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(m.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(c.createElement)(m.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 g=n(21),f=n(17),v=n(22),O={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(h.createBlock)("core/quote",{value:Object(v.toHTMLString)({value:Object(v.join)(e.map(function(e){var t=e.content;return Object(v.create)({html:t})}),"\u2028"),multilineTag:"p"})})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(h.createBlock)("core/quote",{value:"

    ".concat(t,"

    ")})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(h.createBlock)("core/quote",{value:t,citation:n})}},{type:"prefix",prefix:">",transform:function(e){return Object(h.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(h.getPhrasingContentSchema)()},cite:{children:Object(h.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(f.a)(Object(v.split)(Object(v.create)({html:t,multilineTag:"p"}),"\u2028").map(function(e){return Object(h.createBlock)("core/paragraph",{content:Object(v.toHTMLString)({value:e})})}))),n&&"

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

    "===t)return Object(h.createBlock)("core/heading",{content:n});var c=Object(v.split)(Object(v.create)({html:t,multilineTag:"p"}),"\u2028"),a=Object(h.createBlock)("core/heading",{content:Object(v.toHTMLString)({value:c[0]})});if(!n&&1===c.length)return a;var i=c.slice(1);return[a,Object(h.createBlock)("core/quote",Object(r.a)({},o,{citation:n,value:Object(v.toHTMLString)({value:i.length?Object(v.join)(c.slice(1),"\u2028"):Object(v.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(h.createBlock)("core/pullquote",{value:t,citation:n})}}]};n.d(t,"metadata",function(){return j}),n.d(t,"name",function(){return y}),n.d(t,"settings",function(){return k});var j={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"}}},y=j.name,k={title:Object(o.__)("Quote"),description:Object(o.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:p,keywords:[Object(o.__)("blockquote")],styles:[{name:"default",label:Object(o._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(o._x)("Large","block style")}],transforms:O,edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.isSelected,l=e.mergeBlocks,s=e.onReplace,b=e.className,p=t.align,g=t.value,f=t.citation;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(i.BlockControls,null,Object(c.createElement)(i.AlignmentToolbar,{value:p,onChange:function(e){n({align:e})}})),Object(c.createElement)(m.BlockQuotation,{className:d()(b,Object(u.a)({},"has-text-align-".concat(p),p))},Object(c.createElement)(i.RichText,{identifier:"value",multiline:!0,value:g,onChange:function(e){return n({value:e})},onMerge:l,onRemove:function(e){var t=!f||0===f.length;!e&&t&&s([])},placeholder:Object(o.__)("Write quote…"),onReplace:s,onSplit:function(e){return Object(h.createBlock)("core/quote",Object(r.a)({},t,{value:e}))},__unstableOnSplitMiddle:function(){return Object(h.createBlock)("core/paragraph")}}),(!i.RichText.isEmpty(f)||a)&&Object(c.createElement)(i.RichText,{identifier:"citation",value:f,onChange:function(e){return n({citation:e})},__unstableMobileNoFocusOnMount:!0,placeholder:Object(o.__)("Write citation…"),className:"wp-block-quote__citation"})))},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=d()(Object(u.a)({},"has-text-align-".concat(n),n));return Object(c.createElement)("blockquote",{className:a},Object(c.createElement)(i.RichText.Content,{multiline:!0,value:r}),!i.RichText.isEmpty(o)&&Object(c.createElement)(i.RichText.Content,{tagName:"cite",value:o}))},merge:function(e,t){var n=t.value,o=t.citation;return o||(o=e.citation),n&&"

    "!==n?Object(r.a)({},e,{value:e.value+n,citation:o}):Object(r.a)({},e,{citation:o})},deprecated:s}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(17),c=n(12),a=n(11),i=n(13),l=n(14),s=n(5),u=n(15),b=n(0),d=n(6),m=n(3),h=n(4),p=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(s.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(s.a)(e)),e}return Object(u.a)(t,e),Object(a.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(o.a)(Object(d.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,o=this.state,c=o.isPreview,a=o.styles;return Object(b.createElement)("div",{className:"wp-block-html"},Object(b.createElement)(d.BlockControls,null,Object(b.createElement)("div",{className:"components-toolbar"},Object(b.createElement)("button",{className:"components-tab-button ".concat(c?"":"is-active"),onClick:this.switchToHTML},Object(b.createElement)("span",null,"HTML")),Object(b.createElement)("button",{className:"components-tab-button ".concat(c?"is-active":""),onClick:this.switchToPreview},Object(b.createElement)("span",null,Object(r.__)("Preview"))))),Object(b.createElement)(m.Disabled.Consumer,null,function(e){return c||e?Object(b.createElement)(m.SandBox,{html:t.content,styles:a}):Object(b.createElement)(d.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(r.__)("Write HTML…"),"aria-label":Object(r.__)("HTML")})}))}}]),t}(b.Component),g=Object(h.withSelect)(function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}})(p),f=Object(b.createElement)(m.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(m.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 v=n(9),O={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(v.getPhrasingContentSchema)()}}}}}]};n.d(t,"metadata",function(){return j}),n.d(t,"name",function(){return y}),n.d(t,"settings",function(){return k});var j={name:"core/html",category:"formatting",attributes:{content:{type:"string",source:"html"}}},y=j.name,k={title:Object(r.__)("Custom HTML"),description:Object(r.__)("Add custom HTML code and preview it as you edit."),icon:f,keywords:[Object(r.__)("embed")],supports:{customClassName:!1,className:!1,html:!1},transforms:O,edit:g,save:function(e){var t=e.attributes;return Object(b.createElement)(b.RawHTML,null,t.content)}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),c=n(7),a=n(0),i=n(2),l=n(16),s=n.n(l),u=n(6),b=function(e){return Object(i.omit)(Object(c.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},d={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"}},m=[{attributes:Object(c.a)({},d,{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(c.a)({},e,{className:t||void 0,borderRadius:0})},save:function(e){var t,n=e.attributes,r=n.backgroundColor,c=n.customBackgroundColor,i=n.customTextColor,l=n.linkTarget,b=n.rel,d=n.text,m=n.textColor,h=n.title,p=n.url,g=Object(u.getColorClassName)("color",m),f=Object(u.getColorClassName)("background-color",r),v=s()("wp-block-button__link",(t={"has-text-color":m||i},Object(o.a)(t,g,g),Object(o.a)(t,"has-background",r||c),Object(o.a)(t,f,f),t)),O={backgroundColor:f?void 0:c,color:g?void 0:i};return Object(a.createElement)("div",null,Object(a.createElement)(u.RichText.Content,{tagName:"a",className:v,href:p,title:h,style:O,value:d,target:l,rel:b}))}},{attributes:Object(c.a)({},d,{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,c=n.text,i=n.title,l=n.backgroundColor,b=n.textColor,d=n.customBackgroundColor,m=n.customTextColor,h=Object(u.getColorClassName)("color",b),p=Object(u.getColorClassName)("background-color",l),g=s()("wp-block-button__link",(t={"has-text-color":b||m},Object(o.a)(t,h,h),Object(o.a)(t,"has-background",l||d),Object(o.a)(t,p,p),t)),f={backgroundColor:p?void 0:d,color:h?void 0:m};return Object(a.createElement)("div",null,Object(a.createElement)(u.RichText.Content,{tagName:"a",className:g,href:r,title:i,style:f,value:c}))},migrate:b},{attributes:Object(c.a)({},d,{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,c=t.align,i={backgroundColor:t.color,color:t.textColor};return Object(a.createElement)("div",{className:"align".concat(c)},Object(a.createElement)(u.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:i,value:r}))},migrate:b},{attributes:Object(c.a)({},d,{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,c=t.align,i=t.color,l=t.textColor;return Object(a.createElement)("div",{className:"align".concat(c),style:{backgroundColor:i}},Object(a.createElement)(u.RichText.Content,{tagName:"a",href:n,title:o,style:{color:l},value:r}))},migrate:b}],h=n(12),p=n(11),g=n(13),f=n(14),v=n(5),O=n(15),j=n(8),y=n(3),k=window.getComputedStyle,_=Object(y.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=r&&r.color,c=n&&n.color,a=!c&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:k(e).backgroundColor,fallbackTextColor:c||!a?void 0:k(a).color}}),C=0,w=50,E=5;function x(e){var t=e.borderRadius,n=void 0===t?"":t,o=e.setAttributes,c=Object(a.useCallback)(function(e){o({borderRadius:e})},[o]);return Object(a.createElement)(y.PanelBody,{title:Object(r.__)("Border Settings")},Object(a.createElement)(y.RangeControl,{value:n,label:Object(r.__)("Border Radius"),min:C,max:w,initialPosition:E,allowReset:!0,onChange:c}))}var S=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(g.a)(this,Object(f.a)(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(Object(v.a)(e)),e.onSetLinkRel=e.onSetLinkRel.bind(Object(v.a)(e)),e.onToggleOpenInNewTab=e.onToggleOpenInNewTab.bind(Object(v.a)(e)),e}return Object(O.a)(t,e),Object(p.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,c=t.backgroundColor,i=t.textColor,l=t.setBackgroundColor,b=t.setTextColor,d=t.fallbackBackgroundColor,m=t.fallbackTextColor,h=t.setAttributes,p=t.className,g=t.instanceId,f=t.isSelected,v=n.borderRadius,O=n.linkTarget,j=n.placeholder,k=n.rel,_=n.text,C=n.title,w=n.url,E="wp-block-button__inline-link-".concat(g);return Object(a.createElement)("div",{className:p,title:C,ref:this.bindRef},Object(a.createElement)(u.RichText,{placeholder:j||Object(r.__)("Add text…"),value:_,onChange:function(e){return h({text:e})},withoutInteractiveFormatting:!0,className:s()("wp-block-button__link",(e={"has-background":c.color},Object(o.a)(e,c.class,c.class),Object(o.a)(e,"has-text-color",i.color),Object(o.a)(e,i.class,i.class),Object(o.a)(e,"no-border-radius",0===v),e)),style:{backgroundColor:c.color,color:i.color,borderRadius:v?v+"px":void 0}}),Object(a.createElement)(y.BaseControl,{label:Object(r.__)("Link"),className:"wp-block-button__inline-link",id:E},Object(a.createElement)(u.URLInput,{className:"wp-block-button__inline-link-input",value:w,autoFocus:!1,onChange:function(e){return h({url:e})},disableSuggestions:!f,id:E,isFullWidth:!0,hasBorder:!0})),Object(a.createElement)(u.InspectorControls,null,Object(a.createElement)(u.PanelColorSettings,{title:Object(r.__)("Color Settings"),colorSettings:[{value:c.color,onChange:l,label:Object(r.__)("Background Color")},{value:i.color,onChange:b,label:Object(r.__)("Text Color")}]},Object(a.createElement)(u.ContrastChecker,{isLargeText:!1,textColor:i.color,backgroundColor:c.color,fallbackBackgroundColor:d,fallbackTextColor:m})),Object(a.createElement)(x,{borderRadius:v,setAttributes:h}),Object(a.createElement)(y.PanelBody,{title:Object(r.__)("Link settings")},Object(a.createElement)(y.ToggleControl,{label:Object(r.__)("Open in new tab"),onChange:this.onToggleOpenInNewTab,checked:"_blank"===O}),Object(a.createElement)(y.TextControl,{label:Object(r.__)("Link rel"),value:k||"",onChange:this.onSetLinkRel}))))}}]),t}(a.Component),T=Object(j.compose)([j.withInstanceId,Object(u.withColors)("backgroundColor",{textColor:"color"}),_])(S),B=Object(a.createElement)(y.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(y.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(y.G,null,Object(a.createElement)(y.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"})));n.d(t,"metadata",function(){return N}),n.d(t,"name",function(){return M}),n.d(t,"settings",function(){return A});var N={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"}}},M=N.name,A={title:Object(r.__)("Button"),description:Object(r.__)("Prompt visitors to take action with a button-style link."),icon:B,keywords:[Object(r.__)("link")],supports:{align:!0,alignWide:!1},styles:[{name:"fill",label:Object(r.__)("Fill"),isDefault:!0},{name:"outline",label:Object(r.__)("Outline")}],edit:T,save:function(e){var t,n=e.attributes,r=n.backgroundColor,c=n.borderRadius,i=n.customBackgroundColor,l=n.customTextColor,b=n.linkTarget,d=n.rel,m=n.text,h=n.textColor,p=n.title,g=n.url,f=Object(u.getColorClassName)("color",h),v=Object(u.getColorClassName)("background-color",r),O=s()("wp-block-button__link",(t={"has-text-color":h||l},Object(o.a)(t,f,f),Object(o.a)(t,"has-background",r||i),Object(o.a)(t,v,v),Object(o.a)(t,"no-border-radius",0===c),t)),j={backgroundColor:v?void 0:i,color:f?void 0:l,borderRadius:c?c+"px":void 0};return Object(a.createElement)("div",null,Object(a.createElement)(u.RichText.Content,{tagName:"a",className:O,href:g,title:p,style:j,value:m,target:b,rel:d}))},deprecated:m}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(12),c=n(11),a=n(13),i=n(14),l=n(5),s=n(15),u=n(0),b=n(3),d=n(6),m=n(19),h=n(9),p=function(e){function t(){var e;return Object(o.a)(this,t),(e=Object(a.a)(this,Object(i.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(l.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(l.a)(e)),e.state={defaultText:Object(r.__)("Read more")},e}return Object(s.a)(t,e),Object(c.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===m.ENTER&&n([Object(h.createBlock)(Object(h.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(r.__)("The excerpt is hidden."):Object(r.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,o=this.props.setAttributes,c=this.state.defaultText,a=void 0!==t?t:c,i=a.length+1;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(d.InspectorControls,null,Object(u.createElement)(b.PanelBody,null,Object(u.createElement)(b.ToggleControl,{label:Object(r.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return o({noTeaser:!n})},help:this.getHideExcerptHelp}))),Object(u.createElement)("div",{className:"wp-block-more"},Object(u.createElement)("input",{type:"text",value:a,size:i,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}(u.Component),g=Object(u.createElement)(b.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(u.createElement)(b.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(u.createElement)(b.G,null,Object(u.createElement)(b.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"}))),f=n(2);var v={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(h.createBlock)("core/more",o)}}]};n.d(t,"metadata",function(){return O}),n.d(t,"name",function(){return j}),n.d(t,"settings",function(){return y});var O={name:"core/more",category:"layout",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}}},j=O.name,y={title:Object(r._x)("More","block name"),description:Object(r.__)("Content before this block will be shown in the excerpt on your archives page."),icon:g,supports:{customClassName:!1,className:!1,html:!1,multiple:!1},transforms:v,edit:p,save:function(e){var t=e.attributes,n=t.customText,r=t.noTeaser,o=n?"\x3c!--more ".concat(n,"--\x3e"):"\x3c!--more--\x3e",c=r?"\x3c!--noteaser--\x3e":"";return Object(u.createElement)(u.RawHTML,null,Object(f.compact)([o,c]).join("\n"))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0);var c=n(3),a=Object(o.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24px",height:"24px",viewBox:"0 0 24 24"},Object(o.createElement)(c.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(o.createElement)(c.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 i=n(9),l={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(i.createBlock)("core/nextpage",{})}}]};n.d(t,"metadata",function(){return s}),n.d(t,"name",function(){return u}),n.d(t,"settings",function(){return b});var s={name:"core/nextpage",category:"layout"},u=s.name,b={title:Object(r.__)("Page Break"),description:Object(r.__)("Separate your content into a multi-page experience."),icon:a,keywords:[Object(r.__)("next page"),Object(r.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},transforms:l,edit:function(){return Object(o.createElement)("div",{className:"wp-block-nextpage"},Object(o.createElement)("span",null,Object(r.__)("Page break")))},save:function(){return Object(o.createElement)(o.RawHTML,null,"\x3c!--nextpage--\x3e")}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),c=n(0),a=n(2),i=n(16),l=n.n(i),s=n(9),u=n(6);function b(e){var t,n=b.doc;n||(n=document.implementation.createHTMLDocument(""),b.doc=n),n.body.innerHTML=e;var r=!0,o=!1,c=void 0;try{for(var a,i=n.body.firstChild.classList[Symbol.iterator]();!(r=(a=i.next()).done);r=!0){if(t=a.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}}var d=[{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!==b(e.originalContent)})},migrate:function(e,t){var n=t.reduce(function(e,t){var n=b(t.originalContent);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e},[]).map(function(e){return Object(s.createBlock)("core/column",{},e)});return[Object(a.omit)(e,["columns"]),n]},save:function(e){var t=e.attributes.columns;return Object(c.createElement)("div",{className:"has-".concat(t,"-columns")},Object(c.createElement)(u.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:function(e,t){return[e=Object(a.omit)(e,["columns"]),t]},save:function(e){var t=e.attributes,n=t.verticalAlignment,r=t.columns,a=l()("has-".concat(r,"-columns"),Object(o.a)({},"are-vertically-aligned-".concat(n),n));return Object(c.createElement)("div",{className:a},Object(c.createElement)(u.InnerBlocks.Content,null))}}],m=n(17),h=n(23),p=n(3),g=n(4),f=n(57),v=["core/column"],O=[{title:Object(r.__)("Two columns; equal split"),icon:Object(c.createElement)(p.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(p.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(r.__)("Two columns; one-third, two-thirds split"),icon:Object(c.createElement)(p.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(p.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(r.__)("Two columns; two-thirds, one-third split"),icon:Object(c.createElement)(p.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(p.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(r.__)("Three columns; equal split"),icon:Object(c.createElement)(p.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(p.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(r.__)("Three columns; wide center column"),icon:Object(c.createElement)(p.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(p.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}]]}],j=2;var y=Object(g.withDispatch)(function(e,t,n){return{updateAlignment:function(r){var o=t.clientId,c=t.setAttributes,a=e("core/block-editor").updateBlockAttributes,i=n.select("core/block-editor").getBlockOrder;c({verticalAlignment:r}),i(o).forEach(function(e){a(e,{verticalAlignment:r})})},updateColumns:function(r,o){var c=t.clientId,i=e("core/block-editor").replaceInnerBlocks,l=(0,n.select("core/block-editor").getBlocks)(c),u=Object(f.g)(l),b=o>r;if(b&&u){var d=Object(f.h)(100/o),h=Object(f.e)(l,100-d);l=[].concat(Object(m.a)(Object(f.d)(l,h)),Object(m.a)(Object(a.times)(o-r,function(){return Object(s.createBlock)("core/column",{width:d})})))}else if(b)l=[].concat(Object(m.a)(l),Object(m.a)(Object(a.times)(o-r,function(){return Object(s.createBlock)("core/column")})));else if(l=Object(a.dropRight)(l,r-o),u){var p=Object(f.e)(l,100);l=Object(f.d)(l,p)}i(c,l,!1)}}})(function(e){var t=e.attributes,n=e.className,a=e.updateAlignment,i=e.updateColumns,s=e.clientId,b=t.verticalAlignment,d=Object(g.useSelect)(function(e){return{count:e("core/block-editor").getBlockCount(s)}}).count,m=Object(c.useState)(Object(f.c)(d)),y=Object(h.a)(m,2),k=y[0],_=y[1],C=Object(c.useState)(!1),w=Object(h.a)(C,2),E=w[0],x=w[1];Object(c.useEffect)(function(){E&&x(!1)},[E]);var S=l()(n,Object(o.a)({},"are-vertically-aligned-".concat(b),b)),T=0===d&&!E||!k;return Object(c.createElement)(c.Fragment,null,!T&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)(u.InspectorControls,null,Object(c.createElement)(p.PanelBody,null,Object(c.createElement)(p.RangeControl,{label:Object(r.__)("Columns"),value:d,onChange:function(e){return i(d,e)},min:2,max:6}))),Object(c.createElement)(u.BlockControls,null,Object(c.createElement)(u.BlockVerticalAlignmentToolbar,{onChange:a,value:b}))),Object(c.createElement)("div",{className:S},Object(c.createElement)(u.InnerBlocks,{__experimentalTemplateOptions:O,__experimentalOnSelectTemplateOption:function(e){void 0===e&&(e=Object(f.c)(j)),_(e),x(!0)},__experimentalAllowTemplateOptionSkip:!0,template:T?null:k,templateLock:"all",allowedBlocks:v})))}),k=Object(c.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(p.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(c.createElement)(p.G,null,Object(c.createElement)(p.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"})));n.d(t,"metadata",function(){return _}),n.d(t,"name",function(){return C}),n.d(t,"settings",function(){return w});var _={name:"core/columns",category:"layout",attributes:{verticalAlignment:{type:"string"}}},C=_.name,w={title:Object(r.__)("Columns"),icon:k,description:Object(r.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},deprecated:d,edit:y,save:function(e){var t=e.attributes.verticalAlignment,n=l()(Object(o.a)({},"are-vertically-aligned-".concat(t),t));return Object(c.createElement)("div",{className:n},Object(c.createElement)(u.InnerBlocks.Content,null))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),c=n(6);var a=n(3),i=Object(o.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(a.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(o.createElement)(a.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(o.createElement)(a.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object(o.createElement)(a.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object(o.createElement)(a.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object(o.createElement)(a.Rect,{x:"10",y:"10",width:"8",height:"2"}));var l=n(9),s={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(l.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(l.getPhrasingContentSchema)()}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(l.createBlock)("core/paragraph",e)}}]};n.d(t,"metadata",function(){return u}),n.d(t,"name",function(){return b}),n.d(t,"settings",function(){return d});var u={name:"core/preformatted",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""}}},b=u.name,d={title:Object(r.__)("Preformatted"),description:Object(r.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:i,transforms:s,edit:function(e){var t=e.attributes,n=e.mergeBlocks,a=e.setAttributes,i=e.className,l=t.content;return Object(o.createElement)(c.RichText,{tagName:"pre",value:l.replace(/\n/g,"
    "),onChange:function(e){a({content:e.replace(/
    /g,"\n")})},placeholder:Object(r.__)("Write preformatted text…"),wrapperClassName:i,onMerge:n})},save:function(e){var t=e.attributes.content;return Object(o.createElement)(c.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),c=n(0),a=n(16),i=n.n(a),l=n(3),s=n(6);var u=Object(s.withColors)("color",{textColor:"color"})(function(e){var t=e.color,n=e.setColor,a=e.className;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(l.HorizontalRule,{className:i()(a,Object(o.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}}),Object(c.createElement)(s.InspectorControls,null,Object(c.createElement)(s.PanelColorSettings,{title:Object(r.__)("Color Settings"),colorSettings:[{value:t.color,onChange:n,label:Object(r.__)("Color")}]})))}),b=Object(c.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(l.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(c.createElement)(l.Path,{d:"M19 13H5v-2h14v2z"}));var d=n(9),m={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(d.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]};n.d(t,"metadata",function(){return h}),n.d(t,"name",function(){return p}),n.d(t,"settings",function(){return g});var h={name:"core/separator",category:"layout",attributes:{color:{type:"string"},customColor:{type:"string"}}},p=h.name,g={title:Object(r.__)("Separator"),description:Object(r.__)("Create a break between ideas or sections with a horizontal separator."),icon:b,keywords:[Object(r.__)("horizontal-line"),"hr",Object(r.__)("divider")],styles:[{name:"default",label:Object(r.__)("Default"),isDefault:!0},{name:"wide",label:Object(r.__)("Wide Line")},{name:"dots",label:Object(r.__)("Dots")}],transforms:m,edit:u,save:function(e){var t,n=e.attributes,r=n.color,a=n.customColor,l=Object(s.getColorClassName)("background-color",r),u=Object(s.getColorClassName)("color",r),b=i()((t={"has-text-color has-background":r||a},Object(o.a)(t,l,l),Object(o.a)(t,u,u),t)),d={backgroundColor:l?void 0:a,color:u?void 0:a};return Object(c.createElement)("hr",{className:b,style:d})}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),c=n(23),a=n(12),i=n(11),l=n(13),s=n(14),u=n(5),b=n(15),d=n(0),m=n(34),h=n(8),p=n(3),g=n(6),f=n(4),v=Object(d.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(p.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(d.createElement)(p.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"})),O=n(61),j=["audio"],y=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.toggleAttribute=e.toggleAttribute.bind(Object(u.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(u.a)(e)),e.onUploadError=e.onUploadError.bind(Object(u.a)(e)),e}return Object(b.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,i=n.id,l=n.src,s=void 0===l?"":l;if(!i&&Object(m.isBlobURL)(s)){var u=Object(m.getBlobByURL)(s);u&&r({filesList:[u],onFileChange:function(e){var t=Object(c.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:j})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(o.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=Object(O.a)({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(r.__)("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,o=t.caption,c=t.loop,a=t.preload,i=t.src,l=this.props,s=l.setAttributes,u=l.isSelected,b=l.className,m=l.noticeUI,h=this.state.editing,f=function(){e.setState({editing:!0})};return h?Object(d.createElement)(g.MediaPlaceholder,{icon:Object(d.createElement)(g.BlockIcon,{icon:v}),className:b,onSelect:function(t){if(!t||!t.url)return s({src:void 0,id:void 0}),void f();s({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:j,value:this.props.attributes,notices:m,onError:this.onUploadError}):Object(d.createElement)(d.Fragment,null,Object(d.createElement)(g.BlockControls,null,Object(d.createElement)(p.Toolbar,null,Object(d.createElement)(p.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(r.__)("Edit audio"),onClick:f,icon:"edit"}))),Object(d.createElement)(g.InspectorControls,null,Object(d.createElement)(p.PanelBody,{title:Object(r.__)("Audio Settings")},Object(d.createElement)(p.ToggleControl,{label:Object(r.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n,help:this.getAutoplayHelp}),Object(d.createElement)(p.ToggleControl,{label:Object(r.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:c}),Object(d.createElement)(p.SelectControl,{label:Object(r.__)("Preload"),value:void 0!==a?a:"none",onChange:function(e){return s({preload:"none"!==e?e:void 0})},options:[{value:"auto",label:Object(r.__)("Auto")},{value:"metadata",label:Object(r.__)("Metadata")},{value:"none",label:Object(r.__)("None")}]}))),Object(d.createElement)("figure",{className:b},Object(d.createElement)(p.Disabled,null,Object(d.createElement)("audio",{controls:"controls",src:i})),(!g.RichText.isEmpty(o)||u)&&Object(d.createElement)(g.RichText,{tagName:"figcaption",placeholder:Object(r.__)("Write caption…"),value:o,onChange:function(e){return s({caption:e})},inlineToolbar:!0})))}}]),t}(d.Component),k=Object(h.compose)([Object(f.withSelect)(function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}}),p.withNotices])(y);var _=n(9),C={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(m.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.d(t,"metadata",function(){return w}),n.d(t,"name",function(){return E}),n.d(t,"settings",function(){return x});var w={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"}}},E=w.name,x={title:Object(r.__)("Audio"),description:Object(r.__)("Embed a simple audio player."),icon:v,transforms:C,supports:{align:!0},edit:k,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.loop,c=t.preload,a=t.src;return Object(d.createElement)("figure",null,Object(d.createElement)("audio",{controls:"controls",src:a,autoPlay:n,loop:o,preload:c}),!g.RichText.isEmpty(r)&&Object(d.createElement)(g.RichText.Content,{tagName:"figcaption",value:r}))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),c=n(3),a=n(6),i=n(8),l=Object(i.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,i=e.instanceId,l="blocks-shortcode-input-".concat(i);return Object(o.createElement)("div",{className:"wp-block-shortcode components-placeholder"},Object(o.createElement)("label",{htmlFor:l,className:"components-placeholder__label"},Object(o.createElement)(c.Dashicon,{icon:"shortcode"}),Object(r.__)("Shortcode")),Object(o.createElement)(a.PlainText,{className:"input-control",id:l,value:t.text,placeholder:Object(r.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))}),s=Object(o.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(c.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 u=n(72),b={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(u.removep)(Object(u.autop)(n))}}},priority:20}]};n.d(t,"name",function(){return d}),n.d(t,"settings",function(){return m});var d="core/shortcode",m={title:Object(r.__)("Shortcode"),description:Object(r.__)("Insert additional custom elements with a WordPress shortcode."),icon:s,category:"widgets",transforms:b,supports:{customClassName:!1,className:!1,html:!1},edit:l,save:function(e){var t=e.attributes;return Object(o.createElement)(o.RawHTML,null,t.text)}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),c=n(37),a=n.n(c),i=n(6);var l=n(3),s=Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(l.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"}));var u=n(9),b={to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(u.createBlock)("core/paragraph",e)}}]};n.d(t,"metadata",function(){return d}),n.d(t,"name",function(){return m}),n.d(t,"settings",function(){return h});var d={name:"core/subhead",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}}},m=d.name,h={title:Object(r.__)("Subheading (deprecated)"),description:Object(r.__)("This block is deprecated. Please use the Paragraph block instead."),icon:s,supports:{inserter:!1,multiple:!1},transforms:b,edit:function(e){var t=e.attributes,n=e.setAttributes,c=e.className,l=t.align,s=t.content,u=t.placeholder;return a()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(i.BlockControls,null,Object(o.createElement)(i.AlignmentToolbar,{value:l,onChange:function(e){n({align:e})}})),Object(o.createElement)(i.RichText,{tagName:"p",value:s,onChange:function(e){n({content:e})},style:{textAlign:l},className:c,placeholder:u||Object(r.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,r=t.content;return Object(o.createElement)(i.RichText.Content,{tagName:"p",style:{textAlign:n},value:r})}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),c=n(23),a=n(12),i=n(11),l=n(13),s=n(14),u=n(5),b=n(15),d=n(0),m=n(34),h=n(3),p=n(6),g=n(8),f=n(4),v=n(61),O=Object(d.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(h.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"})),j=["video"],y=["image"],k=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object(d.createRef)(),e.posterImageButton=Object(d.createRef)(),e.toggleAttribute=e.toggleAttribute.bind(Object(u.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(u.a)(e)),e.onSelectPoster=e.onSelectPoster.bind(Object(u.a)(e)),e.onRemovePoster=e.onRemovePoster.bind(Object(u.a)(e)),e.onUploadError=e.onUploadError.bind(Object(u.a)(e)),e}return Object(b.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,i=n.id,l=n.src,s=void 0===l?"":l;if(!i&&Object(m.isBlobURL)(s)){var u=Object(m.getBlobByURL)(s);u&&r({filesList:[u],onFileChange:function(e){var t=Object(c.a)(e,1)[0].url;a({src:t})},onError:function(t){e.setState({editing:!0}),o.createErrorNotice(t)},allowedTypes:j})}}},{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(o.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=Object(v.a)({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(r.__)("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,o=t.caption,c=t.controls,a=t.loop,i=t.muted,l=t.playsInline,s=t.poster,u=t.preload,b=t.src,m=this.props,g=m.className,f=m.instanceId,v=m.isSelected,k=m.noticeUI,_=m.setAttributes,C=this.state.editing,w=function(){e.setState({editing:!0})};if(C)return Object(d.createElement)(p.MediaPlaceholder,{icon:Object(d.createElement)(p.BlockIcon,{icon:O}),className:g,onSelect:function(t){if(!t||!t.url)return _({src:void 0,id:void 0}),void w();_({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:j,value:this.props.attributes,notices:k,onError:this.onUploadError});var E="video-block__poster-image-description-".concat(f);return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(p.BlockControls,null,Object(d.createElement)(h.Toolbar,null,Object(d.createElement)(h.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(r.__)("Edit video"),onClick:w,icon:"edit"}))),Object(d.createElement)(p.InspectorControls,null,Object(d.createElement)(h.PanelBody,{title:Object(r.__)("Video Settings")},Object(d.createElement)(h.ToggleControl,{label:Object(r.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n,help:this.getAutoplayHelp}),Object(d.createElement)(h.ToggleControl,{label:Object(r.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:a}),Object(d.createElement)(h.ToggleControl,{label:Object(r.__)("Muted"),onChange:this.toggleAttribute("muted"),checked:i}),Object(d.createElement)(h.ToggleControl,{label:Object(r.__)("Playback Controls"),onChange:this.toggleAttribute("controls"),checked:c}),Object(d.createElement)(h.ToggleControl,{label:Object(r.__)("Play inline"),onChange:this.toggleAttribute("playsInline"),checked:l}),Object(d.createElement)(h.SelectControl,{label:Object(r.__)("Preload"),value:u,onChange:function(e){return _({preload:e})},options:[{value:"auto",label:Object(r.__)("Auto")},{value:"metadata",label:Object(r.__)("Metadata")},{value:"none",label:Object(r.__)("None")}]}),Object(d.createElement)(p.MediaUploadCheck,null,Object(d.createElement)(h.BaseControl,{className:"editor-video-poster-control"},Object(d.createElement)(h.BaseControl.VisualLabel,null,Object(r.__)("Poster Image")),Object(d.createElement)(p.MediaUpload,{title:Object(r.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:y,render:function(t){var n=t.open;return Object(d.createElement)(h.Button,{isDefault:!0,onClick:n,ref:e.posterImageButton,"aria-describedby":E},e.props.attributes.poster?Object(r.__)("Replace image"):Object(r.__)("Select Poster Image"))}}),Object(d.createElement)("p",{id:E,hidden:!0},this.props.attributes.poster?Object(r.sprintf)(Object(r.__)("The current poster image url is %s"),this.props.attributes.poster):Object(r.__)("There is no poster image currently selected")),!!this.props.attributes.poster&&Object(d.createElement)(h.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(r.__)("Remove Poster Image")))))),Object(d.createElement)("figure",{className:g},Object(d.createElement)(h.Disabled,null,Object(d.createElement)("video",{controls:c,poster:s,src:b,ref:this.videoPlayer})),(!p.RichText.isEmpty(o)||v)&&Object(d.createElement)(p.RichText,{tagName:"figcaption",placeholder:Object(r.__)("Write caption…"),value:o,onChange:function(e){return _({caption:e})},inlineToolbar:!0})))}}]),t}(d.Component),_=Object(g.compose)([Object(f.withSelect)(function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}}),h.withNotices,g.withInstanceId])(k);var C=n(9),w={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(C.createBlock)("core/video",{src:Object(m.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,c=t.webm,a=t.ogv,i=t.flv;return n||r||o||c||a||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}}}}]};n.d(t,"metadata",function(){return E}),n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var E={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"}}},x=E.name,S={title:Object(r.__)("Video"),description:Object(r.__)("Embed a video from your media library or upload a new one."),icon:O,keywords:[Object(r.__)("movie")],transforms:w,supports:{align:!0},edit:_,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.controls,c=t.loop,a=t.muted,i=t.poster,l=t.preload,s=t.src,u=t.playsInline;return Object(d.createElement)("figure",null,s&&Object(d.createElement)("video",{autoPlay:n,controls:o,loop:c,muted:a,poster:i,preload:"metadata"!==l?l:void 0,src:s,playsInline:u}),!p.RichText.isEmpty(r)&&Object(d.createElement)(p.RichText.Content,{tagName:"figcaption",value:r}))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(7),c=n(17),a=n(10),i=n(0),l=n(16),s=n.n(l),u=n(2),b=n(6),d=n(3),m=n(4),h=n(8),p=n(57);var g=Object(h.compose)(Object(m.withSelect)(function(e,t){var n=t.clientId;return{hasChildBlocks:(0,e("core/block-editor").getBlockOrder)(n).length>0}}),Object(m.withDispatch)(function(e,t,n){return{updateAlignment:function(r){var o=t.clientId,c=t.setAttributes,a=e("core/block-editor").updateBlockAttributes,i=n.select("core/block-editor").getBlockRootClientId;c({verticalAlignment:r}),a(i(o),{verticalAlignment:null})},updateWidth:function(r){var i=t.clientId,l=e("core/block-editor").updateBlockAttributes,s=n.select("core/block-editor"),b=s.getBlockRootClientId,d=(0,s.getBlocks)(b(i)),m=Object(p.a)(d,i),h=r+Object(p.f)(Object(u.difference)(d,[Object(u.find)(d,{clientId:i})].concat(Object(c.a)(m)))),g=Object(o.a)({},Object(p.b)(d,d.length),Object(a.a)({},i,Object(p.h)(r)),Object(p.e)(m,100-h,d.length));Object(u.forEach)(g,function(e,t){l(t,{width:e})})}}}))(function(e){var t=e.attributes,n=e.className,o=e.updateAlignment,c=e.updateWidth,l=e.hasChildBlocks,u=t.verticalAlignment,m=t.width,h=s()(n,"block-core-columns",Object(a.a)({},"is-vertically-aligned-".concat(u),u));return Object(i.createElement)("div",{className:h},Object(i.createElement)(b.BlockControls,null,Object(i.createElement)(b.BlockVerticalAlignmentToolbar,{onChange:o,value:u})),Object(i.createElement)(b.InspectorControls,null,Object(i.createElement)(d.PanelBody,{title:Object(r.__)("Column Settings")},Object(i.createElement)(d.RangeControl,{label:Object(r.__)("Percentage width"),value:m||"",onChange:c,min:0,max:100,required:!0,allowReset:!0}))),Object(i.createElement)(b.InnerBlocks,{templateLock:!1,renderAppender:l?void 0:function(){return Object(i.createElement)(b.InnerBlocks.ButtonBlockAppender,null)}}))}),f=Object(i.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(d.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"}));n.d(t,"metadata",function(){return v}),n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return j});var v={name:"core/column",category:"common",attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}}},O=v.name,j={title:Object(r.__)("Column"),parent:["core/columns"],icon:f,description:Object(r.__)("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:g,save:function(e){var t,n=e.attributes,r=n.verticalAlignment,o=n.width,c=s()(Object(a.a)({},"is-vertically-aligned-".concat(r),r));return Number.isFinite(o)&&(t={flexBasis:o+"%"}),Object(i.createElement)("div",{className:c,style:t},Object(i.createElement)(b.InnerBlocks.Content,null))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(17),c=n(0),a=n(2),i=n(3),l=n(6),s=n(37),u=n.n(s);var b=n(9),d={to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object(b.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(b.createBlock)("core/column",{},[Object(b.createBlock)("core/paragraph",{content:t})])}))}}]};n.d(t,"metadata",function(){return m}),n.d(t,"name",function(){return h}),n.d(t,"settings",function(){return p});var m={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"}}},h=m.name,p={supports:{inserter:!1},title:Object(r.__)("Text Columns (deprecated)"),description:Object(r.__)("This block is deprecated. Please use the Columns block instead."),transforms:d,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,s=e.className,b=t.width,d=t.content,m=t.columns;return u()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(c.createElement)(c.Fragment,null,Object(c.createElement)(l.BlockControls,null,Object(c.createElement)(l.BlockAlignmentToolbar,{value:b,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object(c.createElement)(l.InspectorControls,null,Object(c.createElement)(i.PanelBody,null,Object(c.createElement)(i.RangeControl,{label:Object(r.__)("Columns"),value:m,onChange:function(e){return n({columns:e})},min:2,max:4,required:!0}))),Object(c.createElement)("div",{className:"".concat(s," align").concat(b," columns-").concat(m)},Object(a.times)(m,function(e){return Object(c.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(c.createElement)(l.RichText,{tagName:"p",value:Object(a.get)(d,[e,"children"]),onChange:function(t){n({content:[].concat(Object(o.a)(d.slice(0,e)),[{children:t}],Object(o.a)(d.slice(e+1)))})},placeholder:Object(r.__)("New Column")}))})))},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return Object(c.createElement)("div",{className:"align".concat(n," columns-").concat(o)},Object(a.times)(o,function(e){return Object(c.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(c.createElement)(l.RichText.Content,{tagName:"p",value:Object(a.get)(r,[e,"children"])}))}))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(23),c=n(0),a=n(16),i=n.n(a),l=n(6),s=n(3),u=n(8),b=n(4),d=Object(u.compose)([Object(b.withDispatch)(function(e){var t=e("core/block-editor").toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}}),u.withInstanceId])(function(e){var t=e.attributes,n=e.isSelected,a=e.setAttributes,u=e.instanceId,b=e.onResizeStart,d=e.onResizeStop,m=t.height,h="block-spacer-height-input-".concat(u),p=Object(c.useState)(m),g=Object(o.a)(p,2),f=g[0],v=g[1];return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(s.ResizableBox,{className:i()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:m},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:b,onResizeStop:function(e,t,n,r){d();var o=parseInt(m+r.height,10);a({height:o}),v(o)}}),Object(c.createElement)(l.InspectorControls,null,Object(c.createElement)(s.PanelBody,{title:Object(r.__)("Spacer Settings")},Object(c.createElement)(s.BaseControl,{label:Object(r.__)("Height in pixels"),id:h},Object(c.createElement)("input",{type:"number",id:h,onChange:function(e){var t=parseInt(e.target.value,10);v(t),isNaN(t)?(v(""),t=100):t<20&&(t=20),a({height:t})},value:f,min:"20",step:"10"})))))}),m=Object(c.createElement)(s.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(s.G,null,Object(c.createElement)(s.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"})));n.d(t,"metadata",function(){return h}),n.d(t,"name",function(){return p}),n.d(t,"settings",function(){return g});var h={name:"core/spacer",category:"layout",attributes:{height:{type:"number",default:100}}},p=h.name,g={title:Object(r.__)("Spacer"),description:Object(r.__)("Add white space between blocks and customize its height."),icon:m,edit:d,save:function(e){var t=e.attributes;return Object(c.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),c=n(2),a=n(3),i=n(6),l=n(4),s=n(8);var u=Object(s.compose)([Object(l.withDispatch)(function(e,t,n){var r=t.clientId,o=(0,n.select)("core/block-editor"),c=o.getBlockOrder,a=(0,o.getBlockRootClientId)(r),i=e("core/block-editor"),l=i.moveBlocksDown,s=i.moveBlocksUp,u=i.moveBlockToPosition,b=i.removeBlocks;return{moveToStart:function(){u(r,a,a,0)},moveRight:function(){l(r,a)},moveLeft:function(){s(r,a)},moveToEnd:function(){u(r,a,a,c(a).length-1)},remove:function(){b(r)}}})])(function(e){var t=e.destination,n=e.moveLeft,c=e.moveRight,i=e.moveToEnd,l=e.moveToStart,s=e.onEditLableClicked,u=e.remove;return Object(o.createElement)(a.NavigableMenu,null,Object(o.createElement)(a.MenuItem,{icon:"admin-links"},t),Object(o.createElement)(a.MenuItem,{onClick:s,icon:"edit"},Object(r.__)("Edit label text")),Object(o.createElement)("div",{className:"wp-block-navigation-menu-item__separator"}),Object(o.createElement)(a.MenuItem,{onClick:l,icon:"arrow-up-alt2"},Object(r.__)("Move to start")),Object(o.createElement)(a.MenuItem,{onClick:n,icon:"arrow-left-alt2"},Object(r.__)("Move left")),Object(o.createElement)(a.MenuItem,{onClick:c,icon:"arrow-right-alt2"},Object(r.__)("Move right")),Object(o.createElement)(a.MenuItem,{onClick:i,icon:"arrow-down-alt2"},Object(r.__)("Move to end")),Object(o.createElement)(a.MenuItem,{icon:"arrow-left-alt2"},Object(r.__)("Nest underneath…")),Object(o.createElement)("div",{className:"navigation-menu-item__separator"}),Object(o.createElement)(a.MenuItem,{onClick:u,icon:"trash"},Object(r.__)("Remove from menu")))}),b={noArrow:!0};var d=function(e){var t,n=e.attributes,l=e.clientId,s=e.isSelected,d=e.setAttributes,m=Object(o.useRef)(null),h=Object(o.useCallback)(function(e){return function(){e(),Object(c.invoke)(m,["current","textarea","focus"])}},[m]);return t=s?Object(o.createElement)("div",{className:"wp-block-navigation-menu-item__edit-container"},Object(o.createElement)(i.PlainText,{ref:m,className:"wp-block-navigation-menu-item__field",value:n.label,onChange:function(e){return d({label:e})},"aria-label":Object(r.__)("Navigation Label"),maxRows:1}),Object(o.createElement)(a.Dropdown,{contentClassName:"wp-block-navigation-menu-item__dropdown-content",position:"bottom left",popoverProps:b,renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(o.createElement)(a.IconButton,{icon:t?"arrow-up-alt2":"arrow-down-alt2",label:Object(r.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onClose;return Object(o.createElement)(u,{clientId:l,destination:n.destination,onEditLableClicked:h(t)})}})):n.label,Object(o.createElement)(o.Fragment,null,Object(o.createElement)(i.InspectorControls,null,Object(o.createElement)(a.PanelBody,{title:Object(r.__)("Menu Settings")},Object(o.createElement)(a.ToggleControl,{checked:n.opensInNewTab,onChange:function(e){d({opensInNewTab:e})},label:Object(r.__)("Open in new tab")}),Object(o.createElement)(a.TextareaControl,{value:n.description||"",onChange:function(e){d({description:e})},label:Object(r.__)("Description")})),Object(o.createElement)(a.PanelBody,{title:Object(r.__)("SEO Settings")},Object(o.createElement)(a.TextControl,{value:n.title||"",onChange:function(e){d({title:e})},label:Object(r.__)("Title Attribute"),help:Object(r.__)("Provide more context about where the link goes.")}),Object(o.createElement)(a.ToggleControl,{checked:n.nofollow,onChange:function(e){d({nofollow:e})},label:Object(r.__)("Add nofollow to menu item"),help:Object(o.createElement)(o.Fragment,null,Object(r.__)("Don't let search engines follow this link."),Object(o.createElement)(a.ExternalLink,{className:"wp-block-navigation-menu-item__nofollow-external-link",href:Object(r.__)("https://codex.wordpress.org/Nofollow")},Object(r.__)("What's this?")))}))),Object(o.createElement)("div",{className:"wp-block-navigation-menu-item"},t,Object(o.createElement)(i.InnerBlocks,{allowedBlocks:["core/navigation-menu-item"],renderAppender:i.InnerBlocks.ButtonBlockAppender})))};n.d(t,"metadata",function(){return m}),n.d(t,"name",function(){return h}),n.d(t,"settings",function(){return p});var m={name:"core/navigation-menu-item",category:"layout",attributes:{label:{type:"string"},destination:{type:"string"},nofollow:{type:"boolean",default:!1},title:{type:"string"},description:{type:"string"},opensInNewTab:{type:"boolean",default:!1}}},h=m.name,p={title:Object(r.__)("Menu Item (Experimental)"),parent:["core/navigation-menu"],icon:"admin-links",description:Object(r.__)("Add a page, link, or other item to your Navigation Menu."),edit:d,save:function(){return Object(o.createElement)(i.InnerBlocks.Content,null)}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(12),c=n(11),a=n(13),i=n(14),l=n(5),s=n(15),u=n(0),b=n(2),d=n(3),m=n(4),h=n(6),p=n(8),g=n(9),f=n(19),v=function(e){function t(){var e;return Object(o.a)(this,t),(e=Object(a.a)(this,Object(i.a)(t).apply(this,arguments))).titleField=Object(u.createRef)(),e.editButton=Object(u.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(l.a)(e)),e.handleTitleChange=e.handleTitleChange.bind(Object(l.a)(e)),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(l.a)(e)),e}return Object(s.a)(t,e),Object(c.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===f.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,o=e.isSaving,c=e.isEditDisabled,a=e.onEdit,i=e.instanceId;return Object(u.createElement)(u.Fragment,null,!t&&!o&&Object(u.createElement)("div",{className:"reusable-block-edit-panel"},Object(u.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object(u.createElement)(d.Button,{ref:this.editButton,isLarge:!0,className:"reusable-block-edit-panel__button",disabled:c,onClick:a},Object(r.__)("Edit"))),(t||o)&&Object(u.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(u.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(i),className:"reusable-block-edit-panel__label"},Object(r.__)("Name:")),Object(u.createElement)("input",{ref:this.titleField,type:"text",disabled:o,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(i)}),Object(u.createElement)(d.Button,{type:"submit",isLarge:!0,isBusy:o,disabled:!n||o,className:"reusable-block-edit-panel__button"},Object(r.__)("Save"))))}}]),t}(u.Component),O=Object(p.withInstanceId)(v);var j=function(e){var t=e.title,n=Object(r.sprintf)(Object(r.__)("Reusable Block: %s"),t);return Object(u.createElement)(d.Tooltip,{text:n},Object(u.createElement)("span",{className:"reusable-block-indicator"},Object(u.createElement)(d.Dashicon,{icon:"controls-repeat"})))},y=function(e){function t(e){var n,r=e.reusableBlock;return Object(o.a)(this,t),(n=Object(a.a)(this,Object(i.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(l.a)(n)),n.stopEditing=n.stopEditing.bind(Object(l.a)(n)),n.setBlocks=n.setBlocks.bind(Object(l.a)(n)),n.setTitle=n.setTitle.bind(Object(l.a)(n)),n.save=n.save.bind(Object(l.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(s.a)(t,e),Object(c.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,o=e.isFetching,c=e.isSaving,a=e.canUpdateBlock,i=e.settings,l=this.state,s=l.isEditing,b=l.title,m=l.blocks;if(!n&&o)return Object(u.createElement)(d.Placeholder,null,Object(u.createElement)(d.Spinner,null));if(!n)return Object(u.createElement)(d.Placeholder,null,Object(r.__)("Block has been deleted or is unavailable."));var p=Object(u.createElement)(h.BlockEditorProvider,{settings:i,value:m,onChange:this.setBlocks,onInput:this.setBlocks},Object(u.createElement)(h.WritingFlow,null,Object(u.createElement)(h.BlockList,null)));return s||(p=Object(u.createElement)(d.Disabled,null,p)),Object(u.createElement)("div",{className:"block-library-block__reusable-block-container"},(t||s)&&Object(u.createElement)(O,{isEditing:s,title:null!==b?b:n.title,isSaving:c&&!n.isTemporary,isEditDisabled:!a,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),!t&&!s&&Object(u.createElement)(j,{title:n.title}),p)}}]),t}(u.Component),k=Object(p.compose)([Object(m.withSelect)(function(e,t){var n=e("core/editor"),r=n.__experimentalGetReusableBlock,o=n.__experimentalIsFetchingReusableBlock,c=n.__experimentalIsSavingReusableBlock,a=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:c(u),blocks:b?l(b.id):null,canUpdateBlock:!!b&&!b.isTemporary&&!!a("update","blocks",u),settings:s()}}),Object(m.withDispatch)(function(e,t){var n=e("core/editor"),r=n.__experimentalFetchReusableBlocks,o=n.__experimentalUpdateReusableBlock,c=n.__experimentalSaveReusableBlock,a=t.attributes.ref;return{fetchReusableBlock:Object(b.partial)(r,a),onChange:Object(b.partial)(o,a),onSave:Object(b.partial)(c,a)}})])(y);n.d(t,"name",function(){return _}),n.d(t,"settings",function(){return C});var _="core/block",C={title:Object(r.__)("Reusable Block"),category:"reusable",description:Object(r.__)("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:k}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),c=n(6),a=n(3),i=n(23),l=n(4),s=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(o.createElement)(a.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var u=function(e){var t=e.attributes,n=e.setAttributes,u=function(e){var t=Object(o.useState)(!1),n=Object(i.a)(t,2),u=n[0],b=n[1],d=Object(l.useSelect)(function(t){var n=t("core/block-editor"),r=n.getSelectedBlockClientId;return{block:(0,n.getBlock)(e),selectedBlockClientId:r()}},[e]),m=d.block,h=d.selectedBlockClientId,p=Object(l.useDispatch)("core/block-editor").selectBlock;return{navigatorToolbarButton:Object(o.createElement)(a.IconButton,{className:"components-toolbar__control",label:Object(r.__)("Open block navigator"),onClick:function(){return b(!0)},icon:s}),navigatorModal:u&&Object(o.createElement)(a.Modal,{title:Object(r.__)("Block Navigator"),closeLabel:Object(r.__)("Close"),onRequestClose:function(){b(!1)}},Object(o.createElement)(c.__experimentalBlockNavigationList,{blocks:[m],selectedBlockClientId:h,selectBlock:p,showNestedBlocks:!0}))}}(e.clientId),b=u.navigatorToolbarButton,d=u.navigatorModal;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.BlockControls,null,Object(o.createElement)(a.Toolbar,null,b)),d,Object(o.createElement)(c.InspectorControls,null,Object(o.createElement)(a.PanelBody,{title:Object(r.__)("Menu Settings")},Object(o.createElement)(a.CheckboxControl,{value:t.automaticallyAdd,onChange:function(e){n({automaticallyAdd:e})},label:Object(r.__)("Automatically add new pages"),help:Object(r.__)("Automatically add new top level pages to this menu.")}))),Object(o.createElement)("div",{className:"wp-block-navigation-menu"},Object(o.createElement)(c.InnerBlocks,{allowedBlocks:["core/navigation-menu-item"],renderAppender:c.InnerBlocks.ButtonBlockAppender})))};n.d(t,"name",function(){return b}),n.d(t,"settings",function(){return d});var b="core/navigation-menu",d={title:Object(r.__)("Navigation Menu (Experimental)"),icon:"menu",description:Object(r.__)("Add a navigation menu to your site."),keywords:[Object(r.__)("menu"),Object(r.__)("navigation"),Object(r.__)("links")],supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0},edit:u,save:function(){return Object(o.createElement)(c.InnerBlocks.Content,null)}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(12),c=n(11),a=n(13),i=n(14),l=n(5),s=n(15),u=n(0),b=n(2),d=n(3),m=n(8),h=n(4),p=n(6),g=function(e){function t(){var e;return Object(o.a)(this,t),(e=Object(a.a)(this,Object(i.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(l.a)(e)),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(l.a)(e)),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(l.a)(e)),e}return Object(s.a)(t,e),Object(c.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(b.unescape)(e.name).trim():Object(r.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object(u.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,c=r.showPostCounts,a=this.getCategories(e.id);return Object(u.createElement)("li",{key:e.id},Object(u.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),c&&Object(u.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),o&&!!a.length&&Object(u.createElement)("ul",{className:this.getCategoryListClassName(t+1)},a.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,o=this.getCategories(n),c="blocks-category-select-".concat(t);return Object(u.createElement)(u.Fragment,null,Object(u.createElement)("label",{htmlFor:c,className:"screen-reader-text"},Object(r.__)("Categories")),Object(u.createElement)("select",{id:c,className:"wp-block-categories__dropdown"},o.map(function(t){return e.renderCategoryDropdownItem(t,0)})))}},{key:"renderCategoryDropdownItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,c=r.showPostCounts,a=this.getCategories(e.id);return[Object(u.createElement)("option",{key:e.id},Object(b.times)(3*t,function(){return" "}),this.renderCategoryName(e),c?" (".concat(e.count,")"):""),o&&!!a.length&&a.map(function(e){return n.renderCategoryDropdownItem(e,t+1)})]}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.isRequesting,o=t.displayAsDropdown,c=t.showHierarchy,a=t.showPostCounts,i=Object(u.createElement)(p.InspectorControls,null,Object(u.createElement)(d.PanelBody,{title:Object(r.__)("Categories Settings")},Object(u.createElement)(d.ToggleControl,{label:Object(r.__)("Display as Dropdown"),checked:o,onChange:this.toggleDisplayAsDropdown}),Object(u.createElement)(d.ToggleControl,{label:Object(r.__)("Show Hierarchy"),checked:c,onChange:this.toggleShowHierarchy}),Object(u.createElement)(d.ToggleControl,{label:Object(r.__)("Show Post Counts"),checked:a,onChange:this.toggleShowPostCounts})));return n?Object(u.createElement)(u.Fragment,null,i,Object(u.createElement)(d.Placeholder,{icon:"admin-post",label:Object(r.__)("Categories")},Object(u.createElement)(d.Spinner,null))):Object(u.createElement)(u.Fragment,null,i,Object(u.createElement)("div",{className:this.props.className},o?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(u.Component),f=Object(m.compose)(Object(h.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])}}),m.withInstanceId)(g),v=Object(u.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(u.createElement)(d.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(u.createElement)(d.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object(u.createElement)(d.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(u.createElement)(d.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"}));n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return j});var O="core/categories",j={title:Object(r.__)("Categories"),description:Object(r.__)("Display a list of all categories."),icon:v,category:"widgets",supports:{align:!0,html:!1},edit:f}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(7),c=n(12),a=n(11),i=n(13),l=n(14),s=n(5),u=n(15),b=n(0),d=n(29),m=n.n(d),h=n(45),p=n.n(h),g=n(3),f=n(4),v=n(55),O=n.n(v),j=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).getYearMonth=p()(e.getYearMonth.bind(Object(s.a)(e)),{maxSize:1}),e.getServerSideAttributes=p()(e.getServerSideAttributes.bind(Object(s.a)(e)),{maxSize:1}),e}return Object(u.a)(t,e),Object(a.a)(t,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=m()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return Object(o.a)({},e,this.getYearMonth(t))}},{key:"render",value:function(){return Object(b.createElement)(g.Disabled,null,Object(b.createElement)(O.a,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),t}(b.Component),y=Object(f.withSelect)(function(e){var t=e("core/editor");if(t){var n=t.getEditedPostAttribute;return{date:"post"===n("type")?n("date"):void 0}}})(j),k=Object(b.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(g.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(b.createElement)(g.G,null,Object(b.createElement)(g.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"})));n.d(t,"name",function(){return _}),n.d(t,"settings",function(){return C});var _="core/calendar",C={title:Object(r.__)("Calendar"),description:Object(r.__)("A calendar of your site’s posts."),icon:k,category:"widgets",keywords:[Object(r.__)("posts"),Object(r.__)("archive")],supports:{align:!0},edit:y}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),c=n(18),a=n(12),i=n(11),l=n(13),s=n(14),u=n(15),b=n(0),d=n(2),m=n(16),h=n.n(m),p=n(3),g=n(32),f=n.n(g),v=n(26),O=n(56),j=n(6),y=n(4),k={per_page:-1},_=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={categoriesList:[]},e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=f()({path:Object(v.addQueryArgs)("/wp/v2/categories",k)}).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,a=e.latestPosts,i=this.state.categoriesList,l=t.displayPostContentRadio,s=t.displayPostContent,u=t.displayPostDate,d=t.postLayout,m=t.columns,g=t.order,f=t.orderBy,v=t.categories,y=t.postsToShow,k=t.excerptLength,_=Object(b.createElement)(j.InspectorControls,null,Object(b.createElement)(p.PanelBody,{title:Object(r.__)("Post Content Settings")},Object(b.createElement)(p.ToggleControl,{label:Object(r.__)("Post Content"),checked:s,onChange:function(e){return n({displayPostContent:e})}}),s&&Object(b.createElement)(p.RadioControl,{label:"Show:",selected:l,options:[{label:"Excerpt",value:"excerpt"},{label:"Full Post",value:"full_post"}],onChange:function(e){return n({displayPostContentRadio:e})}}),s&&"excerpt"===l&&Object(b.createElement)(p.RangeControl,{label:Object(r.__)("Max number of words in excerpt"),value:k,onChange:function(e){return n({excerptLength:e})},min:10,max:100})),Object(b.createElement)(p.PanelBody,{title:Object(r.__)("Post Meta Settings")},Object(b.createElement)(p.ToggleControl,{label:Object(r.__)("Display post date"),checked:u,onChange:function(e){return n({displayPostDate:e})}})),Object(b.createElement)(p.PanelBody,{title:Object(r.__)("Sorting and Filtering")},Object(b.createElement)(p.QueryControls,Object(c.a)({order:g,orderBy:f},{numberOfItems:y,categoriesList:i,selectedCategoryId:v,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"===d&&Object(b.createElement)(p.RangeControl,{label:Object(r.__)("Columns"),value:m,onChange:function(e){return n({columns:e})},min:2,max:C?Math.min(6,a.length):6,required:!0}))),C=Array.isArray(a)&&a.length;if(!C)return Object(b.createElement)(b.Fragment,null,_,Object(b.createElement)(p.Placeholder,{icon:"admin-post",label:Object(r.__)("Latest Posts")},Array.isArray(a)?Object(r.__)("No posts found."):Object(b.createElement)(p.Spinner,null)));var w=a.length>y?a.slice(0,y):a,E=[{icon:"list-view",title:Object(r.__)("List view"),onClick:function(){return n({postLayout:"list"})},isActive:"list"===d},{icon:"grid-view",title:Object(r.__)("Grid view"),onClick:function(){return n({postLayout:"grid"})},isActive:"grid"===d}],x=Object(O.__experimentalGetSettings)().formats.date;return Object(b.createElement)(b.Fragment,null,_,Object(b.createElement)(j.BlockControls,null,Object(b.createElement)(p.Toolbar,{controls:E})),Object(b.createElement)("ul",{className:h()(this.props.className,Object(o.a)({"wp-block-latest-posts__list":!0,"is-grid":"grid"===d,"has-dates":u},"columns-".concat(m),"grid"===d))},w.map(function(e,t){var n=e.title.rendered.trim(),o=e.excerpt.rendered;""===e.excerpt.raw&&(o=e.content.raw);var c=document.createElement("div");return c.innerHTML=o,o=c.textContent||c.innerText||"",Object(b.createElement)("li",{key:t},Object(b.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},n?Object(b.createElement)(b.RawHTML,null,n):Object(r.__)("(no title)")),u&&e.date_gmt&&Object(b.createElement)("time",{dateTime:Object(O.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(O.dateI18n)(x,e.date_gmt)),s&&"excerpt"===l&&Object(b.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},Object(b.createElement)(b.RawHTML,{key:"html"},k'+Object(r.__)("Read more")+"":o.trim().split(" ",k).join(" "))),s&&"full_post"===l&&Object(b.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object(b.createElement)(b.RawHTML,{key:"html"},e.content.raw.trim())))})))}}]),t}(b.Component),C=Object(y.withSelect)(function(e,t){var n=t.attributes,r=n.postsToShow,o=n.order,c=n.orderBy,a=n.categories;return{latestPosts:(0,e("core").getEntityRecords)("postType","post",Object(d.pickBy)({categories:a,order:o,orderby:c,per_page:r},function(e){return!Object(d.isUndefined)(e)}))}})(_),w=Object(b.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(p.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(b.createElement)(p.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(b.createElement)(p.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(b.createElement)(p.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(b.createElement)(p.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(b.createElement)(p.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"}));n.d(t,"name",function(){return E}),n.d(t,"settings",function(){return x});var E="core/latest-posts",x={title:Object(r.__)("Latest Posts"),description:Object(r.__)("Display a list of your most recent posts."),icon:w,category:"widgets",keywords:[Object(r.__)("recent posts")],supports:{align:!0,html:!1},edit:C}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),c=n(12),a=n(11),i=n(13),l=n(14),s=n(5),u=n(15),b=n(0),d=n(6),m=n(3),h=n(55),p=n.n(h),g=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).setCommentsToShow=e.setCommentsToShow.bind(Object(s.a)(e)),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(u.a)(t,e),Object(a.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(o.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,o=e.displayDate,c=e.displayExcerpt;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(d.InspectorControls,null,Object(b.createElement)(m.PanelBody,{title:Object(r.__)("Latest Comments Settings")},Object(b.createElement)(m.ToggleControl,{label:Object(r.__)("Display Avatar"),checked:n,onChange:this.toggleDisplayAvatar}),Object(b.createElement)(m.ToggleControl,{label:Object(r.__)("Display Date"),checked:o,onChange:this.toggleDisplayDate}),Object(b.createElement)(m.ToggleControl,{label:Object(r.__)("Display Excerpt"),checked:c,onChange:this.toggleDisplayExcerpt}),Object(b.createElement)(m.RangeControl,{label:Object(r.__)("Number of Comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(b.createElement)(m.Disabled,null,Object(b.createElement)(p.a,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(b.Component),f=Object(b.createElement)(m.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(m.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(b.createElement)(m.G,null,Object(b.createElement)(m.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"})));n.d(t,"name",function(){return v}),n.d(t,"settings",function(){return O});var v="core/latest-comments",O={title:Object(r.__)("Latest Comments"),description:Object(r.__)("Display a list of your most recent comments."),icon:f,category:"widgets",keywords:[Object(r.__)("recent comments")],supports:{align:!0,html:!1},edit:g}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),c=n(6),a=n(80),i=Object.keys(a.a).map(function(e){return"core/social-link-"+e}),l=[["core/social-link-wordpress",{url:"https://wordpress.org"}],["core/social-link-facebook"],["core/social-link-twitter"],["core/social-link-instagram"],["core/social-link-linkedin"],["core/social-link-youtube"]],s=function(e){var t=e.className;return Object(o.createElement)("div",{className:t},Object(o.createElement)(c.InnerBlocks,{allowedBlocks:i,templateLock:!1,template:l}))};n.d(t,"metadata",function(){return u}),n.d(t,"name",function(){return b}),n.d(t,"settings",function(){return d});var u={name:"core/social-links",category:"widgets",icon:"share",attributes:{}},b=u.name,d={title:Object(r.__)("Social links"),description:Object(r.__)("Create a block of links to your social media or external sites"),supports:{align:["left","center","right"]},styles:[{name:"default",label:Object(r.__)("Default"),isDefault:!0},{name:"logos-only",label:Object(r.__)("Logos Only")},{name:"pill-shape",label:Object(r.__)("Pill Shape")}],edit:s,save:function(e){var t=e.className;return Object(o.createElement)("ul",{className:t},Object(o.createElement)(c.InnerBlocks.Content,null))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),c=n(3),a=n(6),i=n(55),l=n.n(i);var s=Object(o.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(c.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"}));n.d(t,"name",function(){return u}),n.d(t,"settings",function(){return b});var u="core/archives",b={title:Object(r.__)("Archives"),description:Object(r.__)("Display a monthly archive of your posts."),icon:s,category:"widgets",supports:{align:!0,html:!1},edit:function(e){var t=e.attributes,n=e.setAttributes,i=t.showPostCounts,s=t.displayAsDropdown;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(a.InspectorControls,null,Object(o.createElement)(c.PanelBody,{title:Object(r.__)("Archives Settings")},Object(o.createElement)(c.ToggleControl,{label:Object(r.__)("Display as Dropdown"),checked:s,onChange:function(){return n({displayAsDropdown:!s})}}),Object(o.createElement)(c.ToggleControl,{label:Object(r.__)("Show Post Counts"),checked:i,onChange:function(){return n({showPostCounts:!i})}}))),Object(o.createElement)(c.Disabled,null,Object(o.createElement)(l.a,{block:"core/archives",attributes:t})))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(17),c=n(12),a=n(11),i=n(13),l=n(14),s=n(5),u=n(15),b=n(0),d=n(2),m=n(3),h=n(4),p=n(6),g=n(55),f=n.n(g),v=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(s.a)(e)),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(s.a)(e)),e}return Object(u.a)(t,e),Object(a.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(d.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(r.__)("- Select -"),value:"",disabled:!0},n=Object(d.map)(e,function(e){return{value:e.slug,label:e.name}});return[t].concat(Object(o.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,o=this.getTaxonomyOptions(),c=Object(b.createElement)(p.InspectorControls,null,Object(b.createElement)(m.PanelBody,{title:Object(r.__)("Tag Cloud Settings")},Object(b.createElement)(m.SelectControl,{label:Object(r.__)("Taxonomy"),options:o,value:t,onChange:this.setTaxonomy}),Object(b.createElement)(m.ToggleControl,{label:Object(r.__)("Show post counts"),checked:n,onChange:this.toggleShowTagCounts})));return Object(b.createElement)(b.Fragment,null,c,Object(b.createElement)(f.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}(b.Component),O=Object(h.withSelect)(function(e){return{taxonomies:e("core").getTaxonomies()}})(v);n.d(t,"name",function(){return j}),n.d(t,"settings",function(){return y});var j="core/tag-cloud",y={title:Object(r.__)("Tag Cloud"),description:Object(r.__)("A cloud of your most used tags."),icon:"tag",category:"widgets",supports:{html:!1,align:!0},edit:O}},function(e,t,n){"use strict";var r=n(7),o=n(1),c=n(23),a=n(0),i=n(16),l=n.n(i),s=n(6),u=n(3),b=n(80),d=function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,i=t.url,d=t.site,m=Object(a.useState)(!1),h=Object(c.a)(m,2),p=h[0],g=h[1],f=l()("wp-social-link","wp-social-link-"+d,{"wp-social-link__is-incomplete":!i}),v=Object(b.b)(d);return Object(a.createElement)(u.Button,{className:f,onClick:function(){return g(!0)}},Object(a.createElement)(v,null),r&&p&&Object(a.createElement)(s.URLPopover,{onClose:function(){return g(!1)}},Object(a.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:function(e){e.preventDefault(),g(!1)}},Object(a.createElement)("div",{className:"editor-url-input block-editor-url-input"},Object(a.createElement)("input",{type:"text",value:i,onChange:function(e){return n({url:e.target.value})},placeholder:Object(o.__)("Enter Address")})),Object(a.createElement)(u.IconButton,{icon:"editor-break",label:Object(o.__)("Apply"),type:"submit"}))))};n.d(t,"a",function(){return h});var m={category:"widgets",parent:["core/social-links"],supports:{reusable:!1,html:!1},edit:d},h=Object.keys(b.a).map(function(e){var t=b.a[e];return{name:"core/social-link-"+e,settings:Object(r.a)({title:t.name,icon:t.icon,description:Object(o.__)("Link to "+t.name)},m,{attributes:{url:{type:"string"},site:{type:"string",default:e}}})}})},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),c=n(6);n.d(t,"name",function(){return a}),n.d(t,"settings",function(){return i});var a="core/search",i={title:Object(r.__)("Search"),description:Object(r.__)("Help visitors find your content."),icon:"search",category:"widgets",keywords:[Object(r.__)("find")],supports:{align:!0},edit:function(e){var t=e.className,n=e.attributes,a=e.setAttributes,i=n.label,l=n.placeholder,s=n.buttonText;return Object(o.createElement)("div",{className:t},Object(o.createElement)(c.RichText,{wrapperClassName:"wp-block-search__label","aria-label":Object(r.__)("Label text"),placeholder:Object(r.__)("Add label…"),withoutInteractiveFormatting:!0,value:i,onChange:function(e){return a({label:e})}}),Object(o.createElement)("input",{className:"wp-block-search__input","aria-label":Object(r.__)("Optional placeholder text"),placeholder:l?void 0:Object(r.__)("Optional placeholder…"),value:l,onChange:function(e){return a({placeholder:e.target.value})}}),Object(o.createElement)(c.RichText,{wrapperClassName:"wp-block-search__button",className:"wp-block-search__button-rich-text","aria-label":Object(r.__)("Button text"),placeholder:Object(r.__)("Add button text…"),withoutInteractiveFormatting:!0,value:s,onChange:function(e){return a({buttonText:e})}}))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),c=n(12),a=n(11),i=n(13),l=n(14),s=n(5),u=n(15),b=n(0),d=n(3),m=n(6),h=n(55),p=n.n(h),g=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(s.a)(e)),e.onSubmitURL=e.onSubmitURL.bind(Object(s.a)(e)),e}return Object(u.a)(t,e),Object(a.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(o.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,o=t.columns,c=t.displayAuthor,a=t.displayExcerpt,i=t.displayDate,l=t.excerptLength,s=t.feedURL,u=t.itemsToShow,h=this.props.setAttributes;if(this.state.editing)return Object(b.createElement)(d.Placeholder,{icon:"rss",label:"RSS"},Object(b.createElement)("form",{onSubmit:this.onSubmitURL},Object(b.createElement)(d.TextControl,{placeholder:Object(r.__)("Enter URL here…"),value:s,onChange:function(e){return h({feedURL:e})},className:"components-placeholder__input"}),Object(b.createElement)(d.Button,{isLarge:!0,type:"submit"},Object(r.__)("Use URL"))));var g=[{icon:"edit",title:Object(r.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(r.__)("List view"),onClick:function(){return h({blockLayout:"list"})},isActive:"list"===n},{icon:"grid-view",title:Object(r.__)("Grid view"),onClick:function(){return h({blockLayout:"grid"})},isActive:"grid"===n}];return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(m.BlockControls,null,Object(b.createElement)(d.Toolbar,{controls:g})),Object(b.createElement)(m.InspectorControls,null,Object(b.createElement)(d.PanelBody,{title:Object(r.__)("RSS Settings")},Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Number of items"),value:u,onChange:function(e){return h({itemsToShow:e})},min:1,max:10,required:!0}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display author"),checked:c,onChange:this.toggleAttribute("displayAuthor")}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display date"),checked:i,onChange:this.toggleAttribute("displayDate")}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display excerpt"),checked:a,onChange:this.toggleAttribute("displayExcerpt")}),a&&Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Max number of words in excerpt"),value:l,onChange:function(e){return h({excerptLength:e})},min:10,max:100,required:!0}),"grid"===n&&Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Columns"),value:o,onChange:function(e){return h({columns:e})},min:2,max:6,required:!0}))),Object(b.createElement)(d.Disabled,null,Object(b.createElement)(p.a,{block:"core/rss",attributes:this.props.attributes})))}}]),t}(b.Component);n.d(t,"name",function(){return f}),n.d(t,"settings",function(){return v});var f="core/rss",v={title:Object(r.__)("RSS"),description:Object(r.__)("Display entries from any RSS or Atom feed."),icon:"rss",category:"widgets",keywords:[Object(r.__)("atom"),Object(r.__)("feed")],supports:{align:!0,html:!1},edit:g}},,,function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"registerCoreBlocks",function(){return J}),n.d(t,"__experimentalRegisterExperimentalCoreBlocks",function(){return X});var r=n(17),o=n(10),c=(n(97),n(6),n(24),n(9)),a=n(164),i=n(243),l=n(240),s=n(252),u=n(241),b=n(275),d=n(260),m=n(254),h=n(271),p=n(270),g=n(250),f=n(257),v=n(264),O=n(244),j=n(128),y=n(246),k=n(253),_=n(242),C=n(269),w=n(267),E=n(273),x=n(272),S=n(248),T=n(251),B=n(166),N=n(255),M=n(256),A=n(258),R=n(249),I=n(268),L=n(279),P=n(278),z=n(129),H=n(259),V=n(261),D=n(266),F=n(262),U=n(245),q=n(265),W=n(247),G=n(263),Z=n(276),K=n(165),$=n(274),Y=n(277),Q=function(e){if(e){var t=e.metadata,n=e.settings,r=e.name;t&&Object(c.unstable__bootstrapServerSideBlockDefinitions)(Object(o.a)({},r,t)),Object(c.registerBlockType)(r,n)}},J=function(){[a,i,l,u,T,s,V,b,d,m,h,p,g,f,v,O,j].concat(Object(r.a)(j.common),Object(r.a)(j.others),[y,z,window.wp&&window.wp.oldEditor?K:null,k,_,E,x,B,N,M,A,R,L,P,H,I,$],Object(r.a)(Y.a),[D,F,U,Z,q,W,G]).forEach(Q),Object(c.setDefaultBlockName)(a.name),window.wp&&window.wp.oldEditor&&Object(c.setFreeformContentHandlerName)(K.name),Object(c.setUnregisteredTypeHandlerName)(B.name),z&&Object(c.setGroupingBlockName)(z.name)},X=2===e.env.GUTENBERG_PHASE?function(e){var t=e.__experimentalEnableLegacyWidgetBlock,n=e.__experimentalEnableMenuBlock;[t?S:null,n?C:null,n?w:null].forEach(Q)}:void 0}.call(this,n(96))}]); \ No newline at end of file +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}),m=t(b[0],5),d=m[0],h=m[1],p=m[2],g=m[3],f=m[4];return g?[Math.round(d/g),Math.round(h/g),Math.round(p/g),Math.round(g/f)]:[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){var t=(299*e[0]+587*e[1]+114*e[2])/1e3;return t<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;var r,o,a}()}()},,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),a=n(0),c=n(16),i=n.n(c),l=n(6),s=[{supports:{className:!1,anchor:!0},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"}},save:function(e){var t=e.attributes,n=t.align,r=t.level,c=t.content,s=t.textColor,u=t.customTextColor,b="h"+r,m=Object(l.getColorClassName)("color",s),d=i()(Object(o.a)({},m,m));return Object(a.createElement)(l.RichText.Content,{className:d||void 0,tagName:b,style:{textAlign:n,color:m?void 0:u},value:c})}}],u=n(7),b=n(12),m=n(11),d=n(13),h=n(14),p=n(15),g=n(2),f=n(3);function v(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(a.createElement)(f.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(f.Path,{d:n[t]})):null}var O=function(e){function t(){return Object(b.a)(this,t),Object(d.a)(this,Object(h.a)(t).apply(this,arguments))}return Object(p.a)(t,e),Object(m.a)(t,[{key:"createLevelControl",value:function(e,t,n){return{icon:Object(a.createElement)(v,{level:e}),title:Object(r.sprintf)(Object(r.__)("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,c=t.maxLevel,i=t.selectedLevel,l=t.onChange;return Object(a.createElement)(f.Toolbar,{isCollapsed:r,icon:Object(a.createElement)(v,{level:i}),controls:Object(g.range)(o,c).map(function(t){return e.createLevelControl(t,i,l)})})}}]),t}(a.Component),j=n(8),y=n(9),_=Object(a.memo)(function(e){var t=e.textColorValue,n=e.setTextColor;return Object(a.createElement)(l.PanelColorSettings,{title:Object(r.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:t,onChange:n,label:Object(r.__)("Text Color")}]})});var k=Object(j.compose)([Object(l.withColors)("backgroundColor",{textColor:"color"})])(function(e){var t,n=e.attributes,c=e.setAttributes,s=e.mergeBlocks,b=e.onReplace,m=e.className,d=e.textColor,h=e.setTextColor,p=n.align,g=n.content,v=n.level,j=n.placeholder,k="h"+v;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.BlockControls,null,Object(a.createElement)(O,{minLevel:2,maxLevel:5,selectedLevel:v,onChange:function(e){return c({level:e})}}),Object(a.createElement)(l.AlignmentToolbar,{value:p,onChange:function(e){c({align:e})}})),Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(f.PanelBody,{title:Object(r.__)("Heading Settings")},Object(a.createElement)("p",null,Object(r.__)("Level")),Object(a.createElement)(O,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:v,onChange:function(e){return c({level:e})}})),Object(a.createElement)(_,{setTextColor:h,textColorValue:d.color})),Object(a.createElement)(l.RichText,{identifier:"content",wrapperClassName:"wp-block-heading",tagName:k,value:g,onChange:function(e){return c({content:e})},onMerge:s,onSplit:function(e){return e?Object(y.createBlock)("core/heading",Object(u.a)({},n,{content:e})):Object(y.createBlock)("core/paragraph")},onReplace:b,onRemove:function(){return b([])},className:i()(m,(t={},Object(o.a)(t,"has-text-align-".concat(p),p),Object(o.a)(t,"has-text-color",d.color),Object(o.a)(t,d.class,d.class),t)),placeholder:j||Object(r.__)("Write heading…"),style:{color:d.color}}))});var C=n(17);var w={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(y.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:{h1:{children:Object(y.getPhrasingContentSchema)()},h2:{children:Object(y.getPhrasingContentSchema)()},h3:{children:Object(y.getPhrasingContentSchema)()},h4:{children:Object(y.getPhrasingContentSchema)()},h5:{children:Object(y.getPhrasingContentSchema)()},h6:{children:Object(y.getPhrasingContentSchema)()}},transform:function(e){return Object(y.createBlock)("core/heading",Object(u.a)({},Object(y.getBlockAttributes)("core/heading",e.outerHTML),{level:(t=e.nodeName,Number(t.substr(1)))}));var t}}].concat(Object(C.a)([2,3,4,5,6].map(function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(y.createBlock)("core/heading",{level:e,content:t})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(y.createBlock)("core/paragraph",{content:t})}}]};n.d(t,"metadata",function(){return E}),n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var E={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"}}},x=E.name,S={title:Object(r.__)("Heading"),description:Object(r.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:"heading",keywords:[Object(r.__)("title"),Object(r.__)("subtitle")],supports:{className:!1,anchor:!0},example:{attributes:{content:Object(r.__)("Code is Poetry"),level:2}},transforms:w,deprecated:s,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:k,save:function(e){var t,n=e.attributes,r=n.align,c=n.content,s=n.customTextColor,u=n.level,b=n.textColor,m="h"+u,d=Object(l.getColorClassName)("color",b),h=i()((t={},Object(o.a)(t,d,d),Object(o.a)(t,"has-text-align-".concat(r),r),t));return Object(a.createElement)(l.RichText.Content,{className:h||void 0,tagName:m,style:{color:d?void 0:s},value:c})}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(7),a=n(0),c=n(16),i=n.n(c),l=n(2),s=n(6);function u(e){return Math.min(3,e.images.length)}var b=function(e){var t=Object(l.pick)(e,["alt","id","link","caption"]);t.url=Object(l.get)(e,["sizes","large","url"])||Object(l.get)(e,["media_details","sizes","large","source_url"])||e.url;var n=Object(l.get)(e,["sizes","full","url"])||Object(l.get)(e,["media_details","sizes","full","source_url"]);return n&&(t.fullUrl=n),t},m=[{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?u(t):r,c=t.imageCrop,i=t.linkTo;return Object(a.createElement)("ul",{className:"columns-".concat(o," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var n=Object(a.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(a.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(a.createElement)("figure",null,t?Object(a.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(a.createElement)(s.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(l.some)(t,function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]}))},migrate:function(e){return Object(o.a)({},e,{ids:Object(l.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?u(t):r,c=t.imageCrop,i=t.linkTo;return Object(a.createElement)("ul",{className:"columns-".concat(o," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(a.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(a.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(a.createElement)("figure",null,t?Object(a.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(a.createElement)(s.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?u(t):r,c=t.align,l=t.imageCrop,s=t.linkTo,b=i()("columns-".concat(o),{alignnone:"none"===c,"is-cropped":l});return Object(a.createElement)("div",{className:b},n.map(function(e){var t;switch(s){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(a.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(a.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(a.createElement)("a",{href:t},n):n)}))}}],d=n(10),h=n(17),p=n(12),g=n(11),f=n(13),v=n(14),O=n(5),j=n(15),y=n(8),_=n(3),k=n(35),C=n(4),w=n(19),E=Object(a.createElement)(_.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(_.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(_.G,null,Object(a.createElement)(_.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"}))),x=Object(a.createElement)(_.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(_.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),S=Object(a.createElement)(_.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(_.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),T=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(f.a)(this,Object(v.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(O.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(O.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(O.a)(e)),e.bindContainer=e.bindContainer.bind(Object(O.a)(e)),e.state={captionSelected:!1},e}return Object(j.a)(t,e),Object(g.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!==[w.BACKSPACE,w.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,o=t.alt,c=t.id,l=t.linkTo,u=t.link,b=t.isFirstItem,m=t.isLastItem,d=t.isSelected,h=t.caption,p=t.onRemove,g=t.onMoveForward,f=t.onMoveBackward,v=t.setAttributes,O=t["aria-label"];switch(l){case"media":e=n;break;case"attachment":e=u}var j=Object(a.createElement)(a.Fragment,null,Object(a.createElement)("img",{src:n,alt:o,"data-id":c,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":O,ref:this.bindContainer}),Object(k.isBlobURL)(n)&&Object(a.createElement)(_.Spinner,null)),y=i()({"is-selected":d,"is-transient":Object(k.isBlobURL)(n)});return Object(a.createElement)("figure",{className:y},e?Object(a.createElement)("a",{href:e},j):j,Object(a.createElement)("div",{className:"block-library-gallery-item__move-menu"},Object(a.createElement)(_.IconButton,{icon:x,onClick:b?void 0:f,className:"blocks-gallery-item__move-backward",label:Object(r.__)("Move image backward"),"aria-disabled":b,disabled:!d}),Object(a.createElement)(_.IconButton,{icon:S,onClick:m?void 0:g,className:"blocks-gallery-item__move-forward",label:Object(r.__)("Move image forward"),"aria-disabled":m,disabled:!d})),Object(a.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(a.createElement)(_.IconButton,{icon:"no-alt",onClick:p,className:"blocks-gallery-item__remove",label:Object(r.__)("Remove image"),disabled:!d})),(d||h)&&Object(a.createElement)(s.RichText,{tagName:"figcaption",placeholder:d?Object(r.__)("Write caption…"):null,value:h,isSelected:this.state.captionSelected,onChange:function(e){return v({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),t}(a.Component),B=Object(C.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(T),N=[{value:"attachment",label:Object(r.__)("Attachment Page")},{value:"media",label:Object(r.__)("Media File")},{value:"none",label:Object(r.__)("None")}],M=["image"],A=function(e){function t(){var e;return Object(p.a)(this,t),(e=Object(f.a)(this,Object(v.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(O.a)(e)),e.onSelectImages=e.onSelectImages.bind(Object(O.a)(e)),e.setLinkTo=e.setLinkTo.bind(Object(O.a)(e)),e.setColumnsNumber=e.setColumnsNumber.bind(Object(O.a)(e)),e.toggleImageCrop=e.toggleImageCrop.bind(Object(O.a)(e)),e.onMove=e.onMove.bind(Object(O.a)(e)),e.onMoveForward=e.onMoveForward.bind(Object(O.a)(e)),e.onMoveBackward=e.onMoveBackward.bind(Object(O.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(O.a)(e)),e.onUploadError=e.onUploadError.bind(Object(O.a)(e)),e.setImageAttributes=e.setImageAttributes.bind(Object(O.a)(e)),e.setAttributes=e.setAttributes.bind(Object(O.a)(e)),e.onFocusGalleryCaption=e.onFocusGalleryCaption.bind(Object(O.a)(e)),e.state={selectedImage:null,attachmentCaptions:null},e}return Object(j.a)(t,e),Object(g.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(o.a)({},e,{ids:Object(l.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(h.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(l.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(l.find)(t,{id:e.id}),o=r?r.caption:e.caption;if(!n)return o;var a=Object(l.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,a=n.images,c=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(o.a)({},b(e),{caption:t.selectCaption(e,a,c)})}),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(r.__)("Thumbnails are cropped to align."):Object(r.__)("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(h.a)(n.slice(0,e)),[Object(o.a)({},n[e],t)],Object(h.a)(n.slice(e+1)))})}},{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.mediaUpload,r=t.images;if(Object(l.every)(r,function(e){var t=e.url;return Object(k.isBlobURL)(t)})){var o=Object(l.map)(r,function(e){var t=e.url;return Object(k.getBlobByURL)(t)});Object(l.forEach)(r,function(e){var t=e.url;return Object(k.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,o=n.attributes,c=n.className,b=n.isSelected,m=n.noticeUI,h=n.setAttributes,p=o.align,g=o.columns,f=void 0===g?u(o):g,v=o.caption,O=o.imageCrop,j=o.images,y=o.linkTo,k=!!j.length,C=k&&Object(l.some)(j,function(e){return e.id}),w=Object(a.createElement)(s.MediaPlaceholder,{addToGallery:C,isAppender:k,className:c,dropZoneUIOnly:k&&!b,icon:!k&&Object(a.createElement)(s.BlockIcon,{icon:E}),labels:{title:!k&&Object(r.__)("Gallery"),instructions:!k&&Object(r.__)("Drag images, upload new ones or select files from your library.")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:M,multiple:!0,value:C?j:void 0,onError:this.onUploadError,notices:k?void 0:m});if(!k)return w;var x=i()("blocks-gallery-caption",{"screen-reader-text":!b&&s.RichText.isEmpty(v)});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.InspectorControls,null,Object(a.createElement)(_.PanelBody,{title:Object(r.__)("Gallery Settings")},j.length>1&&Object(a.createElement)(_.RangeControl,{label:Object(r.__)("Columns"),value:f,onChange:this.setColumnsNumber,min:1,max:Math.min(8,j.length),required:!0}),Object(a.createElement)(_.ToggleControl,{label:Object(r.__)("Crop Images"),checked:!!O,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),Object(a.createElement)(_.SelectControl,{label:Object(r.__)("Link To"),value:y,onChange:this.setLinkTo,options:N}))),m,Object(a.createElement)("figure",{className:i()(c,(e={},Object(d.a)(e,"align".concat(p),p),Object(d.a)(e,"columns-".concat(f),f),Object(d.a)(e,"is-cropped",O),e))},Object(a.createElement)("ul",{className:"blocks-gallery-grid"},j.map(function(e,n){var o=Object(r.sprintf)(Object(r.__)("image %1$d of %2$d in gallery"),n+1,j.length);return Object(a.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(a.createElement)(B,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===n,isLastItem:n+1===j.length,isSelected:b&&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":o}))})),w,Object(a.createElement)(s.RichText,{tagName:"figcaption",className:x,placeholder:Object(r.__)("Write gallery caption…"),value:v,unstableOnFocus:this.onFocusGalleryCaption,onChange:function(e){return h({caption:e})},inlineToolbar:!0})))}}]),t}(a.Component),R=Object(y.compose)([Object(C.withSelect)(function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}}),_.withNotices])(A);var I=n(9),L=function(e){return e?e.split(",").map(function(e){return parseInt(e,10)}):[]},z={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(l.every)(e,["align",t])?t:void 0;var n=Object(l.filter)(e,function(e){return e.url});return Object(I.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 L(t).map(function(e){return{id:e}})}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return L(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(l.every)(e,function(e){return 0===e.type.indexOf("image/")})},transform:function(e){return Object(I.createBlock)("core/gallery",{images:e.map(function(e){return b({url:Object(k.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(I.createBlock)("core/image",{id:t,url:r,alt:o,caption:a,align:n})}):Object(I.createBlock)("core/image",{align:n})}}]};n.d(t,"metadata",function(){return P}),n.d(t,"name",function(){return H}),n.d(t,"settings",function(){return V});var P={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"}}},H=P.name,V={title:Object(r.__)("Gallery"),description:Object(r.__)("Display multiple images in a rich gallery."),icon:E,keywords:[Object(r.__)("images"),Object(r.__)("photos")],example:{attributes:{columns:2,images:[{url:"https://upload.wikimedia.org/wikipedia/commons/c/c3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://upload.wikimedia.org/wikipedia/commons/0/01/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},supports:{align:!0},transforms:z,edit:R,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?u(t):r,c=t.imageCrop,i=t.caption,l=t.linkTo;return Object(a.createElement)("figure",{className:"columns-".concat(o," ").concat(c?"is-cropped":"")},Object(a.createElement)("ul",{className:"blocks-gallery-grid"},n.map(function(e){var t;switch(l){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var n=Object(a.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(a.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(a.createElement)("figure",null,t?Object(a.createElement)("a",{href:t},n):n,!s.RichText.isEmpty(e.caption)&&Object(a.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!s.RichText.isEmpty(i)&&Object(a.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:i}))},deprecated:m}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),a=n(0),c=n(16),i=n.n(c),l=n(2),s=n(6),u=[{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,c=r.backgroundColor,u=r.customBackgroundColor,b=r.isStackedOnMobile,m=r.mediaAlt,d=r.mediaPosition,h=r.mediaType,p=r.mediaUrl,g=r.mediaWidth,f={image:function(){return Object(a.createElement)("img",{src:p,alt:m})},video:function(){return Object(a.createElement)("video",{controls:!0,src:p})}},v=Object(s.getColorClassName)("background-color",c),O=i()((t={"has-media-on-the-right":"right"===d},Object(o.a)(t,v,v),Object(o.a)(t,"is-stacked-on-mobile",b),t));50!==g&&(n="right"===d?"auto ".concat(g,"%"):"".concat(g,"% auto"));var j={backgroundColor:v?void 0:u,gridTemplateColumns:n};return Object(a.createElement)("div",{className:O,style:j},Object(a.createElement)("figure",{className:"wp-block-media-text__media"},(f[h]||l.noop)()),Object(a.createElement)("div",{className:"wp-block-media-text__content"},Object(a.createElement)(s.InnerBlocks.Content,null)))}}],b=n(18),m=n(12),d=n(11),h=n(13),p=n(14),g=n(5),f=n(15),v=n(3),O=n(8),j=n(4),y=Object(a.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(v.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(a.createElement)(v.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(a.createElement)(v.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),_=["image","video"];function k(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}var C=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).onUploadError=e.onUploadError.bind(Object(g.a)(e)),e}return Object(f.a)(t,e),Object(d.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(a.createElement)(s.BlockControls,null,Object(a.createElement)(v.Toolbar,null,Object(a.createElement)(s.MediaUpload,{onSelect:n,allowedTypes:_,value:t,render:function(e){var t=e.open;return Object(a.createElement)(v.IconButton,{className:"components-toolbar__control",label:Object(r.__)("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,c=e.focalPoint,i=o?k(n,c):{};return Object(a.createElement)(a.Fragment,null,this.renderToolbarEditButton(),Object(a.createElement)("figure",{className:r,style:i},Object(a.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object(a.createElement)(a.Fragment,null,this.renderToolbarEditButton(),Object(a.createElement)("figure",{className:n},Object(a.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className,o=e.noticeUI;return Object(a.createElement)(s.MediaPlaceholder,{icon:Object(a.createElement)(s.BlockIcon,{icon:y}),labels:{title:Object(r.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:_,notices:o,onError:this.onUploadError})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,n=e.mediaUrl,r=e.mediaType,o=e.mediaWidth,c=e.commitWidthChange,i=e.onWidthChange,l=e.toggleSelection;if(r&&n){var s={right:"left"===t,left:"right"===t},u=null;switch(r){case"image":u=this.renderImage();break;case"video":u=this.renderVideo()}return Object(a.createElement)(v.ResizableBox,{className:"editor-media-container__resizer",size:{width:o+"%"},minWidth:"10%",maxWidth:"100%",enable:s,onResizeStart:function(){l(!1)},onResize:function(e,t,n){i(parseInt(n.style.width))},onResizeStop:function(e,t,n){l(!0),c(parseInt(n.style.width))},axis:"x"},u)}return this.renderPlaceholder()}}]),t}(a.Component),w=Object(O.compose)([Object(j.withDispatch)(function(e){return{toggleSelection:e("core/block-editor").toggleSelection}}),v.withNotices])(C),E=[["core/paragraph",{fontSize:"large",placeholder:Object(r._x)("Content…","content placeholder")}]],x=function(e){return Math.max(15,Math.min(e,85))},S=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(h.a)(this,Object(p.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(g.a)(e)),e.onWidthChange=e.onWidthChange.bind(Object(g.a)(e)),e.commitWidthChange=e.commitWidthChange.bind(Object(g.a)(e)),e.state={mediaWidth:null},e}return Object(f.a)(t,e),Object(d.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(l.get)(e,["sizes","large","url"])||Object(l.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:x(e)})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:x(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,c=e.mediaUrl,i=e.mediaWidth,l=e.imageFill,s=e.focalPoint;return Object(a.createElement)(w,Object(b.a)({className:"block-library-media-text__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:t,mediaId:n,mediaType:o,mediaUrl:c,mediaPosition:r,mediaWidth:i,imageFill:l,focalPoint:s}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,c=t.className,l=t.backgroundColor,u=t.isSelected,b=t.setAttributes,m=t.setBackgroundColor,d=n.isStackedOnMobile,h=n.mediaAlt,p=n.mediaPosition,g=n.mediaType,f=n.mediaWidth,O=n.verticalAlignment,j=n.mediaUrl,y=n.imageFill,_=n.focalPoint,k=this.state.mediaWidth,C=i()(c,(e={"has-media-on-the-right":"right"===p,"is-selected":u,"has-background":l.class||l.color},Object(o.a)(e,l.class,l.class),Object(o.a)(e,"is-stacked-on-mobile",d),Object(o.a)(e,"is-vertically-aligned-".concat(O),O),Object(o.a)(e,"is-image-fill",y),e)),w="".concat(k||f,"%"),x={gridTemplateColumns:"right"===p?"auto ".concat(w):"".concat(w," auto"),backgroundColor:l.color},S=[{value:l.color,onChange:m,label:Object(r.__)("Background Color")}],T=[{icon:"align-pull-left",title:Object(r.__)("Show media on left"),isActive:"left"===p,onClick:function(){return b({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(r.__)("Show media on right"),isActive:"right"===p,onClick:function(){return b({mediaPosition:"right"})}}],B=Object(a.createElement)(v.PanelBody,{title:Object(r.__)("Media & Text Settings")},Object(a.createElement)(v.ToggleControl,{label:Object(r.__)("Stack on mobile"),checked:d,onChange:function(){return b({isStackedOnMobile:!d})}}),"image"===g&&Object(a.createElement)(v.ToggleControl,{label:Object(r.__)("Crop image to fill entire column"),checked:y,onChange:function(){return b({imageFill:!y})}}),y&&Object(a.createElement)(v.FocalPointPicker,{label:Object(r.__)("Focal Point Picker"),url:j,value:_,onChange:function(e){return b({focalPoint:e})}}),"image"===g&&Object(a.createElement)(v.TextareaControl,{label:Object(r.__)("Alt Text (Alternative Text)"),value:h,onChange:function(e){b({mediaAlt:e})},help:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(v.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(r.__)("Describe the purpose of the image")),Object(r.__)("Leave empty if the image is purely decorative."))}));return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.InspectorControls,null,B,Object(a.createElement)(s.PanelColorSettings,{title:Object(r.__)("Color Settings"),initialOpen:!1,colorSettings:S})),Object(a.createElement)(s.BlockControls,null,Object(a.createElement)(v.Toolbar,{controls:T}),Object(a.createElement)(s.BlockVerticalAlignmentToolbar,{onChange:function(e){b({verticalAlignment:e})},value:O})),Object(a.createElement)("div",{className:C,style:x},this.renderMediaArea(),Object(a.createElement)(s.InnerBlocks,{template:E,templateInsertUpdatesSelection:!1})))}}]),t}(a.Component),T=Object(s.withColors)("backgroundColor")(S),B=Object(a.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(v.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"})),N=50;var M=n(9),A={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object(M.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(M.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(M.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(M.createBlock)("core/video",{id:t,src:n})}}]};n.d(t,"metadata",function(){return R}),n.d(t,"name",function(){return I}),n.d(t,"settings",function(){return L});var R={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"}}},I=R.name,L={title:Object(r.__)("Media & Text"),description:Object(r.__)("Set media and words side-by-side for a richer layout."),icon:B,keywords:[Object(r.__)("image"),Object(r.__)("video")],supports:{align:["wide","full"],html:!1},example:{attributes:{mediaType:"image",mediaUrl:"https://upload.wikimedia.org/wikipedia/commons/d/d4/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{content:Object(r.__)("The wren
    Earns his living
    Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(r.__)("— Kobayashi Issa (一茶)")}}]},transforms:A,edit:T,save:function(e){var t,n,r=e.attributes,c=r.backgroundColor,u=r.customBackgroundColor,b=r.isStackedOnMobile,m=r.mediaAlt,d=r.mediaPosition,h=r.mediaType,p=r.mediaUrl,g=r.mediaWidth,f=r.mediaId,v=r.verticalAlignment,O=r.imageFill,j=r.focalPoint,y={image:function(){return Object(a.createElement)("img",{src:p,alt:m,className:f&&"image"===h?"wp-image-".concat(f):null})},video:function(){return Object(a.createElement)("video",{controls:!0,src:p})}},_=Object(s.getColorClassName)("background-color",c),C=i()((t={"has-media-on-the-right":"right"===d,"has-background":_||u},Object(o.a)(t,_,_),Object(o.a)(t,"is-stacked-on-mobile",b),Object(o.a)(t,"is-vertically-aligned-".concat(v),v),Object(o.a)(t,"is-image-fill",O),t)),w=O?k(p,j):{};g!==N&&(n="right"===d?"auto ".concat(g,"%"):"".concat(g,"% auto"));var E={backgroundColor:_?void 0:u,gridTemplateColumns:n};return Object(a.createElement)("div",{className:C,style:E},Object(a.createElement)("figure",{className:"wp-block-media-text__media",style:w},(y[h]||l.noop)()),Object(a.createElement)("div",{className:"wp-block-media-text__content"},Object(a.createElement)(s.InnerBlocks.Content,null)))},deprecated:u}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(18),a=n(10),c=n(0),i=n(16),l=n.n(i),s=n(6),u={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"}},b=[{attributes:u,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,i=n.caption,u=n.align,b=n.href,m=n.width,d=n.height,h=n.id,p=l()((t={},Object(a.a)(t,"align".concat(u),u),Object(a.a)(t,"is-resized",m||d),t)),g=Object(c.createElement)("img",{src:r,alt:o,className:h?"wp-image-".concat(h):null,width:m,height:d});return Object(c.createElement)("figure",{className:p},b?Object(c.createElement)("a",{href:b},g):g,!s.RichText.isEmpty(i)&&Object(c.createElement)(s.RichText.Content,{tagName:"figcaption",value:i}))}},{attributes:u,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,i=t.href,l=t.width,u=t.height,b=t.id,m=Object(c.createElement)("img",{src:n,alt:r,className:b?"wp-image-".concat(b):null,width:l,height:u});return Object(c.createElement)("figure",{className:a?"align".concat(a):null},i?Object(c.createElement)("a",{href:i},m):m,!s.RichText.isEmpty(o)&&Object(c.createElement)(s.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:u,save:function(e){var t=e.attributes,n=t.url,r=t.alt,a=t.caption,i=t.align,l=t.href,u=t.width,b=t.height,m=u||b?{width:u,height:b}:{},d=Object(c.createElement)("img",Object(o.a)({src:n,alt:r},m)),h={};return u?h={width:u}:"left"!==i&&"right"!==i||(h={maxWidth:"50%"}),Object(c.createElement)("figure",{className:i?"align".concat(i):null,style:h},l?Object(c.createElement)("a",{href:l},d):d,!s.RichText.isEmpty(a)&&Object(c.createElement)(s.RichText.Content,{tagName:"figcaption",value:a}))}}],m=n(7),d=n(12),h=n(11),p=n(13),g=n(14),f=n(5),v=n(15),O=n(23),j=n(2),y=n(35),_=n(3),k=n(8),C=n(19),w=n(4),E=n(26),x=n(43),S=n(46),T=n(61),B=Object(c.createElement)(_.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(_.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(c.createElement)(_.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(c.createElement)(_.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"}));var N=function(e){function t(){var e;return Object(d.a)(this,t),(e=Object(p.a)(this,Object(g.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(f.a)(e)),e.calculateSize=e.calculateSize.bind(Object(f.a)(e)),e}return Object(v.a)(t,e),Object(h.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(c.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(c.Component),M=Object(k.withGlobalEvents)({resize:"calculateSize"})(N),A=["image"],R=function(e,t){return!e&&Object(y.isBlobURL)(t)},I=function(e){e.stopPropagation()},L=function(e){[C.LEFT,C.DOWN,C.RIGHT,C.UP,C.BACKSPACE,C.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},z=function(e){var t=e.advancedOptions,n=e.linkDestination,o=e.mediaLinks,a=e.onChangeUrl,i=e.url,l=Object(c.useState)(!1),u=Object(O.a)(l,2),b=u[0],m=u[1],d=Object(c.useCallback)(function(){m(!0)}),h=Object(c.useState)(!1),p=Object(O.a)(h,2),g=p[0],f=p[1],v=Object(c.useState)(null),y=Object(O.a)(v,2),k=y[0],C=y[1],w=Object(c.useCallback)(function(){"media"!==n&&"attachment"!==n||C(""),f(!0)}),E=Object(c.useCallback)(function(){f(!1)}),x=Object(c.useCallback)(function(){C(null),E(),m(!1)}),S=Object(c.useRef)(null),T=Object(c.useCallback)(function(){return function(e){var t=S.current;t&&t.contains(e.target)||(m(!1),C(null),E())}}),B=Object(c.useCallback)(function(){return function(e){k&&a(k),E(),C(null),e.preventDefault()}}),N=Object(c.useCallback)(function(){x(),a("")}),M=null!==k?k:i,A=(Object(j.find)(o,["linkDestination",n])||{}).title;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(_.IconButton,{icon:"admin-links",className:"components-toolbar__control",label:i?Object(r.__)("Edit link"):Object(r.__)("Insert link"),"aria-expanded":b,onClick:d}),b&&Object(c.createElement)(s.URLPopover,{onClickOutside:T(),onClose:x,renderSettings:function(){return t},additionalControls:!M&&Object(c.createElement)(_.NavigableMenu,null,Object(j.map)(o,function(e){return Object(c.createElement)(_.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){C(null),a(e.url),E()}},e.title)}))},(!i||g)&&Object(c.createElement)(s.URLPopover.LinkEditor,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",value:M,onChangeInputValue:C,onKeyDown:L,onKeyPress:I,onSubmit:B(),autocompleteRef:S}),i&&!g&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)(s.URLPopover.LinkViewer,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",onKeyPress:I,url:i,onEditLinkClick:w,urlLabel:A}),Object(c.createElement)(_.IconButton,{icon:"no",label:Object(r.__)("Remove link"),onClick:N}))))},P=function(e){function t(e){var n,r=e.attributes;return Object(d.a)(this,t),(n=Object(p.a)(this,Object(g.a)(t).apply(this,arguments))).updateAlt=n.updateAlt.bind(Object(f.a)(n)),n.updateAlignment=n.updateAlignment.bind(Object(f.a)(n)),n.onFocusCaption=n.onFocusCaption.bind(Object(f.a)(n)),n.onImageClick=n.onImageClick.bind(Object(f.a)(n)),n.onSelectImage=n.onSelectImage.bind(Object(f.a)(n)),n.onSelectURL=n.onSelectURL.bind(Object(f.a)(n)),n.updateImage=n.updateImage.bind(Object(f.a)(n)),n.updateWidth=n.updateWidth.bind(Object(f.a)(n)),n.updateHeight=n.updateHeight.bind(Object(f.a)(n)),n.updateDimensions=n.updateDimensions.bind(Object(f.a)(n)),n.onSetHref=n.onSetHref.bind(Object(f.a)(n)),n.onSetLinkClass=n.onSetLinkClass.bind(Object(f.a)(n)),n.onSetLinkRel=n.onSetLinkRel.bind(Object(f.a)(n)),n.onSetNewTab=n.onSetNewTab.bind(Object(f.a)(n)),n.getFilename=n.getFilename.bind(Object(f.a)(n)),n.toggleIsEditing=n.toggleIsEditing.bind(Object(f.a)(n)),n.onUploadError=n.onUploadError.bind(Object(f.a)(n)),n.onImageError=n.onImageError.bind(Object(f.a)(n)),n.getLinkDestinations=n.getLinkDestinations.bind(Object(f.a)(n)),n.state={captionFocused:!1,isEditing:!r.url},n}return Object(v.a)(t,e),Object(h.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(R(a,i)){var l=Object(y.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(t){var n=Object(O.a)(t,1)[0];e.onSelectImage(n)},allowedTypes:A,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;R(n,o)&&!R(c,l)&&Object(y.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);R(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(m.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=Object(T.a)({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(m.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(E.getPath)(e);if(t)return Object(j.last)(t.split("/"))}},{key:"getLinkDestinations",value:function(){return[{linkDestination:"media",title:Object(r.__)("Media File"),url:this.props.image&&this.props.image.source_url||this.props.attributes.url,icon:B},{linkDestination:"attachment",title:Object(r.__)("Attachment Page"),url:this.props.image&&this.props.image.link,icon:Object(c.createElement)(_.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(_.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(c.createElement)(_.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(S.speak)(Object(r.__)("You are now viewing the image in the image block.")):Object(S.speak)(Object(r.__)("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,o=n.attributes,i=n.setAttributes,u=n.isLargeViewport,b=n.isSelected,m=n.className,d=n.maxWidth,h=n.noticeUI,p=n.isRTL,g=n.onResizeStart,f=n.onResizeStop,v=o.url,O=o.alt,k=o.caption,C=o.align,w=o.id,E=o.href,x=o.rel,S=o.linkClass,T=o.linkDestination,N=o.width,R=o.height,P=o.linkTarget,H=o.sizeSlug,V=function(e,t){return t&&!e&&!Object(y.isBlobURL)(t)}(w,v),D=Object(c.createElement)(_.SVG,{width:20,height:20,viewBox:"0 0 20 20"},Object(c.createElement)(_.Rect,{x:11,y:3,width:7,height:5,rx:1}),Object(c.createElement)(_.Rect,{x:2,y:12,width:7,height:5,rx:1}),Object(c.createElement)(_.Path,{d:"M13,12h1a3,3,0,0,1-3,3v2a5,5,0,0,0,5-5h1L15,9Z"}),Object(c.createElement)(_.Path,{d:"M4,8H3l2,3L7,8H6A3,3,0,0,1,9,5V3A5,5,0,0,0,4,8Z"})),F=Object(c.createElement)(s.BlockControls,null,Object(c.createElement)(s.BlockAlignmentToolbar,{value:C,onChange:this.updateAlignment}),v&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)(_.Toolbar,null,Object(c.createElement)(_.IconButton,{className:l()("components-icon-button components-toolbar__control",{"is-active":this.state.isEditing}),label:Object(r.__)("Edit image"),"aria-pressed":this.state.isEditing,onClick:this.toggleIsEditing,icon:D})),Object(c.createElement)(_.Toolbar,null,Object(c.createElement)(z,{url:E||"",onChangeUrl:this.onSetHref,mediaLinks:this.getLinkDestinations(),linkDestination:T,advancedOptions:Object(c.createElement)(c.Fragment,null,Object(c.createElement)(_.ToggleControl,{label:Object(r.__)("Open in New Tab"),onChange:this.onSetNewTab,checked:"_blank"===P}),Object(c.createElement)(_.TextControl,{label:Object(r.__)("Link CSS Class"),value:S||"",onKeyPress:I,onKeyDown:L,onChange:this.onSetLinkClass}),Object(c.createElement)(_.TextControl,{label:Object(r.__)("Link Rel"),value:x||"",onChange:this.onSetLinkRel,onKeyPress:I,onKeyDown:L}))})))),U=V?v:void 0,q={title:v?Object(r.__)("Edit image"):Object(r.__)("Image"),instructions:Object(r.__)("Upload an image file, pick one from your media library, or add one with a URL.")},W=!!v&&Object(c.createElement)("img",{alt:Object(r.__)("Edit image"),title:Object(r.__)("Edit image"),className:"edit-image-preview",src:v}),G=Object(c.createElement)(s.MediaPlaceholder,{icon:Object(c.createElement)(s.BlockIcon,{icon:B}),className:m,labels:q,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,onDoubleClick:this.toggleIsEditing,onCancel:!!v&&this.toggleIsEditing,notices:h,onError:this.onUploadError,accept:"image/*",allowedTypes:A,value:{id:w,src:U},mediaPreview:W,dropZoneUIOnly:!t&&v});if(t||!v)return Object(c.createElement)(c.Fragment,null,F,G);var Z=l()(m,Object(a.a)({"is-transient":Object(y.isBlobURL)(v),"is-resized":!!N||!!R,"is-focused":b},"size-".concat(H),H)),K=-1===["wide","full"].indexOf(C)&&u,$=this.getImageSizeOptions(),Y=function(t,n){return Object(c.createElement)(s.InspectorControls,null,Object(c.createElement)(_.PanelBody,{title:Object(r.__)("Image Settings")},Object(c.createElement)(_.TextareaControl,{label:Object(r.__)("Alt Text (Alternative Text)"),value:O,onChange:e.updateAlt,help:Object(c.createElement)(c.Fragment,null,Object(c.createElement)(_.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(r.__)("Describe the purpose of the image")),Object(r.__)("Leave empty if the image is purely decorative."))}),!Object(j.isEmpty)($)&&Object(c.createElement)(_.SelectControl,{label:Object(r.__)("Image Size"),value:H,options:$,onChange:e.updateImage}),K&&Object(c.createElement)("div",{className:"block-library-image__dimensions"},Object(c.createElement)("p",{className:"block-library-image__dimensions__row"},Object(r.__)("Image Dimensions")),Object(c.createElement)("div",{className:"block-library-image__dimensions__row"},Object(c.createElement)(_.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(r.__)("Width"),value:N||t||"",min:1,onChange:e.updateWidth}),Object(c.createElement)(_.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(r.__)("Height"),value:R||n||"",min:1,onChange:e.updateHeight})),Object(c.createElement)("div",{className:"block-library-image__dimensions__row"},Object(c.createElement)(_.ButtonGroup,{"aria-label":Object(r.__)("Image Size")},[25,50,75,100].map(function(r){var o=Math.round(t*(r/100)),a=Math.round(n*(r/100)),i=N===o&&R===a;return Object(c.createElement)(_.Button,{key:r,isSmall:!0,isPrimary:i,"aria-pressed":i,onClick:e.updateDimensions(o,a)},r,"%")})),Object(c.createElement)(_.Button,{isSmall:!0,onClick:e.updateDimensions()},Object(r.__)("Reset"))))))};return Object(c.createElement)(c.Fragment,null,F,Object(c.createElement)("figure",{className:Z},Object(c.createElement)(M,{src:v,dirtynessTrigger:C},function(t){var n,o=t.imageWidthWithinContainer,a=t.imageHeightWithinContainer,l=t.imageWidth,s=t.imageHeight,u=e.getFilename(v);n=O||(u?Object(r.sprintf)(Object(r.__)("This image has an empty alt attribute; its file name is %s"),u):Object(r.__)("This image has an empty alt attribute"));var b=Object(c.createElement)(c.Fragment,null,Object(c.createElement)("img",{src:v,alt:n,onDoubleClick:e.toggleIsEditing,onClick:e.onImageClick,onError:function(){return e.onImageError(v)}}),Object(y.isBlobURL)(v)&&Object(c.createElement)(_.Spinner,null));if(!K||!o)return Object(c.createElement)(c.Fragment,null,Y(l,s),Object(c.createElement)("div",{style:{width:N,height:R}},b));var m=N||o,h=R||a,j=l/s,k=l 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"}}},W=q.name,G={title:Object(r.__)("Image"),description:Object(r.__)("Insert an image to make a visual statement."),icon:B,keywords:["img",Object(r.__)("photo")],example:{attributes:{sizeSlug:"large",url:"https://upload.wikimedia.org/wikipedia/commons/1/15/MtBlanc1.JPG",caption:Object(r.__)("Mont Blanc appears—still, snowy, and serene.")}},styles:[{name:"default",label:Object(r._x)("Default","block style"),isDefault:!0},{name:"circle-mask",label:Object(r._x)("Circle Mask","block style")}],transforms:U,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:H,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,i=n.caption,u=n.align,b=n.href,m=n.rel,d=n.linkClass,h=n.width,p=n.height,g=n.id,f=n.linkTarget,v=n.sizeSlug,O=l()((t={},Object(a.a)(t,"align".concat(u),u),Object(a.a)(t,"size-".concat(v),v),Object(a.a)(t,"is-resized",h||p),t)),j=Object(c.createElement)("img",{src:r,alt:o,className:g?"wp-image-".concat(g):null,width:h,height:p}),y=Object(c.createElement)(c.Fragment,null,b?Object(c.createElement)("a",{className:d,href:b,target:f,rel:m},j):j,!s.RichText.isEmpty(i)&&Object(c.createElement)(s.RichText.Content,{tagName:"figcaption",value:i}));return"left"===u||"right"===u||"center"===u?Object(c.createElement)("div",null,Object(c.createElement)("figure",{className:O},y)):Object(c.createElement)("figure",{className:O},y)},deprecated:b}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),a=n(7),c=n(0),i=n(2),l=n(16),s=n.n(l),u=n(9),b=n(6),m="image",d="video",h=50;function p(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}function g(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}var f={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"}},v=[{attributes:Object(a.a)({},f,{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,a=t.customOverlayColor,i=t.dimRatio,l=t.focalPoint,u=t.hasParallax,h=t.overlayColor,f=t.title,v=t.url,O=Object(b.getColorClassName)("background-color",h),j=n===m?p(v):{};O||(j.backgroundColor=a),l&&!u&&(j.backgroundPosition="".concat(100*l.x,"% ").concat(100*l.y,"%"));var y=s()(g(i),O,Object(o.a)({"has-background-dim":0!==i,"has-parallax":u},"has-".concat(r,"-content"),"center"!==r));return Object(c.createElement)("div",{className:y,style:j},d===n&&v&&Object(c.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:v}),!b.RichText.isEmpty(f)&&Object(c.createElement)(b.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:f}))},migrate:function(e){return[Object(i.omit)(e,["title","contentAlign"]),[Object(u.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(r.__)("Write title…")})]]}},{attributes:Object(a.a)({},f,{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,a=t.hasParallax,i=t.dimRatio,l=t.align,u=t.contentAlign,m=t.overlayColor,d=t.customOverlayColor,h=Object(b.getColorClassName)("background-color",m),f=p(n);h||(f.backgroundColor=d);var v=s()("wp-block-cover-image",g(i),h,Object(o.a)({"has-background-dim":0!==i,"has-parallax":a},"has-".concat(u,"-content"),"center"!==u),l?"align".concat(l):null);return Object(c.createElement)("div",{className:v,style:f},!b.RichText.isEmpty(r)&&Object(c.createElement)(b.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:r}))},migrate:function(e){return[Object(i.omit)(e,["title","contentAlign","align"]),[Object(u.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(r.__)("Write title…")})]]}},{attributes:Object(a.a)({},f,{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,i=t.align,l=p(n),u=s()("wp-block-cover-image",g(a),{"has-background-dim":0!==a,"has-parallax":o},i?"align".concat(i):null);return Object(c.createElement)("section",{className:u,style:l},Object(c.createElement)(b.RichText.Content,{tagName:"h2",value:r}))},migrate:function(e){return[Object(i.omit)(e,["title","contentAlign","align"]),[Object(u.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(r.__)("Write title…")})]]}}],O=n(12),j=n(11),y=n(13),_=n(14),k=n(5),C=n(15),w=n(23),E=n(229),x=n.n(E),S=n(49),T=n.n(S),B=n(3),N=n(8),M=n(4),A=Object(c.createElement)(B.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(B.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(c.createElement)(B.Path,{d:"M0 0h24v24H0z",fill:"none"})),R=["image","video"],I=[["core/paragraph",{align:"center",fontSize:"large",placeholder:Object(r.__)("Write title…")}]];function L(){return L.fastAverageColor||(L.fastAverageColor=new x.a),L.fastAverageColor}var z=Object(N.withInstanceId)(function(e){var t=e.value,n=void 0===t?"":t,o=e.instanceId,a=e.onChange,i=Object(c.useState)(null),l=Object(w.a)(i,2),s=l[0],u=l[1],b=Object(c.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(T()(o.color).isDark()):void this.changeIsDarkIfRequired(!0)}if(!(e&&e.attributes.dimRatio<=50&&e.attributes.url===c)){var i;switch(r.backgroundType){case m:i=this.imageRef.current;break;case d:i=this.videoRef.current}i&&L().getColorAsync(i,function(e){t.changeIsDarkIfRequired(e.isDark)})}}},{key:"changeIsDarkIfRequired",value:function(e){this.state.isDark!==e&&this.setState({isDark:e})}}]),t}(c.Component),D=Object(N.compose)([Object(M.withDispatch)(function(e){return{toggleSelection:e("core/block-editor").toggleSelection}}),Object(b.withColors)({overlayColor:"background-color"}),B.withNotices,N.withInstanceId])(V);var F={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object(u.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(u.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:d})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType;return!e.url||t===m},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(u.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===d},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(u.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]};n.d(t,"metadata",function(){return U}),n.d(t,"name",function(){return q}),n.d(t,"settings",function(){return W});var U={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"}}},q=U.name,W={title:Object(r.__)("Cover"),description:Object(r.__)("Add an image or video with a text overlay — great for headers."),icon:A,supports:{align:!0},example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://upload.wikimedia.org/wikipedia/commons/9/95/Windbuchencom.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:Object(r.__)("Snow Patrol"),align:"center"}}]},transforms:F,save:function(e){var t=e.attributes,n=t.backgroundType,r=t.customOverlayColor,o=t.dimRatio,a=t.focalPoint,i=t.hasParallax,l=t.overlayColor,u=t.url,h=t.minHeight,f=Object(b.getColorClassName)("background-color",l),v=n===m?p(u):{};f||(v.backgroundColor=r),a&&!i&&(v.backgroundPosition="".concat(100*a.x,"% ").concat(100*a.y,"%")),v.minHeight=h||void 0;var O=s()(g(o),f,{"has-background-dim":0!==o,"has-parallax":i});return Object(c.createElement)("div",{className:O,style:v},d===n&&u&&Object(c.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(c.createElement)("div",{className:"wp-block-cover__inner-container"},Object(c.createElement)(b.InnerBlocks.Content,null)))},edit:D,deprecated:v}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(16),c=n.n(a),i=n(6),l=[{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,a=t.body,l=t.foot,s=t.backgroundColor;if(!r.length&&!a.length&&!l.length)return null;var u=Object(i.getColorClassName)("background-color",s),b=c()(u,{"has-fixed-layout":n,"has-background":!!u}),m=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object(o.createElement)(r,null,n.map(function(e,t){var n=e.cells;return Object(o.createElement)("tr",{key:t},n.map(function(e,t){var n=e.content,r=e.tag,a=e.scope;return Object(o.createElement)(i.RichText.Content,{tagName:r,value:n,key:t,scope:"th"===r?a:void 0})}))}))};return Object(o.createElement)("table",{className:b},Object(o.createElement)(m,{type:"head",rows:r}),Object(o.createElement)(m,{type:"body",rows:a}),Object(o.createElement)(m,{type:"foot",rows:l}))}}],s=n(10),u=n(7),b=n(12),m=n(11),d=n(13),h=n(14),p=n(5),g=n(15),f=n(3),v=n(17),O=n(2),j=["align"];function y(e,t,n){if(!t)return e;var r=Object(O.pick)(e,["head","body","foot"]),o=t.sectionName,a=t.rowIndex;return Object(O.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 _({sectionName:r,columnIndex:a,rowIndex:o},t)?n(e):e})}})})}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}}function k(e,t){var n=t.sectionName,r=t.rowIndex,o=t.columnCount,a=function(e){return w(e.head)?w(e.body)?w(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),c=void 0===o?Object(O.get)(a,["cells","length"]):o;return c?Object(s.a)({},n,[].concat(Object(v.a)(e[n].slice(0,r)),[{cells:Object(O.times)(c,function(e){var t=Object(O.get)(a,["cells",e],{}),r=Object(O.pick)(t,j);return Object(u.a)({},r,{content:"",tag:"head"===n?"th":"td"})})}],Object(v.a)(e[n].slice(r)))):e}function C(e,t){return w(e[t])?k(e,{sectionName:t,rowIndex:0,columnCount:Object(O.get)(e,["body",0,"cells","length"],1)}):Object(s.a)({},t,[])}function w(e){return!e||!e.length||Object(O.every)(e,E)}function E(e){return!(e.cells&&e.cells.length)}var x=Object(o.createElement)(f.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(f.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(o.createElement)(f.G,null,Object(o.createElement)(f.Path,{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}))),S=[{color:"#f3f4f5",name:"Subtle light gray",slug:"subtle-light-gray"},{color:"#e9fbe5",name:"Subtle pale green",slug:"subtle-pale-green"},{color:"#e7f5fe",name:"Subtle pale blue",slug:"subtle-pale-blue"},{color:"#fcf0ef",name:"Subtle pale pink",slug:"subtle-pale-pink"}],T=[{icon:"editor-alignleft",title:Object(r.__)("Align Column Left"),align:"left"},{icon:"editor-aligncenter",title:Object(r.__)("Align Column Center"),align:"center"},{icon:"editor-alignright",title:Object(r.__)("Align Column Right"),align:"right"}],B=Object(i.createCustomColorsHOC)(S),N=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(d.a)(this,Object(h.a)(t).apply(this,arguments))).onCreateTable=e.onCreateTable.bind(Object(p.a)(e)),e.onChangeFixedLayout=e.onChangeFixedLayout.bind(Object(p.a)(e)),e.onChange=e.onChange.bind(Object(p.a)(e)),e.onChangeInitialColumnCount=e.onChangeInitialColumnCount.bind(Object(p.a)(e)),e.onChangeInitialRowCount=e.onChangeInitialRowCount.bind(Object(p.a)(e)),e.renderSection=e.renderSection.bind(Object(p.a)(e)),e.getTableControls=e.getTableControls.bind(Object(p.a)(e)),e.onInsertRow=e.onInsertRow.bind(Object(p.a)(e)),e.onInsertRowBefore=e.onInsertRowBefore.bind(Object(p.a)(e)),e.onInsertRowAfter=e.onInsertRowAfter.bind(Object(p.a)(e)),e.onDeleteRow=e.onDeleteRow.bind(Object(p.a)(e)),e.onInsertColumn=e.onInsertColumn.bind(Object(p.a)(e)),e.onInsertColumnBefore=e.onInsertColumnBefore.bind(Object(p.a)(e)),e.onInsertColumnAfter=e.onInsertColumnAfter.bind(Object(p.a)(e)),e.onDeleteColumn=e.onDeleteColumn.bind(Object(p.a)(e)),e.onToggleHeaderSection=e.onToggleHeaderSection.bind(Object(p.a)(e)),e.onToggleFooterSection=e.onToggleFooterSection.bind(Object(p.a)(e)),e.onChangeColumnAlignment=e.onChangeColumnAlignment.bind(Object(p.a)(e)),e.getCellAlignment=e.getCellAlignment.bind(Object(p.a)(e)),e.state={initialRowCount:2,initialColumnCount:2,selectedCell:null},e}return Object(g.a)(t,e),Object(m.a)(t,[{key:"onChangeInitialColumnCount",value:function(e){this.setState({initialColumnCount:e})}},{key:"onChangeInitialRowCount",value:function(e){this.setState({initialRowCount:e})}},{key:"onCreateTable",value:function(e){e.preventDefault();var t,n,r,o=this.props.setAttributes,a=this.state,c=a.initialRowCount,i=a.initialColumnCount;c=parseInt(c,10)||2,i=parseInt(i,10)||2,o((n=(t={rowCount:c,columnCount:i}).rowCount,r=t.columnCount,{body:Object(O.times)(n,function(){return{cells:Object(O.times)(r,function(){return{content:"",tag:"td"}})}})}))}},{key:"onChangeFixedLayout",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({hasFixedLayout:!t.hasFixedLayout})}},{key:"onChange",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes;(0,n.setAttributes)(y(r,t,function(t){return Object(u.a)({},t,{content:e})}))}}},{key:"onChangeColumnAlignment",value:function(e){var t=this.state.selectedCell;if(t){var n={type:"column",columnIndex:t.columnIndex},r=this.props,o=r.attributes;(0,r.setAttributes)(y(o,n,function(t){return Object(u.a)({},t,{align:e})}))}}},{key:"getCellAlignment",value:function(){var e=this.state.selectedCell;if(e){var t,n,r,o,a,c,i=this.props.attributes;return t=i,r="align",o=(n=e).sectionName,a=n.rowIndex,c=n.columnIndex,Object(O.get)(t,[o,a,"cells",c,r])}}},{key:"onToggleHeaderSection",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)(C(t,"head"))}},{key:"onToggleFooterSection",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)(C(t,"foot"))}},{key:"onInsertRow",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.sectionName,c=t.rowIndex;this.setState({selectedCell:null}),o(k(r,{sectionName:a,rowIndex:c+e}))}}},{key:"onInsertRowBefore",value:function(){this.onInsertRow(0)}},{key:"onInsertRowAfter",value:function(){this.onInsertRow(1)}},{key:"onDeleteRow",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.sectionName,a=e.rowIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.sectionName,r=t.rowIndex;return Object(s.a)({},n,e[n].filter(function(e,t){return t!==r}))}(n,{sectionName:o,rowIndex:a}))}}},{key:"onInsertColumn",value:function(){var e=arguments.length>0&&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(function(e,t){var n=t.columnIndex,r=Object(O.pick)(e,["head","body","foot"]);return Object(O.mapValues)(r,function(e,t){return w(e)?e:e.map(function(e){return E(e)||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(u.a)({},e,{type:"cell"})})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(r.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(r.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(r.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(r.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(r.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(r.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.name,r=e.rows;if(w(r))return null;var a="t".concat(n),l=this.state.selectedCell;return Object(o.createElement)(a,null,r.map(function(e,r){var a=e.cells;return Object(o.createElement)("tr",{key:r},a.map(function(e,a){var u=e.content,b=e.tag,m=e.scope,d=e.align,h={sectionName:n,rowIndex:r,columnIndex:a},p=_(h,l),g=c()(Object(s.a)({"is-selected":p},"has-text-align-".concat(d),d));return Object(o.createElement)(b,{key:a,className:g,scope:"th"===b?m:void 0,onClick:function(e){var t=e&&e.target&&e.target.querySelector(".".concat("wp-block-table__cell-content"));t&&t.focus()}},Object(o.createElement)(i.RichText,{className:"wp-block-table__cell-content",value:u,onChange:t.onChange,unstableOnFocus:t.createOnFocus(h)}))}))}))}},{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,a=t.className,l=t.backgroundColor,s=t.setBackgroundColor,u=this.state,b=u.initialRowCount,m=u.initialColumnCount,d=n.hasFixedLayout,h=n.head,p=n.body,g=n.foot,v=w(h)&&w(p)&&w(g),O=this.renderSection;if(v)return Object(o.createElement)(f.Placeholder,{label:Object(r.__)("Table"),icon:Object(o.createElement)(i.BlockIcon,{icon:x,showColors:!0}),instructions:Object(r.__)("Insert a table for sharing data."),isColumnLayout:!0},Object(o.createElement)("form",{className:"wp-block-table__placeholder-form",onSubmit:this.onCreateTable},Object(o.createElement)(f.TextControl,{type:"number",label:Object(r.__)("Column Count"),value:m,onChange:this.onChangeInitialColumnCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(o.createElement)(f.TextControl,{type:"number",label:Object(r.__)("Row Count"),value:b,onChange:this.onChangeInitialRowCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(o.createElement)(f.Button,{className:"wp-block-table__placeholder-button",isDefault:!0,type:"submit"},Object(r.__)("Create Table"))));var j=c()(l.class,{"has-fixed-layout":d,"has-background":!!l.color});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(i.BlockControls,null,Object(o.createElement)(f.Toolbar,null,Object(o.createElement)(f.DropdownMenu,{hasArrowIndicator:!0,icon:"editor-table",label:Object(r.__)("Edit table"),controls:this.getTableControls()})),Object(o.createElement)(i.AlignmentToolbar,{label:Object(r.__)("Change column alignment"),alignmentControls:T,value:this.getCellAlignment(),onChange:function(t){return e.onChangeColumnAlignment(t)},onHover:this.onHoverAlignment})),Object(o.createElement)(i.InspectorControls,null,Object(o.createElement)(f.PanelBody,{title:Object(r.__)("Table Settings"),className:"blocks-table-settings"},Object(o.createElement)(f.ToggleControl,{label:Object(r.__)("Fixed width table cells"),checked:!!d,onChange:this.onChangeFixedLayout}),Object(o.createElement)(f.ToggleControl,{label:Object(r.__)("Header section"),checked:!(!h||!h.length),onChange:this.onToggleHeaderSection}),Object(o.createElement)(f.ToggleControl,{label:Object(r.__)("Footer section"),checked:!(!g||!g.length),onChange:this.onToggleFooterSection})),Object(o.createElement)(i.PanelColorSettings,{title:Object(r.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:l.color,onChange:s,label:Object(r.__)("Background Color"),disableCustomColors:!0,colors:S}]})),Object(o.createElement)("figure",{className:a},Object(o.createElement)("table",{className:j},Object(o.createElement)(O,{name:"head",rows:h}),Object(o.createElement)(O,{name:"body",rows:p}),Object(o.createElement)(O,{name:"foot",rows:g}))))}}]),t}(o.Component),M=B("backgroundColor")(N);var A=n(9),R={tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:Object(A.getPhrasingContentSchema)(),attributes:["scope"]},td:{allowEmpty:!0,children:Object(A.getPhrasingContentSchema)()}}}},I={from:[{type:"raw",selector:"table",schema:{table:{children:{thead:{allowEmpty:!0,children:R},tfoot:{allowEmpty:!0,children:R},tbody:{allowEmpty:!0,children:R}}}}}]};n.d(t,"metadata",function(){return L}),n.d(t,"name",function(){return z}),n.d(t,"settings",function(){return P});var L={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"}}}}}}},z=L.name,P={title:Object(r.__)("Table"),description:Object(r.__)("Insert a table — perfect for sharing charts and data."),icon:x,example:{attributes:{head:[{cells:[{content:Object(r.__)("Version"),tag:"th"},{content:Object(r.__)("Jazz Musician"),tag:"th"},{content:Object(r.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(r.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(r.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(r.__)("December 6, 2018"),tag:"td"}]}]}},styles:[{name:"regular",label:Object(r._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(r.__)("Stripes")}],supports:{align:!0},transforms:I,edit:M,save:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,a=t.body,l=t.foot,u=t.backgroundColor;if(!r.length&&!a.length&&!l.length)return null;var b=Object(i.getColorClassName)("background-color",u),m=c()(b,{"has-fixed-layout":n,"has-background":!!b}),d=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object(o.createElement)(r,null,n.map(function(e,t){var n=e.cells;return Object(o.createElement)("tr",{key:t},n.map(function(e,t){var n=e.content,r=e.tag,a=e.scope,l=e.align,u=c()(Object(s.a)({},"has-text-align-".concat(l),l));return Object(o.createElement)(i.RichText.Content,{className:u||void 0,"data-align":l,tagName:r,value:n,key:t,scope:"th"===r?a:void 0})}))}))};return Object(o.createElement)("figure",null,Object(o.createElement)("table",{className:m},Object(o.createElement)(d,{type:"head",rows:r}),Object(o.createElement)(d,{type:"body",rows:a}),Object(o.createElement)(d,{type:"foot",rows:l})))},deprecated:l}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(18),a=n(23),c=n(12),i=n(11),l=n(13),s=n(14),u=n(5),b=n(15),m=n(0),d=n(16),h=n.n(d),p=n(35),g=n(3),f=n(8),v=n(4),O=n(6),j=Object(m.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(m.createElement)(g.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(m.createElement)(g.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 y(e){var t=e.hrefs,n=e.openInNewWindow,o=e.showDownloadButton,a=e.changeLinkDestinationOption,c=e.changeOpenInNewWindow,i=e.changeShowDownloadButton,l=t.href,s=t.textLinkHref,u=t.attachmentPage,b=[{value:l,label:Object(r.__)("URL")}];return u&&(b=[{value:l,label:Object(r.__)("Media File")},{value:u,label:Object(r.__)("Attachment page")}]),Object(m.createElement)(m.Fragment,null,Object(m.createElement)(O.InspectorControls,null,Object(m.createElement)(g.PanelBody,{title:Object(r.__)("Text link settings")},Object(m.createElement)(g.SelectControl,{label:Object(r.__)("Link To"),value:s,options:b,onChange:a}),Object(m.createElement)(g.ToggleControl,{label:Object(r.__)("Open in new tab"),checked:n,onChange:c})),Object(m.createElement)(g.PanelBody,{title:Object(r.__)("Download button settings")},Object(m.createElement)(g.ToggleControl,{label:Object(r.__)("Show download button"),checked:o,onChange:i}))))}var _=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(u.a)(e)),e.confirmCopyURL=e.confirmCopyURL.bind(Object(u.a)(e)),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(u.a)(e)),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(u.a)(e)),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(u.a)(e)),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(u.a)(e)),e.onUploadError=e.onUploadError.bind(Object(u.a)(e)),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(b.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,o=t.mediaUpload,c=t.noticeOperations,i=t.setAttributes,l=n.downloadButtonText,s=n.href;Object(p.isBlobURL)(s)&&(o({filesList:[Object(p.getBlobByURL)(s)],onFileChange:function(t){var n=Object(a.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),c.createErrorNotice(t)}}),Object(p.revokeBlobURL)(s));void 0===l&&i({downloadButtonText:Object(r._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,a=t.isSelected,c=t.attributes,i=t.setAttributes,l=t.noticeUI,s=t.media,u=c.fileName,b=c.href,d=c.textLinkHref,f=c.textLinkTarget,v=c.showDownloadButton,_=c.downloadButtonText,k=c.id,C=this.state,w=C.hasError,E=C.showCopyConfirmation,x=s&&s.link;if(!b||w)return Object(m.createElement)(O.MediaPlaceholder,{icon:Object(m.createElement)(O.BlockIcon,{icon:j}),labels:{title:Object(r.__)("File"),instructions:Object(r.__)("Upload a file or pick one from your media library.")},onSelect:this.onSelectFile,notices:l,onError:this.onUploadError,accept:"*"});var S=h()(n,{"is-transient":Object(p.isBlobURL)(b)});return Object(m.createElement)(m.Fragment,null,Object(m.createElement)(y,Object(o.a)({hrefs:{href:b,textLinkHref:d,attachmentPage:x}},{openInNewWindow:!!f,showDownloadButton:v,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(m.createElement)(O.BlockControls,null,Object(m.createElement)(O.MediaUploadCheck,null,Object(m.createElement)(g.Toolbar,null,Object(m.createElement)(O.MediaUpload,{onSelect:this.onSelectFile,value:k,render:function(e){var t=e.open;return Object(m.createElement)(g.IconButton,{className:"components-toolbar__control",label:Object(r.__)("Edit file"),onClick:t,icon:"edit"})}})))),Object(m.createElement)(g.Animate,{type:Object(p.isBlobURL)(b)?"loading":null},function(t){var n=t.className;return Object(m.createElement)("div",{className:h()(S,n)},Object(m.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(m.createElement)(O.RichText,{wrapperClassName:"wp-block-file__textlink",tagName:"div",value:u,placeholder:Object(r.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:function(e){return i({fileName:e})}}),v&&Object(m.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(m.createElement)(O.RichText,{tagName:"div",className:"wp-block-file__button",value:_,withoutInteractiveFormatting:!0,placeholder:Object(r.__)("Add text…"),onChange:function(e){return i({downloadButtonText:e})}}))),a&&Object(m.createElement)(g.ClipboardButton,{isDefault:!0,text:b,className:"wp-block-file__copy-url-button",onCopy:e.confirmCopyURL,onFinishCopy:e.resetCopyConfirmation,disabled:Object(p.isBlobURL)(b)},E?Object(r.__)("Copied!"):Object(r.__)("Copy URL")))}))}}]),t}(m.Component),k=Object(f.compose)([Object(v.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}}),g.withNotices])(_);var C=n(2),w=n(9),E={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(p.createBlobURL)(e);t.push(Object(w.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(w.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(w.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(w.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(v.select)("core").getMedia)(t);return!!n&&Object(C.includes)(n.mime_type,"audio")},transform:function(e){return Object(w.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(v.select)("core").getMedia)(t);return!!n&&Object(C.includes)(n.mime_type,"video")},transform:function(e){return Object(w.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(v.select)("core").getMedia)(t);return!!n&&Object(C.includes)(n.mime_type,"image")},transform:function(e){return Object(w.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]};n.d(t,"metadata",function(){return x}),n.d(t,"name",function(){return S}),n.d(t,"settings",function(){return T});var x={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]"}}},S=x.name,T={title:Object(r.__)("File"),description:Object(r.__)("Add a link to a downloadable file."),icon:j,keywords:[Object(r.__)("document"),Object(r.__)("pdf")],supports:{align:!0},transforms:E,edit:k,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(m.createElement)("div",null,!O.RichText.isEmpty(r)&&Object(m.createElement)("a",{href:o,target:a,rel:!!a&&"noreferrer noopener"},Object(m.createElement)(O.RichText.Content,{value:r})),c&&Object(m.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(m.createElement)(O.RichText.Content,{value:i})))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(6),c=[{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(o.createElement)(a.RichText.Content,{tagName:"pre",style:{textAlign:n},value:r})}}],i=n(10),l=n(16),s=n.n(l);var u=n(3),b=Object(o.createElement)(u.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(u.Path,{d:"M21 11.01L3 11V13H21V11.01ZM3 16H17V18H3V16ZM15 6H3V8.01L15 8V6Z"}));var m=n(9),d={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(m.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(m.createBlock)("core/paragraph",e)}}]};n.d(t,"metadata",function(){return h}),n.d(t,"name",function(){return p}),n.d(t,"settings",function(){return g});var h={name:"core/verse",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}}},p=h.name,g={title:Object(r.__)("Verse"),description:Object(r.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:b,example:{attributes:{content:Object(r.__)("WHAT was he doing, the great god Pan,")+"
    "+Object(r.__)(" Down in the reeds by the river?")+"
    "+Object(r.__)("Spreading ruin and scattering ban,")+"
    "+Object(r.__)("Splashing and paddling with hoofs of a goat,")+"
    "+Object(r.__)("And breaking the golden lilies afloat")+"
    "+Object(r.__)(" With the dragon-fly on the river.")}},keywords:[Object(r.__)("poetry")],transforms:d,deprecated:c,merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,n=e.setAttributes,c=e.className,l=e.mergeBlocks,u=t.textAlign,b=t.content;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(a.BlockControls,null,Object(o.createElement)(a.AlignmentToolbar,{value:u,onChange:function(e){n({textAlign:e})}})),Object(o.createElement)(a.RichText,{tagName:"pre",value:b,onChange:function(e){n({content:e})},placeholder:Object(r.__)("Write…"),wrapperClassName:c,className:s()(Object(i.a)({},"has-text-align-".concat(u),u)),onMerge:l}))},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content,c=s()(Object(i.a)({},"has-text-align-".concat(n),n));return Object(o.createElement)(a.RichText.Content,{tagName:"pre",className:c,value:r})}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(12),a=n(11),c=n(13),i=n(14),l=n(5),s=n(15),u=n(0),b=n(3),m=n(4),d=n(6),h=n(55),p=n.n(h),g=n(32),f=n.n(g),v=n(8),O=n(2),j=n(41),y=n.n(j),_=function(e){function t(){var e;return Object(o.a)(this,t),(e=Object(c.a)(this,Object(i.a)(t).apply(this,arguments))).containerRef=Object(u.createRef)(),e.formRef=Object(u.createRef)(),e.widgetContentRef=Object(u.createRef)(),e.triggerWidgetEvent=e.triggerWidgetEvent.bind(Object(l.a)(e)),e}return Object(s.a)(t,e),Object(a.a)(t,[{key:"componentDidMount",value:function(){this.triggerWidgetEvent("widget-added"),this.previousFormData=new window.FormData(this.formRef.current)}},{key:"shouldComponentUpdate",value:function(e){e.form!==this.props.form&&this.widgetContentRef.current&&(this.widgetContentRef.current.innerHTML=e.form,this.triggerWidgetEvent("widget-updated"),this.previousFormData=new window.FormData(this.formRef.current));return!1}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,r=t.idBase,o=t.widgetNumber,a=t.form;return Object(u.createElement)("div",{className:"widget open",ref:this.containerRef},Object(u.createElement)("div",{className:"widget-inside"},Object(u.createElement)("form",{ref:this.formRef,method:"post",onBlur:function(){e.shouldTriggerInstanceUpdate()&&e.props.onInstanceChange(e.retrieveUpdatedInstance())}},Object(u.createElement)("div",{ref:this.widgetContentRef,className:"widget-content",dangerouslySetInnerHTML:{__html:a}}),Object(u.createElement)("input",{type:"hidden",name:"widget-id",className:"widget-id",value:n}),Object(u.createElement)("input",{type:"hidden",name:"id_base",className:"id_base",value:r}),Object(u.createElement)("input",{type:"hidden",name:"widget_number",className:"widget_number",value:o}),Object(u.createElement)("input",{type:"hidden",name:"multi_number",className:"multi_number",value:""}),Object(u.createElement)("input",{type:"hidden",name:"add_new",className:"add_new",value:""}))))}},{key:"shouldTriggerInstanceUpdate",value:function(){if(!this.formRef.current)return!1;if(!this.previousFormData)return!0;var e=new window.FormData(this.formRef.current),t=Array.from(e.keys()),n=Array.from(this.previousFormData.keys());if(t.length!==n.length)return!0;for(var r=0,o=t;r1?a[h]=p:a[h]=p[0]}}}catch(e){s=!0,u=e}finally{try{l||null==m.return||m.return()}finally{if(s)throw u}}return a}}}]),t}(u.Component),k=function(e){function t(){var e;return Object(o.a)(this,t),(e=Object(c.a)(this,Object(i.a)(t).apply(this,arguments))).state={form:null,idBase:null},e.instanceUpdating=null,e.onInstanceChange=e.onInstanceChange.bind(Object(l.a)(e)),e.requestWidgetUpdater=e.requestWidgetUpdater.bind(Object(l.a)(e)),e}return Object(s.a)(t,e),Object(a.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.requestWidgetUpdater()}},{key:"componentDidUpdate",value:function(e){e.instance!==this.props.instance&&this.instanceUpdating!==this.props.instance&&this.requestWidgetUpdater(),this.instanceUpdating===this.props.instance&&(this.instanceUpdating=null)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,o=t.identifier,a=this.state,c=a.id,i=a.idBase,l=a.form;return o?l?Object(u.createElement)("div",{className:"wp-block-legacy-widget__edit-container",style:{display:this.props.isVisible?"block":"none"}},Object(u.createElement)(_,{ref:function(t){e.widgetEditDomManagerRef=t},onInstanceChange:this.onInstanceChange,widgetNumber:-1*n,id:c,idBase:i,form:l})):null:Object(r.__)("Not a valid widget.")}},{key:"onInstanceChange",value:function(e){var t=this;this.requestWidgetUpdater(e,function(e){t.instanceUpdating=e.instance,t.props.onInstanceChange(e.instance)})}},{key:"requestWidgetUpdater",value:function(e,t){var n=this,r=this.props,o=r.identifier,a=r.instanceId,c=r.instance;o&&f()({path:"/wp/v2/widgets/".concat(o,"/"),data:{identifier:o,instance:c,id_to_use:-1*a,instance_changes:e},method:"POST"}).then(function(e){n.isStillMounted&&(n.setState({form:e.form,idBase:e.id_base,id:e.id}),t&&t(e))})}}]),t}(u.Component),C=Object(v.withInstanceId)(k);function w(e){var t,n=e.availableLegacyWidgets,o=e.currentWidget,a=e.hasPermissionsToManageWidgets,c=e.onChangeWidget,i=Object(u.useMemo)(function(){return Object(O.pickBy)(n,function(e){return!e.isHidden})},[n]);return a||(t=Object(r.__)("You don't have permissions to use widgets on this site.")),Object(O.isEmpty)(i)&&(t=Object(r.__)("There are no widgets available.")),t=Object(u.createElement)(b.SelectControl,{label:Object(r.__)("Select a legacy widget to display:"),value:o||"none",onChange:c,options:[{value:"none",label:"Select widget"}].concat(Object(O.map)(i,function(e,t){return{value:t,label:e.name}}))}),Object(u.createElement)(b.Placeholder,{icon:Object(u.createElement)(d.BlockIcon,{icon:"admin-customizer"}),label:Object(r.__)("Legacy Widget")},t)}var E=function(e){function t(){var e;return Object(o.a)(this,t),(e=Object(c.a)(this,Object(i.a)(t).apply(this,arguments))).state={isPreview:!1},e.switchToEdit=e.switchToEdit.bind(Object(l.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(l.a)(e)),e.changeWidget=e.changeWidget.bind(Object(l.a)(e)),e}return Object(s.a)(t,e),Object(a.a)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.availableLegacyWidgets,a=t.hasPermissionsToManageWidgets,c=t.setAttributes,i=this.state.isPreview,l=n.identifier,s=n.isCallbackWidget,m=l&&o[l];if(!m)return Object(u.createElement)(w,{availableLegacyWidgets:o,currentWidget:l,hasPermissionsToManageWidgets:a,onChangeWidget:function(e){return c({instance:{},identifier:e,isCallbackWidget:o[e].isCallbackWidget})}});var h=Object(u.createElement)(d.InspectorControls,null,Object(u.createElement)(b.PanelBody,{title:m.name},m.description));return a?Object(u.createElement)(u.Fragment,null,Object(u.createElement)(d.BlockControls,null,Object(u.createElement)(b.Toolbar,null,!m.isHidden&&Object(u.createElement)(b.IconButton,{onClick:this.changeWidget,label:Object(r.__)("Change widget"),icon:"update"}),!s&&Object(u.createElement)(u.Fragment,null,Object(u.createElement)(b.Button,{className:"components-tab-button ".concat(i?"":"is-active"),onClick:this.switchToEdit},Object(u.createElement)("span",null,Object(r.__)("Edit"))),Object(u.createElement)(b.Button,{className:"components-tab-button ".concat(i?"is-active":""),onClick:this.switchToPreview},Object(u.createElement)("span",null,Object(r.__)("Preview")))))),h,!s&&Object(u.createElement)(C,{isVisible:!i,identifier:n.identifier,instance:n.instance,onInstanceChange:function(t){e.props.setAttributes({instance:t})}}),(i||s)&&this.renderWidgetPreview()):Object(u.createElement)(u.Fragment,null,h,this.renderWidgetPreview())}},{key:"changeWidget",value:function(){this.switchToEdit(),this.props.setAttributes({instance:{},identifier:void 0})}},{key:"switchToEdit",value:function(){this.setState({isPreview:!1})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"renderWidgetPreview",value:function(){var e=this.props.attributes;return Object(u.createElement)(p.a,{className:"wp-block-legacy-widget__preview",block:"core/legacy-widget",attributes:e})}}]),t}(u.Component),x=Object(m.withSelect)(function(e){var t=e("core/block-editor").getSettings(),n=t.availableLegacyWidgets;return{hasPermissionsToManageWidgets:t.hasPermissionsToManageWidgets,availableLegacyWidgets:n}})(E),S=Object(u.createElement)(b.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(u.createElement)(b.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(u.createElement)(b.G,null,Object(u.createElement)(b.Path,{d:"M7 11h2v2H7v-2zm14-5v14l-2 2H5l-2-2V6l2-2h1V2h2v2h8V2h2v2h1l2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"})));n.d(t,"name",function(){return T}),n.d(t,"settings",function(){return B});var T="core/legacy-widget",B={title:Object(r.__)("Legacy Widget (Experimental)"),description:Object(r.__)("Display a legacy widget."),icon:S,category:"widgets",supports:{html:!1,customClassName:!1},edit:x}},function(e,t,n){"use strict";n.r(t);var r=n(1),o="is-style-".concat("solid-color"),a=n(7),c=n(10),i=n(0),l=n(16),s=n.n(l),u=n(2),b=n(6),m=n(4),d={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"}},h=[{attributes:d,save:function(e){var t,n,r=e.attributes,a=r.mainColor,l=r.customMainColor,d=r.textColor,h=r.customTextColor,p=r.value,g=r.citation,f=r.className;if(Object(u.includes)(f,o))(t=Object(b.getColorClassName)("background-color",a))||(n={backgroundColor:l});else if(l)n={borderColor:l};else if(a){var v=Object(u.get)(Object(m.select)("core/block-editor").getSettings(),["colors"],[]);n={borderColor:Object(b.getColorObjectByAttributeValues)(v,a).color}}var O=Object(b.getColorClassName)("color",d),j=d||h?s()("has-text-color",Object(c.a)({},O,O)):void 0,y=O?void 0:{color:h};return Object(i.createElement)("figure",{className:t,style:n},Object(i.createElement)("blockquote",{className:j,style:y},Object(i.createElement)(b.RichText.Content,{value:p,multiline:!0}),!b.RichText.isEmpty(g)&&Object(i.createElement)(b.RichText.Content,{tagName:"cite",value:g})))}},{attributes:Object(a.a)({},d),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object(i.createElement)("blockquote",null,Object(i.createElement)(b.RichText.Content,{value:n,multiline:!0}),!b.RichText.isEmpty(r)&&Object(i.createElement)(b.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(a.a)({},d,{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(i.createElement)("blockquote",{className:"align".concat(o)},Object(i.createElement)(b.RichText.Content,{value:n,multiline:!0}),!b.RichText.isEmpty(r)&&Object(i.createElement)(b.RichText.Content,{tagName:"footer",value:r}))}}],p=n(18),g=n(12),f=n(11),v=n(13),O=n(14),j=n(5),y=n(15),_=function(e){function t(e){var n;return Object(g.a)(this,t),(n=Object(v.a)(this,Object(O.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(j.a)(n)),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(j.a)(n)),n}return Object(y.a)(t,e),Object(f.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,a=t.setTextColor,c=t.setMainColor,i=t.className,l=Object(u.includes)(i,o),s=!r.color||this.wasTextColorAutomaticallyComputed,b=l&&s&&e;c(e),b&&(this.wasTextColorAutomaticallyComputed=!0,a(n.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.mainColor,a=e.textColor,l=e.setAttributes,m=e.isSelected,d=e.className,h=t.value,g=t.citation,f=Object(u.includes)(d,o),v=f?{backgroundColor:n.color}:{borderColor:n.color},O=s()(d,Object(c.a)({"has-background":f&&n.color},n.class,f&&n.class)),j={color:a.color},y=a.color&&s()("has-text-color",Object(c.a)({},a.class,a.class));return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("figure",{style:v,className:O},Object(i.createElement)("blockquote",{style:j,className:y},Object(i.createElement)(b.RichText,{multiline:!0,value:h,onChange:function(e){return l({value:e})},placeholder:Object(r.__)("Write quote…"),wrapperClassName:"block-library-pullquote__content"}),(!b.RichText.isEmpty(g)||m)&&Object(i.createElement)(b.RichText,{value:g,placeholder:Object(r.__)("Write citation…"),onChange:function(e){return l({citation:e})},className:"wp-block-pullquote__citation"}))),Object(i.createElement)(b.InspectorControls,null,Object(i.createElement)(b.PanelColorSettings,{title:Object(r.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(r.__)("Main Color")},{value:a.color,onChange:this.pullQuoteTextColorSetter,label:Object(r.__)("Text Color")}]},f&&Object(i.createElement)(b.ContrastChecker,Object(p.a)({textColor:a.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}(i.Component),k=Object(b.withColors)({mainColor:"background-color",textColor:"color"})(_),C=n(3),w=Object(i.createElement)(C.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(C.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(i.createElement)(C.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object(i.createElement)(C.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(i.createElement)(C.Polygon,{points:"21 4 2 4 2 6 21 6"}));n.d(t,"metadata",function(){return E}),n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var E={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"}}},x=E.name,S={title:Object(r.__)("Pullquote"),description:Object(r.__)("Give special visual emphasis to a quote from your text."),icon:w,example:{attributes:{value:"

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

    ",citation:"Matt Mullenweg"}},styles:[{name:"default",label:Object(r._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(r.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:k,save:function(e){var t,n,r=e.attributes,a=r.mainColor,l=r.customMainColor,d=r.textColor,h=r.customTextColor,p=r.value,g=r.citation,f=r.className;if(Object(u.includes)(f,o)){var v=Object(b.getColorClassName)("background-color",a);t=s()(Object(c.a)({"has-background":v||l},v,v)),n={backgroundColor:v?void 0:l}}else if(l)n={borderColor:l};else if(a){var O=Object(u.get)(Object(m.select)("core/block-editor").getSettings(),["colors"],[]);n={borderColor:Object(b.getColorObjectByAttributeValues)(O,a).color}}var j=Object(b.getColorClassName)("color",d),y=(d||h)&&s()("has-text-color",Object(c.a)({},j,j)),_=j?void 0:{color:h};return Object(i.createElement)("figure",{className:t,style:n},Object(i.createElement)("blockquote",{className:y,style:_},Object(i.createElement)(b.RichText.Content,{value:p,multiline:!0}),!b.RichText.isEmpty(g)&&Object(i.createElement)(b.RichText.Content,{tagName:"cite",value:g})))},deprecated:h}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(6),c=n(2);function i(e){return Object(c.flow)(l,u,m)(e||"")}function l(e){return e.replace(/&/g,"&")}function s(e){return e.replace(/&/g,"&")}function u(e){return e.replace(/\[/g,"[")}function b(e){return e.replace(/[/g,"[")}function m(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1//$2")}function d(e){return e.replace(/^(\s*https?:)//([^\s<>"]+\s*)$/m,"$1//$2")}var h=n(3),p=Object(o.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(h.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(o.createElement)(h.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 g=n(9),f={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":{}}}}}}}]};n.d(t,"metadata",function(){return v}),n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return j});var v={name:"core/code",category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}}},O=v.name,j={title:Object(r.__)("Code"),description:Object(r.__)("Display code snippets that respect your spacing and tabs."),icon:p,example:{attributes:{content:Object(r.__)('// A "block" is the abstract term used')+"\n"+Object(r.__)("// to describe units of markup that,")+"\n"+Object(r.__)("// when composed together, form the")+"\n"+Object(r.__)("// content or layout of a page.")+"\n"+Object(r.__)("registerBlockType( name, settings );")}},supports:{html:!1},transforms:f,edit:function(e){var t,n=e.attributes,l=e.setAttributes,u=e.className;return Object(o.createElement)("div",{className:u},Object(o.createElement)(a.PlainText,{value:(t=n.content,Object(c.flow)(d,b,s)(t||"")),onChange:function(e){return l({content:i(e)})},placeholder:Object(r.__)("Write code…"),"aria-label":Object(r.__)("Code")}))},save:function(e){var t=e.attributes;return Object(o.createElement)("pre",null,Object(o.createElement)("code",null,t.content))}}},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(1),a=n(0),c=n(9),i=n(6),l=n(3),s=n(22),u=function(e){var t=e.setAttributes,n=e.reversed,r=e.start;return Object(a.createElement)(i.InspectorControls,null,Object(a.createElement)(l.PanelBody,{title:Object(o.__)("Ordered List Settings")},Object(a.createElement)(l.TextControl,{label:Object(o.__)("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(a.createElement)(l.ToggleControl,{label:Object(o.__)("Reverse List Numbering"),checked:n||!1,onChange:function(e){t({reversed:e||void 0})}})))};var b=Object(a.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(l.G,null,Object(a.createElement)(l.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 m=n(17),d=Object(r.a)({},Object(c.getPhrasingContentSchema)(),{ul:{},ol:{attributes:["type"]}});["ul","ol"].forEach(function(e){d[e].children={li:{children:d}}});var h={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(c.createBlock)("core/list",{values:Object(s.toHTMLString)({value:Object(s.join)(e.map(function(t){var n=t.content,r=Object(s.create)({html:n});return e.length>1?r:Object(s.replace)(r,/\n/g,s.__UNSTABLE_LINE_SEPARATOR)}),s.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(c.createBlock)("core/list",{values:Object(s.toHTMLString)({value:Object(s.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:{ol:d.ol,ul:d.ul},transform:function(e){return Object(c.createBlock)("core/list",Object(r.a)({},Object(c.getBlockAttributes)("core/list",e.outerHTML),{ordered:"OL"===e.nodeName}))}}].concat(Object(m.a)(["*","-"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(c.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}})),Object(m.a)(["1.","1)"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(c.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(s.split)(Object(s.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),s.__UNSTABLE_LINE_SEPARATOR).map(function(e){return Object(c.createBlock)("core/paragraph",{content:Object(s.toHTMLString)({value:e})})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(c.createBlock)("core/quote",{value:Object(s.toHTMLString)({value:Object(s.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]};n.d(t,"metadata",function(){return p}),n.d(t,"name",function(){return g}),n.d(t,"settings",function(){return f});var p={name:"core/list",category:"common",attributes:{ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",default:""},start:{type:"number"},reversed:{type:"boolean"}}},g=p.name,f={title:Object(o.__)("List"),description:Object(o.__)("Create a bulleted or numbered list."),icon:b,keywords:[Object(o.__)("bullet list"),Object(o.__)("ordered list"),Object(o.__)("numbered list")],supports:{className:!1},example:{attributes:{values:"
  • Alice.
  • The White Rabbit.
  • The Cheshire Cat.
  • The Mad Hatter.
  • The Queen of Hearts.
  • "}},transforms:h,merge:function(e,t){var n=t.values;return n&&"
  • "!==n?Object(r.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,b=e.onReplace,m=e.className,d=t.ordered,h=t.values,p=t.reversed,f=t.start,v=d?"ol":"ul";return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(i.RichText,{identifier:"values",multiline:"li",tagName:v,onChange:function(e){return n({values:e})},value:h,wrapperClassName:"block-library-list",className:m,placeholder:Object(o.__)("Write list…"),onMerge:r,onSplit:function(e){return Object(c.createBlock)(g,{ordered:d,values:e})},__unstableOnSplitMiddle:function(){return Object(c.createBlock)("core/paragraph")},onReplace:b,onRemove:function(){return b([])},start:f,reversed:p},function(e){var t=e.value,r=e.onChange;if(void 0!==t.start)return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(i.RichTextShortcut,{type:"primary",character:"[",onUse:function(){r(Object(s.__unstableOutdentListItems)(t))}}),Object(a.createElement)(i.RichTextShortcut,{type:"primary",character:"]",onUse:function(){r(Object(s.__unstableIndentListItems)(t,{type:v}))}}),Object(a.createElement)(i.RichTextShortcut,{type:"primary",character:"m",onUse:function(){r(Object(s.__unstableIndentListItems)(t,{type:v}))}}),Object(a.createElement)(i.RichTextShortcut,{type:"primaryShift",character:"m",onUse:function(){r(Object(s.__unstableOutdentListItems)(t))}}),Object(a.createElement)(i.BlockControls,null,Object(a.createElement)(l.Toolbar,{controls:[{icon:"editor-ul",title:Object(o.__)("Convert to unordered list"),isActive:Object(s.__unstableIsActiveListType)(t,"ul",v),onClick:function(){r(Object(s.__unstableChangeListType)(t,{type:"ul"})),Object(s.__unstableIsListRootSelected)(t)&&n({ordered:!1})}},{icon:"editor-ol",title:Object(o.__)("Convert to ordered list"),isActive:Object(s.__unstableIsActiveListType)(t,"ol",v),onClick:function(){r(Object(s.__unstableChangeListType)(t,{type:"ol"})),Object(s.__unstableIsListRootSelected)(t)&&n({ordered:!0})}},{icon:"editor-outdent",title:Object(o.__)("Outdent list item"),shortcut:Object(o._x)("Backspace","keyboard key"),onClick:function(){r(Object(s.__unstableOutdentListItems)(t))}},{icon:"editor-indent",title:Object(o.__)("Indent list item"),shortcut:Object(o._x)("Space","keyboard key"),onClick:function(){r(Object(s.__unstableIndentListItems)(t,{type:v}))}}]})))}),d&&Object(a.createElement)(u,{setAttributes:n,ordered:d,reversed:p,start:f}))},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=t.reversed,c=t.start,l=n?"ol":"ul";return Object(a.createElement)(i.RichText.Content,{tagName:l,value:r,reversed:o,start:c,multiline:"li"})}}},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(1),a=n(0),c=n(2),i=n(6),l={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}},s=[{attributes:l,save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation;return Object(a.createElement)("blockquote",{style:{textAlign:n||null}},Object(a.createElement)(i.RichText.Content,{multiline:!0,value:r}),!i.RichText.isEmpty(o)&&Object(a.createElement)(i.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(r.a)({},l,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?Object(r.a)({},Object(c.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,c=t.style;return Object(a.createElement)("blockquote",{className:2===c?"is-large":"",style:{textAlign:n||null}},Object(a.createElement)(i.RichText.Content,{multiline:!0,value:r}),!i.RichText.isEmpty(o)&&Object(a.createElement)(i.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(r.a)({},l,{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,c=t.style;return Object(a.createElement)("blockquote",{className:"blocks-quote-style-".concat(c),style:{textAlign:n||null}},Object(a.createElement)(i.RichText.Content,{multiline:!0,value:r}),!i.RichText.isEmpty(o)&&Object(a.createElement)(i.RichText.Content,{tagName:"footer",value:o}))}}],u=n(10),b=n(16),m=n.n(b),d=n(3),h=n(9);var p=Object(a.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(d.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 g=n(21),f=n(17),v=n(22),O={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(h.createBlock)("core/quote",{value:Object(v.toHTMLString)({value:Object(v.join)(e.map(function(e){var t=e.content;return Object(v.create)({html:t})}),"\u2028"),multilineTag:"p"})})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(h.createBlock)("core/quote",{value:"

    ".concat(t,"

    ")})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(h.createBlock)("core/quote",{value:t,citation:n})}},{type:"prefix",prefix:">",transform:function(e){return Object(h.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(h.getPhrasingContentSchema)()},cite:{children:Object(h.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(f.a)(Object(v.split)(Object(v.create)({html:t,multilineTag:"p"}),"\u2028").map(function(e){return Object(h.createBlock)("core/paragraph",{content:Object(v.toHTMLString)({value:e})})}))),n&&"

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

    "===t)return Object(h.createBlock)("core/heading",{content:n});var a=Object(v.split)(Object(v.create)({html:t,multilineTag:"p"}),"\u2028"),c=Object(h.createBlock)("core/heading",{content:Object(v.toHTMLString)({value:a[0]})});if(!n&&1===a.length)return c;var i=a.slice(1);return[c,Object(h.createBlock)("core/quote",Object(r.a)({},o,{citation:n,value:Object(v.toHTMLString)({value:i.length?Object(v.join)(a.slice(1),"\u2028"):Object(v.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(h.createBlock)("core/pullquote",{value:t,citation:n})}}]};n.d(t,"metadata",function(){return j}),n.d(t,"name",function(){return y}),n.d(t,"settings",function(){return _});var j={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"}}},y=j.name,_={title:Object(o.__)("Quote"),description:Object(o.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:p,keywords:[Object(o.__)("blockquote"),Object(o.__)("cite")],example:{attributes:{value:"

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

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

    "!==n?Object(r.a)({},e,{value:e.value+n,citation:o}):Object(r.a)({},e,{citation:o})},deprecated:s}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(17),a=n(12),c=n(11),i=n(13),l=n(14),s=n(5),u=n(15),b=n(0),m=n(6),d=n(3),h=n(4),p=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(s.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(s.a)(e)),e}return Object(u.a)(t,e),Object(c.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(o.a)(Object(m.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,o=this.state,a=o.isPreview,c=o.styles;return Object(b.createElement)("div",{className:"wp-block-html"},Object(b.createElement)(m.BlockControls,null,Object(b.createElement)("div",{className:"components-toolbar"},Object(b.createElement)("button",{className:"components-tab-button ".concat(a?"":"is-active"),onClick:this.switchToHTML},Object(b.createElement)("span",null,"HTML")),Object(b.createElement)("button",{className:"components-tab-button ".concat(a?"is-active":""),onClick:this.switchToPreview},Object(b.createElement)("span",null,Object(r.__)("Preview"))))),Object(b.createElement)(d.Disabled.Consumer,null,function(e){return a||e?Object(b.createElement)(d.SandBox,{html:t.content,styles:c}):Object(b.createElement)(m.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(r.__)("Write HTML…"),"aria-label":Object(r.__)("HTML")})}))}}]),t}(b.Component),g=Object(h.withSelect)(function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}})(p),f=Object(b.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(d.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 v=n(9),O={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(v.getPhrasingContentSchema)()}}}}}]};n.d(t,"metadata",function(){return j}),n.d(t,"name",function(){return y}),n.d(t,"settings",function(){return _});var j={name:"core/html",category:"formatting",attributes:{content:{type:"string",source:"html"}}},y=j.name,_={title:Object(r.__)("Custom HTML"),description:Object(r.__)("Add custom HTML code and preview it as you edit."),icon:f,keywords:[Object(r.__)("embed")],example:{attributes:{content:""+Object(r.__)("Welcome to the wonderful world of blocks…")+""}},supports:{customClassName:!1,className:!1,html:!1},transforms:O,edit:g,save:function(e){var t=e.attributes;return Object(b.createElement)(b.RawHTML,null,t.content)}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),a=n(7),c=n(0),i=n(2),l=n(16),s=n.n(l),u=n(6),b=function(e){return Object(i.omit)(Object(a.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},m={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"}},d=[{attributes:Object(a.a)({},m,{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(a.a)({},e,{className:t||void 0,borderRadius:0})},save:function(e){var t,n=e.attributes,r=n.backgroundColor,a=n.customBackgroundColor,i=n.customTextColor,l=n.linkTarget,b=n.rel,m=n.text,d=n.textColor,h=n.title,p=n.url,g=Object(u.getColorClassName)("color",d),f=Object(u.getColorClassName)("background-color",r),v=s()("wp-block-button__link",(t={"has-text-color":d||i},Object(o.a)(t,g,g),Object(o.a)(t,"has-background",r||a),Object(o.a)(t,f,f),t)),O={backgroundColor:f?void 0:a,color:g?void 0:i};return Object(c.createElement)("div",null,Object(c.createElement)(u.RichText.Content,{tagName:"a",className:v,href:p,title:h,style:O,value:m,target:l,rel:b}))}},{attributes:Object(a.a)({},m,{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,a=n.text,i=n.title,l=n.backgroundColor,b=n.textColor,m=n.customBackgroundColor,d=n.customTextColor,h=Object(u.getColorClassName)("color",b),p=Object(u.getColorClassName)("background-color",l),g=s()("wp-block-button__link",(t={"has-text-color":b||d},Object(o.a)(t,h,h),Object(o.a)(t,"has-background",l||m),Object(o.a)(t,p,p),t)),f={backgroundColor:p?void 0:m,color:h?void 0:d};return Object(c.createElement)("div",null,Object(c.createElement)(u.RichText.Content,{tagName:"a",className:g,href:r,title:i,style:f,value:a}))},migrate:b},{attributes:Object(a.a)({},m,{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,i={backgroundColor:t.color,color:t.textColor};return Object(c.createElement)("div",{className:"align".concat(a)},Object(c.createElement)(u.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:i,value:r}))},migrate:b},{attributes:Object(a.a)({},m,{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,i=t.color,l=t.textColor;return Object(c.createElement)("div",{className:"align".concat(a),style:{backgroundColor:i}},Object(c.createElement)(u.RichText.Content,{tagName:"a",href:n,title:o,style:{color:l},value:r}))},migrate:b}],h=n(12),p=n(11),g=n(13),f=n(14),v=n(5),O=n(15),j=n(8),y=n(3),_=window.getComputedStyle,k=Object(y.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:_(e).backgroundColor,fallbackTextColor:a||!c?void 0:_(c).color}}),C=0,w=50,E=5;function x(e){var t=e.borderRadius,n=void 0===t?"":t,o=e.setAttributes,a=Object(c.useCallback)(function(e){o({borderRadius:e})},[o]);return Object(c.createElement)(y.PanelBody,{title:Object(r.__)("Border Settings")},Object(c.createElement)(y.RangeControl,{value:n,label:Object(r.__)("Border Radius"),min:C,max:w,initialPosition:E,allowReset:!0,onChange:a}))}var S=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(g.a)(this,Object(f.a)(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(Object(v.a)(e)),e.onSetLinkRel=e.onSetLinkRel.bind(Object(v.a)(e)),e.onToggleOpenInNewTab=e.onToggleOpenInNewTab.bind(Object(v.a)(e)),e}return Object(O.a)(t,e),Object(p.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,a=t.backgroundColor,i=t.textColor,l=t.setBackgroundColor,b=t.setTextColor,m=t.fallbackBackgroundColor,d=t.fallbackTextColor,h=t.setAttributes,p=t.className,g=t.instanceId,f=t.isSelected,v=n.borderRadius,O=n.linkTarget,j=n.placeholder,_=n.rel,k=n.text,C=n.title,w=n.url,E="wp-block-button__inline-link-".concat(g);return Object(c.createElement)("div",{className:p,title:C,ref:this.bindRef},Object(c.createElement)(u.RichText,{placeholder:j||Object(r.__)("Add text…"),value:k,onChange:function(e){return h({text:e})},withoutInteractiveFormatting:!0,className:s()("wp-block-button__link",(e={"has-background":a.color},Object(o.a)(e,a.class,a.class),Object(o.a)(e,"has-text-color",i.color),Object(o.a)(e,i.class,i.class),Object(o.a)(e,"no-border-radius",0===v),e)),style:{backgroundColor:a.color,color:i.color,borderRadius:v?v+"px":void 0}}),Object(c.createElement)(y.BaseControl,{label:Object(r.__)("Link"),className:"wp-block-button__inline-link",id:E},Object(c.createElement)(u.URLInput,{className:"wp-block-button__inline-link-input",value:w,autoFocus:!1,onChange:function(e){return h({url:e})},disableSuggestions:!f,id:E,isFullWidth:!0,hasBorder:!0})),Object(c.createElement)(u.InspectorControls,null,Object(c.createElement)(u.PanelColorSettings,{title:Object(r.__)("Color Settings"),colorSettings:[{value:a.color,onChange:l,label:Object(r.__)("Background Color")},{value:i.color,onChange:b,label:Object(r.__)("Text Color")}]},Object(c.createElement)(u.ContrastChecker,{isLargeText:!1,textColor:i.color,backgroundColor:a.color,fallbackBackgroundColor:m,fallbackTextColor:d})),Object(c.createElement)(x,{borderRadius:v,setAttributes:h}),Object(c.createElement)(y.PanelBody,{title:Object(r.__)("Link settings")},Object(c.createElement)(y.ToggleControl,{label:Object(r.__)("Open in new tab"),onChange:this.onToggleOpenInNewTab,checked:"_blank"===O}),Object(c.createElement)(y.TextControl,{label:Object(r.__)("Link rel"),value:_||"",onChange:this.onSetLinkRel}))))}}]),t}(c.Component),T=Object(j.compose)([j.withInstanceId,Object(u.withColors)("backgroundColor",{textColor:"color"}),k])(S),B=Object(c.createElement)(y.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(y.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(c.createElement)(y.G,null,Object(c.createElement)(y.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"})));n.d(t,"metadata",function(){return N}),n.d(t,"name",function(){return M}),n.d(t,"settings",function(){return A});var N={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"}}},M=N.name,A={title:Object(r.__)("Button"),description:Object(r.__)("Prompt visitors to take action with a button-style link."),icon:B,keywords:[Object(r.__)("link")],example:{attributes:{className:"is-style-fill",backgroundColor:"vivid-green-cyan",text:Object(r.__)("Call to Action")}},supports:{align:!0,alignWide:!1},styles:[{name:"fill",label:Object(r.__)("Fill"),isDefault:!0},{name:"outline",label:Object(r.__)("Outline")}],edit:T,save:function(e){var t,n=e.attributes,r=n.backgroundColor,a=n.borderRadius,i=n.customBackgroundColor,l=n.customTextColor,b=n.linkTarget,m=n.rel,d=n.text,h=n.textColor,p=n.title,g=n.url,f=Object(u.getColorClassName)("color",h),v=Object(u.getColorClassName)("background-color",r),O=s()("wp-block-button__link",(t={"has-text-color":h||l},Object(o.a)(t,f,f),Object(o.a)(t,"has-background",r||i),Object(o.a)(t,v,v),Object(o.a)(t,"no-border-radius",0===a),t)),j={backgroundColor:v?void 0:i,color:f?void 0:l,borderRadius:a?a+"px":void 0};return Object(c.createElement)("div",null,Object(c.createElement)(u.RichText.Content,{tagName:"a",className:O,href:g,title:p,style:j,value:d,target:b,rel:m}))},deprecated:d}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(12),a=n(11),c=n(13),i=n(14),l=n(5),s=n(15),u=n(0),b=n(3),m=n(6),d=n(19),h=n(9),p=function(e){function t(){var e;return Object(o.a)(this,t),(e=Object(c.a)(this,Object(i.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(l.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(l.a)(e)),e.state={defaultText:Object(r.__)("Read more")},e}return Object(s.a)(t,e),Object(a.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===d.ENTER&&n([Object(h.createBlock)(Object(h.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(r.__)("The excerpt is hidden."):Object(r.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,o=this.props.setAttributes,a=this.state.defaultText,c=void 0!==t?t:a,i=c.length+1;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(m.InspectorControls,null,Object(u.createElement)(b.PanelBody,null,Object(u.createElement)(b.ToggleControl,{label:Object(r.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return o({noTeaser:!n})},help:this.getHideExcerptHelp}))),Object(u.createElement)("div",{className:"wp-block-more"},Object(u.createElement)("input",{type:"text",value:c,size:i,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}(u.Component),g=Object(u.createElement)(b.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(u.createElement)(b.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(u.createElement)(b.G,null,Object(u.createElement)(b.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"}))),f=n(2);var v={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(h.createBlock)("core/more",o)}}]};n.d(t,"metadata",function(){return O}),n.d(t,"name",function(){return j}),n.d(t,"settings",function(){return y});var O={name:"core/more",category:"layout",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}}},j=O.name,y={title:Object(r._x)("More","block name"),description:Object(r.__)("Content before this block will be shown in the excerpt on your archives page."),icon:g,supports:{customClassName:!1,className:!1,html:!1,multiple:!1},example:{},transforms:v,edit:p,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(u.createElement)(u.RawHTML,null,Object(f.compact)([o,a]).join("\n"))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0);var a=n(3),c=Object(o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24px",height:"24px",viewBox:"0 0 24 24"},Object(o.createElement)(a.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(o.createElement)(a.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 i=n(9),l={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(i.createBlock)("core/nextpage",{})}}]};n.d(t,"metadata",function(){return s}),n.d(t,"name",function(){return u}),n.d(t,"settings",function(){return b});var s={name:"core/nextpage",category:"layout"},u=s.name,b={title:Object(r.__)("Page Break"),description:Object(r.__)("Separate your content into a multi-page experience."),icon:c,keywords:[Object(r.__)("next page"),Object(r.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},example:{},transforms:l,edit:function(){return Object(o.createElement)("div",{className:"wp-block-nextpage"},Object(o.createElement)("span",null,Object(r.__)("Page break")))},save:function(){return Object(o.createElement)(o.RawHTML,null,"\x3c!--nextpage--\x3e")}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),a=n(0),c=n(2),i=n(16),l=n.n(i),s=n(9),u=n(6);function b(e){var t,n=b.doc;n||(n=document.implementation.createHTMLDocument(""),b.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 m=[{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!==b(e.originalContent)})},migrate:function(e,t){var n=t.reduce(function(e,t){var n=b(t.originalContent);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e},[]).map(function(e){return Object(s.createBlock)("core/column",{},e)});return[Object(c.omit)(e,["columns"]),n]},save:function(e){var t=e.attributes.columns;return Object(a.createElement)("div",{className:"has-".concat(t,"-columns")},Object(a.createElement)(u.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:function(e,t){return[e=Object(c.omit)(e,["columns"]),t]},save:function(e){var t=e.attributes,n=t.verticalAlignment,r=t.columns,c=l()("has-".concat(r,"-columns"),Object(o.a)({},"are-vertically-aligned-".concat(n),n));return Object(a.createElement)("div",{className:c},Object(a.createElement)(u.InnerBlocks.Content,null))}}],d=n(17),h=n(23),p=n(3),g=n(4),f=n(57),v=["core/column"],O=[{title:Object(r.__)("Two columns; equal split"),icon:Object(a.createElement)(p.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(p.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(r.__)("Two columns; one-third, two-thirds split"),icon:Object(a.createElement)(p.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(p.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(r.__)("Two columns; two-thirds, one-third split"),icon:Object(a.createElement)(p.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(p.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(r.__)("Three columns; equal split"),icon:Object(a.createElement)(p.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(p.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(r.__)("Three columns; wide center column"),icon:Object(a.createElement)(p.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(p.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}]]}],j=2;var y=Object(g.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,i=e("core/block-editor").replaceInnerBlocks,l=(0,n.select("core/block-editor").getBlocks)(a),u=Object(f.g)(l),b=o>r;if(b&&u){var m=Object(f.h)(100/o),h=Object(f.e)(l,100-m);l=[].concat(Object(d.a)(Object(f.d)(l,h)),Object(d.a)(Object(c.times)(o-r,function(){return Object(s.createBlock)("core/column",{width:m})})))}else if(b)l=[].concat(Object(d.a)(l),Object(d.a)(Object(c.times)(o-r,function(){return Object(s.createBlock)("core/column")})));else if(l=Object(c.dropRight)(l,r-o),u){var p=Object(f.e)(l,100);l=Object(f.d)(l,p)}i(a,l,!1)}}})(function(e){var t=e.attributes,n=e.className,c=e.updateAlignment,i=e.updateColumns,s=e.clientId,b=t.verticalAlignment,m=Object(g.useSelect)(function(e){return{count:e("core/block-editor").getBlockCount(s)}}).count,d=Object(a.useState)(Object(f.c)(m)),y=Object(h.a)(d,2),_=y[0],k=y[1],C=Object(a.useState)(!1),w=Object(h.a)(C,2),E=w[0],x=w[1];Object(a.useEffect)(function(){E&&x(!1)},[E]);var S=l()(n,Object(o.a)({},"are-vertically-aligned-".concat(b),b)),T=0===m&&!E||!_;return Object(a.createElement)(a.Fragment,null,!T&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(u.InspectorControls,null,Object(a.createElement)(p.PanelBody,null,Object(a.createElement)(p.RangeControl,{label:Object(r.__)("Columns"),value:m,onChange:function(e){return i(m,e)},min:2,max:6}))),Object(a.createElement)(u.BlockControls,null,Object(a.createElement)(u.BlockVerticalAlignmentToolbar,{onChange:c,value:b}))),Object(a.createElement)("div",{className:S},Object(a.createElement)(u.InnerBlocks,{__experimentalTemplateOptions:O,__experimentalOnSelectTemplateOption:function(e){void 0===e&&(e=Object(f.c)(j)),k(e),x(!0)},__experimentalAllowTemplateOptionSkip:!0,template:T?null:_,templateLock:"all",allowedBlocks:v})))}),_=Object(a.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(p.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(p.G,null,Object(a.createElement)(p.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"})));n.d(t,"metadata",function(){return k}),n.d(t,"name",function(){return C}),n.d(t,"settings",function(){return w});var k={name:"core/columns",category:"layout",attributes:{verticalAlignment:{type:"string"}}},C=k.name,w={title:Object(r.__)("Columns"),icon:_,description:Object(r.__)("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 pellentesque efficitur. Nam dapibus felis malesuada tincidunt rhoncus. Integer non malesuada tortor."}},{name:"core/image",attributes:{url:"https://upload.wikimedia.org/wikipedia/commons/9/95/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:"Suspendisse commodo neque lacus, a dictum orci interdum et. Ut vel mi ut leo fringilla rutrum."}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(r.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit, eget faucibus urna pulvinar.")}},{name:"core/paragraph",attributes:{content:Object(r.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim ultricies commodo.")}}]}]},deprecated:m,edit:y,save:function(e){var t=e.attributes.verticalAlignment,n=l()(Object(o.a)({},"are-vertically-aligned-".concat(t),t));return Object(a.createElement)("div",{className:n},Object(a.createElement)(u.InnerBlocks.Content,null))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(6);var c=n(3),i=Object(o.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(c.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(o.createElement)(c.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(o.createElement)(c.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object(o.createElement)(c.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object(o.createElement)(c.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object(o.createElement)(c.Rect,{x:"10",y:"10",width:"8",height:"2"}));var l=n(9),s={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(l.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(l.getPhrasingContentSchema)()}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(l.createBlock)("core/paragraph",e)}}]};n.d(t,"metadata",function(){return u}),n.d(t,"name",function(){return b}),n.d(t,"settings",function(){return m});var u={name:"core/preformatted",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""}}},b=u.name,m={title:Object(r.__)("Preformatted"),description:Object(r.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:i,example:{attributes:{content:Object(r.__)("EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)")+"\n"+Object(r.__)("Window, very small in the distance, illuminated.")+"\n"+Object(r.__)("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:s,edit:function(e){var t=e.attributes,n=e.mergeBlocks,c=e.setAttributes,i=e.className,l=t.content;return Object(o.createElement)(a.RichText,{tagName:"pre",value:l.replace(/\n/g,"
    "),onChange:function(e){c({content:e.replace(/
    /g,"\n")})},placeholder:Object(r.__)("Write preformatted text…"),wrapperClassName:i,onMerge:n})},save:function(e){var t=e.attributes.content;return Object(o.createElement)(a.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),a=n(0),c=n(16),i=n.n(c),l=n(3),s=n(6);var u=Object(s.withColors)("color",{textColor:"color"})(function(e){var t=e.color,n=e.setColor,c=e.className;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.HorizontalRule,{className:i()(c,Object(o.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}}),Object(a.createElement)(s.InspectorControls,null,Object(a.createElement)(s.PanelColorSettings,{title:Object(r.__)("Color Settings"),colorSettings:[{value:t.color,onChange:n,label:Object(r.__)("Color")}]})))}),b=Object(a.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(l.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(l.Path,{d:"M19 13H5v-2h14v2z"}));var m=n(9),d={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(m.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]};n.d(t,"metadata",function(){return h}),n.d(t,"name",function(){return p}),n.d(t,"settings",function(){return g});var h={name:"core/separator",category:"layout",attributes:{color:{type:"string"},customColor:{type:"string"}}},p=h.name,g={title:Object(r.__)("Separator"),description:Object(r.__)("Create a break between ideas or sections with a horizontal separator."),icon:b,keywords:[Object(r.__)("horizontal-line"),"hr",Object(r.__)("divider")],example:{attributes:{customColor:"#065174",className:"is-style-wide"}},styles:[{name:"default",label:Object(r.__)("Default"),isDefault:!0},{name:"wide",label:Object(r.__)("Wide Line")},{name:"dots",label:Object(r.__)("Dots")}],transforms:d,edit:u,save:function(e){var t,n=e.attributes,r=n.color,c=n.customColor,l=Object(s.getColorClassName)("background-color",r),u=Object(s.getColorClassName)("color",r),b=i()((t={"has-text-color has-background":r||c},Object(o.a)(t,l,l),Object(o.a)(t,u,u),t)),m={backgroundColor:l?void 0:c,color:u?void 0:c};return Object(a.createElement)("hr",{className:b,style:m})}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),a=n(23),c=n(12),i=n(11),l=n(13),s=n(14),u=n(5),b=n(15),m=n(0),d=n(35),h=n(8),p=n(3),g=n(6),f=n(4),v=Object(m.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(m.createElement)(p.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(m.createElement)(p.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"})),O=n(61),j=["audio"],y=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.toggleAttribute=e.toggleAttribute.bind(Object(u.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(u.a)(e)),e.onUploadError=e.onUploadError.bind(Object(u.a)(e)),e}return Object(b.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,c=t.setAttributes,i=n.id,l=n.src,s=void 0===l?"":l;if(!i&&Object(d.isBlobURL)(s)){var u=Object(d.getBlobByURL)(s);u&&r({filesList:[u],onFileChange:function(e){var t=Object(a.a)(e,1)[0],n=t.id,r=t.url;c({id:n,src:r})},onError:function(t){c({src:void 0,id:void 0}),e.setState({editing:!0}),o.createErrorNotice(t)},allowedTypes:j})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(o.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=Object(O.a)({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(r.__)("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,o=t.caption,a=t.loop,c=t.preload,i=t.src,l=this.props,s=l.setAttributes,u=l.isSelected,b=l.className,d=l.noticeUI,h=this.state.editing,f=function(){e.setState({editing:!0})};return h?Object(m.createElement)(g.MediaPlaceholder,{icon:Object(m.createElement)(g.BlockIcon,{icon:v}),className:b,onSelect:function(t){if(!t||!t.url)return s({src:void 0,id:void 0}),void f();s({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:j,value:this.props.attributes,notices:d,onError:this.onUploadError}):Object(m.createElement)(m.Fragment,null,Object(m.createElement)(g.BlockControls,null,Object(m.createElement)(p.Toolbar,null,Object(m.createElement)(p.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(r.__)("Edit audio"),onClick:f,icon:"edit"}))),Object(m.createElement)(g.InspectorControls,null,Object(m.createElement)(p.PanelBody,{title:Object(r.__)("Audio Settings")},Object(m.createElement)(p.ToggleControl,{label:Object(r.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n,help:this.getAutoplayHelp}),Object(m.createElement)(p.ToggleControl,{label:Object(r.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:a}),Object(m.createElement)(p.SelectControl,{label:Object(r.__)("Preload"),value:void 0!==c?c:"none",onChange:function(e){return s({preload:"none"!==e?e:void 0})},options:[{value:"auto",label:Object(r.__)("Auto")},{value:"metadata",label:Object(r.__)("Metadata")},{value:"none",label:Object(r.__)("None")}]}))),Object(m.createElement)("figure",{className:b},Object(m.createElement)(p.Disabled,null,Object(m.createElement)("audio",{controls:"controls",src:i})),(!g.RichText.isEmpty(o)||u)&&Object(m.createElement)(g.RichText,{tagName:"figcaption",placeholder:Object(r.__)("Write caption…"),value:o,onChange:function(e){return s({caption:e})},inlineToolbar:!0})))}}]),t}(m.Component),_=Object(h.compose)([Object(f.withSelect)(function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}}),p.withNotices])(y);var k=n(9),C={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("audio/")},transform:function(e){var t=e[0];return Object(k.createBlock)("core/audio",{src:Object(d.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.d(t,"metadata",function(){return w}),n.d(t,"name",function(){return E}),n.d(t,"settings",function(){return x});var w={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"}}},E=w.name,x={title:Object(r.__)("Audio"),description:Object(r.__)("Embed a simple audio player."),icon:v,transforms:C,supports:{align:!0},edit:_,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src;return Object(m.createElement)("figure",null,Object(m.createElement)("audio",{controls:"controls",src:c,autoPlay:n,loop:o,preload:a}),!g.RichText.isEmpty(r)&&Object(m.createElement)(g.RichText.Content,{tagName:"figcaption",value:r}))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(3),c=n(6),i=n(8),l=Object(i.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,i=e.instanceId,l="blocks-shortcode-input-".concat(i);return Object(o.createElement)("div",{className:"wp-block-shortcode components-placeholder"},Object(o.createElement)("label",{htmlFor:l,className:"components-placeholder__label"},Object(o.createElement)(a.Dashicon,{icon:"shortcode"}),Object(r.__)("Shortcode")),Object(o.createElement)(c.PlainText,{className:"input-control",id:l,value:t.text,placeholder:Object(r.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))}),s=Object(o.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(a.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 u=n(72),b={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(u.removep)(Object(u.autop)(n))}}},priority:20}]};n.d(t,"name",function(){return m}),n.d(t,"settings",function(){return d});var m="core/shortcode",d={title:Object(r.__)("Shortcode"),description:Object(r.__)("Insert additional custom elements with a WordPress shortcode."),icon:s,category:"widgets",transforms:b,supports:{customClassName:!1,className:!1,html:!1},edit:l,save:function(e){var t=e.attributes;return Object(o.createElement)(o.RawHTML,null,t.text)}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(37),c=n.n(a),i=n(6);var l=n(3),s=Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(l.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"}));var u=n(9),b={to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(u.createBlock)("core/paragraph",e)}}]};n.d(t,"metadata",function(){return m}),n.d(t,"name",function(){return d}),n.d(t,"settings",function(){return h});var m={name:"core/subhead",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}}},d=m.name,h={title:Object(r.__)("Subheading (deprecated)"),description:Object(r.__)("This block is deprecated. Please use the Paragraph block instead."),icon:s,supports:{inserter:!1,multiple:!1},transforms:b,edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=t.align,s=t.content,u=t.placeholder;return c()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(i.BlockControls,null,Object(o.createElement)(i.AlignmentToolbar,{value:l,onChange:function(e){n({align:e})}})),Object(o.createElement)(i.RichText,{tagName:"p",value:s,onChange:function(e){n({content:e})},style:{textAlign:l},className:a,placeholder:u||Object(r.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,r=t.content;return Object(o.createElement)(i.RichText.Content,{tagName:"p",style:{textAlign:n},value:r})}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),a=n(23),c=n(12),i=n(11),l=n(13),s=n(14),u=n(5),b=n(15),m=n(0),d=n(35),h=n(3),p=n(6),g=n(8),f=n(4),v=n(61),O=Object(m.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(m.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(m.createElement)(h.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"})),j=["video"],y=["image"],_=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object(m.createRef)(),e.posterImageButton=Object(m.createRef)(),e.toggleAttribute=e.toggleAttribute.bind(Object(u.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(u.a)(e)),e.onSelectPoster=e.onSelectPoster.bind(Object(u.a)(e)),e.onRemovePoster=e.onRemovePoster.bind(Object(u.a)(e)),e.onUploadError=e.onUploadError.bind(Object(u.a)(e)),e}return Object(b.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,c=t.setAttributes,i=n.id,l=n.src,s=void 0===l?"":l;if(!i&&Object(d.isBlobURL)(s)){var u=Object(d.getBlobByURL)(s);u&&r({filesList:[u],onFileChange:function(e){var t=Object(a.a)(e,1)[0].url;c({src:t})},onError:function(t){e.setState({editing:!0}),o.createErrorNotice(t)},allowedTypes:j})}}},{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(o.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=Object(v.a)({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(r.__)("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,o=t.caption,a=t.controls,c=t.loop,i=t.muted,l=t.playsInline,s=t.poster,u=t.preload,b=t.src,d=this.props,g=d.className,f=d.instanceId,v=d.isSelected,_=d.noticeUI,k=d.setAttributes,C=this.state.editing,w=function(){e.setState({editing:!0})};if(C)return Object(m.createElement)(p.MediaPlaceholder,{icon:Object(m.createElement)(p.BlockIcon,{icon:O}),className:g,onSelect:function(t){if(!t||!t.url)return k({src:void 0,id:void 0}),void w();k({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:j,value:this.props.attributes,notices:_,onError:this.onUploadError});var E="video-block__poster-image-description-".concat(f);return Object(m.createElement)(m.Fragment,null,Object(m.createElement)(p.BlockControls,null,Object(m.createElement)(h.Toolbar,null,Object(m.createElement)(h.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(r.__)("Edit video"),onClick:w,icon:"edit"}))),Object(m.createElement)(p.InspectorControls,null,Object(m.createElement)(h.PanelBody,{title:Object(r.__)("Video Settings")},Object(m.createElement)(h.ToggleControl,{label:Object(r.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n,help:this.getAutoplayHelp}),Object(m.createElement)(h.ToggleControl,{label:Object(r.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:c}),Object(m.createElement)(h.ToggleControl,{label:Object(r.__)("Muted"),onChange:this.toggleAttribute("muted"),checked:i}),Object(m.createElement)(h.ToggleControl,{label:Object(r.__)("Playback Controls"),onChange:this.toggleAttribute("controls"),checked:a}),Object(m.createElement)(h.ToggleControl,{label:Object(r.__)("Play inline"),onChange:this.toggleAttribute("playsInline"),checked:l}),Object(m.createElement)(h.SelectControl,{label:Object(r.__)("Preload"),value:u,onChange:function(e){return k({preload:e})},options:[{value:"auto",label:Object(r.__)("Auto")},{value:"metadata",label:Object(r.__)("Metadata")},{value:"none",label:Object(r.__)("None")}]}),Object(m.createElement)(p.MediaUploadCheck,null,Object(m.createElement)(h.BaseControl,{className:"editor-video-poster-control"},Object(m.createElement)(h.BaseControl.VisualLabel,null,Object(r.__)("Poster Image")),Object(m.createElement)(p.MediaUpload,{title:Object(r.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:y,render:function(t){var n=t.open;return Object(m.createElement)(h.Button,{isDefault:!0,onClick:n,ref:e.posterImageButton,"aria-describedby":E},e.props.attributes.poster?Object(r.__)("Replace image"):Object(r.__)("Select Poster Image"))}}),Object(m.createElement)("p",{id:E,hidden:!0},this.props.attributes.poster?Object(r.sprintf)(Object(r.__)("The current poster image url is %s"),this.props.attributes.poster):Object(r.__)("There is no poster image currently selected")),!!this.props.attributes.poster&&Object(m.createElement)(h.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(r.__)("Remove Poster Image")))))),Object(m.createElement)("figure",{className:g},Object(m.createElement)(h.Disabled,null,Object(m.createElement)("video",{controls:a,poster:s,src:b,ref:this.videoPlayer})),(!p.RichText.isEmpty(o)||v)&&Object(m.createElement)(p.RichText,{tagName:"figcaption",placeholder:Object(r.__)("Write caption…"),value:o,onChange:function(e){return k({caption:e})},inlineToolbar:!0})))}}]),t}(m.Component),k=Object(g.compose)([Object(f.withSelect)(function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}}),h.withNotices,g.withInstanceId])(_);var C=n(9),w={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(C.createBlock)("core/video",{src:Object(d.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}}}}]};n.d(t,"metadata",function(){return E}),n.d(t,"name",function(){return x}),n.d(t,"settings",function(){return S});var E={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"}}},x=E.name,S={title:Object(r.__)("Video"),description:Object(r.__)("Embed a video from your media library or upload a new one."),icon:O,keywords:[Object(r.__)("movie")],transforms:w,supports:{align:!0},edit:k,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(m.createElement)("figure",null,s&&Object(m.createElement)("video",{autoPlay:n,controls:o,loop:a,muted:c,poster:i,preload:"metadata"!==l?l:void 0,src:s,playsInline:u}),!p.RichText.isEmpty(r)&&Object(m.createElement)(p.RichText.Content,{tagName:"figcaption",value:r}))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(7),a=n(17),c=n(10),i=n(0),l=n(16),s=n.n(l),u=n(2),b=n(6),m=n(3),d=n(4),h=n(8),p=n(57);var g=Object(h.compose)(Object(d.withSelect)(function(e,t){var n=t.clientId;return{hasChildBlocks:(0,e("core/block-editor").getBlockOrder)(n).length>0}}),Object(d.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 i=t.clientId,l=e("core/block-editor").updateBlockAttributes,s=n.select("core/block-editor"),b=s.getBlockRootClientId,m=(0,s.getBlocks)(b(i)),d=Object(p.a)(m,i),h=r+Object(p.f)(Object(u.difference)(m,[Object(u.find)(m,{clientId:i})].concat(Object(a.a)(d)))),g=Object(o.a)({},Object(p.b)(m,m.length),Object(c.a)({},i,Object(p.h)(r)),Object(p.e)(d,100-h,m.length));Object(u.forEach)(g,function(e,t){l(t,{width:e})})}}}))(function(e){var t=e.attributes,n=e.className,o=e.updateAlignment,a=e.updateWidth,l=e.hasChildBlocks,u=t.verticalAlignment,d=t.width,h=s()(n,"block-core-columns",Object(c.a)({},"is-vertically-aligned-".concat(u),u));return Object(i.createElement)("div",{className:h},Object(i.createElement)(b.BlockControls,null,Object(i.createElement)(b.BlockVerticalAlignmentToolbar,{onChange:o,value:u})),Object(i.createElement)(b.InspectorControls,null,Object(i.createElement)(m.PanelBody,{title:Object(r.__)("Column Settings")},Object(i.createElement)(m.RangeControl,{label:Object(r.__)("Percentage width"),value:d||"",onChange:a,min:0,max:100,required:!0,allowReset:!0}))),Object(i.createElement)(b.InnerBlocks,{templateLock:!1,renderAppender:l?void 0:function(){return Object(i.createElement)(b.InnerBlocks.ButtonBlockAppender,null)}}))}),f=Object(i.createElement)(m.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(m.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(m.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"}));n.d(t,"metadata",function(){return v}),n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return j});var v={name:"core/column",category:"common",attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}}},O=v.name,j={title:Object(r.__)("Column"),parent:["core/columns"],icon:f,description:Object(r.__)("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:g,save:function(e){var t,n=e.attributes,r=n.verticalAlignment,o=n.width,a=s()(Object(c.a)({},"is-vertically-aligned-".concat(r),r));return Number.isFinite(o)&&(t={flexBasis:o+"%"}),Object(i.createElement)("div",{className:a,style:t},Object(i.createElement)(b.InnerBlocks.Content,null))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(17),a=n(0),c=n(2),i=n(3),l=n(6),s=n(37),u=n.n(s);var b=n(9),m={to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object(b.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(b.createBlock)("core/column",{},[Object(b.createBlock)("core/paragraph",{content:t})])}))}}]};n.d(t,"metadata",function(){return d}),n.d(t,"name",function(){return h}),n.d(t,"settings",function(){return p});var d={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"}}},h=d.name,p={supports:{inserter:!1},title:Object(r.__)("Text Columns (deprecated)"),description:Object(r.__)("This block is deprecated. Please use the Columns block instead."),transforms:m,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,s=e.className,b=t.width,m=t.content,d=t.columns;return u()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(a.createElement)(a.Fragment,null,Object(a.createElement)(l.BlockControls,null,Object(a.createElement)(l.BlockAlignmentToolbar,{value:b,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(i.PanelBody,null,Object(a.createElement)(i.RangeControl,{label:Object(r.__)("Columns"),value:d,onChange:function(e){return n({columns:e})},min:2,max:4,required:!0}))),Object(a.createElement)("div",{className:"".concat(s," align").concat(b," columns-").concat(d)},Object(c.times)(d,function(e){return Object(a.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(a.createElement)(l.RichText,{tagName:"p",value:Object(c.get)(m,[e,"children"]),onChange:function(t){n({content:[].concat(Object(o.a)(m.slice(0,e)),[{children:t}],Object(o.a)(m.slice(e+1)))})},placeholder:Object(r.__)("New Column")}))})))},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return Object(a.createElement)("div",{className:"align".concat(n," columns-").concat(o)},Object(c.times)(o,function(e){return Object(a.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(a.createElement)(l.RichText.Content,{tagName:"p",value:Object(c.get)(r,[e,"children"])}))}))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(23),a=n(0),c=n(16),i=n.n(c),l=n(6),s=n(3),u=n(8),b=n(4),m=Object(u.compose)([Object(b.withDispatch)(function(e){var t=e("core/block-editor").toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}}),u.withInstanceId])(function(e){var t=e.attributes,n=e.isSelected,c=e.setAttributes,u=e.instanceId,b=e.onResizeStart,m=e.onResizeStop,d=t.height,h="block-spacer-height-input-".concat(u),p=Object(a.useState)(d),g=Object(o.a)(p,2),f=g[0],v=g[1];return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(s.ResizableBox,{className:i()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:d},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:b,onResizeStop:function(e,t,n,r){m();var o=parseInt(d+r.height,10);c({height:o}),v(o)}}),Object(a.createElement)(l.InspectorControls,null,Object(a.createElement)(s.PanelBody,{title:Object(r.__)("Spacer Settings")},Object(a.createElement)(s.BaseControl,{label:Object(r.__)("Height in pixels"),id:h},Object(a.createElement)("input",{type:"number",id:h,onChange:function(e){var t=parseInt(e.target.value,10);v(t),isNaN(t)?(v(""),t=100):t<20&&(t=20),c({height:t})},value:f,min:"20",step:"10"})))))}),d=Object(a.createElement)(s.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(s.G,null,Object(a.createElement)(s.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"})));n.d(t,"metadata",function(){return h}),n.d(t,"name",function(){return p}),n.d(t,"settings",function(){return g});var h={name:"core/spacer",category:"layout",attributes:{height:{type:"number",default:100}}},p=h.name,g={title:Object(r.__)("Spacer"),description:Object(r.__)("Add white space between blocks and customize its height."),icon:d,edit:m,save:function(e){var t=e.attributes;return Object(a.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(2),c=n(3),i=n(6),l=n(4),s=n(8);var u=Object(s.compose)([Object(l.withDispatch)(function(e,t,n){var r=t.clientId,o=(0,n.select)("core/block-editor"),a=o.getBlockOrder,c=(0,o.getBlockRootClientId)(r),i=e("core/block-editor"),l=i.moveBlocksDown,s=i.moveBlocksUp,u=i.moveBlockToPosition,b=i.removeBlocks;return{moveToStart:function(){u(r,c,c,0)},moveRight:function(){l(r,c)},moveLeft:function(){s(r,c)},moveToEnd:function(){u(r,c,c,a(c).length-1)},remove:function(){b(r)}}})])(function(e){var t=e.destination,n=e.moveLeft,a=e.moveRight,i=e.moveToEnd,l=e.moveToStart,s=e.onEditLableClicked,u=e.remove;return Object(o.createElement)(c.NavigableMenu,null,Object(o.createElement)(c.MenuItem,{icon:"admin-links"},t),Object(o.createElement)(c.MenuItem,{onClick:s,icon:"edit"},Object(r.__)("Edit label text")),Object(o.createElement)("div",{className:"wp-block-navigation-menu-item__separator"}),Object(o.createElement)(c.MenuItem,{onClick:l,icon:"arrow-up-alt2"},Object(r.__)("Move to start")),Object(o.createElement)(c.MenuItem,{onClick:n,icon:"arrow-left-alt2"},Object(r.__)("Move left")),Object(o.createElement)(c.MenuItem,{onClick:a,icon:"arrow-right-alt2"},Object(r.__)("Move right")),Object(o.createElement)(c.MenuItem,{onClick:i,icon:"arrow-down-alt2"},Object(r.__)("Move to end")),Object(o.createElement)(c.MenuItem,{icon:"arrow-left-alt2"},Object(r.__)("Nest underneath…")),Object(o.createElement)("div",{className:"navigation-menu-item__separator"}),Object(o.createElement)(c.MenuItem,{onClick:u,icon:"trash"},Object(r.__)("Remove from menu")))}),b={noArrow:!0};var m=function(e){var t,n=e.attributes,l=e.clientId,s=e.isSelected,m=e.setAttributes,d=Object(o.useRef)(null),h=Object(o.useCallback)(function(e){return function(){e(),Object(a.invoke)(d,["current","textarea","focus"])}},[d]);return t=s?Object(o.createElement)("div",{className:"wp-block-navigation-menu-item__edit-container"},Object(o.createElement)(i.PlainText,{ref:d,className:"wp-block-navigation-menu-item__field",value:n.label,onChange:function(e){return m({label:e})},"aria-label":Object(r.__)("Navigation Label"),maxRows:1}),Object(o.createElement)(c.Dropdown,{contentClassName:"wp-block-navigation-menu-item__dropdown-content",position:"bottom left",popoverProps:b,renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(o.createElement)(c.IconButton,{icon:t?"arrow-up-alt2":"arrow-down-alt2",label:Object(r.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onClose;return Object(o.createElement)(u,{clientId:l,destination:n.destination,onEditLableClicked:h(t)})}})):n.label,Object(o.createElement)(o.Fragment,null,Object(o.createElement)(i.InspectorControls,null,Object(o.createElement)(c.PanelBody,{title:Object(r.__)("Menu Settings")},Object(o.createElement)(c.ToggleControl,{checked:n.opensInNewTab,onChange:function(e){m({opensInNewTab:e})},label:Object(r.__)("Open in new tab")}),Object(o.createElement)(c.TextareaControl,{value:n.description||"",onChange:function(e){m({description:e})},label:Object(r.__)("Description")})),Object(o.createElement)(c.PanelBody,{title:Object(r.__)("SEO Settings")},Object(o.createElement)(c.TextControl,{value:n.title||"",onChange:function(e){m({title:e})},label:Object(r.__)("Title Attribute"),help:Object(r.__)("Provide more context about where the link goes.")}),Object(o.createElement)(c.ToggleControl,{checked:n.nofollow,onChange:function(e){m({nofollow:e})},label:Object(r.__)("Add nofollow to menu item"),help:Object(o.createElement)(o.Fragment,null,Object(r.__)("Don't let search engines follow this link."),Object(o.createElement)(c.ExternalLink,{className:"wp-block-navigation-menu-item__nofollow-external-link",href:Object(r.__)("https://codex.wordpress.org/Nofollow")},Object(r.__)("What's this?")))}))),Object(o.createElement)("div",{className:"wp-block-navigation-menu-item"},t,Object(o.createElement)(i.InnerBlocks,{allowedBlocks:["core/navigation-menu-item"],renderAppender:i.InnerBlocks.ButtonBlockAppender})))};n.d(t,"metadata",function(){return d}),n.d(t,"name",function(){return h}),n.d(t,"settings",function(){return p});var d={name:"core/navigation-menu-item",category:"layout",attributes:{label:{type:"string"},destination:{type:"string"},nofollow:{type:"boolean",default:!1},title:{type:"string"},description:{type:"string"},opensInNewTab:{type:"boolean",default:!1}}},h=d.name,p={title:Object(r.__)("Menu Item (Experimental)"),parent:["core/navigation-menu"],icon:"admin-links",description:Object(r.__)("Add a page, link, or other item to your Navigation Menu."),edit:m,save:function(){return Object(o.createElement)(i.InnerBlocks.Content,null)}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(12),a=n(11),c=n(13),i=n(14),l=n(5),s=n(15),u=n(0),b=n(2),m=n(3),d=n(4),h=n(6),p=n(8),g=n(9),f=n(19),v=function(e){function t(){var e;return Object(o.a)(this,t),(e=Object(c.a)(this,Object(i.a)(t).apply(this,arguments))).titleField=Object(u.createRef)(),e.editButton=Object(u.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(l.a)(e)),e.handleTitleChange=e.handleTitleChange.bind(Object(l.a)(e)),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(l.a)(e)),e}return Object(s.a)(t,e),Object(a.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===f.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,o=e.isSaving,a=e.isEditDisabled,c=e.onEdit,i=e.instanceId;return Object(u.createElement)(u.Fragment,null,!t&&!o&&Object(u.createElement)("div",{className:"reusable-block-edit-panel"},Object(u.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object(u.createElement)(m.Button,{ref:this.editButton,isLarge:!0,className:"reusable-block-edit-panel__button",disabled:a,onClick:c},Object(r.__)("Edit"))),(t||o)&&Object(u.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(u.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(i),className:"reusable-block-edit-panel__label"},Object(r.__)("Name:")),Object(u.createElement)("input",{ref:this.titleField,type:"text",disabled:o,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(i)}),Object(u.createElement)(m.Button,{type:"submit",isLarge:!0,isBusy:o,disabled:!n||o,className:"reusable-block-edit-panel__button"},Object(r.__)("Save"))))}}]),t}(u.Component),O=Object(p.withInstanceId)(v);var j=function(e){var t=e.title,n=Object(r.sprintf)(Object(r.__)("Reusable Block: %s"),t);return Object(u.createElement)(m.Tooltip,{text:n},Object(u.createElement)("span",{className:"reusable-block-indicator"},Object(u.createElement)(m.Dashicon,{icon:"controls-repeat"})))},y=function(e){function t(e){var n,r=e.reusableBlock;return Object(o.a)(this,t),(n=Object(c.a)(this,Object(i.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(l.a)(n)),n.stopEditing=n.stopEditing.bind(Object(l.a)(n)),n.setBlocks=n.setBlocks.bind(Object(l.a)(n)),n.setTitle=n.setTitle.bind(Object(l.a)(n)),n.save=n.save.bind(Object(l.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(s.a)(t,e),Object(a.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,o=e.isFetching,a=e.isSaving,c=e.canUpdateBlock,i=e.settings,l=this.state,s=l.isEditing,b=l.title,d=l.blocks;if(!n&&o)return Object(u.createElement)(m.Placeholder,null,Object(u.createElement)(m.Spinner,null));if(!n)return Object(u.createElement)(m.Placeholder,null,Object(r.__)("Block has been deleted or is unavailable."));var p=Object(u.createElement)(h.BlockEditorProvider,{settings:i,value:d,onChange:this.setBlocks,onInput:this.setBlocks},Object(u.createElement)(h.WritingFlow,null,Object(u.createElement)(h.BlockList,null)));return s||(p=Object(u.createElement)(m.Disabled,null,p)),Object(u.createElement)("div",{className:"block-library-block__reusable-block-container"},(t||s)&&Object(u.createElement)(O,{isEditing:s,title:null!==b?b:n.title,isSaving:a&&!n.isTemporary,isEditDisabled:!c,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),!t&&!s&&Object(u.createElement)(j,{title:n.title}),p)}}]),t}(u.Component),_=Object(p.compose)([Object(d.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(d.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(b.partial)(r,c),onChange:Object(b.partial)(o,c),onSave:Object(b.partial)(a,c)}})])(y);n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var k="core/block",C={title:Object(r.__)("Reusable Block"),category:"reusable",description:Object(r.__)("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:_}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(6),c=n(3),i=n(23),l=n(4),s=Object(o.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(o.createElement)(c.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var u=function(e){var t=e.attributes,n=e.setAttributes,u=function(e){var t=Object(o.useState)(!1),n=Object(i.a)(t,2),u=n[0],b=n[1],m=Object(l.useSelect)(function(t){var n=t("core/block-editor"),r=n.getSelectedBlockClientId;return{block:(0,n.getBlock)(e),selectedBlockClientId:r()}},[e]),d=m.block,h=m.selectedBlockClientId,p=Object(l.useDispatch)("core/block-editor").selectBlock;return{navigatorToolbarButton:Object(o.createElement)(c.IconButton,{className:"components-toolbar__control",label:Object(r.__)("Open block navigator"),onClick:function(){return b(!0)},icon:s}),navigatorModal:u&&Object(o.createElement)(c.Modal,{title:Object(r.__)("Block Navigator"),closeLabel:Object(r.__)("Close"),onRequestClose:function(){b(!1)}},Object(o.createElement)(a.__experimentalBlockNavigationList,{blocks:[d],selectedBlockClientId:h,selectBlock:p,showNestedBlocks:!0}))}}(e.clientId),b=u.navigatorToolbarButton,m=u.navigatorModal;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(a.BlockControls,null,Object(o.createElement)(c.Toolbar,null,b)),m,Object(o.createElement)(a.InspectorControls,null,Object(o.createElement)(c.PanelBody,{title:Object(r.__)("Menu Settings")},Object(o.createElement)(c.CheckboxControl,{value:t.automaticallyAdd,onChange:function(e){n({automaticallyAdd:e})},label:Object(r.__)("Automatically add new pages"),help:Object(r.__)("Automatically add new top level pages to this menu.")}))),Object(o.createElement)("div",{className:"wp-block-navigation-menu"},Object(o.createElement)(a.InnerBlocks,{allowedBlocks:["core/navigation-menu-item"],renderAppender:a.InnerBlocks.ButtonBlockAppender})))};n.d(t,"name",function(){return b}),n.d(t,"settings",function(){return m});var b="core/navigation-menu",m={title:Object(r.__)("Navigation Menu (Experimental)"),icon:"menu",description:Object(r.__)("Add a navigation menu to your site."),keywords:[Object(r.__)("menu"),Object(r.__)("navigation"),Object(r.__)("links")],supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0},edit:u,save:function(){return Object(o.createElement)(a.InnerBlocks.Content,null)}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(12),a=n(11),c=n(13),i=n(14),l=n(5),s=n(15),u=n(0),b=n(2),m=n(3),d=n(8),h=n(4),p=n(6),g=function(e){function t(){var e;return Object(o.a)(this,t),(e=Object(c.a)(this,Object(i.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(l.a)(e)),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(l.a)(e)),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(l.a)(e)),e}return Object(s.a)(t,e),Object(a.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(b.unescape)(e.name).trim():Object(r.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object(u.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(u.createElement)("li",{key:e.id},Object(u.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),a&&Object(u.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),o&&!!c.length&&Object(u.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,o=this.getCategories(n),a="blocks-category-select-".concat(t);return Object(u.createElement)(u.Fragment,null,Object(u.createElement)("label",{htmlFor:a,className:"screen-reader-text"},Object(r.__)("Categories")),Object(u.createElement)("select",{id:a,className:"wp-block-categories__dropdown"},o.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(u.createElement)("option",{key:e.id},Object(b.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,o=t.displayAsDropdown,a=t.showHierarchy,c=t.showPostCounts,i=Object(u.createElement)(p.InspectorControls,null,Object(u.createElement)(m.PanelBody,{title:Object(r.__)("Categories Settings")},Object(u.createElement)(m.ToggleControl,{label:Object(r.__)("Display as Dropdown"),checked:o,onChange:this.toggleDisplayAsDropdown}),Object(u.createElement)(m.ToggleControl,{label:Object(r.__)("Show Hierarchy"),checked:a,onChange:this.toggleShowHierarchy}),Object(u.createElement)(m.ToggleControl,{label:Object(r.__)("Show Post Counts"),checked:c,onChange:this.toggleShowPostCounts})));return n?Object(u.createElement)(u.Fragment,null,i,Object(u.createElement)(m.Placeholder,{icon:"admin-post",label:Object(r.__)("Categories")},Object(u.createElement)(m.Spinner,null))):Object(u.createElement)(u.Fragment,null,i,Object(u.createElement)("div",{className:this.props.className},o?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(u.Component),f=Object(d.compose)(Object(h.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])}}),d.withInstanceId)(g),v=Object(u.createElement)(m.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(u.createElement)(m.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(u.createElement)(m.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object(u.createElement)(m.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(u.createElement)(m.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"}));n.d(t,"name",function(){return O}),n.d(t,"settings",function(){return j});var O="core/categories",j={title:Object(r.__)("Categories"),description:Object(r.__)("Display a list of all categories."),icon:v,category:"widgets",supports:{align:!0,html:!1},edit:f}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(7),a=n(12),c=n(11),i=n(13),l=n(14),s=n(5),u=n(15),b=n(0),m=n(29),d=n.n(m),h=n(45),p=n.n(h),g=n(3),f=n(4),v=n(55),O=n.n(v),j=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).getYearMonth=p()(e.getYearMonth.bind(Object(s.a)(e)),{maxSize:1}),e.getServerSideAttributes=p()(e.getServerSideAttributes.bind(Object(s.a)(e)),{maxSize:1}),e}return Object(u.a)(t,e),Object(c.a)(t,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=d()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return Object(o.a)({},e,this.getYearMonth(t))}},{key:"render",value:function(){return Object(b.createElement)(g.Disabled,null,Object(b.createElement)(O.a,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),t}(b.Component),y=Object(f.withSelect)(function(e){var t=e("core/editor");if(t){var n=t.getEditedPostAttribute;return{date:"post"===n("type")?n("date"):void 0}}})(j),_=Object(b.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(g.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(b.createElement)(g.G,null,Object(b.createElement)(g.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"})));n.d(t,"name",function(){return k}),n.d(t,"settings",function(){return C});var k="core/calendar",C={title:Object(r.__)("Calendar"),description:Object(r.__)("A calendar of your site’s posts."),icon:_,category:"widgets",keywords:[Object(r.__)("posts"),Object(r.__)("archive")],supports:{align:!0},example:{},edit:y}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),a=n(18),c=n(12),i=n(11),l=n(13),s=n(14),u=n(15),b=n(0),m=n(2),d=n(16),h=n.n(d),p=n(3),g=n(32),f=n.n(g),v=n(26),O=n(56),j=n(6),y=n(4),_={per_page:-1},k=function(e){function t(){var e;return Object(c.a)(this,t),(e=Object(l.a)(this,Object(s.a)(t).apply(this,arguments))).state={categoriesList:[]},e}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=f()({path:Object(v.addQueryArgs)("/wp/v2/categories",_)}).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,c=e.latestPosts,i=this.state.categoriesList,l=t.displayPostContentRadio,s=t.displayPostContent,u=t.displayPostDate,m=t.postLayout,d=t.columns,g=t.order,f=t.orderBy,v=t.categories,y=t.postsToShow,_=t.excerptLength,k=Object(b.createElement)(j.InspectorControls,null,Object(b.createElement)(p.PanelBody,{title:Object(r.__)("Post Content Settings")},Object(b.createElement)(p.ToggleControl,{label:Object(r.__)("Post Content"),checked:s,onChange:function(e){return n({displayPostContent:e})}}),s&&Object(b.createElement)(p.RadioControl,{label:"Show:",selected:l,options:[{label:"Excerpt",value:"excerpt"},{label:"Full Post",value:"full_post"}],onChange:function(e){return n({displayPostContentRadio:e})}}),s&&"excerpt"===l&&Object(b.createElement)(p.RangeControl,{label:Object(r.__)("Max number of words in excerpt"),value:_,onChange:function(e){return n({excerptLength:e})},min:10,max:100})),Object(b.createElement)(p.PanelBody,{title:Object(r.__)("Post Meta Settings")},Object(b.createElement)(p.ToggleControl,{label:Object(r.__)("Display post date"),checked:u,onChange:function(e){return n({displayPostDate:e})}})),Object(b.createElement)(p.PanelBody,{title:Object(r.__)("Sorting and Filtering")},Object(b.createElement)(p.QueryControls,Object(a.a)({order:g,orderBy:f},{numberOfItems:y,categoriesList:i,selectedCategoryId:v,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"===m&&Object(b.createElement)(p.RangeControl,{label:Object(r.__)("Columns"),value:d,onChange:function(e){return n({columns:e})},min:2,max:C?Math.min(6,c.length):6,required:!0}))),C=Array.isArray(c)&&c.length;if(!C)return Object(b.createElement)(b.Fragment,null,k,Object(b.createElement)(p.Placeholder,{icon:"admin-post",label:Object(r.__)("Latest Posts")},Array.isArray(c)?Object(r.__)("No posts found."):Object(b.createElement)(p.Spinner,null)));var w=c.length>y?c.slice(0,y):c,E=[{icon:"list-view",title:Object(r.__)("List view"),onClick:function(){return n({postLayout:"list"})},isActive:"list"===m},{icon:"grid-view",title:Object(r.__)("Grid view"),onClick:function(){return n({postLayout:"grid"})},isActive:"grid"===m}],x=Object(O.__experimentalGetSettings)().formats.date;return Object(b.createElement)(b.Fragment,null,k,Object(b.createElement)(j.BlockControls,null,Object(b.createElement)(p.Toolbar,{controls:E})),Object(b.createElement)("ul",{className:h()(this.props.className,Object(o.a)({"wp-block-latest-posts__list":!0,"is-grid":"grid"===m,"has-dates":u},"columns-".concat(d),"grid"===m))},w.map(function(e,t){var n=e.title.rendered.trim(),o=e.excerpt.rendered;""===e.excerpt.raw&&(o=e.content.raw);var a=document.createElement("div");return a.innerHTML=o,o=a.textContent||a.innerText||"",Object(b.createElement)("li",{key:t},Object(b.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},n?Object(b.createElement)(b.RawHTML,null,n):Object(r.__)("(no title)")),u&&e.date_gmt&&Object(b.createElement)("time",{dateTime:Object(O.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(O.dateI18n)(x,e.date_gmt)),s&&"excerpt"===l&&Object(b.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},Object(b.createElement)(b.RawHTML,{key:"html"},_'+Object(r.__)("Read more")+"":o.trim().split(" ",_).join(" "))),s&&"full_post"===l&&Object(b.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object(b.createElement)(b.RawHTML,{key:"html"},e.content.raw.trim())))})))}}]),t}(b.Component),C=Object(y.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(m.pickBy)({categories:c,order:o,orderby:a,per_page:r},function(e){return!Object(m.isUndefined)(e)}))}})(k),w=Object(b.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(p.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(b.createElement)(p.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(b.createElement)(p.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(b.createElement)(p.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(b.createElement)(p.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(b.createElement)(p.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(b.createElement)(p.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"}));n.d(t,"name",function(){return E}),n.d(t,"settings",function(){return x});var E="core/latest-posts",x={title:Object(r.__)("Latest Posts"),description:Object(r.__)("Display a list of your most recent posts."),icon:w,category:"widgets",keywords:[Object(r.__)("recent posts")],supports:{align:!0,html:!1},edit:C}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),a=n(12),c=n(11),i=n(13),l=n(14),s=n(5),u=n(15),b=n(0),m=n(6),d=n(3),h=n(55),p=n.n(h),g=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).setCommentsToShow=e.setCommentsToShow.bind(Object(s.a)(e)),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(u.a)(t,e),Object(c.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(o.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,o=e.displayDate,a=e.displayExcerpt;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(m.InspectorControls,null,Object(b.createElement)(d.PanelBody,{title:Object(r.__)("Latest Comments Settings")},Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display Avatar"),checked:n,onChange:this.toggleDisplayAvatar}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display Date"),checked:o,onChange:this.toggleDisplayDate}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Display Excerpt"),checked:a,onChange:this.toggleDisplayExcerpt}),Object(b.createElement)(d.RangeControl,{label:Object(r.__)("Number of Comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(b.createElement)(d.Disabled,null,Object(b.createElement)(p.a,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(b.Component),f=Object(b.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(b.createElement)(d.G,null,Object(b.createElement)(d.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"})));n.d(t,"name",function(){return v}),n.d(t,"settings",function(){return O});var v="core/latest-comments",O={title:Object(r.__)("Latest Comments"),description:Object(r.__)("Display a list of your most recent comments."),icon:f,category:"widgets",keywords:[Object(r.__)("recent comments")],supports:{align:!0,html:!1},edit:g}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(6),c=n(80),i=Object.keys(c.a).map(function(e){return"core/social-link-"+e}),l=[["core/social-link-wordpress",{url:"https://wordpress.org"}],["core/social-link-facebook"],["core/social-link-twitter"],["core/social-link-instagram"],["core/social-link-linkedin"],["core/social-link-youtube"]],s=function(e){var t=e.className;return Object(o.createElement)("div",{className:t},Object(o.createElement)(a.InnerBlocks,{allowedBlocks:i,templateLock:!1,template:l}))};n.d(t,"metadata",function(){return u}),n.d(t,"name",function(){return b}),n.d(t,"settings",function(){return m});var u={name:"core/social-links",category:"widgets",icon:"share",attributes:{}},b=u.name,m={title:Object(r.__)("Social links"),description:Object(r.__)("Create a block of links to your social media or external sites"),supports:{align:["left","center","right"]},example:{innerBlocks:[{name:"core/social-link-wordpress",attributes:{url:"https://wordpress.org"}},{name:"core/social-link-facebook",attributes:{url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link-twitter",attributes:{url:"https://twitter.com/WordPress"}}]},styles:[{name:"default",label:Object(r.__)("Default"),isDefault:!0},{name:"logos-only",label:Object(r.__)("Logos Only")},{name:"pill-shape",label:Object(r.__)("Pill Shape")}],edit:s,save:function(e){var t=e.className;return Object(o.createElement)("ul",{className:t},Object(o.createElement)(a.InnerBlocks.Content,null))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(3),c=n(6),i=n(55),l=n.n(i);var s=Object(o.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(a.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"}));n.d(t,"name",function(){return u}),n.d(t,"settings",function(){return b});var u="core/archives",b={title:Object(r.__)("Archives"),description:Object(r.__)("Display a monthly archive of your posts."),icon:s,category:"widgets",supports:{align:!0,html:!1},edit:function(e){var t=e.attributes,n=e.setAttributes,i=t.showPostCounts,s=t.displayAsDropdown;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.InspectorControls,null,Object(o.createElement)(a.PanelBody,{title:Object(r.__)("Archives Settings")},Object(o.createElement)(a.ToggleControl,{label:Object(r.__)("Display as Dropdown"),checked:s,onChange:function(){return n({displayAsDropdown:!s})}}),Object(o.createElement)(a.ToggleControl,{label:Object(r.__)("Show Post Counts"),checked:i,onChange:function(){return n({showPostCounts:!i})}}))),Object(o.createElement)(a.Disabled,null,Object(o.createElement)(l.a,{block:"core/archives",attributes:t})))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(17),a=n(12),c=n(11),i=n(13),l=n(14),s=n(5),u=n(15),b=n(0),m=n(2),d=n(3),h=n(4),p=n(6),g=n(55),f=n.n(g),v=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(s.a)(e)),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(s.a)(e)),e}return Object(u.a)(t,e),Object(c.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(m.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(r.__)("- Select -"),value:"",disabled:!0},n=Object(m.map)(e,function(e){return{value:e.slug,label:e.name}});return[t].concat(Object(o.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,o=this.getTaxonomyOptions(),a=Object(b.createElement)(p.InspectorControls,null,Object(b.createElement)(d.PanelBody,{title:Object(r.__)("Tag Cloud Settings")},Object(b.createElement)(d.SelectControl,{label:Object(r.__)("Taxonomy"),options:o,value:t,onChange:this.setTaxonomy}),Object(b.createElement)(d.ToggleControl,{label:Object(r.__)("Show post counts"),checked:n,onChange:this.toggleShowTagCounts})));return Object(b.createElement)(b.Fragment,null,a,Object(b.createElement)(f.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}(b.Component),O=Object(h.withSelect)(function(e){return{taxonomies:e("core").getTaxonomies()}})(v);n.d(t,"name",function(){return j}),n.d(t,"settings",function(){return y});var j="core/tag-cloud",y={title:Object(r.__)("Tag Cloud"),description:Object(r.__)("A cloud of your most used tags."),icon:"tag",category:"widgets",supports:{html:!1,align:!0},edit:O}},function(e,t,n){"use strict";var r=n(7),o=n(1),a=n(23),c=n(0),i=n(16),l=n.n(i),s=n(6),u=n(3),b=n(80),m=function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,i=t.url,m=t.site,d=Object(c.useState)(!1),h=Object(a.a)(d,2),p=h[0],g=h[1],f=l()("wp-social-link","wp-social-link-"+m,{"wp-social-link__is-incomplete":!i}),v=Object(b.b)(m);return Object(c.createElement)(u.Button,{className:f,onClick:function(){return g(!0)}},Object(c.createElement)(v,null),r&&p&&Object(c.createElement)(s.URLPopover,{onClose:function(){return g(!1)}},Object(c.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:function(e){e.preventDefault(),g(!1)}},Object(c.createElement)("div",{className:"editor-url-input block-editor-url-input"},Object(c.createElement)("input",{type:"text",value:i,onChange:function(e){return n({url:e.target.value})},placeholder:Object(o.__)("Enter Address")})),Object(c.createElement)(u.IconButton,{icon:"editor-break",label:Object(o.__)("Apply"),type:"submit"}))))};n.d(t,"a",function(){return h});var d={category:"widgets",parent:["core/social-links"],supports:{reusable:!1,html:!1},edit:m},h=Object.keys(b.a).map(function(e){var t=b.a[e];return{name:"core/social-link-"+e,settings:Object(r.a)({title:t.name,icon:t.icon,description:Object(o.__)("Link to "+t.name)},d,{attributes:{url:{type:"string"},site:{type:"string",default:e}}})}})},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),a=n(6);n.d(t,"name",function(){return c}),n.d(t,"settings",function(){return i});var c="core/search",i={title:Object(r.__)("Search"),description:Object(r.__)("Help visitors find your content."),icon:"search",category:"widgets",keywords:[Object(r.__)("find")],supports:{align:!0},example:{},edit:function(e){var t=e.className,n=e.attributes,c=e.setAttributes,i=n.label,l=n.placeholder,s=n.buttonText;return Object(o.createElement)("div",{className:t},Object(o.createElement)(a.RichText,{wrapperClassName:"wp-block-search__label","aria-label":Object(r.__)("Label text"),placeholder:Object(r.__)("Add label…"),withoutInteractiveFormatting:!0,value:i,onChange:function(e){return c({label:e})}}),Object(o.createElement)("input",{className:"wp-block-search__input","aria-label":Object(r.__)("Optional placeholder text"),placeholder:l?void 0:Object(r.__)("Optional placeholder…"),value:l,onChange:function(e){return c({placeholder:e.target.value})}}),Object(o.createElement)(a.RichText,{wrapperClassName:"wp-block-search__button",className:"wp-block-search__button-rich-text","aria-label":Object(r.__)("Button text"),placeholder:Object(r.__)("Add button text…"),withoutInteractiveFormatting:!0,value:s,onChange:function(e){return c({buttonText:e})}}))}}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(10),a=n(12),c=n(11),i=n(13),l=n(14),s=n(5),u=n(15),b=n(0),m=n(3),d=n(6),h=n(55),p=n.n(h),g=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(i.a)(this,Object(l.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(s.a)(e)),e.onSubmitURL=e.onSubmitURL.bind(Object(s.a)(e)),e}return Object(u.a)(t,e),Object(c.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(o.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,o=t.columns,a=t.displayAuthor,c=t.displayExcerpt,i=t.displayDate,l=t.excerptLength,s=t.feedURL,u=t.itemsToShow,h=this.props.setAttributes;if(this.state.editing)return Object(b.createElement)(m.Placeholder,{icon:"rss",label:"RSS"},Object(b.createElement)("form",{onSubmit:this.onSubmitURL},Object(b.createElement)(m.TextControl,{placeholder:Object(r.__)("Enter URL here…"),value:s,onChange:function(e){return h({feedURL:e})},className:"components-placeholder__input"}),Object(b.createElement)(m.Button,{isLarge:!0,type:"submit"},Object(r.__)("Use URL"))));var g=[{icon:"edit",title:Object(r.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(r.__)("List view"),onClick:function(){return h({blockLayout:"list"})},isActive:"list"===n},{icon:"grid-view",title:Object(r.__)("Grid view"),onClick:function(){return h({blockLayout:"grid"})},isActive:"grid"===n}];return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(d.BlockControls,null,Object(b.createElement)(m.Toolbar,{controls:g})),Object(b.createElement)(d.InspectorControls,null,Object(b.createElement)(m.PanelBody,{title:Object(r.__)("RSS Settings")},Object(b.createElement)(m.RangeControl,{label:Object(r.__)("Number of items"),value:u,onChange:function(e){return h({itemsToShow:e})},min:1,max:10,required:!0}),Object(b.createElement)(m.ToggleControl,{label:Object(r.__)("Display author"),checked:a,onChange:this.toggleAttribute("displayAuthor")}),Object(b.createElement)(m.ToggleControl,{label:Object(r.__)("Display date"),checked:i,onChange:this.toggleAttribute("displayDate")}),Object(b.createElement)(m.ToggleControl,{label:Object(r.__)("Display excerpt"),checked:c,onChange:this.toggleAttribute("displayExcerpt")}),c&&Object(b.createElement)(m.RangeControl,{label:Object(r.__)("Max number of words in excerpt"),value:l,onChange:function(e){return h({excerptLength:e})},min:10,max:100,required:!0}),"grid"===n&&Object(b.createElement)(m.RangeControl,{label:Object(r.__)("Columns"),value:o,onChange:function(e){return h({columns:e})},min:2,max:6,required:!0}))),Object(b.createElement)(m.Disabled,null,Object(b.createElement)(p.a,{block:"core/rss",attributes:this.props.attributes})))}}]),t}(b.Component);n.d(t,"name",function(){return f}),n.d(t,"settings",function(){return v});var f="core/rss",v={title:Object(r.__)("RSS"),description:Object(r.__)("Display entries from any RSS or Atom feed."),icon:"rss",category:"widgets",keywords:[Object(r.__)("atom"),Object(r.__)("feed")],supports:{align:!0,html:!1},example:{attributes:{feedURL:"https://wordpress.org"}},edit:g}},,,function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"registerCoreBlocks",function(){return J}),n.d(t,"__experimentalRegisterExperimentalCoreBlocks",function(){return X});var r=n(17),o=n(10),a=(n(97),n(6),n(24),n(9)),c=n(164),i=n(243),l=n(240),s=n(252),u=n(241),b=n(275),m=n(260),d=n(254),h=n(271),p=n(270),g=n(250),f=n(257),v=n(264),O=n(244),j=n(128),y=n(246),_=n(253),k=n(242),C=n(269),w=n(267),E=n(273),x=n(272),S=n(248),T=n(251),B=n(166),N=n(255),M=n(256),A=n(258),R=n(249),I=n(268),L=n(279),z=n(278),P=n(129),H=n(259),V=n(261),D=n(266),F=n(262),U=n(245),q=n(265),W=n(247),G=n(263),Z=n(276),K=n(165),$=n(274),Y=n(277),Q=function(e){if(e){var t=e.metadata,n=e.settings,r=e.name;t&&Object(a.unstable__bootstrapServerSideBlockDefinitions)(Object(o.a)({},r,t)),Object(a.registerBlockType)(r,n)}},J=function(){[c,i,l,u,T,s,V,b,m,d,h,p,g,f,v,O,j].concat(Object(r.a)(j.common),Object(r.a)(j.others),[y,P,window.wp&&window.wp.oldEditor?K:null,_,k,E,x,B,N,M,A,R,L,z,H,I,D,F,U,Z,q,W,G]).forEach(Q),Object(a.setDefaultBlockName)(c.name),window.wp&&window.wp.oldEditor&&Object(a.setFreeformContentHandlerName)(K.name),Object(a.setUnregisteredTypeHandlerName)(B.name),P&&Object(a.setGroupingBlockName)(P.name)},X=2===e.env.GUTENBERG_PHASE?function(e){var t=e.__experimentalEnableLegacyWidgetBlock,n=e.__experimentalEnableMenuBlock;[t?S:null,n?C:null,n?w:null,$].concat(Object(r.a)(Y.a)).forEach(Q)}:void 0}.call(this,n(96))}]); \ No newline at end of file diff --git a/wp-includes/js/dist/blocks.js b/wp-includes/js/dist/blocks.js index bc272cbbe5..94768c142b 100644 --- a/wp-includes/js/dist/blocks.js +++ b/wp-includes/js/dist/blocks.js @@ -5455,14 +5455,14 @@ function _iterableToArray(iter) { /***/ }), -/***/ 34: +/***/ 35: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["blob"]; }()); /***/ }), -/***/ 35: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5986,7 +5986,7 @@ function reducer_categories() { })); // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(35); +var rememo = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/selectors.js /** @@ -7379,6 +7379,20 @@ function switchToBlockType(blocks, name) { return Object(external_this_wp_hooks_["applyFilters"])('blocks.switchToBlockType.transformedBlock', transformedBlock, blocks); }); } +/** + * Create a block object from the example API. + * + * @param {string} name + * @param {Object} example + * + * @return {Object} block. + */ + +var factory_getBlockFromExample = function getBlockFromExample(name, example) { + return createBlock(name, example.attributes, Object(external_lodash_["map"])(example.innerBlocks, function (innerBlock) { + return getBlockFromExample(innerBlock.name, innerBlock); + })); +}; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules var slicedToArray = __webpack_require__(23); @@ -11199,7 +11213,7 @@ function ms_list_converter_isList(node) { }); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(34); +var external_this_wp_blob_ = __webpack_require__(35); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/image-corrector.js @@ -11869,6 +11883,7 @@ function synchronizeBlocksWithTemplate() { /* concated harmony reexport switchToBlockType */__webpack_require__.d(__webpack_exports__, "switchToBlockType", function() { return switchToBlockType; }); /* concated harmony reexport getBlockTransforms */__webpack_require__.d(__webpack_exports__, "getBlockTransforms", function() { return getBlockTransforms; }); /* concated harmony reexport findTransform */__webpack_require__.d(__webpack_exports__, "findTransform", function() { return findTransform; }); +/* concated harmony reexport getBlockFromExample */__webpack_require__.d(__webpack_exports__, "getBlockFromExample", function() { return factory_getBlockFromExample; }); /* concated harmony reexport parse */__webpack_require__.d(__webpack_exports__, "parse", function() { return parser; }); /* concated harmony reexport getBlockAttributes */__webpack_require__.d(__webpack_exports__, "getBlockAttributes", function() { return getBlockAttributes; }); /* concated harmony reexport parseWithAttributeSchema */__webpack_require__.d(__webpack_exports__, "parseWithAttributeSchema", function() { return parseWithAttributeSchema; }); diff --git a/wp-includes/js/dist/blocks.min.js b/wp-includes/js/dist/blocks.min.js index 9d1eedbd0a..6459058efb 100644 --- a/wp-includes/js/dist/blocks.min.js +++ b/wp-includes/js/dist/blocks.min.js @@ -1,2 +1,2 @@ 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=385)}({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}},w=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(_,w(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,w(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,0,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)},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})},34:function(e,t){!function(){e.exports=this.wp.blob}()},35:function(e,t,r){"use strict";var n,a;function i(e){return[e]}function o(){var e={clear:function(){e.head=null}};return e}function s(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}var h=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(35),v=function(e,t){return"string"==typeof t?k(e,t):t},w=Object(_.a)(function(e){return Object.values(e.blockTypes)},function(e){return[e.blockTypes]});function k(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(70),U=r.n(q),G=r(27),W=r(49),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 we=function(e){return Object(i.select)("core/blocks").getChildBlockNames(e)},ke=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=r(23);var Ie,De=function(){return Ie||(Ie=document.implementation.createHTMLDocument("")),Ie};function Ve(e,t){if(t){if("string"==typeof e){var r=De();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]=Ve(e,t[n]),r},{})}}function Re(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 Fe=r(72),$e=r(230),qe=r(38),Ue=r(30),Ge=r(39);var We=r(12),Ke=r(11),Ye=/^#[xX]([A-Fa-f0-9]+)$/,Ze=/^#([0-9]+)$/,Qe=/^([A-Za-z0-9]+)$/,Xe=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(Ye);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(Ze))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(Qe))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),Je=/[A-Za-z]/,et=/\r\n?/g;function tt(e){return Xe.test(e)}function rt(e){return Je.test(e)}var nt=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||rt(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();tt(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();tt(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();tt(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();tt(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();tt(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();tt(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();tt(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();tt(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||rt(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(et,"\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}(),at=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 nt(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);ct()(s,o.props)||(o=Object(Y.cloneElement)(o,s))}return o=Object(G.applyFilters)("blocks.getSaveElement",o,n,t),Object(Y.createElement)(gt,{innerBlocks:r},o)}function vt(e,t,r){var n=ee(e);return Object(Y.renderToString)(_t(n,t,r))}function wt(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=vt(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function kt(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 yt(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:kt(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 jt(e,t){return Object(u.castArray)(e).map(function(e){return yt(e,t)}).join("\n\n")}var Ot=/[\t\n\r\v\f ]+/g,Tt=/^[\t\n\r\v\f ]*$/,xt=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,Ct=["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"],At=[].concat(Ct,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),St=[u.identity,function(e){return Mt(e).join(" ")}],Et=/^[\da-z]+$/i,Pt=/^#\d+$/,Nt=/^#x[\da-f]+$/i;var Bt=function(){function e(){Object(We.a)(this,e)}return Object(Ke.a)(e,[{key:"parse",value:function(e){if(t=e,Et.test(t)||Pt.test(t)||Nt.test(t))return Object(it.decodeEntities)("&"+e+";");var t}}]),e}();function Mt(e){return e.trim().split(Ot)}function Lt(e){return e.attributes.filter(function(e){var t=Object(He.a)(e,2),r=t[0];return t[1]||0===r.indexOf("data-")||Object(u.includes)(At,r)})}function zt(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ot(),n=e.chars,a=t.chars,i=0;i2&&void 0!==arguments[2]?arguments[2]:ot();return e.tagName!==t.tagName?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ot();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(He.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=Dt[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}.apply(void 0,Object(s.a)([e,t].map(Lt)).concat([r]))},Chars:zt,Comment:zt};function Rt(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!Tt.test(t.chars))return t}}function Ft(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function $t(e,t){var r,n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ot(),i=[e,t].map(function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ot();try{return new at(new Bt).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}(e,a)}),o=Object(He.a)(i,2),s=o[0],c=o[1];if(!s||!c)return!1;for(;r=Rt(s);){if(!(n=Rt(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=Vt[r.type];if(u&&!u(r,n,a))return!1;Ft(r,c[0])?Rt(c):Ft(n,s[0])&&Rt(s)}return!(n=Rt(c))||(a.warning("Expected %o, instead saw end of content.",n),!1)}function qt(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){var e=[],t=ot();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 sr(n,e,t,r)});return Object(G.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function ur(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(Fe.autop)(i).trim());var h=ge(f);if(!h){var p={attrs:r,blockName:t,innerBlocks:a,innerContent:o},g=lr(p,{isCommentDelimited:!1}),m=lr(p,{isCommentDelimited:!0});f&&(i=m),r={originalName:t,originalContent:m,originalUndelimitedContent:g},h=ge(f=d)}a=(a=a.map(ur)).filter(function(e){return e});var b=f===l||f===d;if(h&&(i||!b)){var _=Te(f,cr(h,i,r),a);if(!b){var v=qt(h,_.attributes,i),w=v.isValid,k=v.validationIssues;_.isValid=w,_.validationIssues=k}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,vt(h,_.attributes),_.originalContent):_.validationIssues.forEach(function(e){var t=e.log,r=e.args;return t.apply(void 0,Object(s.a)(r))})),_}}function lr(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:lr(c[l++],t)}).join("\n").replace(/\n+/g,"\n").trim();return n?kt(a,o,d):d}var dr,fr=(dr=$e.parse,function(e){return dr(e).reduce(function(e,t){var r=ur(t);return r&&e.push(r),e},[])}),hr=fr,pr=r(25),gr={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},"#text":{}};function mr(){return gr}function br(e){var t=e.nodeName.toLowerCase();return mr().hasOwnProperty(t)||"span"===t}["strong","em","s","del","ins","a","code","abbr","sub","sup"].forEach(function(e){gr[e].children=Object(u.omit)(gr,e)});var _r=window.Node,vr=_r.ELEMENT_NODE,wr=_r.TEXT_NODE;function kr(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 yr(e){return!e.hasChildNodes()||Array.from(e.childNodes).every(function(e){return e.nodeType===wr?!e.nodeValue.trim():e.nodeType!==vr||("BR"===e.nodeName||!e.hasAttributes()&&yr(e))})}function jr(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 Or(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&&!br(t)&&t.nextElementSibling&&Object(pr.insertAfter)(r.createElement("br"),t),Object(pr.unwrap)(t);else if(t.nodeType===vr){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&&yr(t))return void Object(pr.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(pr.unwrap)(t)):"BODY"===t.parentNode.nodeName&&br(t)?(e(t.childNodes,r,n,a),Array.from(t.childNodes).some(function(e){return!br(e)})&&Object(pr.unwrap)(t)):e(t.childNodes,r,f,a);else for(;t.firstChild;)Object(pr.remove)(t.firstChild)}}})}(n.body.childNodes,n,t,r),n.body.innerHTML}var Tr=window.Node,xr=Tr.ELEMENT_NODE,Cr=Tr.TEXT_NODE,Ar=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===Cr?i.nodeValue.trim()?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):n.removeChild(i):i.nodeType===xr?"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?yr(i)?n.removeChild(i):a.appendChild(i):br(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},Sr=window.Node.COMMENT_NODE,Er=function(e,t){if(e.nodeType===Sr)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===Sr&&"noteaser"===n.nodeValue){a=!0,Object(pr.remove)(n);break}Object(pr.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(pr.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function Pr(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Nr=function(e){if(Pr(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&&Pr(a)){var u=e.previousElementSibling;u?u.appendChild(e):Object(pr.unwrap)(e)}}},Br=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Ar(e.innerHTML))};var Mr=function(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!br(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)}},Lr=r(159);var zr=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(Lr.regexp)(e).test(t)})});if(!n)return[t];var a,i=Object(u.castArray)(n.tag),o=Object(u.first)(i);if(a=Object(Lr.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,cr(Object(c.a)({},ge(n.blockName),{attributes:n.attributes}),a.shortcode.content,d))].concat(Object(s.a)(e(t.substr(r))))}return[t]},Hr=window.Node.COMMENT_NODE,Ir=function(e){e.nodeType===Hr&&Object(pr.remove)(e)};function Dr(e,t){return e.every(function(e){return function(e,t){if(br(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)&&Dr(Array.from(e.children),t)})}function Vr(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var Rr=function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var n=Array.from(r.body.children);return!n.some(Vr)&&Dr(n,t)},Fr=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(pr.wrap)(t.createElement("strong"),e),"italic"===a&&Object(pr.wrap)(t.createElement("em"),e),"line-through"===i&&Object(pr.wrap)(t.createElement("s"),e),"super"===o?Object(pr.wrap)(t.createElement("sup"),e):"sub"===o&&Object(pr.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(pr.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(pr.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))},$r=function(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)},qr=window.parseInt;function Ur(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Gr=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=qr(n[1],10)-1||0,i=e.previousElementSibling;if(!i||!Ur(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--;)Ur(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);Ur(f)||(f=f.appendChild(t.createElement(l))),f.appendChild(d),e.parentNode.removeChild(e)}}}},Wr=r(34),Kr=window,Yr=Kr.atob,Zr=Kr.File,Qr=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(He.a)(r,2),a=n[0],i=n[1],o=a.slice(5).split(";"),s=Object(He.a)(o,1)[0];if(!i||!s)return void(e.src="");try{t=Yr(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 fr(f)}if(String.prototype.normalize&&(r=r.normalize()),!a||r&&!function(e){return!/<(?!br[ \/>])/i.test(e)}(r)||(r=en(a),"AUTO"===o&&-1===a.indexOf("\n")&&0!==a.indexOf("

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

    ")&&(o="INLINE")),"INLINE"===o)return an(r);var h=zr(r),p=h.length>1;if("AUTO"===o&&!p&&Rr(r,s))return an(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=mr(),b=kr(g),_=Object(u.compact)(Object(u.flatMap)(h,function(e){if("string"!=typeof e)return e;var t=[rn,Gr,$r,Nr,Qr,Fr,Er,Ir,Mr,Br];d||t.unshift(tn);var r=Object(c.a)({},b,m);return e=Or(e=jr(e,t,b),r),e=Ar(e),nn.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",cr("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):Te(a,cr(a,e.outerHTML))})}({html:e,rawTransforms:g})}));if("AUTO"===o&&1===_.length){var v=a.trim();if(""!==v&&-1===v.indexOf("\n"))return Or(wt(_[0]),m)}return _}function sn(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return fr(r);var n=zr(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=kr(a);return Object(u.compact)(Object(u.flatMap)(n,function(e){return"string"!=typeof e?e:(e=jr(e,[Nr,Er,Mr,Br],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",cr("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):Te(a,cr(a,e.outerHTML))})}({html:e=Ar(e),rawTransforms:a}))}))}function cn(){return Object(i.select)("core/blocks").getCategories()}function un(e){Object(i.dispatch)("core/blocks").setCategories(e)}function ln(e,t){Object(i.dispatch)("core/blocks").updateCategory(e,t)}function dn(){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(He.a)(t,3),a=n[0],i=n[2],o=e[r];return a===o.name&&dn(o.innerBlocks,i)})}function fn(){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(He.a)(t,3),a=n[0],i=n[1],o=n[2],s=e[r];if(s&&s.name===a){var l=fn(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),fn([],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,"parse",function(){return hr}),r.d(t,"getBlockAttributes",function(){return cr}),r.d(t,"parseWithAttributeSchema",function(){return or}),r.d(t,"pasteHandler",function(){return on}),r.d(t,"rawHandler",function(){return sn}),r.d(t,"getPhrasingContentSchema",function(){return mr}),r.d(t,"serialize",function(){return jt}),r.d(t,"getBlockContent",function(){return wt}),r.d(t,"getBlockDefaultClassName",function(){return mt}),r.d(t,"getBlockMenuDefaultClassName",function(){return bt}),r.d(t,"getSaveElement",function(){return _t}),r.d(t,"getSaveContent",function(){return vt}),r.d(t,"isValidBlockContent",function(){return Ut}),r.d(t,"getCategories",function(){return cn}),r.d(t,"setCategories",function(){return un}),r.d(t,"updateCategory",function(){return ln}),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 we}),r.d(t,"hasChildBlocks",function(){return ke}),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 dn}),r.d(t,"synchronizeBlocksWithTemplate",function(){return fn}),r.d(t,"children",function(){return Yt}),r.d(t,"node",function(){return rr}),r.d(t,"withBlockContentContext",function(){return pt})},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})},4:function(e,t){!function(){e.exports=this.wp.data}()},41:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},49:function(e,t,r){var n;!function(a){var i=/^\s+/,o=/\s+$/,s=0,c=a.round,u=a.min,l=a.max,d=a.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(o,"").toLowerCase();var t,r=!1;if(E[e])e=E[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=$.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=$.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=$.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=$.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=$.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=$.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=$.hex8.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),a:D(t[4]),format:r?"name":"hex8"};if(t=$.hex6.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),format:r?"name":"hex"};if(t=$.hex4.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),a:D(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=$.hex3.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(q(e.r)&&q(e.g)&&q(e.b)?(h=e.r,p=e.g,g=e.b,t={r:255*B(h,255),g:255*B(p,255),b:255*B(g,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):q(e.h)&&q(e.s)&&q(e.v)?(n=H(e.s),s=H(e.v),t=function(e,t,r){e=6*B(e,360),t=B(t,100),r=B(r,100);var n=a.floor(e),i=e-n,o=r*(1-t),s=r*(1-i*t),c=r*(1-(1-i)*t),u=n%6;return{r:255*[r,s,o,o,c,r][u],g:255*[c,r,r,s,o,o][u],b:255*[o,o,c,r,r,s][u]}}(e.h,n,s),d=!0,f="hsv"):q(e.h)&&q(e.s)&&q(e.l)&&(n=H(e.s),c=H(e.l),t=function(e,t,r){var n,a,i;function o(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=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(w,arguments)},brighten:function(){return this._applyModification(k,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)},54:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},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}}},93: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 +(function(){function a(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as
    (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,0,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)},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})},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;n0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}var h=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(70),U=r.n(q),G=r(27),W=r(49),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(72),qe=r(230),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();return e.tagName!==t.tagName?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):function(e,t){var r=arguments.length>2&&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}.apply(void 0,Object(s.a)([e,t].map(zt)).concat([r]))},Chars:Ht,Comment:Ht};function Ft(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!xt.test(t.chars))return t}}function $t(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]: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=Ft(s);){if(!(n=Ft(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=Rt[r.type];if(u&&!u(r,n,a))return!1;$t(r,c[0])?Ft(c):$t(n,s[0])&&Ft(s)}return!(n=Ft(c))||(a.warning("Expected %o, instead saw end of content.",n),!1)}function Ut(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 cr(n,e,t,r)});return Object(G.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function lr(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=dr(p,{isCommentDelimited:!1}),m=dr(p,{isCommentDelimited:!0});f&&(i=m),r={originalName:t,originalContent:m,originalUndelimitedContent:g},h=ge(f=d)}a=(a=a.map(lr)).filter(function(e){return e});var b=f===l||f===d;if(h&&(i||!b)){var _=Te(f,ur(h,i,r),a);if(!b){var v=Ut(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 dr(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:dr(c[l++],t)}).join("\n").replace(/\n+/g,"\n").trim();return n?yt(a,o,d):d}var fr,hr=(fr=qe.parse,function(e){return fr(e).reduce(function(e,t){var r=lr(t);return r&&e.push(r),e},[])}),pr=hr,gr=r(25),mr={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},"#text":{}};function br(){return mr}function _r(e){var t=e.nodeName.toLowerCase();return br().hasOwnProperty(t)||"span"===t}["strong","em","s","del","ins","a","code","abbr","sub","sup"].forEach(function(e){mr[e].children=Object(u.omit)(mr,e)});var vr=window.Node,kr=vr.ELEMENT_NODE,wr=vr.TEXT_NODE;function yr(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 jr(e){return!e.hasChildNodes()||Array.from(e.childNodes).every(function(e){return e.nodeType===wr?!e.nodeValue.trim():e.nodeType!==kr||("BR"===e.nodeName||!e.hasAttributes()&&jr(e))})}function Or(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 Tr(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&&!_r(t)&&t.nextElementSibling&&Object(gr.insertAfter)(r.createElement("br"),t),Object(gr.unwrap)(t);else if(t.nodeType===kr){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&&jr(t))return void Object(gr.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(gr.unwrap)(t)):"BODY"===t.parentNode.nodeName&&_r(t)?(e(t.childNodes,r,n,a),Array.from(t.childNodes).some(function(e){return!_r(e)})&&Object(gr.unwrap)(t)):e(t.childNodes,r,f,a);else for(;t.firstChild;)Object(gr.remove)(t.firstChild)}}})}(n.body.childNodes,n,t,r),n.body.innerHTML}var xr=window.Node,Cr=xr.ELEMENT_NODE,Ar=xr.TEXT_NODE,Sr=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===Ar?i.nodeValue.trim()?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):n.removeChild(i):i.nodeType===Cr?"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?jr(i)?n.removeChild(i):a.appendChild(i):_r(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},Er=window.Node.COMMENT_NODE,Pr=function(e,t){if(e.nodeType===Er)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===Er&&"noteaser"===n.nodeValue){a=!0,Object(gr.remove)(n);break}Object(gr.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(gr.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function Nr(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Br=function(e){if(Nr(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&&Nr(a)){var u=e.previousElementSibling;u?u.appendChild(e):Object(gr.unwrap)(e)}}},Mr=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Sr(e.innerHTML))};var Lr=function(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!_r(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)}},zr=r(159);var Hr=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(zr.regexp)(e).test(t)})});if(!n)return[t];var a,i=Object(u.castArray)(n.tag),o=Object(u.first)(i);if(a=Object(zr.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,ur(Object(c.a)({},ge(n.blockName),{attributes:n.attributes}),a.shortcode.content,d))].concat(Object(s.a)(e(t.substr(r))))}return[t]},Ir=window.Node.COMMENT_NODE,Dr=function(e){e.nodeType===Ir&&Object(gr.remove)(e)};function Vr(e,t){return e.every(function(e){return function(e,t){if(_r(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)&&Vr(Array.from(e.children),t)})}function Rr(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var Fr=function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var n=Array.from(r.body.children);return!n.some(Rr)&&Vr(n,t)},$r=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(gr.wrap)(t.createElement("strong"),e),"italic"===a&&Object(gr.wrap)(t.createElement("em"),e),"line-through"===i&&Object(gr.wrap)(t.createElement("s"),e),"super"===o?Object(gr.wrap)(t.createElement("sup"),e):"sub"===o&&Object(gr.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(gr.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(gr.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)},Ur=window.parseInt;function Gr(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Wr=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=Ur(n[1],10)-1||0,i=e.previousElementSibling;if(!i||!Gr(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--;)Gr(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);Gr(f)||(f=f.appendChild(t.createElement(l))),f.appendChild(d),e.parentNode.removeChild(e)}}}},Kr=r(35),Yr=window,Zr=Yr.atob,Qr=Yr.File,Xr=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=Zr(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 hr(f)}if(String.prototype.normalize&&(r=r.normalize()),!a||r&&!function(e){return!/<(?!br[ \/>])/i.test(e)}(r)||(r=tn(a),"AUTO"===o&&-1===a.indexOf("\n")&&0!==a.indexOf("

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

    ")&&(o="INLINE")),"INLINE"===o)return on(r);var h=Hr(r),p=h.length>1;if("AUTO"===o&&!p&&Fr(r,s))return on(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=br(),b=yr(g),_=Object(u.compact)(Object(u.flatMap)(h,function(e){if("string"!=typeof e)return e;var t=[nn,Wr,qr,Br,Xr,$r,Pr,Dr,Lr,Mr];d||t.unshift(rn);var r=Object(c.a)({},b,m);return e=Tr(e=Or(e,t,b),r),e=Sr(e),an.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",ur("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):Te(a,ur(a,e.outerHTML))})}({html:e,rawTransforms:g})}));if("AUTO"===o&&1===_.length){var v=a.trim();if(""!==v&&-1===v.indexOf("\n"))return Tr(wt(_[0]),m)}return _}function cn(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return hr(r);var n=Hr(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=yr(a);return Object(u.compact)(Object(u.flatMap)(n,function(e){return"string"!=typeof e?e:(e=Or(e,[Br,Pr,Lr,Mr],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",ur("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):Te(a,ur(a,e.outerHTML))})}({html:e=Sr(e),rawTransforms:a}))}))}function un(){return Object(i.select)("core/blocks").getCategories()}function ln(e){Object(i.dispatch)("core/blocks").setCategories(e)}function dn(e,t){Object(i.dispatch)("core/blocks").updateCategory(e,t)}function fn(){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&&fn(o.innerBlocks,i)})}function hn(){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=hn(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),hn([],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 pr}),r.d(t,"getBlockAttributes",function(){return ur}),r.d(t,"parseWithAttributeSchema",function(){return sr}),r.d(t,"pasteHandler",function(){return sn}),r.d(t,"rawHandler",function(){return cn}),r.d(t,"getPhrasingContentSchema",function(){return br}),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 Gt}),r.d(t,"getCategories",function(){return un}),r.d(t,"setCategories",function(){return ln}),r.d(t,"updateCategory",function(){return dn}),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 fn}),r.d(t,"synchronizeBlocksWithTemplate",function(){return hn}),r.d(t,"children",function(){return Zt}),r.d(t,"node",function(){return nr}),r.d(t,"withBlockContentContext",function(){return gt})},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})},4:function(e,t){!function(){e.exports=this.wp.data}()},41:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},49:function(e,t,r){var n;!function(a){var i=/^\s+/,o=/\s+$/,s=0,c=a.round,u=a.min,l=a.max,d=a.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(o,"").toLowerCase();var t,r=!1;if(E[e])e=E[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=$.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=$.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=$.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=$.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=$.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=$.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=$.hex8.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),a:D(t[4]),format:r?"name":"hex8"};if(t=$.hex6.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),format:r?"name":"hex"};if(t=$.hex4.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),a:D(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=$.hex3.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(q(e.r)&&q(e.g)&&q(e.b)?(h=e.r,p=e.g,g=e.b,t={r:255*B(h,255),g:255*B(p,255),b:255*B(g,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):q(e.h)&&q(e.s)&&q(e.v)?(n=H(e.s),s=H(e.v),t=function(e,t,r){e=6*B(e,360),t=B(t,100),r=B(r,100);var n=a.floor(e),i=e-n,o=r*(1-t),s=r*(1-i*t),c=r*(1-(1-i)*t),u=n%6;return{r:255*[r,s,o,o,c,r][u],g:255*[c,r,r,s,o,o][u],b:255*[o,o,c,r,r,s][u]}}(e.h,n,s),d=!0,f="hsv"):q(e.h)&&q(e.s)&&q(e.l)&&(n=H(e.s),c=H(e.l),t=function(e,t,r){var n,a,i;function o(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=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)},54:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},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}}},93: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 diff --git a/wp-includes/js/dist/components.js b/wp-includes/js/dist/components.js index f8aa9d7bd7..8f82b423b7 100644 --- a/wp-includes/js/dist/components.js +++ b/wp-includes/js/dist/components.js @@ -555,7 +555,8 @@ function _typeof(obj) { /***/ }), /* 32 */, -/* 33 */ +/* 33 */, +/* 34 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -573,7 +574,6 @@ if (false) { var throwOnDirectAccess, ReactIs; } else { /***/ }), -/* 34 */, /* 35 */, /* 36 */, /* 37 */ @@ -2908,7 +2908,7 @@ var _object = __webpack_require__(50); var _object2 = _interopRequireDefault(_object); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -2948,7 +2948,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -5726,7 +5726,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -5834,7 +5834,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -5868,7 +5868,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -6068,7 +6068,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -6089,7 +6089,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -6396,7 +6396,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -6718,7 +6718,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -7566,7 +7566,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -8245,7 +8245,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -10633,7 +10633,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -11082,7 +11082,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -11765,7 +11765,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -11906,7 +11906,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -11927,7 +11927,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -11948,7 +11948,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -12140,7 +12140,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -12629,7 +12629,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -13087,7 +13087,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -13777,7 +13777,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -15385,7 +15385,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -16421,7 +16421,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -16560,7 +16560,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -16924,7 +16924,7 @@ var external_React_ = __webpack_require__(28); var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_); // EXTERNAL MODULE: ./node_modules/prop-types/index.js -var prop_types = __webpack_require__(33); +var prop_types = __webpack_require__(34); var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types); // CONCATENATED MODULE: ./node_modules/react-portal/es/utils.js @@ -19371,23 +19371,28 @@ var getStringSize = fast_memoize_1.default(function (n) { } return n + "px"; }); +var getPixelSize = function (size, parentSize) { + if (size && typeof size === 'string') { + if (endsWith(size, '%')) { + var ratio = Number(size.replace('%', '')) / 100; + return parentSize * ratio; + } + else if (endsWith(size, 'vw')) { + var ratio = Number(size.replace('vw', '')) / 100; + return window.innerWidth * ratio; + } + else if (endsWith(size, 'vh')) { + var ratio = Number(size.replace('vh', '')) / 100; + return window.innerHeight * ratio; + } + } + return size; +}; var calculateNewMax = fast_memoize_1.default(function (parentSize, maxWidth, maxHeight, minWidth, minHeight) { - if (maxWidth && typeof maxWidth === 'string' && endsWith(maxWidth, '%')) { - var ratio = Number(maxWidth.replace('%', '')) / 100; - maxWidth = parentSize.width * ratio; - } - if (maxHeight && typeof maxHeight === 'string' && endsWith(maxHeight, '%')) { - var ratio = Number(maxHeight.replace('%', '')) / 100; - maxHeight = parentSize.height * ratio; - } - if (minWidth && typeof minWidth === 'string' && endsWith(minWidth, '%')) { - var ratio = Number(minWidth.replace('%', '')) / 100; - minWidth = parentSize.width * ratio; - } - if (minHeight && typeof minHeight === 'string' && endsWith(minHeight, '%')) { - var ratio = Number(minHeight.replace('%', '')) / 100; - minHeight = parentSize.height * ratio; - } + maxWidth = getPixelSize(maxWidth, parentSize.width); + maxHeight = getPixelSize(maxHeight, parentSize.height); + minWidth = getPixelSize(minWidth, parentSize.width); + minHeight = getPixelSize(minHeight, parentSize.height); return { maxWidth: typeof maxWidth === 'undefined' ? undefined : Number(maxWidth), maxHeight: typeof maxHeight === 'undefined' ? undefined : Number(maxHeight), @@ -19461,13 +19466,6 @@ var Resizable = /** @class */ (function (_super) { _this.onResizeStart = _this.onResizeStart.bind(_this); _this.onMouseMove = _this.onMouseMove.bind(_this); _this.onMouseUp = _this.onMouseUp.bind(_this); - if (typeof window !== 'undefined') { - window.addEventListener('mouseup', _this.onMouseUp); - window.addEventListener('mousemove', _this.onMouseMove); - window.addEventListener('mouseleave', _this.onMouseUp); - window.addEventListener('touchmove', _this.onMouseMove); - window.addEventListener('touchend', _this.onMouseUp); - } return _this; } Object.defineProperty(Resizable.prototype, "parentNode", { @@ -19587,6 +19585,24 @@ var Resizable = /** @class */ (function (_super) { this.base.style.minWidth = minWidth; return size; }; + Resizable.prototype.bindEvents = function () { + if (typeof window !== 'undefined') { + window.addEventListener('mouseup', this.onMouseUp); + window.addEventListener('mousemove', this.onMouseMove); + window.addEventListener('mouseleave', this.onMouseUp); + window.addEventListener('touchmove', this.onMouseMove); + window.addEventListener('touchend', this.onMouseUp); + } + }; + Resizable.prototype.unbindEvents = function () { + if (typeof window !== 'undefined') { + window.removeEventListener('mouseup', this.onMouseUp); + window.removeEventListener('mousemove', this.onMouseMove); + window.removeEventListener('mouseleave', this.onMouseUp); + window.removeEventListener('touchmove', this.onMouseMove); + window.removeEventListener('touchend', this.onMouseUp); + } + }; Resizable.prototype.componentDidMount = function () { this.setState({ width: this.state.width || this.size.width, @@ -19616,11 +19632,7 @@ var Resizable = /** @class */ (function (_super) { }; Resizable.prototype.componentWillUnmount = function () { if (typeof window !== 'undefined') { - window.removeEventListener('mouseup', this.onMouseUp); - window.removeEventListener('mousemove', this.onMouseMove); - window.removeEventListener('mouseleave', this.onMouseUp); - window.removeEventListener('touchmove', this.onMouseMove); - window.removeEventListener('touchend', this.onMouseUp); + this.unbindEvents(); var parent_1 = this.parentNode; if (!this.base || !parent_1) { return; @@ -19788,6 +19800,7 @@ var Resizable = /** @class */ (function (_super) { typeof this.props.lockAspectRatio === 'number' ? this.props.lockAspectRatio : this.size.width / this.size.height; // For boundary this.setBoundingClientRect(); + this.bindEvents(); this.setState({ original: { x: clientX, @@ -19890,6 +19903,7 @@ var Resizable = /** @class */ (function (_super) { if (this.props.size) { this.setState(this.props.size); } + this.unbindEvents(); this.setState({ isResizing: false, resizeCursor: 'auto' }); }; Resizable.prototype.updateSize = function (size) { @@ -22749,7 +22763,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -22850,7 +22864,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -24344,7 +24358,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -24371,7 +24385,9 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function" var DISPLAY = { BLOCK: 'block', FLEX: 'flex', - INLINE_BLOCK: 'inline-block' + INLINE: 'inline', + INLINE_BLOCK: 'inline-block', + CONTENTS: 'contents' }; var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({ @@ -24426,12 +24442,13 @@ var OutsideClickHandler = function (_React$Component) { return componentDidMount; }() }, { - key: 'componentWillReceiveProps', + key: 'componentDidUpdate', value: function () { - function componentWillReceiveProps(_ref2) { - var disabled = _ref2.disabled, - useCapture = _ref2.useCapture; - var prevDisabled = this.props.disabled; + function componentDidUpdate(_ref2) { + var prevDisabled = _ref2.disabled; + var _props2 = this.props, + disabled = _props2.disabled, + useCapture = _props2.useCapture; if (prevDisabled !== disabled) { if (disabled) { @@ -24442,7 +24459,7 @@ var OutsideClickHandler = function (_React$Component) { } } - return componentWillReceiveProps; + return componentDidUpdate; }() }, { key: 'componentWillUnmount', @@ -24534,9 +24551,9 @@ var OutsideClickHandler = function (_React$Component) { key: 'render', value: function () { function render() { - var _props2 = this.props, - children = _props2.children, - display = _props2.display; + var _props3 = this.props, + children = _props3.children, + display = _props3.display; return _react2['default'].createElement( @@ -25186,7 +25203,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -25570,7 +25587,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -26076,7 +26093,7 @@ var _react = __webpack_require__(28); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(34); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -27552,179 +27569,6 @@ var external_this_wp_richText_ = __webpack_require__(22); // EXTERNAL MODULE: external {"this":["wp","dom"]} var external_this_wp_dom_ = __webpack_require__(25); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(18); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js - - - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -/** - * Input types which are classified as button types, for use in considering - * whether element is a (focus-normalized) button. - * - * @type {string[]} - */ - -var INPUT_BUTTON_TYPES = ['button', 'submit']; -/** - * Returns true if the given element is a button element subject to focus - * normalization, or false otherwise. - * - * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus - * - * @param {Element} element Element to test. - * - * @return {boolean} Whether element is a button. - */ - -function isFocusNormalizedButton(element) { - switch (element.nodeName) { - case 'A': - case 'BUTTON': - return true; - - case 'INPUT': - return Object(external_lodash_["includes"])(INPUT_BUTTON_TYPES, element.type); - } - - return false; -} - -/* harmony default export */ var with_focus_outside = (Object(external_this_wp_compose_["createHigherOrderComponent"])(function (WrappedComponent) { - return ( - /*#__PURE__*/ - function (_Component) { - Object(inherits["a" /* default */])(_class, _Component); - - function _class() { - var _this; - - Object(classCallCheck["a" /* default */])(this, _class); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(_class).apply(this, arguments)); - _this.bindNode = _this.bindNode.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.cancelBlurCheck = _this.cancelBlurCheck.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.queueBlurCheck = _this.queueBlurCheck.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.normalizeButtonFocus = _this.normalizeButtonFocus.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(_class, [{ - key: "componentWillUnmount", - value: function componentWillUnmount() { - this.cancelBlurCheck(); - } - }, { - key: "bindNode", - value: function bindNode(node) { - if (node) { - this.node = node; - } else { - delete this.node; - this.cancelBlurCheck(); - } - } - }, { - key: "queueBlurCheck", - value: function queueBlurCheck(event) { - var _this2 = this; - - // React does not allow using an event reference asynchronously - // due to recycling behavior, except when explicitly persisted. - event.persist(); // Skip blur check if clicking button. See `normalizeButtonFocus`. - - if (this.preventBlurCheck) { - return; - } - - this.blurCheckTimeout = setTimeout(function () { - // If document is not focused then focus should remain - // inside the wrapped component and therefore we cancel - // this blur event thereby leaving focus in place. - // https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus. - if (!document.hasFocus()) { - event.preventDefault(); - return; - } - - if ('function' === typeof _this2.node.handleFocusOutside) { - _this2.node.handleFocusOutside(event); - } - }, 0); - } - }, { - key: "cancelBlurCheck", - value: function cancelBlurCheck() { - clearTimeout(this.blurCheckTimeout); - } - /** - * Handles a mousedown or mouseup event to respectively assign and - * unassign a flag for preventing blur check on button elements. Some - * browsers, namely Firefox and Safari, do not emit a focus event on - * button elements when clicked, while others do. The logic here - * intends to normalize this as treating click on buttons as focus. - * - * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus - * - * @param {MouseEvent} event Event for mousedown or mouseup. - */ - - }, { - key: "normalizeButtonFocus", - value: function normalizeButtonFocus(event) { - var type = event.type, - target = event.target; - var isInteractionEnd = Object(external_lodash_["includes"])(['mouseup', 'touchend'], type); - - if (isInteractionEnd) { - this.preventBlurCheck = false; - } else if (isFocusNormalizedButton(target)) { - this.preventBlurCheck = true; - } - } - }, { - key: "render", - value: function render() { - // Disable reason: See `normalizeButtonFocus` for browser-specific - // focus event normalization. - - /* eslint-disable jsx-a11y/no-static-element-interactions */ - return Object(external_this_wp_element_["createElement"])("div", { - onFocus: this.cancelBlurCheck, - onMouseDown: this.normalizeButtonFocus, - onMouseUp: this.normalizeButtonFocus, - onTouchStart: this.normalizeButtonFocus, - onTouchEnd: this.normalizeButtonFocus, - onBlur: this.queueBlurCheck - }, Object(external_this_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({ - ref: this.bindNode - }, this.props))); - /* eslint-enable jsx-a11y/no-static-element-interactions */ - } - }]); - - return _class; - }(external_this_wp_element_["Component"]) - ); -}, 'withFocusOutside')); - // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules var objectWithoutProperties = __webpack_require__(21); @@ -27784,6 +27628,9 @@ 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); + // 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_); @@ -28289,6 +28136,176 @@ var withConstrainedTabbing = Object(external_this_wp_compose_["createHigherOrder }, 'withConstrainedTabbing'); /* harmony default export */ var with_constrained_tabbing = (withConstrainedTabbing); +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js + + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Input types which are classified as button types, for use in considering + * whether element is a (focus-normalized) button. + * + * @type {string[]} + */ + +var INPUT_BUTTON_TYPES = ['button', 'submit']; +/** + * Returns true if the given element is a button element subject to focus + * normalization, or false otherwise. + * + * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus + * + * @param {Element} element Element to test. + * + * @return {boolean} Whether element is a button. + */ + +function isFocusNormalizedButton(element) { + switch (element.nodeName) { + case 'A': + case 'BUTTON': + return true; + + case 'INPUT': + return Object(external_lodash_["includes"])(INPUT_BUTTON_TYPES, element.type); + } + + return false; +} + +/* harmony default export */ var with_focus_outside = (Object(external_this_wp_compose_["createHigherOrderComponent"])(function (WrappedComponent) { + return ( + /*#__PURE__*/ + function (_Component) { + Object(inherits["a" /* default */])(_class, _Component); + + function _class() { + var _this; + + Object(classCallCheck["a" /* default */])(this, _class); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(_class).apply(this, arguments)); + _this.bindNode = _this.bindNode.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.cancelBlurCheck = _this.cancelBlurCheck.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.queueBlurCheck = _this.queueBlurCheck.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.normalizeButtonFocus = _this.normalizeButtonFocus.bind(Object(assertThisInitialized["a" /* default */])(_this)); + return _this; + } + + Object(createClass["a" /* default */])(_class, [{ + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.cancelBlurCheck(); + } + }, { + key: "bindNode", + value: function bindNode(node) { + if (node) { + this.node = node; + } else { + delete this.node; + this.cancelBlurCheck(); + } + } + }, { + key: "queueBlurCheck", + value: function queueBlurCheck(event) { + var _this2 = this; + + // React does not allow using an event reference asynchronously + // due to recycling behavior, except when explicitly persisted. + event.persist(); // Skip blur check if clicking button. See `normalizeButtonFocus`. + + if (this.preventBlurCheck) { + return; + } + + this.blurCheckTimeout = setTimeout(function () { + // If document is not focused then focus should remain + // inside the wrapped component and therefore we cancel + // this blur event thereby leaving focus in place. + // https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus. + if (!document.hasFocus()) { + event.preventDefault(); + return; + } + + if ('function' === typeof _this2.node.handleFocusOutside) { + _this2.node.handleFocusOutside(event); + } + }, 0); + } + }, { + key: "cancelBlurCheck", + value: function cancelBlurCheck() { + clearTimeout(this.blurCheckTimeout); + } + /** + * Handles a mousedown or mouseup event to respectively assign and + * unassign a flag for preventing blur check on button elements. Some + * browsers, namely Firefox and Safari, do not emit a focus event on + * button elements when clicked, while others do. The logic here + * intends to normalize this as treating click on buttons as focus. + * + * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus + * + * @param {MouseEvent} event Event for mousedown or mouseup. + */ + + }, { + key: "normalizeButtonFocus", + value: function normalizeButtonFocus(event) { + var type = event.type, + target = event.target; + var isInteractionEnd = Object(external_lodash_["includes"])(['mouseup', 'touchend'], type); + + if (isInteractionEnd) { + this.preventBlurCheck = false; + } else if (isFocusNormalizedButton(target)) { + this.preventBlurCheck = true; + } + } + }, { + key: "render", + value: function render() { + // Disable reason: See `normalizeButtonFocus` for browser-specific + // focus event normalization. + + /* eslint-disable jsx-a11y/no-static-element-interactions */ + return Object(external_this_wp_element_["createElement"])("div", { + onFocus: this.cancelBlurCheck, + onMouseDown: this.normalizeButtonFocus, + onMouseUp: this.normalizeButtonFocus, + onTouchStart: this.normalizeButtonFocus, + onTouchEnd: this.normalizeButtonFocus, + onBlur: this.queueBlurCheck + }, Object(external_this_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({ + ref: this.bindNode + }, this.props))); + /* eslint-enable jsx-a11y/no-static-element-interactions */ + } + }]); + + return _class; + }(external_this_wp_element_["Component"]) + ); +}, 'withFocusOutside')); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/detect-outside.js @@ -31090,7 +31107,6 @@ var external_this_wp_a11y_ = __webpack_require__(46); - /** * A raw completer option. * @@ -31234,7 +31250,6 @@ function (_Component) { Object(classCallCheck["a" /* default */])(this, Autocomplete); _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(Autocomplete).apply(this, arguments)); - _this.bindNode = _this.bindNode.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.select = _this.select.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.reset = _this.reset.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.resetWhenSuppressed = _this.resetWhenSuppressed.bind(Object(assertThisInitialized["a" /* default */])(_this)); @@ -31245,11 +31260,6 @@ function (_Component) { } Object(createClass["a" /* default */])(Autocomplete, [{ - key: "bindNode", - value: function bindNode(node) { - this.node = node; - } - }, { key: "insertCompletion", value: function insertCompletion(replacement) { var _this$state = this.state, @@ -31304,12 +31314,7 @@ function (_Component) { }, { key: "reset", value: function reset() { - var isMounted = !!this.node; // Autocompletions may replace the block containing this component, - // so we make sure it is mounted before resetting the state. - - if (isMounted) { - this.setState(this.constructor.getInitialState()); - } + this.setState(this.constructor.getInitialState()); } }, { key: "resetWhenSuppressed", @@ -31322,11 +31327,6 @@ function (_Component) { this.reset(); } } - }, { - key: "handleFocusOutside", - value: function handleFocusOutside() { - this.reset(); - } }, { key: "announce", value: function announce(filteredOptions) { @@ -31479,31 +31479,14 @@ function (_Component) { event.preventDefault(); - event.stopPropagation(); - } - }, { - key: "toggleKeyEvents", - value: function toggleKeyEvents(isListening) { - // This exists because we must capture ENTER key presses before RichText. - // It seems that react fires the simulated capturing events after the - // native browser event has already bubbled so we can't stopPropagation - // and avoid RichText getting the event from TinyMCE, hence we must - // register a native event handler. - var handler = isListening ? 'addEventListener' : 'removeEventListener'; - this.node[handler]('keydown', this.handleKeyDown, true); } }, { key: "componentDidUpdate", - value: function componentDidUpdate(prevProps, prevState) { + value: function componentDidUpdate(prevProps) { var _this$props2 = this.props, record = _this$props2.record, completers = _this$props2.completers; var prevRecord = prevProps.record; - var prevOpen = prevState.open; - - if (!this.state.open !== !prevOpen) { - this.toggleKeyEvents(!!this.state.open); - } if (Object(external_this_wp_richText_["isCollapsed"])(record)) { var text = Object(external_lodash_["deburr"])(Object(external_this_wp_richText_["getTextContent"])(Object(external_this_wp_richText_["slice"])(record, 0))); @@ -31581,7 +31564,6 @@ function (_Component) { }, { key: "componentWillUnmount", value: function componentWillUnmount() { - this.toggleKeyEvents(false); this.debouncedLoadOptions.cancel(); } }, { @@ -31591,7 +31573,8 @@ function (_Component) { var _this$props3 = this.props, children = _this$props3.children, - instanceId = _this$props3.instanceId; + instanceId = _this$props3.instanceId, + isSelected = _this$props3.isSelected; var _this$state6 = this.state, open = _this$state6.open, suppress = _this$state6.suppress, @@ -31608,19 +31591,13 @@ function (_Component) { var isExpanded = suppress !== idx && filteredOptions.length > 0; var listBoxId = isExpanded ? "components-autocomplete-listbox-".concat(instanceId) : null; - var activeId = isExpanded ? "components-autocomplete-item-".concat(instanceId, "-").concat(selectedKey) : null; // Disable reason: Clicking the editor should reset the autocomplete when the menu is suppressed - - /* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */ - - return Object(external_this_wp_element_["createElement"])("div", { - ref: this.bindNode, - onClick: this.resetWhenSuppressed, - className: "components-autocomplete" - }, children({ + var activeId = isExpanded ? "components-autocomplete-item-".concat(instanceId, "-").concat(selectedKey) : null; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, children({ isExpanded: isExpanded, listBoxId: listBoxId, - activeId: activeId - }), isExpanded && Object(external_this_wp_element_["createElement"])(popover, { + activeId: activeId, + onKeyDown: this.handleKeyDown + }), isExpanded && isSelected && Object(external_this_wp_element_["createElement"])(popover, { focusOnMount: false, onClose: this.reset, position: "top right", @@ -31645,13 +31622,12 @@ function (_Component) { } }, option.label); })))); - /* eslint-enable jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */ } }]); return Autocomplete; }(external_this_wp_element_["Component"]); -/* harmony default export */ var autocomplete = (Object(external_this_wp_compose_["compose"])([with_spoken_messages, external_this_wp_compose_["withInstanceId"], with_focus_outside])(autocomplete_Autocomplete)); +/* 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/base-control/index.js diff --git a/wp-includes/js/dist/components.min.js b/wp-includes/js/dist/components.min.js index 2de2c32745..b538be35c9 100644 --- a/wp-includes/js/dist/components.min.js +++ b/wp-includes/js/dist/components.min.js @@ -9,14 +9,14 @@ this.wp=this.wp||{},this.wp.components=function(e){var t={};function n(r){if(t[r Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;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,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.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(94)()},,,,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){!function(){e.exports=this.wp.isShallowEqual}()},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 c=e[a](i),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).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 c(e){r(i,o,a,c,s,"next",e)}function s(e){r(i,o,a,c,s,"throw",e)}c(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(315)},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),i=new C(r||[]);return a._invoke=function(e,t,n){var r=u;return function(o,a){if(r===h)throw new Error("Generator is already running");if(r===f){if("throw"===o)throw a;return P()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var c=w(i,n);if(c){if(c===p)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===u)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var s=l(e,t,n);if("normal"===s.type){if(r=n.done?f:d,s.arg===p)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=f,n.method="throw",n.arg=s.arg)}}}(e,n,i),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var u="suspendedStart",d="suspendedYield",h="executing",f="completed",p={};function v(){}function b(){}function m(){}var y={};y[a]=function(){return this};var g=Object.getPrototypeOf,O=g&&g(g(j([])));O&&O!==n&&r.call(O,a)&&(y=O);var k=m.prototype=v.prototype=Object.create(y);function _(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function D(e){var t;this._invoke=function(n,o){function a(){return new Promise(function(t,a){!function t(n,o,a,i){var c=l(e[n],e,o);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&r.call(u,"__await")?Promise.resolve(u.__await).then(function(e){t("next",e,a,i)},function(e){t("throw",e,a,i)}):Promise.resolve(u).then(function(e){s.value=e,a(s)},function(e){return t("throw",e,a,i)})}i(c.arg)}(n,o,t,a)})}return t=t?t.then(a,a):a()}}function w(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,w(e,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,p;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,p):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function j(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(s&&l){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r;!function(o){var a=/^\s+/,i=/\s+$/,c=0,s=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,c=null,s=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:H(t[1]),g:H(t[2]),b:H(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=K.hex6.exec(e))return{r:H(t[1]),g:H(t[2]),b:H(t[3]),format:n?"name":"hex"};if(t=K.hex4.exec(e))return{r:H(t[1]+""+t[1]),g:H(t[2]+""+t[2]),b:H(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=K.hex3.exec(e))return{r:H(t[1]+""+t[1]),g:H(t[2]+""+t[2]),b:H(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,v=e.b,t={r:255*I(f,255),g:255*I(p,255),b:255*I(v,255)},d=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(r=R(e.s),c=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),c=n*(1-a*t),s=n*(1-(1-a)*t),l=r%6;return{r:255*[n,c,i,i,s,n][l],g:255*[s,n,n,c,i,i][l],b:255*[i,i,s,n,n,c][l]}}(e.h,r,c),d=!0,h="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(r=R(e.s),s=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 c=n<.5?n*(1+t):n+t-n*t,s=2*n-c;r=i(s,c,e+1/3),o=i(s,c,e),a=i(s,c,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,s),d=!0,h="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,p,v;return n=T(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=s(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=s(this._r)),this._g<1&&(this._g=s(this._g)),this._b<1&&(this._b=s(this._b)),this._ok=n.ok,this._tc_id=c++}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),c=(a+i)/2;if(a==i)r=o=0;else{var s=a-i;switch(o=c>.5?s/(2-a-i):s/(a+i),a){case e:r=(t-n)/s+(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=[],c=1/t;t--;)i.push(h({h:r,s:o,v:a})),a=(a+c)%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=T(e),this._roundA=s(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=s(360*e.h),n=s(100*e.s),r=s(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=s(360*e.h),n=s(100*e.s),r=s(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return v(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=[N(s(e).toString(16)),N(s(t).toString(16)),N(s(n).toString(16)),N(L(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:s(this._r),g:s(this._g),b:s(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+s(this._r)+", "+s(this._g)+", "+s(this._b)+")":"rgba("+s(this._r)+", "+s(this._g)+", "+s(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:s(100*I(this._r,255))+"%",g:s(100*I(this._g,255))+"%",b:s(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%)":"rgba("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+b(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=h(e);n="#"+b(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(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(D,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(j,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(M,arguments)},tetrad:function(){return this._applyCombination(S,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]:R(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,c=null,s=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var l=0;ls&&(s=r,c=h(t[l]));return h.isReadable(e,c,{level:a,size:i})||!o?c:(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"},z=h.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(E);function T(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 H(e){return parseInt(e,16)}function N(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function L(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return H(e)/255}var A,V,B,K=(V="[\\s|\\(]+("+(A="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+A+")[,|\\s]+("+A+")\\s*\\)?",B="[\\s|\\(]+("+A+")[,|\\s]+("+A+")[,|\\s]+("+A+")[,|\\s]+("+A+")\\s*\\)?",{CSS_UNIT:new RegExp(A),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(68),o=n(181),a=n(182),i=n(311),c=a();r(c,{getPolyfill:a,implementation:o,shim:i}),e.exports=c},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",c="Home and end keys",s="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."},v=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},b=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:c,escape:s,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:v,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:c,escape:s,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:v,dateIsUnavailable:m,dateIsSelected:y},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:c,escape:s,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:b,dateIsUnavailable:m,dateIsSelected:y},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:c,escape:s,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:v,chooseAvailableDate:b,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:c,escape:s,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:b,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(50)),o=a(n(33));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,c=void 0===n?"styles":n,u=t.themePropName,h=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,D=void 0,w=void 0,M=void 0,S=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 j(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?M:S}(t),o=t===l.DIRECTIONS.LTR?D:w,a=d.default.get();if(o&&r===a)return o;var i=t===l.DIRECTIONS.RTL;return i?(w=e?d.default.createRTL(e):v,S=a,o=w):(D=e?d.default.createLTR(e):v,M=a,o=D),o}function E(e,t){return{resolveMethod:j(e),styleDef:P(e,t)}}return function(){return function(e){var t=e.displayName||e.name||"Component",n=function(n){function a(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);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,(a.__proto__||Object.getPrototypeOf(a)).call(this,e,n)),o=r.context[l.CHANNEL]?r.context[l.CHANNEL].getState():m;return r.state=E(o,t),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)}(a,n),o(a,[{key:"componentDidMount",value:function(){return function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe(function(n){e.setState(E(n,t))}))}}()},{key:"componentWillUnmount",value:function(){return function(){this.channelUnsubscribe&&this.channelUnsubscribe()}}()},{key:"render",value:function(){return 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,c,a()),f(t,y,o),t)))}}()}]),a}(C);n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=b,e.propTypes&&(n.propTypes=(0,a.default)({},e.propTypes),delete n.propTypes[c],delete n.propTypes[h],delete n.propTypes[y]);e.defaultProps&&(n.defaultProps=(0,a.default)({},e.defaultProps));return(0,s.default)(n,e)}}()};var a=h(n(50)),i=h(n(28)),c=h(n(33)),s=h(n(316)),l=n(319),u=h(n(320)),d=h(n(179));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:c.default.object.isRequired,theme:c.default.object.isRequired,css:c.default.func.isRequired};var p={},v=function(){return p};var b=f({},l.CHANNEL,u.default),m=l.DIRECTIONS.LTR},function(e,t){!function(){e.exports=this.ReactDOM}()},,,,,,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(136)),a=r(n(137)),i=n(28),c=r(i),s=r(n(138)),l=r(n(139)),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 h(e,t){return u.und(e)||u.nul(e)?t:e}function f(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,c=!1,s=0;s=f.startTime+l.duration;else if(l.decay)b=p+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-f.startTime))),(u=Math.abs(f.lastPosition-b)<.1)&&(v=b);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;kv:b=e);++n);return n-1}(e,a);return function(e,t,n,r,o,a,i,c,s){var l=s?s(e):e;if(ln){if("identity"===c)return l;"clamp"===c&&(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],s,i,c,r.map)}}var A=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=F(r,o,a),i}s(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}(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}s(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 A(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}s(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 A(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=v(e),n=t.delay,r=void 0===n?0:n,i=t.to,c=a(t,["delay","to"]);if(u.arr(i)||u.fun(i))this.queue.push(o({},c,{delay:r,to:i}));else if(i){var s={};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)},c),l=s[i.delay]&&s[i.delay].to;s[i.delay]=o({},s[i.delay],i,{to:o({},l,i.to)})}),this.queue=Object.values(s)}return this.queue=this.queue.sort(function(e,t){return e.delay-t.delay}),this.diff(c),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 c=t.delay,s=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(s.to)||u.fun(s.to);c?setTimeout(function(){r===n.guid&&(d?n.runAsync(s,l):n.diff(s).start(l))},c):d?n.runAsync(s,l):n.diff(s).start(l)})}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,R.has(t)||R.add(t),N||(N=!0,w(z||L));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,c=Promise.resolve(void 0);if(u.arr(r.to))for(var s=function(e){var t=e,a=o({},r,v(r.to[t]));u.arr(a.config)&&(a.config=a.config[t]),c=c.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,c=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(c),e.current.deleted=e.current.deleted.filter(c))},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=b.transform(t)),n.payload=t,n}return s(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),c=he(o,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*i)<<16|Math.round(255*c)<<8}function pe(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function ve(e){return(parseFloat(e)%360+360)%360/360}function be(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|be(n[4]))>>>0:(n=se.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(ve(n[1]),me(n[2]),me(n[3])))>>>0:(n=ce.exec(t))?(fe(ve(n[1]),me(n[2]),me(n[3]))|be(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},De=["Webkit","Ms","Moz","O"];function we(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 De.forEach(function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]}),e},_e);var Me={};I(function(e){return new J(e)}),P("div"),S(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 F(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,c=a(t,["style","children","scrollTop","scrollLeft"]),s="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=we(l,n[l],u);"float"===l&&(l="cssFloat"),u?e.style.setProperty(l,d):e.style[l]=d}for(var h in c){var f=s?h:Me[h]||(Me[h]=h.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}));void 0!==e.getAttribute(f)&&e.setAttribute(f,c[h])}},function(e){return e});var Se,Ce,je=(Se=function(e){return i.forwardRef(function(t,n){var r=d(),s=i.useRef(!0),l=i.useRef(null),h=i.useRef(null),f=i.useCallback(function(e){var t=l.current;l.current=new H(e,function(){var e=!1;h.current&&(e=b.fn(h.current,l.current.getAnimatedValue())),h.current&&!1!==e||r()}),t&&t.detach()},[]);i.useEffect(function(){return function(){s.current=!1,l.current&&l.current.detach()}},[]),i.useImperativeHandle(n,function(){return T(h,s,r)}),f(t);var p,v=l.current.getValue(),m=(v.scrollTop,v.scrollLeft,a(v,["scrollTop","scrollLeft"])),y=(p=e,!u.fun(p)||p.prototype instanceof c.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 c.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]=Se(n),e},Se)}),Pe=je(["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=je,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=L,t.animated=Pe,t.a=Pe,t.interpolate=function(e,t,n){return e&&new A(e,t,n)},t.Globals=x,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),c=i.useRef(),s=U(e,function(e,t){return 0===e&&(c.current=[]),c.current.push(t),o({},a,{config:p(a.config,e),attach:e>0&&function(){return c.current[e-1]}})}),l=s[0],d=s[1],h=s[2],f=i.useMemo(function(){return function(e){return d(function(t,n){e.reverse;var r=e.reverse?t+1:t-1,i=c.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),c=X(r),s=c.lazy,l=void 0!==s&&s,u=(c.unique,c.reset),h=void 0!==u&&u,f=(c.enter,c.leave,c.update,c.onDestroyed),v=(c.keys,c.items,c.onFrame),b=c.onRest,m=c.onStart,y=c.ref,g=a(c,["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){for(var n=e.first,r=e.prevProps,i=a(e,["first","prevProps"]),c=X(t),s=c.items,l=c.keys,u=c.initial,d=c.from,h=c.enter,f=c.leave,v=c.update,b=c.trail,m=void 0===b?0:b,y=c.unique,g=c.config,O=c.order,k=void 0===O?[q,G,Y]:O,_=X(r),D=_.keys,w=_.items,M=o({},i.current),S=[].concat(i.deleted),C=Object.keys(M),j=new Set(C),P=new Set(l),E=l.filter(function(e){return!j.has(e)}),z=i.transitions.filter(function(e){return!e.destroyed&&!P.has(e.originalKey)}).map(function(e){return e.originalKey}),T=l.filter(function(e){return j.has(e)}),I=-m;k.length;){var x=k.shift();switch(x){case q:E.forEach(function(e,t){y&&S.find(function(t){return t.originalKey===e})&&(S=S.filter(function(t){return t.originalKey!==e}));var r=l.indexOf(e),o=s[r],a=n&&void 0!==u?"initial":q;M[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(h,o)}});break;case G:z.forEach(function(e){var t=D.indexOf(e),n=w[t],r=G;S.unshift(o({},M[e],{slot:r,destroyed:!0,left:D[Math.max(0,t-1)],right:D[Math.min(D.length,t+1)],trail:I+=m,config:p(g,n,r),to:p(f,n)})),delete M[e]});break;case Y:T.forEach(function(e){var t=l.indexOf(e),n=s[t],r=Y;M[e]=o({},M[e],{item:n,slot:r,trail:I+=m,config:p(g,n,r),to:p(v,n)})})}}var H=l.map(function(e){return M[e]});return S.forEach(function(e){var t,n=e.left,r=(e.right,a(e,["left","right"]));-1!==(t=H.findIndex(function(e){return e.originalKey===n}))&&(t+=1),t=Math.max(0,t),H=[].concat(H.slice(0,t),[r],H.slice(t))}),o({},i,{changed:E.length||z.length||T.length,first:n&&0===E.length,transitions:H,current:M,deleted:S,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,c=e.key,s=e.item;_.current.instances.has(c)||_.current.instances.set(c,new W);var u=_.current.instances.get(c),d=o({},g,{to:r,from:n,config:a,ref:y,onRest:function(n){_.current.mounted&&(e.destroyed&&(y||l||Q(_,c),f&&f(s)),!Array.from(_.current.instances).some(function(e){return!e[1].idle})&&(y||l)&&_.current.deleted.length>0&&Q(_),b&&b(s,t,n))},onStart:m&&function(){return m(s,t)},onFrame:v&&function(e){return v(s,t,e)},delay:i,reset:h&&t===q});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 c=n*t[r];i.forEach(function(e){e.queue=e.queue.map(function(e){return o({},e,{delay:e.delay+c})}),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){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";var r=n(146),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,c=Object.defineProperty,s=c&&function(){var e={};try{for(var t in c(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())||(s?c(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 c=0;c>>((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(95);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=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 c.name="Invariant Violation",c}}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=n(77);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},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(42);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(42);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(102));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(),c=n===o,s=r===i;return c&&s?e.date()1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in s))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===s[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return s[n]}},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(47);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default=(0,i.and)([a.default.instanceOf(Set),function(){return function(e,t){for(var n=arguments.length,r=Array(n>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===c?r.scrollLeft(t,g.left+O.left):!1===c?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||((c=void 0===c||!!c)?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){"use strict";var r=Array.prototype.slice,o=n(167),a=Object.keys,i=a?function(e){return a(e)}:n(291),c=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)?c(r.call(e)):c(e)}):Object.keys=i;return Object.keys||i},e.exports=i},function(e,t,n){"use strict";var r=Function.prototype.toString,o=/^\s*class\b/,a=function(e){try{var t=r.call(e);return o.test(t)}catch(e){return!1}},i=Object.prototype.toString,c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(c)return function(e){try{return!a(e)&&(r.call(e),!0)}catch(e){return!1}}(e);if(a(e))return!1;var t=i.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},function(e,t,n){var r=n(77).call(Function.call,Object.prototype.hasOwnProperty),o=Object.assign;e.exports=function(e,t){if(o)return o(e,t);for(var n in t)r(t,n)&&(e[n]=t[n]);return e}},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;t=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=n(293),o=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1;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 a=r.ArraySpeciesCreate(e,0);return function e(t,n,a,i,c){for(var s=i,l=0;l0&&(h=r.IsArray(d)),h)s=e(t,d,r.ToLength(r.Get(d,"length")),s,c-1);else{if(s>=o)throw new TypeError("index too large");r.CreateDataPropertyOrThrow(t,r.ToString(s),d),s+=1}}l+=1}return s}(a,e,t,0,n),a}},function(e,t,n){"use strict";var r=n(294),o=n(148),a=o(o({},r),{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)}});e.exports=a},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(298)()){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";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(107),o=r("%TypeError%"),a=r("%SyntaxError%"),i=n(98),c={"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]]"),c=i(t,"[[Get]]")||i(t,"[[Set]]");if(a&&c)throw new o("Property Descriptors may not be both accessor and data descriptors");return!0}};e.exports=function(e,t,n,r){var i=c[t];if("function"!=typeof i)throw new a("unknown record type: "+t);if(!i(e,r))throw new o(n+" must be a "+t);console.log(i(e,r),r)}},function(e,t){e.exports=Number.isNaN||function(e){return e!=e}},function(e,t){var n=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!n(e)&&e!==1/0&&e!==-1/0}},function(e,t){e.exports=function(e){return e>=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(168);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 c(){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,c=e.offsetWidth,s=e.offsetHeight,l="width"===t?c:s;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&&at.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&&(L||H||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")}(L||x)&&(0,d.default)(P).forEach(function(e){Object.keys(e).forEach(function(e){var n=(0,u.default)(e),r=!1;(L||z)&&(c(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),r=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(L||T)&&(s(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"),(L||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 q=(0,u.default)();if((0,m.default)(this.today,q)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,q,"today"),this.today=q),Object.keys(V).length>0&&this.setState({visibleDays:(0,a.default)({},P,V)}),L||h!==M){var G=N(h,o);this.setState({phrases:(0,a.default)({},h,{chooseAvailableDate:G})})}}}()},{key:"onDayClick",value:function(){return function(e,t){var n=this.props,r=n.keepOpenOnDateSelect,o=n.minimumNights,a=n.onBlur,i=n.focusedInput,c=n.onFocusChange,s=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,b=f.endDate;if(u||d)p=(0,_.default)(u,e),b=(0,_.default)(d,e),r||(c(null),s({startDate:p,endDate:b}));else if(i===E.START_DATE){var m=b&&b.clone().subtract(o,"days"),O=(0,g.default)(m,e)||(0,y.default)(p,b),k=h===E.END_DATE;k&&O||(p=e,O&&(b=null)),k&&!O?(c(null),s({startDate:p,endDate:b})):k||c(E.END_DATE)}else if(i===E.END_DATE){var D=p&&p.clone().add(o,"days");p?(0,v.default)(e,D)?(b=e,r||(c(null),s({startDate:p,endDate:b}))):h!==E.START_DATE&&(p=e,b=null):(b=e,c(E.START_DATE))}l({startDate:p,endDate:b}),a()}}}()},{key:"onDayMouseEnter",value:function(){return function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,r=t.endDate,o=t.focusedInput,i=t.minimumNights,c=t.startDateOffset,s=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,h=null;if(o){var f=c||s,p={};if(f){var v=(0,_.default)(c,e),b=(0,_.default)(s,e,function(e){return e.add(1,"day")});h={start:v,end:b},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,v,b,"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,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===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 D=n.clone().add(1,"day"),w=n.clone().add(i+1,"days");if(p=this.deleteModifierFromRange(p,D,w,"after-hovered-start"),(0,m.default)(e,n)){var M=n.clone().add(1,"day"),S=n.clone().add(i+1,"days");p=this.addModifierToRange(p,M,S,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:h,visibleDays:(0,a.default)({},d,p)})}}}}()},{key:"onDayMouseLeave",value:function(){return function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,i=this.state,c=i.hoverDate,s=i.visibleDays,l=i.dateOffset;if(!this.isTouchDevice&&c){var u={};if(u=this.deleteModifier(u,c,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!r&&(0,y.default)(c,n)){var d=c.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&r&&(0,y.default)(r,c)&&(u=this.deleteModifierFromRange(u,c,r,"hovered-span")),n&&(0,m.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)({},s,u)})}}}()},{key:"onPrevMonthClick",value:function(){return function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach(function(e){s[e]=c[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)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onNextMonthClick",value:function(){return function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(1).forEach(function(e){s[e]=c[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)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onMonthChange",value:function(){return 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(){return 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(){return function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,i=r.visibleDays,c=Object.keys(i).length,s=o.clone().add(c,"month"),l=(0,O.default)(s,t,n,!0);this.setState({visibleDays:(0,a.default)({},i,this.getModifiers(l))})}}()},{key:"getFirstFocusableDay",value:function(){return function(e){var t=this,n=this.props,o=n.startDate,a=n.endDate,i=n.focusedInput,c=n.minimumNights,s=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(c,"days"):i===E.END_DATE&&a&&(l=a.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(s-1,"months").endOf("month"),h=l.clone();!(0,y.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(){return function(e){var t=this,n={};return Object.keys(e).forEach(function(r){n[r]={},e[r].forEach(function(e){n[r][(0,D.default)(e)]=t.getModifiersForDay(e)})}),n}}()},{key:"getModifiersForDay",value:function(){return function(e){var t=this;return new Set(Object.keys(this.modifiers).filter(function(n){return t.modifiers[n](e)}))}}()},{key:"getStateForNewMonth",value:function(){return function(e){var t=this,n=e.initialVisibleMonth,r=e.numberOfMonths,o=e.enableOutsideDays,a=e.orientation,i=e.startDate,c=(n||(i?function(){return i}:function(){return t.today}))(),s=a===E.VERTICAL_SCROLLABLE;return{currentMonth:c,visibleDays:this.getModifiers((0,O.default)(c,r,o,s))}}}()},{key:"addModifier",value:function(){return function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=o;if(c===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,D.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 v=(0,w.default)(t),b=e[v]||u[v],m=new Set(b[f]);m.add(n),p=(0,a.default)({},p,I({},v,(0,a.default)({},b,I({},f,m))))}return p}}()},{key:"addModifierToRange",value:function(){return 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(){return function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=o;if(c===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,D.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 v=(0,w.default)(t),b=e[v]||u[v],m=new Set(b[f]);m.delete(n),p=(0,a.default)({},p,I({},v,(0,a.default)({},b,I({},f,m))))}return p}}()},{key:"deleteModifierFromRange",value:function(){return 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(){return 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(){return 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,b.default)(a,e)&&o>0&&(0,m.default)(a,n)}}()},{key:"isEndDate",value:function(){return function(e){var t=this.props.endDate;return(0,m.default)(e,t)}}()},{key:"isHovered",value:function(){return function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,m.default)(e,t)}}()},{key:"isInHoveredSpan",value:function(){return 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)),c=o&&!this.isBlocked(o);return(a||i)&&c}}()},{key:"isInSelectedSpan",value:function(){return function(e){var t=this.props,n=t.startDate,r=t.endDate;return e.isBetween(n,r)}}()},{key:"isLastInRange",value:function(){return function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,b.default)(e,t)}}()},{key:"isStartDate",value:function(){return function(e){var t=this.props.startDate;return(0,m.default)(e,t)}}()},{key:"isBlocked",value:function(){return function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)||this.doesNotMeetMinimumNights(e)}}()},{key:"isToday",value:function(){return function(e){return(0,m.default)(e,this.today)}}()},{key:"isFirstDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}}()},{key:"isLastDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,h=e.firstDayOfWeek,f=e.hideKeyboardShortcutsPanel,p=e.daySize,v=e.focusedInput,b=e.renderCalendarDay,m=e.renderDayContents,y=e.renderCalendarInfo,g=e.renderMonthElement,O=e.calendarInfoPosition,k=e.onBlur,_=e.isFocused,D=e.showKeyboardShortcuts,w=e.isRTL,M=e.weekDayFormat,S=e.dayAriaLabelFormat,C=e.verticalHeight,j=e.noBorder,P=e.transitionDuration,E=e.verticalBorderSpacing,T=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,H=I.phrases,N=I.visibleDays;return i.default.createElement(z.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,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:r,renderMonthText:o,withPortal:u,hidden:!v,initialVisibleMonth:function(){return x},daySize:p,onOutsideClick:l,navPrev:a,navNext:c,noNavButtons:s,renderCalendarDay:b,renderDayContents:m,renderCalendarInfo:y,renderMonthElement:g,calendarInfoPosition:O,firstDayOfWeek:h,hideKeyboardShortcutsPanel:f,isFocused:_,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:k,showKeyboardShortcuts:D,phrases:H,isRTL:w,weekDayFormat:M,dayAriaLabelFormat:S,verticalHeight:C,verticalBorderSpacing:E,noBorder:j,transitionDuration:P,horizontalMonthPadding:T})}}()}]),t}();t.default=R,R.propTypes=x,R.defaultProps=H},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(82));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={},c=a?e.clone():e.clone().subtract(1,"month"),s=0;s<(a?t:t+2);s+=1){var l=[],u=c.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)({},D,z)})}}()},{key:"componentWillUpdate",value:function(){return function(){this.today=(0,u.default)()}}()},{key:"onDayClick",value:function(){return 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(){return 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(){return 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(){return function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach(function(e){s[e]=c[e]});var l=i.clone().subtract(1,"month"),u=(0,m.default)(l,1,r);this.setState({currentMonth:l,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(l.clone())})}}()},{key:"onNextMonthClick",value:function(){return function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(1).forEach(function(e){s[e]=c[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)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onMonthChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===w.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onYearChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===w.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"getFirstFocusableDay",value:function(){return 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 c=[],s=e.clone().add(a-1,"months").endOf("month"),l=i.clone();!(0,b.default)(l,s);)l=l.clone().add(1,"day"),c.push(l);var u=c.filter(function(e){return!t.isBlocked(e)&&(0,b.default)(e,i)});if(u.length>0){var d=r(u,1);i=d[0]}}return i}}()},{key:"getModifiers",value:function(){return 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(){return function(e){var t=this;return new Set(Object.keys(this.modifiers).filter(function(n){return t.modifiers[n](e)}))}}()},{key:"getStateForNewMonth",value:function(){return 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(){return function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=o;if(c===w.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,y.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,C({},r,(0,a.default)({},o,C({},f,i))))},p);else{var v=(0,O.default)(t),b=e[v]||u[v],m=new Set(b[f]);m.add(n),p=(0,a.default)({},p,C({},v,(0,a.default)({},b,C({},f,m))))}return p}}()},{key:"deleteModifier",value:function(){return function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=o;if(c===w.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,y.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,C({},r,(0,a.default)({},o,C({},f,i))))},p);else{var v=(0,O.default)(t),b=e[v]||u[v],m=new Set(b[f]);m.delete(n),p=(0,a.default)({},p,C({},v,(0,a.default)({},b,C({},f,m))))}return p}}()},{key:"isBlocked",value:function(){return function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)}}()},{key:"isHovered",value:function(){return function(e){var t=(this.state||{}).hoverDate;return(0,v.default)(e,t)}}()},{key:"isSelected",value:function(){return function(e){var t=this.props.date;return(0,v.default)(e,t)}}()},{key:"isToday",value:function(){return function(e){return(0,v.default)(e,this.today)}}()},{key:"isFirstDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}}()},{key:"isLastDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,h=e.hideKeyboardShortcutsPanel,f=e.daySize,p=e.firstDayOfWeek,v=e.renderCalendarDay,b=e.renderDayContents,m=e.renderCalendarInfo,y=e.renderMonthElement,g=e.calendarInfoPosition,O=e.isFocused,k=e.isRTL,_=e.phrases,D=e.dayAriaLabelFormat,w=e.onBlur,S=e.showKeyboardShortcuts,C=e.weekDayFormat,j=e.verticalHeight,P=e.noBorder,E=e.transitionDuration,z=e.verticalBorderSpacing,T=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,H=I.visibleDays;return i.default.createElement(M.default,{orientation:n,enableOutsideDays:d,modifiers:H,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:s,navPrev:a,navNext:c,renderMonthText:o,renderCalendarDay:v,renderDayContents:b,renderCalendarInfo:m,renderMonthElement:y,calendarInfoPosition:g,isFocused:O,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:w,phrases:_,daySize:f,isRTL:k,showKeyboardShortcuts:S,weekDayFormat:C,dayAriaLabelFormat:D,verticalHeight:j,noBorder:P,transitionDuration:E,verticalBorderSpacing:z,horizontalMonthPadding:T})}}()}]),t}();t.default=E,E.propTypes=j,E.defaultProps=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n(33)),o=p(n(69)),a=n(47),i=n(51),c=p(n(58)),s=p(n(99)),l=p(n(195)),u=p(n(196)),d=p(n(86)),h=p(n(78)),f=p(n(100));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:s.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,c.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||(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,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.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(94)()},,,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){!function(){e.exports=this.wp.isShallowEqual}()},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 c=e[a](i),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).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 c(e){r(i,o,a,c,s,"next",e)}function s(e){r(i,o,a,c,s,"throw",e)}c(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(315)},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),i=new C(r||[]);return a._invoke=function(e,t,n){var r=u;return function(o,a){if(r===h)throw new Error("Generator is already running");if(r===f){if("throw"===o)throw a;return P()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var c=w(i,n);if(c){if(c===p)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===u)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var s=l(e,t,n);if("normal"===s.type){if(r=n.done?f:d,s.arg===p)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=f,n.method="throw",n.arg=s.arg)}}}(e,n,i),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var u="suspendedStart",d="suspendedYield",h="executing",f="completed",p={};function v(){}function b(){}function m(){}var y={};y[a]=function(){return this};var g=Object.getPrototypeOf,O=g&&g(g(j([])));O&&O!==n&&r.call(O,a)&&(y=O);var k=m.prototype=v.prototype=Object.create(y);function _(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function D(e){var t;this._invoke=function(n,o){function a(){return new Promise(function(t,a){!function t(n,o,a,i){var c=l(e[n],e,o);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&r.call(u,"__await")?Promise.resolve(u.__await).then(function(e){t("next",e,a,i)},function(e){t("throw",e,a,i)}):Promise.resolve(u).then(function(e){s.value=e,a(s)},function(e){return t("throw",e,a,i)})}i(c.arg)}(n,o,t,a)})}return t=t?t.then(a,a):a()}}function w(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,w(e,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,p;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,p):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function j(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(s&&l){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r;!function(o){var a=/^\s+/,i=/\s+$/,c=0,s=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,c=null,s=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:H(t[1]),g:H(t[2]),b:H(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=K.hex6.exec(e))return{r:H(t[1]),g:H(t[2]),b:H(t[3]),format:n?"name":"hex"};if(t=K.hex4.exec(e))return{r:H(t[1]+""+t[1]),g:H(t[2]+""+t[2]),b:H(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=K.hex3.exec(e))return{r:H(t[1]+""+t[1]),g:H(t[2]+""+t[2]),b:H(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,v=e.b,t={r:255*I(f,255),g:255*I(p,255),b:255*I(v,255)},d=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(r=R(e.s),c=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),c=n*(1-a*t),s=n*(1-(1-a)*t),l=r%6;return{r:255*[n,c,i,i,s,n][l],g:255*[s,n,n,c,i,i][l],b:255*[i,i,s,n,n,c][l]}}(e.h,r,c),d=!0,h="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(r=R(e.s),s=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 c=n<.5?n*(1+t):n+t-n*t,s=2*n-c;r=i(s,c,e+1/3),o=i(s,c,e),a=i(s,c,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,s),d=!0,h="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,p,v;return n=T(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=s(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=s(this._r)),this._g<1&&(this._g=s(this._g)),this._b<1&&(this._b=s(this._b)),this._ok=n.ok,this._tc_id=c++}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),c=(a+i)/2;if(a==i)r=o=0;else{var s=a-i;switch(o=c>.5?s/(2-a-i):s/(a+i),a){case e:r=(t-n)/s+(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=[],c=1/t;t--;)i.push(h({h:r,s:o,v:a})),a=(a+c)%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=T(e),this._roundA=s(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=s(360*e.h),n=s(100*e.s),r=s(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=s(360*e.h),n=s(100*e.s),r=s(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return v(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=[N(s(e).toString(16)),N(s(t).toString(16)),N(s(n).toString(16)),N(L(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:s(this._r),g:s(this._g),b:s(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+s(this._r)+", "+s(this._g)+", "+s(this._b)+")":"rgba("+s(this._r)+", "+s(this._g)+", "+s(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:s(100*I(this._r,255))+"%",g:s(100*I(this._g,255))+"%",b:s(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%)":"rgba("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+b(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=h(e);n="#"+b(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(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(D,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(j,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(M,arguments)},tetrad:function(){return this._applyCombination(S,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]:R(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,c=null,s=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var l=0;ls&&(s=r,c=h(t[l]));return h.isReadable(e,c,{level:a,size:i})||!o?c:(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"},z=h.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(E);function T(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 H(e){return parseInt(e,16)}function N(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function L(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return H(e)/255}var A,V,B,K=(V="[\\s|\\(]+("+(A="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+A+")[,|\\s]+("+A+")\\s*\\)?",B="[\\s|\\(]+("+A+")[,|\\s]+("+A+")[,|\\s]+("+A+")[,|\\s]+("+A+")\\s*\\)?",{CSS_UNIT:new RegExp(A),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(68),o=n(181),a=n(182),i=n(311),c=a();r(c,{getPolyfill:a,implementation:o,shim:i}),e.exports=c},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",c="Home and end keys",s="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."},v=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},b=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:c,escape:s,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:v,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:c,escape:s,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:v,dateIsUnavailable:m,dateIsSelected:y},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:c,escape:s,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:b,dateIsUnavailable:m,dateIsSelected:y},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:c,escape:s,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:v,chooseAvailableDate:b,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:c,escape:s,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:b,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(50)),o=a(n(34));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,c=void 0===n?"styles":n,u=t.themePropName,h=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,D=void 0,w=void 0,M=void 0,S=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 j(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?M:S}(t),o=t===l.DIRECTIONS.LTR?D:w,a=d.default.get();if(o&&r===a)return o;var i=t===l.DIRECTIONS.RTL;return i?(w=e?d.default.createRTL(e):v,S=a,o=w):(D=e?d.default.createLTR(e):v,M=a,o=D),o}function E(e,t){return{resolveMethod:j(e),styleDef:P(e,t)}}return function(){return function(e){var t=e.displayName||e.name||"Component",n=function(n){function a(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);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,(a.__proto__||Object.getPrototypeOf(a)).call(this,e,n)),o=r.context[l.CHANNEL]?r.context[l.CHANNEL].getState():m;return r.state=E(o,t),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)}(a,n),o(a,[{key:"componentDidMount",value:function(){return function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe(function(n){e.setState(E(n,t))}))}}()},{key:"componentWillUnmount",value:function(){return function(){this.channelUnsubscribe&&this.channelUnsubscribe()}}()},{key:"render",value:function(){return 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,c,a()),f(t,y,o),t)))}}()}]),a}(C);n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=b,e.propTypes&&(n.propTypes=(0,a.default)({},e.propTypes),delete n.propTypes[c],delete n.propTypes[h],delete n.propTypes[y]);e.defaultProps&&(n.defaultProps=(0,a.default)({},e.defaultProps));return(0,s.default)(n,e)}}()};var a=h(n(50)),i=h(n(28)),c=h(n(34)),s=h(n(316)),l=n(319),u=h(n(320)),d=h(n(179));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:c.default.object.isRequired,theme:c.default.object.isRequired,css:c.default.func.isRequired};var p={},v=function(){return p};var b=f({},l.CHANNEL,u.default),m=l.DIRECTIONS.LTR},function(e,t){!function(){e.exports=this.ReactDOM}()},,,,,,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(136)),a=r(n(137)),i=n(28),c=r(i),s=r(n(138)),l=r(n(139)),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 h(e,t){return u.und(e)||u.nul(e)?t:e}function f(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,c=!1,s=0;s=f.startTime+l.duration;else if(l.decay)b=p+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-f.startTime))),(u=Math.abs(f.lastPosition-b)<.1)&&(v=b);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;kv:b=e);++n);return n-1}(e,a);return function(e,t,n,r,o,a,i,c,s){var l=s?s(e):e;if(ln){if("identity"===c)return l;"clamp"===c&&(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],s,i,c,r.map)}}var A=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=F(r,o,a),i}s(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}(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}s(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 A(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}s(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 A(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=v(e),n=t.delay,r=void 0===n?0:n,i=t.to,c=a(t,["delay","to"]);if(u.arr(i)||u.fun(i))this.queue.push(o({},c,{delay:r,to:i}));else if(i){var s={};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)},c),l=s[i.delay]&&s[i.delay].to;s[i.delay]=o({},s[i.delay],i,{to:o({},l,i.to)})}),this.queue=Object.values(s)}return this.queue=this.queue.sort(function(e,t){return e.delay-t.delay}),this.diff(c),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 c=t.delay,s=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(s.to)||u.fun(s.to);c?setTimeout(function(){r===n.guid&&(d?n.runAsync(s,l):n.diff(s).start(l))},c):d?n.runAsync(s,l):n.diff(s).start(l)})}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,R.has(t)||R.add(t),N||(N=!0,w(z||L));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,c=Promise.resolve(void 0);if(u.arr(r.to))for(var s=function(e){var t=e,a=o({},r,v(r.to[t]));u.arr(a.config)&&(a.config=a.config[t]),c=c.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,c=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(c),e.current.deleted=e.current.deleted.filter(c))},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=b.transform(t)),n.payload=t,n}return s(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),c=he(o,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*i)<<16|Math.round(255*c)<<8}function pe(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function ve(e){return(parseFloat(e)%360+360)%360/360}function be(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|be(n[4]))>>>0:(n=se.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(ve(n[1]),me(n[2]),me(n[3])))>>>0:(n=ce.exec(t))?(fe(ve(n[1]),me(n[2]),me(n[3]))|be(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},De=["Webkit","Ms","Moz","O"];function we(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 De.forEach(function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]}),e},_e);var Me={};I(function(e){return new J(e)}),P("div"),S(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 F(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,c=a(t,["style","children","scrollTop","scrollLeft"]),s="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=we(l,n[l],u);"float"===l&&(l="cssFloat"),u?e.style.setProperty(l,d):e.style[l]=d}for(var h in c){var f=s?h:Me[h]||(Me[h]=h.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}));void 0!==e.getAttribute(f)&&e.setAttribute(f,c[h])}},function(e){return e});var Se,Ce,je=(Se=function(e){return i.forwardRef(function(t,n){var r=d(),s=i.useRef(!0),l=i.useRef(null),h=i.useRef(null),f=i.useCallback(function(e){var t=l.current;l.current=new H(e,function(){var e=!1;h.current&&(e=b.fn(h.current,l.current.getAnimatedValue())),h.current&&!1!==e||r()}),t&&t.detach()},[]);i.useEffect(function(){return function(){s.current=!1,l.current&&l.current.detach()}},[]),i.useImperativeHandle(n,function(){return T(h,s,r)}),f(t);var p,v=l.current.getValue(),m=(v.scrollTop,v.scrollLeft,a(v,["scrollTop","scrollLeft"])),y=(p=e,!u.fun(p)||p.prototype instanceof c.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 c.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]=Se(n),e},Se)}),Pe=je(["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=je,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=L,t.animated=Pe,t.a=Pe,t.interpolate=function(e,t,n){return e&&new A(e,t,n)},t.Globals=x,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),c=i.useRef(),s=U(e,function(e,t){return 0===e&&(c.current=[]),c.current.push(t),o({},a,{config:p(a.config,e),attach:e>0&&function(){return c.current[e-1]}})}),l=s[0],d=s[1],h=s[2],f=i.useMemo(function(){return function(e){return d(function(t,n){e.reverse;var r=e.reverse?t+1:t-1,i=c.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),c=X(r),s=c.lazy,l=void 0!==s&&s,u=(c.unique,c.reset),h=void 0!==u&&u,f=(c.enter,c.leave,c.update,c.onDestroyed),v=(c.keys,c.items,c.onFrame),b=c.onRest,m=c.onStart,y=c.ref,g=a(c,["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){for(var n=e.first,r=e.prevProps,i=a(e,["first","prevProps"]),c=X(t),s=c.items,l=c.keys,u=c.initial,d=c.from,h=c.enter,f=c.leave,v=c.update,b=c.trail,m=void 0===b?0:b,y=c.unique,g=c.config,O=c.order,k=void 0===O?[q,G,Y]:O,_=X(r),D=_.keys,w=_.items,M=o({},i.current),S=[].concat(i.deleted),C=Object.keys(M),j=new Set(C),P=new Set(l),E=l.filter(function(e){return!j.has(e)}),z=i.transitions.filter(function(e){return!e.destroyed&&!P.has(e.originalKey)}).map(function(e){return e.originalKey}),T=l.filter(function(e){return j.has(e)}),I=-m;k.length;){var x=k.shift();switch(x){case q:E.forEach(function(e,t){y&&S.find(function(t){return t.originalKey===e})&&(S=S.filter(function(t){return t.originalKey!==e}));var r=l.indexOf(e),o=s[r],a=n&&void 0!==u?"initial":q;M[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(h,o)}});break;case G:z.forEach(function(e){var t=D.indexOf(e),n=w[t],r=G;S.unshift(o({},M[e],{slot:r,destroyed:!0,left:D[Math.max(0,t-1)],right:D[Math.min(D.length,t+1)],trail:I+=m,config:p(g,n,r),to:p(f,n)})),delete M[e]});break;case Y:T.forEach(function(e){var t=l.indexOf(e),n=s[t],r=Y;M[e]=o({},M[e],{item:n,slot:r,trail:I+=m,config:p(g,n,r),to:p(v,n)})})}}var H=l.map(function(e){return M[e]});return S.forEach(function(e){var t,n=e.left,r=(e.right,a(e,["left","right"]));-1!==(t=H.findIndex(function(e){return e.originalKey===n}))&&(t+=1),t=Math.max(0,t),H=[].concat(H.slice(0,t),[r],H.slice(t))}),o({},i,{changed:E.length||z.length||T.length,first:n&&0===E.length,transitions:H,current:M,deleted:S,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,c=e.key,s=e.item;_.current.instances.has(c)||_.current.instances.set(c,new W);var u=_.current.instances.get(c),d=o({},g,{to:r,from:n,config:a,ref:y,onRest:function(n){_.current.mounted&&(e.destroyed&&(y||l||Q(_,c),f&&f(s)),!Array.from(_.current.instances).some(function(e){return!e[1].idle})&&(y||l)&&_.current.deleted.length>0&&Q(_),b&&b(s,t,n))},onStart:m&&function(){return m(s,t)},onFrame:v&&function(e){return v(s,t,e)},delay:i,reset:h&&t===q});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 c=n*t[r];i.forEach(function(e){e.queue=e.queue.map(function(e){return o({},e,{delay:e.delay+c})}),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){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";var r=n(146),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,c=Object.defineProperty,s=c&&function(){var e={};try{for(var t in c(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())||(s?c(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 c=0;c>>((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(95);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=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 c.name="Invariant Violation",c}}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=n(77);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(34),a=(r=o)&&r.__esModule?r:{default:r},i=n(42);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(34),a=(r=o)&&r.__esModule?r:{default:r},i=n(42);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(102));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(),c=n===o,s=r===i;return c&&s?e.date()1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in s))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===s[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return s[n]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(34),a=(r=o)&&r.__esModule?r:{default:r},i=n(47);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default=(0,i.and)([a.default.instanceOf(Set),function(){return function(e,t){for(var n=arguments.length,r=Array(n>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===c?r.scrollLeft(t,g.left+O.left):!1===c?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||((c=void 0===c||!!c)?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){"use strict";var r=Array.prototype.slice,o=n(167),a=Object.keys,i=a?function(e){return a(e)}:n(291),c=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)?c(r.call(e)):c(e)}):Object.keys=i;return Object.keys||i},e.exports=i},function(e,t,n){"use strict";var r=Function.prototype.toString,o=/^\s*class\b/,a=function(e){try{var t=r.call(e);return o.test(t)}catch(e){return!1}},i=Object.prototype.toString,c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(c)return function(e){try{return!a(e)&&(r.call(e),!0)}catch(e){return!1}}(e);if(a(e))return!1;var t=i.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},function(e,t,n){var r=n(77).call(Function.call,Object.prototype.hasOwnProperty),o=Object.assign;e.exports=function(e,t){if(o)return o(e,t);for(var n in t)r(t,n)&&(e[n]=t[n]);return e}},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;t=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=n(293),o=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1;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 a=r.ArraySpeciesCreate(e,0);return function e(t,n,a,i,c){for(var s=i,l=0;l0&&(h=r.IsArray(d)),h)s=e(t,d,r.ToLength(r.Get(d,"length")),s,c-1);else{if(s>=o)throw new TypeError("index too large");r.CreateDataPropertyOrThrow(t,r.ToString(s),d),s+=1}}l+=1}return s}(a,e,t,0,n),a}},function(e,t,n){"use strict";var r=n(294),o=n(148),a=o(o({},r),{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)}});e.exports=a},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(298)()){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";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(107),o=r("%TypeError%"),a=r("%SyntaxError%"),i=n(98),c={"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]]"),c=i(t,"[[Get]]")||i(t,"[[Set]]");if(a&&c)throw new o("Property Descriptors may not be both accessor and data descriptors");return!0}};e.exports=function(e,t,n,r){var i=c[t];if("function"!=typeof i)throw new a("unknown record type: "+t);if(!i(e,r))throw new o(n+" must be a "+t);console.log(i(e,r),r)}},function(e,t){e.exports=Number.isNaN||function(e){return e!=e}},function(e,t){var n=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!n(e)&&e!==1/0&&e!==-1/0}},function(e,t){e.exports=function(e){return e>=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(168);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 c(){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,c=e.offsetWidth,s=e.offsetHeight,l="width"===t?c:s;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&&at.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&&(L||H||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")}(L||x)&&(0,d.default)(P).forEach(function(e){Object.keys(e).forEach(function(e){var n=(0,u.default)(e),r=!1;(L||z)&&(c(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),r=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(L||T)&&(s(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"),(L||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 q=(0,u.default)();if((0,m.default)(this.today,q)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,q,"today"),this.today=q),Object.keys(V).length>0&&this.setState({visibleDays:(0,a.default)({},P,V)}),L||h!==M){var G=N(h,o);this.setState({phrases:(0,a.default)({},h,{chooseAvailableDate:G})})}}}()},{key:"onDayClick",value:function(){return function(e,t){var n=this.props,r=n.keepOpenOnDateSelect,o=n.minimumNights,a=n.onBlur,i=n.focusedInput,c=n.onFocusChange,s=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,b=f.endDate;if(u||d)p=(0,_.default)(u,e),b=(0,_.default)(d,e),r||(c(null),s({startDate:p,endDate:b}));else if(i===E.START_DATE){var m=b&&b.clone().subtract(o,"days"),O=(0,g.default)(m,e)||(0,y.default)(p,b),k=h===E.END_DATE;k&&O||(p=e,O&&(b=null)),k&&!O?(c(null),s({startDate:p,endDate:b})):k||c(E.END_DATE)}else if(i===E.END_DATE){var D=p&&p.clone().add(o,"days");p?(0,v.default)(e,D)?(b=e,r||(c(null),s({startDate:p,endDate:b}))):h!==E.START_DATE&&(p=e,b=null):(b=e,c(E.START_DATE))}l({startDate:p,endDate:b}),a()}}}()},{key:"onDayMouseEnter",value:function(){return function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,r=t.endDate,o=t.focusedInput,i=t.minimumNights,c=t.startDateOffset,s=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,h=null;if(o){var f=c||s,p={};if(f){var v=(0,_.default)(c,e),b=(0,_.default)(s,e,function(e){return e.add(1,"day")});h={start:v,end:b},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,v,b,"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,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===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 D=n.clone().add(1,"day"),w=n.clone().add(i+1,"days");if(p=this.deleteModifierFromRange(p,D,w,"after-hovered-start"),(0,m.default)(e,n)){var M=n.clone().add(1,"day"),S=n.clone().add(i+1,"days");p=this.addModifierToRange(p,M,S,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:h,visibleDays:(0,a.default)({},d,p)})}}}}()},{key:"onDayMouseLeave",value:function(){return function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,i=this.state,c=i.hoverDate,s=i.visibleDays,l=i.dateOffset;if(!this.isTouchDevice&&c){var u={};if(u=this.deleteModifier(u,c,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!r&&(0,y.default)(c,n)){var d=c.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&r&&(0,y.default)(r,c)&&(u=this.deleteModifierFromRange(u,c,r,"hovered-span")),n&&(0,m.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)({},s,u)})}}}()},{key:"onPrevMonthClick",value:function(){return function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach(function(e){s[e]=c[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)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onNextMonthClick",value:function(){return function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(1).forEach(function(e){s[e]=c[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)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onMonthChange",value:function(){return 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(){return 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(){return function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,i=r.visibleDays,c=Object.keys(i).length,s=o.clone().add(c,"month"),l=(0,O.default)(s,t,n,!0);this.setState({visibleDays:(0,a.default)({},i,this.getModifiers(l))})}}()},{key:"getFirstFocusableDay",value:function(){return function(e){var t=this,n=this.props,o=n.startDate,a=n.endDate,i=n.focusedInput,c=n.minimumNights,s=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(c,"days"):i===E.END_DATE&&a&&(l=a.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(s-1,"months").endOf("month"),h=l.clone();!(0,y.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(){return function(e){var t=this,n={};return Object.keys(e).forEach(function(r){n[r]={},e[r].forEach(function(e){n[r][(0,D.default)(e)]=t.getModifiersForDay(e)})}),n}}()},{key:"getModifiersForDay",value:function(){return function(e){var t=this;return new Set(Object.keys(this.modifiers).filter(function(n){return t.modifiers[n](e)}))}}()},{key:"getStateForNewMonth",value:function(){return function(e){var t=this,n=e.initialVisibleMonth,r=e.numberOfMonths,o=e.enableOutsideDays,a=e.orientation,i=e.startDate,c=(n||(i?function(){return i}:function(){return t.today}))(),s=a===E.VERTICAL_SCROLLABLE;return{currentMonth:c,visibleDays:this.getModifiers((0,O.default)(c,r,o,s))}}}()},{key:"addModifier",value:function(){return function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=o;if(c===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,D.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 v=(0,w.default)(t),b=e[v]||u[v],m=new Set(b[f]);m.add(n),p=(0,a.default)({},p,I({},v,(0,a.default)({},b,I({},f,m))))}return p}}()},{key:"addModifierToRange",value:function(){return 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(){return function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=o;if(c===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,D.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 v=(0,w.default)(t),b=e[v]||u[v],m=new Set(b[f]);m.delete(n),p=(0,a.default)({},p,I({},v,(0,a.default)({},b,I({},f,m))))}return p}}()},{key:"deleteModifierFromRange",value:function(){return 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(){return 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(){return 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,b.default)(a,e)&&o>0&&(0,m.default)(a,n)}}()},{key:"isEndDate",value:function(){return function(e){var t=this.props.endDate;return(0,m.default)(e,t)}}()},{key:"isHovered",value:function(){return function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,m.default)(e,t)}}()},{key:"isInHoveredSpan",value:function(){return 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)),c=o&&!this.isBlocked(o);return(a||i)&&c}}()},{key:"isInSelectedSpan",value:function(){return function(e){var t=this.props,n=t.startDate,r=t.endDate;return e.isBetween(n,r)}}()},{key:"isLastInRange",value:function(){return function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,b.default)(e,t)}}()},{key:"isStartDate",value:function(){return function(e){var t=this.props.startDate;return(0,m.default)(e,t)}}()},{key:"isBlocked",value:function(){return function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)||this.doesNotMeetMinimumNights(e)}}()},{key:"isToday",value:function(){return function(e){return(0,m.default)(e,this.today)}}()},{key:"isFirstDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}}()},{key:"isLastDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,h=e.firstDayOfWeek,f=e.hideKeyboardShortcutsPanel,p=e.daySize,v=e.focusedInput,b=e.renderCalendarDay,m=e.renderDayContents,y=e.renderCalendarInfo,g=e.renderMonthElement,O=e.calendarInfoPosition,k=e.onBlur,_=e.isFocused,D=e.showKeyboardShortcuts,w=e.isRTL,M=e.weekDayFormat,S=e.dayAriaLabelFormat,C=e.verticalHeight,j=e.noBorder,P=e.transitionDuration,E=e.verticalBorderSpacing,T=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,H=I.phrases,N=I.visibleDays;return i.default.createElement(z.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,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:r,renderMonthText:o,withPortal:u,hidden:!v,initialVisibleMonth:function(){return x},daySize:p,onOutsideClick:l,navPrev:a,navNext:c,noNavButtons:s,renderCalendarDay:b,renderDayContents:m,renderCalendarInfo:y,renderMonthElement:g,calendarInfoPosition:O,firstDayOfWeek:h,hideKeyboardShortcutsPanel:f,isFocused:_,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:k,showKeyboardShortcuts:D,phrases:H,isRTL:w,weekDayFormat:M,dayAriaLabelFormat:S,verticalHeight:C,verticalBorderSpacing:E,noBorder:j,transitionDuration:P,horizontalMonthPadding:T})}}()}]),t}();t.default=R,R.propTypes=x,R.defaultProps=H},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(82));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={},c=a?e.clone():e.clone().subtract(1,"month"),s=0;s<(a?t:t+2);s+=1){var l=[],u=c.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)({},D,z)})}}()},{key:"componentWillUpdate",value:function(){return function(){this.today=(0,u.default)()}}()},{key:"onDayClick",value:function(){return 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(){return 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(){return 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(){return function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach(function(e){s[e]=c[e]});var l=i.clone().subtract(1,"month"),u=(0,m.default)(l,1,r);this.setState({currentMonth:l,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(l.clone())})}}()},{key:"onNextMonthClick",value:function(){return function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(1).forEach(function(e){s[e]=c[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)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onMonthChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===w.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onYearChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===w.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"getFirstFocusableDay",value:function(){return 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 c=[],s=e.clone().add(a-1,"months").endOf("month"),l=i.clone();!(0,b.default)(l,s);)l=l.clone().add(1,"day"),c.push(l);var u=c.filter(function(e){return!t.isBlocked(e)&&(0,b.default)(e,i)});if(u.length>0){var d=r(u,1);i=d[0]}}return i}}()},{key:"getModifiers",value:function(){return 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(){return function(e){var t=this;return new Set(Object.keys(this.modifiers).filter(function(n){return t.modifiers[n](e)}))}}()},{key:"getStateForNewMonth",value:function(){return 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(){return function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=o;if(c===w.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,y.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,C({},r,(0,a.default)({},o,C({},f,i))))},p);else{var v=(0,O.default)(t),b=e[v]||u[v],m=new Set(b[f]);m.add(n),p=(0,a.default)({},p,C({},v,(0,a.default)({},b,C({},f,m))))}return p}}()},{key:"deleteModifier",value:function(){return function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=o;if(c===w.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,y.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,C({},r,(0,a.default)({},o,C({},f,i))))},p);else{var v=(0,O.default)(t),b=e[v]||u[v],m=new Set(b[f]);m.delete(n),p=(0,a.default)({},p,C({},v,(0,a.default)({},b,C({},f,m))))}return p}}()},{key:"isBlocked",value:function(){return function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)}}()},{key:"isHovered",value:function(){return function(e){var t=(this.state||{}).hoverDate;return(0,v.default)(e,t)}}()},{key:"isSelected",value:function(){return function(e){var t=this.props.date;return(0,v.default)(e,t)}}()},{key:"isToday",value:function(){return function(e){return(0,v.default)(e,this.today)}}()},{key:"isFirstDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}}()},{key:"isLastDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,h=e.hideKeyboardShortcutsPanel,f=e.daySize,p=e.firstDayOfWeek,v=e.renderCalendarDay,b=e.renderDayContents,m=e.renderCalendarInfo,y=e.renderMonthElement,g=e.calendarInfoPosition,O=e.isFocused,k=e.isRTL,_=e.phrases,D=e.dayAriaLabelFormat,w=e.onBlur,S=e.showKeyboardShortcuts,C=e.weekDayFormat,j=e.verticalHeight,P=e.noBorder,E=e.transitionDuration,z=e.verticalBorderSpacing,T=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,H=I.visibleDays;return i.default.createElement(M.default,{orientation:n,enableOutsideDays:d,modifiers:H,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:s,navPrev:a,navNext:c,renderMonthText:o,renderCalendarDay:v,renderDayContents:b,renderCalendarInfo:m,renderMonthElement:y,calendarInfoPosition:g,isFocused:O,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:w,phrases:_,daySize:f,isRTL:k,showKeyboardShortcuts:S,weekDayFormat:C,dayAriaLabelFormat:D,verticalHeight:j,noBorder:P,transitionDuration:E,verticalBorderSpacing:z,horizontalMonthPadding:T})}}()}]),t}();t.default=E,E.propTypes=j,E.defaultProps=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n(34)),o=p(n(69)),a=n(47),i=n(51),c=p(n(58)),s=p(n(99)),l=p(n(195)),u=p(n(196)),d=p(n(86)),h=p(n(78)),f=p(n(100));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:s.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,c.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,c.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}();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,c.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,c.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=s},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)s[111+h]="f"+h;for(h=0;h<=9;++h)s[h+96]=h.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(){return this._handleKey.apply(this,arguments)},y.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);c=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 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 s[e.which]?s[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function v(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function b(e,t,n){return n||(n=function(){if(!c)for(var e in c={},s)e>95&&e<112||s.hasOwnProperty(e)&&(c[s[e]]=e);return c}()[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?h(e,c,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,h=!1;for(r=0;r0&&!o.call(e,0))for(var v=0;v0)for(var b=0;b= 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){l(e,n)&&u(r,["value"===t?e[n]:[n,e[n]]])}),r}throw new s('Assertion failed: "kind" is not "key", "value", or "key+value": '+t)}});delete d.EnumerableOwnNames,e.exports=d},function(e,t,n){"use strict";var r=n(98),o=n(295),a=n(146),i=n(107),c=i("%TypeError%"),s=i("%SyntaxError%"),l=i("%Array%"),u=i("%String%"),d=i("%Object%"),h=i("%Number%"),f=i("%Symbol%",!0),p=i("%RegExp%"),v=!!f,b=n(173),m=n(174),y=n(175),g=h.MAX_SAFE_INTEGER||Math.pow(2,53)-1,O=n(148),k=n(176),_=n(177),D=n(299),w=parseInt,M=n(77),S=M.call(Function.call,l.prototype.slice),C=M.call(Function.call,u.prototype.slice),j=M.call(Function.call,p.prototype.test,/^0b[01]+$/i),P=M.call(Function.call,p.prototype.test,/^0o[0-7]+$/i),E=M.call(Function.call,p.prototype.exec),z=new p("["+["…","​","￾"].join("")+"]","g"),T=M.call(Function.call,p.prototype.test,z),I=M.call(Function.call,p.prototype.test,/^[-+]0x[0-9a-f]+$/i),x=M.call(Function.call,u.prototype.charCodeAt),H=M.call(Function.call,Object.prototype.toString),N=M.call(Function.call,i("%NumberPrototype%").valueOf),R=M.call(Function.call,i("%BooleanPrototype%").valueOf),L=M.call(Function.call,i("%StringPrototype%").valueOf),F=M.call(Function.call,i("%DatePrototype%").valueOf),A=Math.floor,V=Math.abs,B=Object.create,K=d.getOwnPropertyDescriptor,W=d.isExtensible,U=d.defineProperty,$=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),q=new RegExp("(^["+$+"]+)|(["+$+"]+$)","g"),G=M.call(Function.call,u.prototype.replace),Y=n(300),Z=n(302),X=O(O({},Y),{Call:function(e,t){var n=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new c(e+" is not a function");return e.apply(t,n)},ToPrimitive:o,ToNumber:function(e){var t=D(e)?e:o(e,h);if("symbol"==typeof t)throw new c("Cannot convert a Symbol value to a number");if("string"==typeof t){if(j(t))return this.ToNumber(w(C(t,2),2));if(P(t))return this.ToNumber(w(C(t,2),8));if(T(t)||I(t))return NaN;var n=function(e){return G(e,q,"")}(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(m(t)||0===t||!y(t))return 0;var n=k(t)*A(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=A(e);return n+.5g?g:t},CanonicalNumericIndexString:function(e){if("[object String]"!==H(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:Y.CheckObjectCoercible,IsArray:l.isArray||function(e){return"[object Array]"===H(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!D(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 A(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(v){var t=e[f.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 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");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 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=v&&f.species?n[f.species]:void 0;if(null==r)return t;if(this.IsConstructor(r))return r;throw new c("no constructor found")},CompletePropertyDescriptor:function(e){return b(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(v&&"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 c("P must be a Property Key");var n=S(arguments,2),r=this.GetV(e,t);return this.Call(r,e,n)},GetIterator:function(e,t){if(!v)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 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 E(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)&&v&&f.species&&null===(n=this.Get(n,f.species))&&(n=void 0)),void 0===n)return l(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=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 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");if((arguments.length<2?[]:t).length>0)throw new s("es-abstract does not yet support internal slots");if(null===e&&!B)throw new s("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 c("S must be a String");if(!this.IsInteger(t)||t<0||t>g)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=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 c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("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 c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");return!!U(e,t,n)},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:N(e)},thisBooleanValue:function(e){return"Boolean"===this.Type(e)?e:R(e)},thisStringValue:function(e){return"String"===this.Type(e)?e:L(e)},thisTimeValue:function(e){return F(e)}});delete X.CheckObjectCoercible,e.exports=X},function(e,t,n){"use strict";e.exports=n(296)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(170),a=n(147),i=n(297),c=n(171);e.exports=function(e){if(o(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=function(e,t){var n=e[t];if(null!=n){if(!a(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}}(e,Symbol.toPrimitive):c(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var s=t.call(e,n);if(o(s))return s;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||c(e))&&(n="string"),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,c="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(s(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:s(e)&&s(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&&(c(this,"Property Descriptor","Desc",e),!(!p(e,"[[Get]]")&&!p(e,"[[Set]]")))},IsDataDescriptor:function(e){return void 0!==e&&(c(this,"Property Descriptor","Desc",e),!(!p(e,"[[Value]]")&&!p(e,"[[Writable]]")))},IsGenericDescriptor:function(e){return void 0!==e&&(c(this,"Property Descriptor","Desc",e),!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e))},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(c(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=v},function(e,t,n){"use strict";var r=Object.prototype.toString,o=n(170),a=n(147),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,c=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(98),o=RegExp.prototype.exec,a=Object.getOwnPropertyDescriptor,i=Object.prototype.toString,c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c)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";e.exports=function(e,t){for(var n=0;n0?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,c){return r(function(r,s,l,u,d,h,f){var p=l[u],v=typeof p,b=function(e,t,n,r){var i=void 0===r,c=null===r;if(e){if(i)return o(n,t,"undefined");if(c)return o(n,t,"null")}return i||c?null:a}(r,d=d||n.anonymousMessage,f=f||u,p);if(b!==a)return b;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+u+"` of type `"+v+"` supplied to `"+d+"`, expected `"+e+"`.");if(!i(p))return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+v+"` supplied to `"+d+"`, expected `"+c+"`.");if(s&&!s(p)){var m=s.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+v+"` 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(317),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},c={};function s(e){return r.isMemo(e)?i:c[e.$$typeof]||o}c[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 c=s(t),v=s(n),b=0;b0&&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,c.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}();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,c.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,c.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=s},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)s[111+h]="f"+h;for(h=0;h<=9;++h)s[h+96]=h.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(){return this._handleKey.apply(this,arguments)},y.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);c=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 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 s[e.which]?s[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function v(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function b(e,t,n){return n||(n=function(){if(!c)for(var e in c={},s)e>95&&e<112||s.hasOwnProperty(e)&&(c[s[e]]=e);return c}()[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?h(e,c,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,h=!1;for(r=0;r0&&!o.call(e,0))for(var v=0;v0)for(var b=0;b= 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){l(e,n)&&u(r,["value"===t?e[n]:[n,e[n]]])}),r}throw new s('Assertion failed: "kind" is not "key", "value", or "key+value": '+t)}});delete d.EnumerableOwnNames,e.exports=d},function(e,t,n){"use strict";var r=n(98),o=n(295),a=n(146),i=n(107),c=i("%TypeError%"),s=i("%SyntaxError%"),l=i("%Array%"),u=i("%String%"),d=i("%Object%"),h=i("%Number%"),f=i("%Symbol%",!0),p=i("%RegExp%"),v=!!f,b=n(173),m=n(174),y=n(175),g=h.MAX_SAFE_INTEGER||Math.pow(2,53)-1,O=n(148),k=n(176),_=n(177),D=n(299),w=parseInt,M=n(77),S=M.call(Function.call,l.prototype.slice),C=M.call(Function.call,u.prototype.slice),j=M.call(Function.call,p.prototype.test,/^0b[01]+$/i),P=M.call(Function.call,p.prototype.test,/^0o[0-7]+$/i),E=M.call(Function.call,p.prototype.exec),z=new p("["+["…","​","￾"].join("")+"]","g"),T=M.call(Function.call,p.prototype.test,z),I=M.call(Function.call,p.prototype.test,/^[-+]0x[0-9a-f]+$/i),x=M.call(Function.call,u.prototype.charCodeAt),H=M.call(Function.call,Object.prototype.toString),N=M.call(Function.call,i("%NumberPrototype%").valueOf),R=M.call(Function.call,i("%BooleanPrototype%").valueOf),L=M.call(Function.call,i("%StringPrototype%").valueOf),F=M.call(Function.call,i("%DatePrototype%").valueOf),A=Math.floor,V=Math.abs,B=Object.create,K=d.getOwnPropertyDescriptor,W=d.isExtensible,U=d.defineProperty,$=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),q=new RegExp("(^["+$+"]+)|(["+$+"]+$)","g"),G=M.call(Function.call,u.prototype.replace),Y=n(300),Z=n(302),X=O(O({},Y),{Call:function(e,t){var n=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new c(e+" is not a function");return e.apply(t,n)},ToPrimitive:o,ToNumber:function(e){var t=D(e)?e:o(e,h);if("symbol"==typeof t)throw new c("Cannot convert a Symbol value to a number");if("string"==typeof t){if(j(t))return this.ToNumber(w(C(t,2),2));if(P(t))return this.ToNumber(w(C(t,2),8));if(T(t)||I(t))return NaN;var n=function(e){return G(e,q,"")}(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(m(t)||0===t||!y(t))return 0;var n=k(t)*A(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=A(e);return n+.5g?g:t},CanonicalNumericIndexString:function(e){if("[object String]"!==H(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:Y.CheckObjectCoercible,IsArray:l.isArray||function(e){return"[object Array]"===H(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!D(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 A(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(v){var t=e[f.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 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");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 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=v&&f.species?n[f.species]:void 0;if(null==r)return t;if(this.IsConstructor(r))return r;throw new c("no constructor found")},CompletePropertyDescriptor:function(e){return b(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(v&&"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 c("P must be a Property Key");var n=S(arguments,2),r=this.GetV(e,t);return this.Call(r,e,n)},GetIterator:function(e,t){if(!v)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 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 E(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)&&v&&f.species&&null===(n=this.Get(n,f.species))&&(n=void 0)),void 0===n)return l(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=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 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");if((arguments.length<2?[]:t).length>0)throw new s("es-abstract does not yet support internal slots");if(null===e&&!B)throw new s("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 c("S must be a String");if(!this.IsInteger(t)||t<0||t>g)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=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 c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("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 c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");return!!U(e,t,n)},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:N(e)},thisBooleanValue:function(e){return"Boolean"===this.Type(e)?e:R(e)},thisStringValue:function(e){return"String"===this.Type(e)?e:L(e)},thisTimeValue:function(e){return F(e)}});delete X.CheckObjectCoercible,e.exports=X},function(e,t,n){"use strict";e.exports=n(296)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(170),a=n(147),i=n(297),c=n(171);e.exports=function(e){if(o(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=function(e,t){var n=e[t];if(null!=n){if(!a(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}}(e,Symbol.toPrimitive):c(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var s=t.call(e,n);if(o(s))return s;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||c(e))&&(n="string"),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,c="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(s(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:s(e)&&s(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&&(c(this,"Property Descriptor","Desc",e),!(!p(e,"[[Get]]")&&!p(e,"[[Set]]")))},IsDataDescriptor:function(e){return void 0!==e&&(c(this,"Property Descriptor","Desc",e),!(!p(e,"[[Value]]")&&!p(e,"[[Writable]]")))},IsGenericDescriptor:function(e){return void 0!==e&&(c(this,"Property Descriptor","Desc",e),!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e))},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(c(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=v},function(e,t,n){"use strict";var r=Object.prototype.toString,o=n(170),a=n(147),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,c=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(98),o=RegExp.prototype.exec,a=Object.getOwnPropertyDescriptor,i=Object.prototype.toString,c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c)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";e.exports=function(e,t){for(var n=0;n0?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,c){return r(function(r,s,l,u,d,h,f){var p=l[u],v=typeof p,b=function(e,t,n,r){var i=void 0===r,c=null===r;if(e){if(i)return o(n,t,"undefined");if(c)return o(n,t,"null")}return i||c?null:a}(r,d=d||n.anonymousMessage,f=f||u,p);if(b!==a)return b;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+u+"` of type `"+v+"` supplied to `"+d+"`, expected `"+e+"`.");if(!i(p))return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+v+"` supplied to `"+d+"`, expected `"+c+"`.");if(s&&!s(p)){var m=s.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+v+"` 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(317),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},c={};function s(e){return r.isMemo(e)?i:c[e.$$typeof]||o}c[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 c=s(t),v=s(n),b=0;b2&&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),c=(r.day()+7-n)%7,s=(n+6-o.day())%7,l=r.clone().subtract(c,"day"),u=o.clone().add(s,"day").diff(l,"days")+1,d=l.clone(),h=[],f=0;f=c&&f=t||n<0||m&&e-v>=d}function k(){var e=o();if(O(e))return _(e);f=setTimeout(k,function(e){var n=t-(e-p);return m?s(n,d-(e-v)):n}(e))}function _(e){return f=void 0,y&&l?g(e):(l=u=void 0,h)}function D(){var e=o(),n=O(e);if(l=arguments,u=this,p=e,n){if(void 0===f)return function(e){return v=e,f=setTimeout(k,t),b?g(e):h}(p);if(m)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)&&(b=!!n.leading,d=(m="maxWait"in n)?c(a(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),D.cancel=function(){void 0!==f&&clearTimeout(f),v=0,l=p=u=f=void 0},D.flush=function(){return void 0===f?h:_(o())},D}},function(e,t,n){var r=n(204);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(67))},function(e,t,n){var r=n(153),o=n(339),a=NaN,i=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,s=/^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=s.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):c.test(e)?a:+e}},function(e,t,n){var r=n(340),o=n(343),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==a}},function(e,t,n){var r=n(205),o=n(341),a=n(342),i="[object Null]",c="[object Undefined]",s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?c:i:s&&s in Object(e)?o(e):a(e)}},function(e,t,n){var r=n(205),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[c]=n:delete e[c]),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),c=i[0],s=i[1],l=void 0===s?"center":s,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)},c={popoverTop:e.top,contentHeight:e.top-L-o>0?o:e.top-L},s={popoverTop:e.bottom,contentHeight:e.bottom+L+o>window.innerHeight?window.innerHeight-L-e.bottom:o},l=null;if("middle"===n&&i.contentHeight===o)r="middle";else if("top"===n&&c.contentHeight===o)r="top";else if("bottom"===n&&s.contentHeight===o)r="bottom";else{var u="top"==(r=c.contentHeight>s.contentHeight?"top":"bottom")?c.contentHeight:s.contentHeight;l=u!==o?u:null}return{yAxis:r,popoverTop:"middle"===r?i.popoverTop:"top"===r?c.popoverTop:s.popoverTop,contentHeight:l}}(e,t,c),d=function(e,t,n,r){var o=t.width;"left"===n&&A()?n="right":"right"===n&&A()&&(n="left");var a,i=Math.round(e.left+e.width/2),c={popoverLeft:i,contentWidth:(i-o/2>0?o/2:i)+(i+o/2>window.innerWidth?window.innerWidth-i:o/2)},s="middle"===r?e.left:i,l={popoverLeft:s,contentWidth:s-o>0?o:s},u="middle"===r?e.right:i,d={popoverLeft:u,contentWidth:u+o>window.innerWidth?window.innerWidth-u:o},h=null;if("center"===n&&c.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?c.popoverLeft:"left"===a?l.popoverLeft:d.popoverLeft,contentWidth:h}}(e,t,l,u.yAxis);return Object(r.a)({isMobile:F()&&o},d,u)}var B=Object(o.createContext)({focusHistory:[]}),K=B.Provider,W=B.Consumer;K.displayName="FocusReturnProvider",W.displayName="FocusReturnConsumer";var U=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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(D.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)(K,{value:this.state},Object(o.createElement)("div",{onFocus:this.onFocus,className:n},t))}}]),t}(o.Component);var $=Object(S.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?D.stubTrue:a;return function(e){var t=function(t){function n(){var e;return Object(b.a)(this,n),(e=Object(m.a)(this,Object(y.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)(D.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)(W,null,function(n){return Object(o.createElement)(t,{childProps:e,focus:n})})}}},"withFocusReturn"),q=Object(S.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(b.a)(this,n),(e=Object(m.a)(this,Object(y.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===w.TAB){var t=j.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"),G=function(e){function t(){return Object(b.a)(this,t),Object(m.a)(this,Object(y.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=z(G);var Z=function(e){var t,n,r=e.shortcut,a=e.className;return r?(Object(D.isString)(r)&&(t=r),Object(D.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(b.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).delayedSetIsOver=Object(D.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(D.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),c=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,c&&Object(o.createElement)(ye,{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(b.a)(this,t),Object(m.a)(this,Object(y.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,s=(t.ariaPressed,Object(T.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(P.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"},s),Object(o.createElement)(c,{d:e}))}}]),t}(o.Component);var ee=Object(o.forwardRef)(function(e,t){var n=e.icon,r=e.children,a=e.label,i=e.className,c=e.tooltip,s=e.shortcut,l=e.labelPosition,u=Object(T.a)(e,["icon","children","label","className","tooltip","shortcut","labelPosition"]),d=u["aria-pressed"],h=p()("components-icon-button",i,{"has-text":r}),f=c||a,v=!u.disabled&&(c||s||!!a&&(!r||Object(D.isArray)(r)&&!r.length)&&!1!==c),b=Object(o.createElement)(I,Object(P.a)({"aria-label":a},u,{className:h,ref:t}),Object(D.isString)(n)?Object(o.createElement)(J,{icon:n,ariaPressed:d}):n,r);return v&&(b=Object(o.createElement)(Q,{text:f,shortcut:s,position:l},b)),b});var te=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,c=0;function s(e){var t=n.scrollingElement||n.body;e&&(c=t.scrollTop);var r=e?"add":"remove";t.classList[r](a),n.documentElement.classList[r](a),e||(t.scrollTop=c)}return function(e){function t(){return Object(b.a)(this,t),Object(m.a)(this,Object(y.a)(t).apply(this,arguments))}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidMount",value:function(){0===i&&s(!0),++i}},{key:"componentWillUnmount",value:function(){1===i&&s(!1),--i}},{key:"render",value:function(){return null}}]),t}(o.Component)}(),ne=function(e){function t(e){var n;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(y.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(T.a)(e,["children"]);return Object(o.createElement)("div",Object(P.a)({},n,{onMouseDown:this.stopEventPropagationOutsideContainer}),t)}}]),t}(o.Component),re=Object(o.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),oe=re.Provider,ae=re.Consumer,ie=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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(D.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(D.sortBy)(this.fills[e],"occurrence")}},{key:"resetFillOccurrence",value:function(e){Object(D.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(D.without)(t.listeners,e)}}},{key:"render",value:function(){return Object(o.createElement)(oe,{value:this.contextValue},this.props.children)}}]),t}(o.Component),ce=function(e){var t=Object(o.useContext)(re),n=t.getSlot,r=t.subscribe,a=Object(o.useState)(n(e)),i=Object(h.a)(a,2),c=i[0],s=i[1];return Object(o.useEffect)(function(){return s(n(e)),r(function(){s(n(e))})},[e]),c},se=ie,le=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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,c=void 0===i?{}:i,s=e.getFills,l=e.className;if(a)return Object(o.createElement)("div",{ref:this.bindNode,className:l});var u=Object(D.map)(s(n,this),function(e){var t=e.occurrence,n=Object(D.isFunction)(e.children)?e.children(c):e.children;return o.Children.map(n,function(e,n){if(!e||Object(D.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return Object(o.cloneElement)(e,{key:r})})}).filter(Object(D.negate)(o.isEmptyElement));return Object(o.createElement)(o.Fragment,null,Object(D.isFunction)(t)?t(u):u)}}]),t}(o.Component),ue=function(e){return Object(o.createElement)(ae,null,function(t){var n=t.registerSlot,r=t.unregisterSlot,a=t.getFills;return Object(o.createElement)(le,Object(P.a)({},e,{registerSlot:n,unregisterSlot:r,getFills:a}))})},de=0;function he(e){var t=e.name,n=e.children,r=e.registerFill,a=e.unregisterFill,i=ce(t),c=Object(o.useRef)({name:t,children:n});return c.current.occurrence||(c.current.occurrence=++de),Object(o.useLayoutEffect)(function(){return r(t,c.current),function(){return a(t,c.current)}},[]),Object(o.useLayoutEffect)(function(){c.current.children=n,i&&!i.props.bubblesVirtually&&i.forceUpdate()},[n]),Object(o.useLayoutEffect)(function(){t!==c.current.name&&(a(c.current.name,c.current),c.current.name=t,r(t,c.current))},[t]),i&&i.node&&i.props.bubblesVirtually?(Object(D.isFunction)(n)&&(n=n(i.props.fillProps)),Object(o.createPortal)(n,i.node)):null}var fe=function(e){return Object(o.createElement)(ae,null,function(t){var n=t.registerFill,r=t.unregisterFill;return Object(o.createElement)(he,Object(P.a)({},e,{registerFill:n,unregisterFill:r}))})};function pe(e){var t=function(t){return Object(o.createElement)(fe,Object(P.a)({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(o.createElement)(ue,Object(P.a)({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var ve=q($(function(e){return e.children}));function be(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),function(){window.removeEventListener("resize",r),window.removeEventListener("scroll",r)}},[])}var me=function(e){var t=e.headerTitle,n=e.onClose,r=e.onKeyDown,a=e.children,i=e.className,c=e.noArrow,s=void 0!==c&&c,l=e.position,u=void 0===l?"top":l,d=(e.range,e.focusOnMount),f=void 0===d?"firstElement":d,b=e.anchorRect,m=e.getAnchorRect,y=e.expandOnMobile,g=e.animate,O=void 0===g||g,k=e.onClickOutside,_=e.onFocusOutside,D=Object(T.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","position","range","focusOnMount","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside"]),M=Object(o.useRef)(null),S=Object(o.useRef)(null),C=Object(o.useState)(!1),E=Object(h.a)(C,2),z=E[0],I=E[1],x=function(e,t,n,r){var a=Object(o.useState)(null),i=Object(h.a)(a,2),c=i[0],s=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}}!H()(t,c)&&s(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]),be(l,t),c}(M,S,b,m),N=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}(S);Object(o.useEffect)(function(){N&&I(!0)},[N]);var L=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}),c=Object(h.a)(i,2),s=c[0],l=c[1],u=function(){if(e&&t){var o=V(e,t,n,r);s.yAxis===o.yAxis&&s.xAxis===o.xAxis&&s.popoverLeft===o.popoverLeft&&s.popoverTop===o.popoverTop&&s.contentHeight===o.contentHeight&&s.contentWidth===o.contentWidth&&s.isMobile===o.isMobile||l(o)}};return Object(o.useEffect)(u,[e,t]),be(u,a),s}(x,N,u,y,S);!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=j.focus.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}},0);return function(){return clearTimeout(n)}},[])}(f,S);var F=function(e){e.keyCode===w.ESCAPE&&n&&(e.stopPropagation(),n()),r&&r(e)};var A={top:"bottom",bottom:"top"}[L.yAxis]||"middle",B={left:"right",right:"left"}[L.xAxis]||"center",K=p()("components-popover",i,"is-"+L.yAxis,"is-"+L.xAxis,{"is-mobile":L.isMobile,"is-without-arrow":s||"center"===L.xAxis&&"middle"===L.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}}),R()("Popover onClickOutside prop",{alternative:"onFocusOutside"}),k(t)}else n&&n()}},Object(o.createElement)(v,{type:O&&z?"appear":null,options:{origin:A+" "+B}},function(e){var r=e.className;return Object(o.createElement)(ne,Object(P.a)({className:p()(K,r),style:{top:!L.isMobile&&L.popoverTop?L.popoverTop+"px":void 0,left:!L.isMobile&&L.popoverLeft?L.popoverLeft+"px":void 0,visibility:N?void 0:"hidden"}},D,{onKeyDown:F}),L.isMobile&&Object(o.createElement)("div",{className:"components-popover__header"},Object(o.createElement)("span",{className:"components-popover__header-title"},t),Object(o.createElement)(ee,{className:"components-popover__close",icon:"no-alt",onClick:n})),Object(o.createElement)("div",{ref:S,className:"components-popover__content",style:{maxHeight:!L.isMobile&&L.contentHeight?L.contentHeight+"px":void 0,maxWidth:!L.isMobile&&L.contentWidth?L.contentWidth+"px":void 0},tabIndex:"-1"},a))}));return f&&(W=Object(o.createElement)(ve,null,W)),Object(o.createElement)(ae,null,function(e){var t=e.getSlot;return t&&t("Popover")&&(W=Object(o.createElement)(fe,{name:"Popover"},W)),Object(o.createElement)("span",{ref:M},W,L.isMobile&&y&&Object(o.createElement)(te,null))})};me.Slot=function(){return Object(o.createElement)(ue,{bubblesVirtually:!0,name:"Popover"})};var ye=me,ge=n(46),Oe=Object(S.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(b.a)(this,n),(e=Object(m.a)(this,Object(y.a)(n).apply(this,arguments))).debouncedSpeak=Object(D.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(ge.speak)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(o.createElement)(e,Object(P.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(o.Component)},"withSpokenMessages");function ke(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,b=v?"components-autocomplete-listbox-".concat(r):null,m=v?"components-autocomplete-item-".concat(r,"-").concat(d):null;return Object(o.createElement)("div",{ref:this.bindNode,onClick:this.resetWhenSuppressed,className:"components-autocomplete"},n({isExpanded:v,listBoxId:b,activeId:m}),v&&Object(o.createElement)(ye,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",getAnchorRect:_e},Object(o.createElement)("div",{id:b,role:"listbox",className:"components-autocomplete__results"},v&&Object(D.map)(l,function(t,n){return Object(o.createElement)(I,{key:t.key,id:"components-autocomplete-item-".concat(r,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:p()("components-autocomplete__result",f,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(o.Component),we=Object(S.compose)([Oe,S.withInstanceId,z])(De);function Me(e){var t=e.id,n=e.label,r=e.hideLabelFromVision,a=e.help,i=e.className,c=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),c),!!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 Se=Me;var Ce=function(e){var t=e.className,n=Object(T.a)(e,["className"]),r=p()("components-button-group",t);return Object(o.createElement)("div",Object(P.a)({},n,{className:r,role:"group"}))};var je=Object(S.withInstanceId)(function(e){var t=e.label,n=e.className,r=e.heading,a=e.checked,i=e.help,c=e.instanceId,s=e.onChange,l=Object(T.a)(e,["label","className","heading","checked","help","instanceId","onChange"]),u="inspector-checkbox-control-".concat(c);return Object(o.createElement)(Se,{label:r,id:u,help:i,className:n},Object(o.createElement)("span",{className:"components-checkbox-control__input-container"},Object(o.createElement)("input",Object(P.a)({id:u,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return s(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))}),Pe=n(232),Ee=n.n(Pe),ze=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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 Ee.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(T.a)(e,["className","children","onCopy","onFinishCopy","text"])),a=r.icon,i=p()("components-clipboard-button",t),c=a?ee:I;return Object(o.createElement)("span",{ref:this.bindContainer,onCopy:function(e){e.target.focus()}},Object(o.createElement)(c,Object(P.a)({},r,{className:i}),n))}}]),t}(o.Component),Te=function(e){var t=e.className,n=e.colorValue,r=Object(T.a)(e,["className","colorValue"]);return Object(o.createElement)("span",Object(P.a)({className:p()("component-color-indicator",t),style:{background:n}},r))},Ie=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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,c=t.className,s=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:c,ref:this.containerRef},r(f),e&&Object(o.createElement)(ye,Object(P.a)({className:s,position:i,onClose:this.close,onFocusOutside:this.closeIfFocusOutside,expandOnMobile:l,headerTitle:u,focusOnMount:d},h),n(f)))}}]),t}(o.Component),xe=n(49),He=n.n(xe);function Ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?He()(e.hex):He()(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,c="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=c-(r+window.pageXOffset),u=s-(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&&He()(e).isValid()}var Fe=n(233),Ae=n.n(Fe);n(284);var Ve=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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 Ae.a(n),Object(D.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),Be=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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?D.noop:r;e=parseInt(100*e,10),o({h:n.h,s:n.s,l:n.l,a:(parseInt(100*n.a,10)+e)/100,source:"rgb"})}},{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?D.noop:r,a=parseInt(100*n.a,10)-parseInt(100*e,10);o({h:n.h,s:n.s,l:n.l,a:n.a<=e?0:a/100,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.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!==w.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)(Ve,{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(M.__)("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:a,onKeyDown:this.preventKeyEvents}))))}}]),t}(o.Component),Ke=Object(S.pure)(Be),We=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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;(void 0===r?D.noop:r)({h:n.h+e>=359?359:n.h+e,s:n.s,l:n.l,a:n.a,source:"rgb"})}},{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;(void 0===r?D.noop:r)({h:n.h<=e?0:n.h-e,s:n.s,l:n.l,a:n.a,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.noop:t,r=function(e,t,n){var r=Re(e,n),o=r.left,a=r.width,i=o>=a?359:100*o/a*360/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!==w.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,"%")},c={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)(Ve,{shortcuts:c},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(M.__)("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(M.__)("Move the arrow left or right to change hue.")))))}}]),t}(o.Component),Ue=Object(S.compose)(S.pure,S.withInstanceId)(We);var $e=Object(S.withInstanceId)(function(e){var t=e.label,n=e.hideLabelFromVision,r=e.value,a=e.help,i=e.className,c=e.instanceId,s=e.onChange,l=e.type,u=void 0===l?"text":l,d=Object(T.a)(e,["label","hideLabelFromVision","value","help","className","instanceId","onChange","type"]),h="inspector-text-control-".concat(c);return Object(o.createElement)(Se,{label:t,hideLabelFromVision:n,id:h,help:a,className:i},Object(o.createElement)("input",Object(P.a)({className:"components-text-control__input",type:u,id:h,value:r,onChange:function(e){return s(e.target.value)},"aria-describedby":a?h+"__help":void 0},d)))}),qe=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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===w.ENTER||t===w.UP||t===w.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(T.a)(t,["label","value"]);return Object(o.createElement)($e,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(D.omit)(a,["onChange","valueKey","source"])))}}]),t}(o.Component),Ge=Object(S.pure)(ee),Ye=function(e){function t(e){var n,r=e.hsl;Object(b.a)(this,t),n=Object(m.a)(this,Object(y.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(ge.speak)(Object(M.__)("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"},this.resetDraftValues),Object(ge.speak)(Object(M.__)("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"},this.resetDraftValues),Object(ge.speak)(Object(M.__)("Hex color mode active"))):(this.setState({view:"rgb"},this.resetDraftValues),Object(ge.speak)(Object(M.__)("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(M.__)("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(M.__)("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(M.__)("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)(Ge,{icon:"arrow-down-alt2",label:Object(M.__)("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),Ze=function(e){function t(e){var n;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).call(this,e))).throttle=Object(D.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?D.noop:r,a=Object(D.clamp)(n.s+Math.round(100*e),0,100);o({h:n.h,s:a,v:n.v,a:n.a,source:"rgb"})}},{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?D.noop:r,a=Object(D.clamp)(n.v+Math.round(100*e),0,100);o({h:n.h,s:n.s,v:a,a:n.a,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.noop:t,r=function(e,t,n){var r=Re(e,n),o=r.top,a=r.left,i=r.width,c=r.height,s=a<0?0:100*a/i,l=o>=c?0:-100*o/c+100;return l<1&&(l=0),{h:t.hsl.h,s:s,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!==w.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,"%")},c={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)(Ve,{shortcuts:c},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(M.__)("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(M.__)("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),Xe=Object(S.compose)(S.pure,S.withInstanceId)(Ze),Qe=function(e){return String(e).toLowerCase()},Je=function(e){return e.hex?Le(e.hex):(t=e,n=0,r=0,Object(D.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},et=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)))},tt=function(e){function t(e){var n,o=e.color,a=void 0===o?"0071a1":o;Object(b.a)(this,t),n=Object(m.a)(this,Object(y.a)(t).apply(this,arguments));var i=Ne(a);return n.state=Object(r.a)({},i,{draftHex:Qe(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?D.noop:o;if(Je(e)){var i=Ne(e,e.h||n);this.setState(Object(r.a)({},i,{draftHex:Qe(i.hex),draftHsl:i.hsl,draftRgb:i.rgb}),Object(D.debounce)(Object(D.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:Qe(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=et(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(et(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,c=r.hsv,s=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)(Xe,{hsl:i,hsv:c,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)(Ke,{rgb:s,hsl:i,onChange:this.commitValues}))),Object(o.createElement)(Ye,{rgb:d,hsl:u,hex:l,onChange:this.handleInputChange,disableAlpha:n})))}}]),t}(o.Component);function nt(e){var t=e.colors,n=e.disableCustomColors,r=void 0!==n&&n,a=e.value,i=e.onChange,c=e.className,s=e.clearable,l=void 0===s||s;function u(e){return function(){return i(a===e?void 0:e)}}var d=Object(M.__)("Custom color picker"),h=p()("components-color-palette",c);return Object(o.createElement)("div",{className:h},Object(D.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(M.sprintf)(Object(M.__)("Color code: %s"),t)},Object(o.createElement)("button",{type:"button",className:i,style:r,onClick:u(t),"aria-label":n?Object(M.sprintf)(Object(M.__)("Color: %s"),n):Object(M.sprintf)(Object(M.__)("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)(Ie,{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)(I,{"aria-expanded":t,onClick:n,"aria-label":d,isLink:!0},Object(M.__)("Custom Color"))},renderContent:function(){return Object(o.createElement)(tt,{color:a,onChangeComplete:function(e){return i(e.hex)},disableAlpha:!0})}}),!!l&&Object(o.createElement)(I,{className:"components-color-palette__clear",type:"button",onClick:function(){return i(void 0)},isSmall:!0,isDefault:!0},Object(M.__)("Clear"))))}n(285);var rt=n(29),ot=n.n(rt),at=n(234),it=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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?ot()(n):ot()(),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?ot()(e):ot()()}},{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)(at.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(b.a)(this,t),(e=Object(m.a)(this,Object(y.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?ot()(t):ot()(),o=r.format("DD"),a=r.format("MM"),i=r.format("YYYY"),c=r.format("mm"),s=r.format("A"),l=r.format(n?"hh":"HH"),u=t?ot()(t):ot()();this.setState({day:o,month:a,year:i,minutes:c,hours:l,am:s,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(D.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(D.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(D.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(D.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(D.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(M.__)("Month"),className:"components-datetime__time-field-month-select",value:e,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(o.createElement)("option",{value:"01"},Object(M.__)("January")),Object(o.createElement)("option",{value:"02"},Object(M.__)("February")),Object(o.createElement)("option",{value:"03"},Object(M.__)("March")),Object(o.createElement)("option",{value:"04"},Object(M.__)("April")),Object(o.createElement)("option",{value:"05"},Object(M.__)("May")),Object(o.createElement)("option",{value:"06"},Object(M.__)("June")),Object(o.createElement)("option",{value:"07"},Object(M.__)("July")),Object(o.createElement)("option",{value:"08"},Object(M.__)("August")),Object(o.createElement)("option",{value:"09"},Object(M.__)("September")),Object(o.createElement)("option",{value:"10"},Object(M.__)("October")),Object(o.createElement)("option",{value:"11"},Object(M.__)("November")),Object(o.createElement)("option",{value:"12"},Object(M.__)("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(M.__)("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(M.__)("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(M.__)("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(M.__)("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(M.__)("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(M.__)("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)(I,{"aria-pressed":"AM"===i,isDefault:!0,className:"components-datetime__time-am-button",isToggled:"AM"===i,onClick:this.updateAmPm("AM")},Object(M.__)("AM")),Object(o.createElement)(I,{"aria-pressed":"PM"===i,isDefault:!0,className:"components-datetime__time-pm-button",isToggled:"PM"===i,onClick:this.updateAmPm("PM")},Object(M.__)("PM"))))))}}]),t}(o.Component),st=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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)(it,{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(M.__)("Click to Select")),Object(o.createElement)("ul",null,Object(o.createElement)("li",null,Object(M.__)("Click the right or left arrows to select other months in the past or the future.")),Object(o.createElement)("li",null,Object(M.__)("Click the desired day to select it."))),Object(o.createElement)("h4",null,Object(M.__)("Navigating with a keyboard")),Object(o.createElement)("ul",null,Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(M._x)("Enter","keyboard button")},"↵")," ",Object(o.createElement)("span",null,Object(M.__)("Select the date in focus."))),Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(M.__)("Left and Right Arrows")},"←/→")," ",Object(M.__)("Move backward (left) or forward (right) by one day.")),Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(M.__)("Up and Down Arrows")},"↑/↓")," ",Object(M.__)("Move backward (up) or forward (down) by one week.")),Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(M.__)("Page Up and Page Down")},Object(M.__)("PgUp/PgDn"))," ",Object(M.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(M.__)("Home and End")},Object(M.__)("Home/End"))," ",Object(M.__)("Go to the first (home) or last (end) day of a week."))),Object(o.createElement)(I,{isSmall:!0,onClick:this.onClickDescriptionToggle},Object(M.__)("Close")))),!this.state.calendarHelpIsVisible&&Object(o.createElement)(I,{className:"components-datetime__date-help-button",isLink:!0,onClick:this.onClickDescriptionToggle},Object(M.__)("Calendar Help")))}}]),t}(o.Component),lt=Object(o.createContext)(!1),ut=lt.Consumer,dt=lt.Provider,ht=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],ft=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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(D.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(){j.focus.focusable.find(this.node).forEach(function(e){Object(D.includes)(ht,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(T.a)(e,["className"]);return Object(o.createElement)(dt,{value:!0},Object(o.createElement)("div",Object(P.a)({ref:this.bindNode,className:p()(t,"components-disabled")},n),this.props.children))}}]),t}(o.Component);ft.Consumer=ut;var pt=ft,vt=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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?D.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?D.noop:o,i=document.getElementById(n);if(i){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 s=i.getBoundingClientRect(),l=i.parentNode,u=parseInt(s.top,10),d=parseInt(s.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(s.width+40,"px"),s.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),bt=Object(S.withSafeTimeout)(vt),mt=Object(o.createContext)({addDropZone:function(){},removeDropZone:function(){}}),yt=mt.Provider,gt=mt.Consumer,Ot=function(e){var t=e.dataTransfer;if(t){if(Object(D.includes)(t.types,"Files"))return"file";if(Object(D.includes)(t.types,"text/html"))return"html"}return"default"},kt=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},_t=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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(D.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(D.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(D.filter)(this.dropZones,function(e){return kt(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(D.find)(o,function(e){return!Object(D.some)(o,function(t){return t!==e&&e.element.parentElement.contains(t.element)})}),i=this.dropZones.indexOf(a),c=null;if(a){var s=a.element.getBoundingClientRect();c={x:r.clientX-s.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,c=void 0===i?D.noop:i,s=n.stopNavigationEvents,l=a(e);if(void 0!==l&&s&&(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,c=void 0!==i&&i,s=e.icon,l=void 0===s?"menu":s,u=e.label,d=e.popoverProps,h=e.toggleProps,f=e.menuProps,v=e.menuLabel,b=e.position;if(v&&R()("`menuLabel` prop in `DropdownComponent`",{alternative:"`menuProps` object and its `aria-label` property",plugin:"Gutenberg"}),b&&R()("`position` prop in `DropdownComponent`",{alternative:"`popoverProps` object and its `position` property",plugin:"Gutenberg"}),Object(D.isEmpty)(a)&&!Object(D.isFunction)(n))return null;Object(D.isEmpty)(a)||(t=a,Array.isArray(t[0])||(t=[t]));var m=Et({className:"components-dropdown-menu__popover",position:b},d);return Object(o.createElement)(Ie,{className:p()("components-dropdown-menu",r),popoverProps:m,renderToggle:function(e){var t=e.isOpen,n=e.onToggle,r=Et({className:p()("components-dropdown-menu__toggle",{"is-opened":t}),tooltip:u},h);return Object(o.createElement)(ee,Object(P.a)({},r,{icon:l,onClick:n,onKeyDown:function(e){t||e.keyCode!==w.DOWN||(e.preventDefault(),e.stopPropagation(),n())},"aria-haspopup":"true","aria-expanded":t,label:u}),(!l||c)&&Object(o.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(e){var r=Et({"aria-label":v||u,className:"components-dropdown-menu__menu"},f);return Object(o.createElement)(jt,Object(P.a)({},r,{role:"menu"}),Object(D.isFunction)(n)?n(e):null,Object(D.flatMap)(t,function(t,n){return t.map(function(t,r){return Object(o.createElement)(ee,{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 Tt=Object(o.forwardRef)(function(e,t){var n=e.href,r=e.children,a=e.className,i=e.rel,c=void 0===i?"":i,s=Object(T.a)(e,["href","children","className","rel"]);c=Object(D.uniq)(Object(D.compact)([].concat(Object(_.a)(c.split(" ")),["external","noreferrer","noopener"]))).join(" ");var l=p()("components-external-link",a);return Object(o.createElement)("a",Object(P.a)({},s,{className:l,href:n,target:"_blank",rel:c,ref:t}),r,Object(o.createElement)("span",{className:"screen-reader-text"},Object(M.__)("(opens in a new tab)")),Object(o.createElement)(J,{icon:"external",className:"components-external-link__icon"}))}),It=function(e){function t(e){var n;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(y.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},c=Math.max(r.left,Math.min(i.left,r.right)),s=Math.max(r.top,Math.min(i.top,r.bottom)),l={x:(c-r.left)/(a.width-2*r.left),y:(s-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,s=t.help,l=t.className,d=this.state,h=d.bounds,f=d.isDragging,v=d.percentages,b=this.pickerDimensions(),m={left:a.x*(b.width-2*h.left)+h.left,top:a.y*(b.height-2*h.top)+h.top},y={left:"".concat(m.left,"px"),top:"".concat(m.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)(Se,{label:i,id:O,help:s,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:y},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)(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(o.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(o.createElement)("div",{className:"components-focal-point-picker_position-display-container"},Object(o.createElement)(Se,{label:Object(M.__)("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(v.x)}),Object(o.createElement)("span",null,"%")),Object(o.createElement)(Se,{label:Object(M.__)("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(v.y)}),Object(o.createElement)("span",null,"%"))))}}]),t}(o.Component);It.defaultProps={url:null,value:{x:.5,y:.5},onChange:function(){}};var xt=Object(S.compose)([S.withInstanceId,z])(It),Ht=window.FocusEvent,Nt=function(e){function t(e){var n;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(y.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 Ht("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(o.createElement)("iframe",Object(P.a)({ref:this.node},Object(D.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(o.Component),Rt=Object(S.withGlobalEvents)({blur:"checkFocus"})(Nt);var Lt=Object(S.compose)([S.withInstanceId,Object(S.withState)({currentInput:null})])(function(e){var t=e.className,n=e.currentInput,r=e.label,a=e.value,i=e.instanceId,c=e.onChange,s=e.beforeIcon,l=e.afterIcon,u=e.help,d=e.allowReset,h=e.initialPosition,f=e.min,v=e.max,b=e.setState,m=Object(T.a)(e,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","setState"]),y="inspector-range-control-".concat(i),g=null===n?a:n,O=function(){null!==n&&b({currentInput:null})},k=function(e){var t=e.target.value;e.target.checkValidity()?(O(),c(""===t?void 0:parseFloat(t))):b({currentInput:t})},_=Object(D.isFinite)(g)?g:h||"";return Object(o.createElement)(Se,{label:r,id:y,help:u,className:p()("components-range-control",t)},s&&Object(o.createElement)(J,{icon:s}),Object(o.createElement)("input",Object(P.a)({className:"components-range-control__slider",id:y,type:"range",value:_,onChange:k,"aria-describedby":u?y+"__help":void 0,min:f,max:v},m)),l&&Object(o.createElement)(J,{icon:l}),Object(o.createElement)("input",Object(P.a)({className:"components-range-control__number",type:"number",onChange:k,"aria-label":r,value:g,min:f,max:v,onBlur:O},m)),d&&Object(o.createElement)(I,{onClick:function(){O(),c()},disabled:void 0===a,isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(M.__)("Reset")))});var Ft=Object(S.withInstanceId)(function(e){var t=e.help,n=e.instanceId,r=e.label,a=e.multiple,i=void 0!==a&&a,c=e.onChange,s=e.options,l=void 0===s?[]:s,u=e.className,d=e.hideLabelFromVision,h=Object(T.a)(e,["help","instanceId","label","multiple","onChange","options","className","hideLabelFromVision"]),f="inspector-select-control-".concat(n);return!Object(D.isEmpty)(l)&&Object(o.createElement)(Se,{label:r,hideLabelFromVision:d,id:f,help:t,className:u},Object(o.createElement)("select",Object(P.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});c(t)}else c(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 At(e,t){if(t){var n=e.find(function(e){return e.size===t});return n?n.slug:"custom"}return"normal"}var Vt=function(e){var t,n=e.fallbackFontSize,r=e.fontSizes,a=void 0===r?[]:r,i=e.disableCustomFontSizes,c=void 0!==i&&i,s=e.onChange,l=e.value,u=e.withSlider,d=void 0!==u&&u,f=Object(o.useState)(At(a,l)),p=Object(h.a)(f,2),v=p[0],b=p[1];return c&&!a.length?null:Object(o.createElement)("fieldset",null,Object(o.createElement)("legend",null,Object(M.__)("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:v,onChange:function(e){b(e);var t=a.find(function(t){return t.slug===e});t&&s(t.size)},options:(t=a,[].concat(Object(_.a)(t.map(function(e){return{value:e.slug,label:e.name}})),[{value:"custom",label:Object(M.__)("Custom")}]))}),!d&&!c&&Object(o.createElement)("input",{className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value;b(At(a,Number(t))),s(""!==t?Number(t):void 0)},"aria-label":Object(M.__)("Custom"),value:l||""}),Object(o.createElement)(I,{className:"components-color-palette__clear",type:"button",disabled:void 0===l,onClick:function(){s(void 0),b(At(a,void 0))},isSmall:!0,isDefault:!0},Object(M.__)("Reset"))),d&&Object(o.createElement)(Lt,{className:"components-font-size-picker__custom-input",label:Object(M.__)("Custom Size"),value:l||"",initialPosition:n,onChange:s,min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))},Bt=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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,c=void 0!==i&&i,s=e.onChange,l=e.render,u=Object(T.a)(e,["accept","children","icon","multiple","onChange","render"]),d=l?l({openFileDialog:this.openFileDialog}):Object(o.createElement)(ee,Object(P.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:c,style:{display:"none"},accept:t,onChange:s}))}}]),t}(o.Component);var Kt=function(e){var t=e.className,n=e.checked,r=e.id,a=e.onChange,i=void 0===a?D.noop:a,s=Object(T.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(P.a)({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:i},s)),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)(c,{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)(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"})))},Wt=n(31);var Ut=Object(S.withInstanceId)(function(e){var t=e.value,n=e.status,r=e.title,a=e.displayTransform,i=e.isBorderless,c=void 0!==i&&i,s=e.disabled,l=void 0!==s&&s,u=e.onClickRemove,d=void 0===u?D.noop:u,h=e.onMouseEnter,f=e.onMouseLeave,v=e.messages,b=e.termPosition,m=e.termsCount,y=e.instanceId,g=p()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":c,"is-disabled":l}),O=a(t),k=Object(M.sprintf)(Object(M.__)("%1$s (%2$s of %3$s)"),O,b,m);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(y)},Object(o.createElement)("span",{className:"screen-reader-text"},k),Object(o.createElement)("span",{"aria-hidden":"true"},O)),Object(o.createElement)(ee,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!l&&function(){return d({value:t})},label:v.remove,"aria-describedby":"components-form-token-field__token-text-".concat(y)}))}),$t=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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(T.a)(e,["value","isExpanded","instanceId","selectedSuggestionIndex"]),c=t.length+1;return Object(o.createElement)("input",Object(P.a)({ref:this.bindInput,id:"components-form-token-input-".concat(r),type:"text"},i,{value:t,onChange:this.onChange,size:c,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(71),Gt=n.n(qt),Yt=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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,Gt()(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(D.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);Yt.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var Zt=Object(S.withSafeTimeout)(Yt),Xt={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},Qt=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state=Xt,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=!H()(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(Xt)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case w.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case w.ENTER:t=this.addCurrentToken();break;case w.LEFT:t=this.handleLeftArrowKey();break;case w.UP:t=this.handleUpArrowKey();break;case w.RIGHT:t=this.handleRightArrowKey();break;case w.DOWN:t=this.handleDownArrowKey();break;case w.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case w.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case w.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(D.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(D.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(Wt.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)(e),a=[],i=[];return 0===o.length?t=Object(D.difference)(t,n):(o=o.toLocaleLowerCase(),Object(D.each)(t,function(e){var t=e.toLocaleLowerCase().indexOf(o);-1===n.indexOf(e)&&(0===t?a.push(e):t>0&&i.push(e))}),t=a.concat(i)),Object(D.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(D.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};(e&&(a.selectedSuggestionIndex=-1,a.selectedSuggestionScroll=!1),this.setState(a),n)&&(0,this.props.debouncedSpeak)(o?Object(M.sprintf)(Object(M._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(M.__)("No results."),"assertive")}},{key:"renderTokensAndInput",value:function(){var e=Object(D.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,c=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:c,termPosition:i})}},{key:"renderInput",value:function(){var e=this.props,t=e.autoCapitalize,n=e.autoComplete,a=e.maxLength,i=e.value,c={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||(c=Object(r.a)({},c,{onChange:this.onInputChange})),Object(o.createElement)($t,c)}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.label,r=void 0===n?Object(M.__)("Add item"):n,a=e.instanceId,i=e.className,c=this.state.isExpanded,s=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:s,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),c&&Object(o.createElement)(Zt,{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(M.__)("Separate with commas, spaces, or the Enter key."):Object(M.__)("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);Qt.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:D.identity,saveTransform:function(e){return e.trim()},onChange:function(){},onInputChange:function(){},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:Object(M.__)("Item added."),removed:Object(M.__)("Item removed."),remove:Object(M.__)("Remove item")}};var Jt=Oe(Object(S.withInstanceId)(Qt));var en=function(e){var t,n=e.icon,a=void 0===n?null:n,i=e.size,c=Object(T.a)(e,["icon","size"]);if("string"==typeof a)return t=i||20,Object(o.createElement)(J,Object(P.a)({icon:a,size:t},c));if(t=i||24,"function"==typeof a)return a.prototype instanceof o.Component?Object(o.createElement)(a,Object(r.a)({size:t},c)):a(Object(r.a)({size:t},c));if(a&&("svg"===a.type||a.type===u)){var s=Object(r.a)({width:t,height:t},a.props,c);return Object(o.createElement)(u,s)}return Object(o.isValidElement)(a)?Object(o.cloneElement)(a,Object(r.a)({size:t},c)):a};var tn=Object(S.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 c="components-menu-group-label-".concat(a),s=p()(r,"components-menu-group");return Object(o.createElement)("div",{className:s},i&&Object(o.createElement)("div",{className:"components-menu-group__label",id:c,"aria-hidden":"true"},i),Object(o.createElement)("div",{role:"group","aria-labelledby":i?c:null},t))});var nn=function(e){var t=e.children,n=e.info,r=e.className,a=e.icon,i=e.shortcut,c=e.isSelected,s=e.role,l=void 0===s?"menuitem":s,u=Object(T.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(D.isString)(a)&&(a=Object(o.cloneElement)(a,{className:"components-menu-items__item-icon",height:20,width:20})),Object(o.createElement)(ee,Object(P.a)({icon:a,"aria-checked":"menuitemcheckbox"===l||"menuitemradio"===l?c: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(b.a)(this,t),(e=Object(m.a)(this,Object(y.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=j.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===w.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,c=e.children,s=e.className,l=e.role,u=e.style;return Object(o.createElement)(ne,{className:p()("components-modal__screen-overlay",t),onKeyDown:this.handleKeyDown},Object(o.createElement)("div",{className:p()("components-modal__frame",s),style:u,ref:this.containerRef,role:l,"aria-label":n,"aria-labelledby":n?null:i,"aria-describedby":a,tabIndex:"-1"},c))}}]),t}(o.Component),an=Object(S.compose)([$,q,z])(on),cn=function(e){var t=e.icon,n=e.title,r=e.onClose,a=e.closeLabel,i=e.headingId,c=e.isDismissable,s=a||Object(M.__)("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)),c&&Object(o.createElement)(ee,{onClick:r,icon:"no-alt",label:s}))},sn=new Set(["alert","status","log","marquee","timer"]),ln=[],un=!1;function dn(e){if(!un){var t=document.body.children;Object(D.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")||sn.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(b.a)(this,t),(n=Object(m.a)(this,Object(y.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(D.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,c=e.aria,s=e.instanceId,l=e.isDismissable,u=Object(T.a)(e,["onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissable"]),d=c.labelledby||"components-modal-header-".concat(s);return Object(o.createPortal)(Object(o.createElement)(an,Object(P.a)({onRequestClose:t,aria:{labelledby:n?d:null,describedby:c.describedby}},u),Object(o.createElement)("div",{className:"components-modal__content",tabIndex:"0"},Object(o.createElement)(cn,{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 vn=Object(S.withInstanceId)(pn);var bn=function(e){var t=e.className,n=e.status,r=e.children,a=e.onRemove,i=void 0===a?D.noop:a,c=e.isDismissible,s=void 0===c||c,l=e.actions,u=void 0===l?[]:l,d=e.__unstableHTML,h=p()(t,"components-notice","is-"+n,{"is-dismissible":s});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,c=e.onClick,s=e.url;return Object(o.createElement)(I,{key:t,href:s,isDefault:!i&&!s,isLink:!i&&!!s,onClick:s?void 0:c,className:p()("components-notice__action",n)},r)})),s&&Object(o.createElement)(ee,{className:"components-notice__dismiss",icon:"no-alt",label:Object(M.__)("Dismiss this notice"),onClick:i,tooltip:!1}))};var mn=function(e){var t=e.notices,n=e.onRemove,r=void 0===n?D.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)(bn,Object(P.a)({},Object(D.omit)(e,["content"]),{key:e.id,onRemove:(t=e.id,function(){return r(t)})}),e.content);var t}))};var yn=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)(yn,{label:t}),r)},On=function(e){function t(e){var n;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(y.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,s=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)(I,{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)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(o.createElement)(i,null,Object(o.createElement)(c,{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)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(o.createElement)(i,null,Object(o.createElement)(c,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),t,s&&Object(o.createElement)(en,{icon:s,className:"components-panel__icon",size:20}))),d&&n)}}]),t}(o.Component),kn=function(e,t){return Object(o.createElement)(On,Object(P.a)({},e,{forwardedRef:t}))};kn.displayName="PanelBody";var _n=Object(o.forwardRef)(kn);var Dn=function(e){var t=e.className,n=e.children,r=p()("components-panel__row",t);return Object(o.createElement)("div",{className:r},n)};var wn=function(e){var t=e.icon,n=e.children,r=e.label,a=e.instructions,i=e.className,c=e.notices,s=e.preview,l=e.isColumnLayout,u=Object(T.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(P.a)({},u,{className:d}),c,s&&Object(o.createElement)("div",{className:"components-placeholder__preview"},s),Object(o.createElement)("div",{className:"components-placeholder__label"},Object(D.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 Mn(e){var t=e.label,n=e.noOptionLabel,r=e.onChange,a=e.selectedId,i=e.tree,c=Object(T.a)(e,["label","noOptionLabel","onChange","selectedId","tree"]),s=Object(D.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(D.flatMap)(t,function(t){return[{value:t.id,label:Object(D.repeat)(" ",3*n)+Object(D.unescape)(t.name)}].concat(Object(_.a)(e(t.children||[],n+1)))})}(i))));return Object(o.createElement)(Ft,Object(P.a)({label:t,options:s,onChange:r},{value:a},c))}function Sn(e){var t,n,a=e.label,i=e.noOptionLabel,c=e.categoriesList,s=e.selectedCategoryId,l=e.onChange,u=(t=c.map(function(e){return Object(r.a)({children:[],parent:null},e)}),(n=Object(D.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)(Mn,Object(P.a)({label:a,noOptionLabel:i,onChange:l},{tree:u,selectedId:s}))}var Cn=1,jn=100;function Pn(e){var t=e.categoriesList,n=e.selectedCategoryId,r=e.numberOfItems,a=e.order,i=e.orderBy,c=e.maxItems,s=void 0===c?jn:c,l=e.minItems,u=void 0===l?Cn:l,d=e.onCategoryChange,f=e.onNumberOfItemsChange,p=e.onOrderChange,v=e.onOrderByChange;return[p&&v&&Object(o.createElement)(Ft,{key:"query-controls-order-select",label:Object(M.__)("Order by"),value:"".concat(i,"/").concat(a),options:[{label:Object(M.__)("Newest to Oldest"),value:"date/desc"},{label:Object(M.__)("Oldest to Newest"),value:"date/asc"},{label:Object(M.__)("A → Z"),value:"title/asc"},{label:Object(M.__)("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&&v(r)}}),d&&Object(o.createElement)(Sn,{key:"query-controls-category-select",categoriesList:t,label:Object(M.__)("Category"),noOptionLabel:Object(M.__)("All"),selectedCategoryId:n,onChange:d}),f&&Object(o.createElement)(Lt,{key:"query-controls-range-control",label:Object(M.__)("Number of items"),value:r,onChange:f,min:u,max:s,required:!0})]}var En=Object(S.withInstanceId)(function(e){var t=e.label,n=e.className,r=e.selected,a=e.help,i=e.instanceId,c=e.onChange,s=e.options,l=void 0===s?[]:s,u="inspector-radio-control-".concat(i),d=function(e){return c(e.target.value)};return!Object(D.isEmpty)(l)&&Object(o.createElement)(Se,{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))}))}),zn=n(235);var Tn=function(e){var t=e.className,n=Object(T.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",c="components-resizable-box__corner-handle";return Object(o.createElement)(zn.Resizable,Object(P.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,c,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:p()(a,c,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:p()(a,c,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:p()(a,c,"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;if(1!==o.Children.count(r))return null;var a={paddingBottom:n/t*100+"%"};return Object(o.createElement)("div",{className:"components-responsive-wrapper"},Object(o.createElement)("div",{style:a}),Object(o.cloneElement)(r,{className:p()("components-responsive-wrapper__content",r.props.className)}))},xn=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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,c=this.state,s=c.width,l=c.height;"resize"!==o||s===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),Hn=xn=Object(S.withGlobalEvents)({message:"checkMessageForResize"})(xn),Nn=1e4;var Rn=Object(o.forwardRef)(function(e,t){var n=e.className,r=e.children,a=e.actions,i=void 0===a?[]:a,c=e.onRemove,s=void 0===c?D.noop:c;Object(o.useEffect)(function(){var e=setTimeout(function(){s()},Nn);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:s,tabIndex:"0",role:"button",onKeyPress:s,label:Object(M.__)("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)(I,{key:t,href:a,isTertiary:!0,onClick:function(e){e.stopPropagation(),r&&r(e)},className:"components-snackbar__action"},n)})))}),Ln=n(20),Fn=n.n(Ln),An=n(44),Vn=n(66);var Bn=function(e){var t=e.notices,n=e.className,r=e.children,a=e.onRemove,i=void 0===a?D.noop:a,c=Object(S.useReducedMotion)(),s=Object(o.useState)(function(){return new WeakMap}),l=Object(h.a)(s,1)[0],u=Object(Vn.useTransition)(t,function(e){return e.id},{from:{opacity:0,height:0},enter:function(e){return t=Object(An.a)(Fn.a.mark(function t(n){return Fn.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)})),function(e){return t.apply(this,arguments)};var t},leave:function(){return e=Object(An.a)(Fn.a.mark(function e(t){return Fn.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)})),function(t){return e.apply(this,arguments)};var e},immediate:c});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)(Rn,Object(P.a)({},Object(D.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(T.a)(e,["tabId","onClick","children","selected"]);return Object(o.createElement)(I,Object(P.a)({role:"tab",tabIndex:a?null:-1,"aria-selected":a,id:t,onClick:n},i),r)},Un=function(e){function t(){var e;Object(b.a)(this,t);var n=(e=Object(m.a)(this,Object(y.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?D.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,c=n.instanceId,s=n.orientation,l=void 0===s?"horizontal":s,u=n.tabs,h=Object(D.find)(u,{name:t}),f=c+"-"+h.name;return Object(o.createElement)("div",{className:i},Object(o.createElement)(jt,{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:c+"-"+n.name,"aria-controls":c+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(D.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),$n=Object(S.withInstanceId)(Un);var qn=Object(S.withInstanceId)(function(e){var t=e.label,n=e.hideLabelFromVision,r=e.value,a=e.help,i=e.instanceId,c=e.onChange,s=e.rows,l=void 0===s?4:s,u=e.className,d=Object(T.a)(e,["label","hideLabelFromVision","value","help","instanceId","onChange","rows","className"]),h="inspector-textarea-control-".concat(i);return Object(o.createElement)(Se,{label:t,hideLabelFromVision:n,id:h,help:a,className:u},Object(o.createElement)("textarea",Object(P.a)({className:"components-textarea-control__input",id:h,rows:l,onChange:function(e){return c(e.target.value)},"aria-describedby":a?h+"__help":void 0,value:r},d)))});var Gn=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)(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(o.createElement)("p",null,e.children))},Yn=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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,c=n.instanceId,s=n.className,l="inspector-toggle-control-".concat(c);return i&&(e=l+"__help",t=Object(D.isFunction)(i)?i(a):i),Object(o.createElement)(Se,{id:l,help:t,className:p()("components-toggle-control",s)},Object(o.createElement)(Kt,{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(S.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,c=e.onClick,s=e.className,l=e.isActive,u=e.isDisabled,d=e.extraProps,h=e.children;return Object(o.createElement)(Xn,{className:t},Object(o.createElement)(ee,Object(P.a)({icon:n,label:r,shortcut:a,"data-subscript":i,onClick:function(e){e.stopPropagation(),c()},className:p()("components-toolbar__control",s,{"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,c=e.icon,s=e.label,l=Object(T.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:c,label:s,controls:u,className:p()("components-toolbar",a)}):Object(o.createElement)(Jn,Object(P.a)({className:p()("components-toolbar",a)},l),Object(D.flatMap)(u,function(e,t){return e.map(function(e,n){return Object(o.createElement)(Qn,Object(P.a)({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))})}),r)},tr=Object(S.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(b.a)(this,n),(e=Object(m.a)(this,Object(y.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)(Ve,{bindGlobal:!0,shortcuts:(t={"ctrl+`":this.focusNextRegion},Object(d.a)(t,w.rawShortcut.access("n"),this.focusNextRegion),Object(d.a)(t,"ctrl+shift+`",this.focusPreviousRegion),Object(d.a)(t,w.rawShortcut.access("p"),this.focusPreviousRegion),t)}),Object(o.createElement)(e,this.props))}}]),n}(o.Component)},"navigateRegions"),nr=function(e){return Object(S.createHigherOrderComponent)(function(t){return function(n){function r(){var e;return Object(b.a)(this,r),(e=Object(m.a)(this,Object(y.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(D.isEqual)(o,r)||this.setState({fallbackStyles:o,grabStylesCompleted:!!Object(D.every)(o)})}}},{key:"render",value:function(){var e=Object(o.createElement)(t,Object(P.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(S.createHigherOrderComponent)(function(t){var n,r="core/with-filters/"+e;var a=function(a){function i(){var r;return Object(b.a)(this,i),r=Object(m.a)(this,Object(y.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,c),Object(rr.addAction)("hookAdded",r,c))}},{key:"componentWillUnmount",value:function(){i.instances=Object(D.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(D.debounce)(function(){n=Object(rr.applyFilters)(e,t),a.instances.forEach(function(e){e.forceUpdate()})},or);function c(t){t===e&&i()}return a},"withFilters")}var ir=n(70),cr=n.n(ir),sr=Object(S.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(b.a)(this,n),(e=Object(m.a)(this,Object(y.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:cr()()});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(P.a)({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(o.createElement)(mn,{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 c}),n.d(t,"Polygon",function(){return s}),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 v}),n.d(t,"Autocomplete",function(){return we}),n.d(t,"BaseControl",function(){return Se}),n.d(t,"Button",function(){return I}),n.d(t,"ButtonGroup",function(){return Ce}),n.d(t,"CheckboxControl",function(){return je}),n.d(t,"ClipboardButton",function(){return ze}),n.d(t,"ColorIndicator",function(){return Te}),n.d(t,"ColorPalette",function(){return nt}),n.d(t,"ColorPicker",function(){return tt}),n.d(t,"Dashicon",function(){return J}),n.d(t,"DateTimePicker",function(){return st}),n.d(t,"DatePicker",function(){return it}),n.d(t,"TimePicker",function(){return ct}),n.d(t,"Disabled",function(){return pt}),n.d(t,"Draggable",function(){return bt}),n.d(t,"DropZone",function(){return wt}),n.d(t,"DropZoneProvider",function(){return _t}),n.d(t,"Dropdown",function(){return Ie}),n.d(t,"DropdownMenu",function(){return zt}),n.d(t,"ExternalLink",function(){return Tt}),n.d(t,"FocalPointPicker",function(){return xt}),n.d(t,"FocusableIframe",function(){return Rt}),n.d(t,"FontSizePicker",function(){return Vt}),n.d(t,"FormFileUpload",function(){return Bt}),n.d(t,"FormToggle",function(){return Kt}),n.d(t,"FormTokenField",function(){return Jt}),n.d(t,"Icon",function(){return en}),n.d(t,"IconButton",function(){return ee}),n.d(t,"KeyboardShortcuts",function(){return Ve}),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 vn}),n.d(t,"ScrollLock",function(){return te}),n.d(t,"NavigableMenu",function(){return jt}),n.d(t,"TabbableContainer",function(){return Pt}),n.d(t,"Notice",function(){return bn}),n.d(t,"NoticeList",function(){return mn}),n.d(t,"Panel",function(){return gn}),n.d(t,"PanelBody",function(){return _n}),n.d(t,"PanelHeader",function(){return yn}),n.d(t,"PanelRow",function(){return Dn}),n.d(t,"Placeholder",function(){return wn}),n.d(t,"Popover",function(){return ye}),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 Tn}),n.d(t,"ResponsiveWrapper",function(){return In}),n.d(t,"SandBox",function(){return Hn}),n.d(t,"SelectControl",function(){return Ft}),n.d(t,"Snackbar",function(){return Rn}),n.d(t,"SnackbarList",function(){return Bn}),n.d(t,"Spinner",function(){return Kn}),n.d(t,"TabPanel",function(){return $n}),n.d(t,"TextControl",function(){return $e}),n.d(t,"TextareaControl",function(){return qn}),n.d(t,"Tip",function(){return Gn}),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 Mn}),n.d(t,"IsolatedEventContainer",function(){return ne}),n.d(t,"createSlotFill",function(){return pe}),n.d(t,"Slot",function(){return ue}),n.d(t,"Fill",function(){return fe}),n.d(t,"SlotFillProvider",function(){return se}),n.d(t,"navigateRegions",function(){return tr}),n.d(t,"withConstrainedTabbing",function(){return q}),n.d(t,"withFallbackStyles",function(){return nr}),n.d(t,"withFilters",function(){return ar}),n.d(t,"withFocusOutside",function(){return z}),n.d(t,"withFocusReturn",function(){return $}),n.d(t,"FocusReturnProvider",function(){return U}),n.d(t,"withNotices",function(){return sr}),n.d(t,"withSpokenMessages",function(){return Oe})}]); \ 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,c=r?Symbol.for("react.strict_mode"):60108,s=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,h=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.memo"):60115,b=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 h:case i:case s:case c:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case l:return e;default:return t}}case b:case v:case a:return t}}}function y(e){return m(e)===h}t.typeOf=m,t.AsyncMode=d,t.ConcurrentMode=h,t.ContextConsumer=u,t.ContextProvider=l,t.Element=o,t.ForwardRef=f,t.Fragment=i,t.Lazy=b,t.Memo=v,t.Portal=a,t.Profiler=s,t.StrictMode=c,t.Suspense=p,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===h||e===s||e===c||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===v||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f)},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)===f},t.isFragment=function(e){return m(e)===i},t.isLazy=function(e){return m(e)===b},t.isMemo=function(e){return m(e)===v},t.isPortal=function(e){return m(e)===a},t.isProfiler=function(e){return m(e)===s},t.isStrictMode=function(e){return m(e)===c},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(34),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=c(n(28)),o=n(47),a=c(n(149)),i=c(n(323));function c(e){return e&&e.__esModule?e:{default:e}}var s=(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=s},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),c=(r.day()+7-n)%7,s=(n+6-o.day())%7,l=r.clone().subtract(c,"day"),u=o.clone().add(s,"day").diff(l,"days")+1,d=l.clone(),h=[],f=0;f=c&&f=t||n<0||m&&e-v>=d}function k(){var e=o();if(O(e))return _(e);f=setTimeout(k,function(e){var n=t-(e-p);return m?s(n,d-(e-v)):n}(e))}function _(e){return f=void 0,y&&l?g(e):(l=u=void 0,h)}function D(){var e=o(),n=O(e);if(l=arguments,u=this,p=e,n){if(void 0===f)return function(e){return v=e,f=setTimeout(k,t),b?g(e):h}(p);if(m)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)&&(b=!!n.leading,d=(m="maxWait"in n)?c(a(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),D.cancel=function(){void 0!==f&&clearTimeout(f),v=0,l=p=u=f=void 0},D.flush=function(){return void 0===f?h:_(o())},D}},function(e,t,n){var r=n(204);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(67))},function(e,t,n){var r=n(153),o=n(339),a=NaN,i=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,s=/^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=s.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):c.test(e)?a:+e}},function(e,t,n){var r=n(340),o=n(343),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==a}},function(e,t,n){var r=n(205),o=n(341),a=n(342),i="[object Null]",c="[object Undefined]",s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?c:i:s&&s in Object(e)?o(e):a(e)}},function(e,t,n){var r=n(205),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[c]=n:delete e[c]),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),c=i[0],s=i[1],l=void 0===s?"center":s,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)},c={popoverTop:e.top,contentHeight:e.top-N-o>0?o:e.top-N},s={popoverTop:e.bottom,contentHeight:e.bottom+N+o>window.innerHeight?window.innerHeight-N-e.bottom:o},l=null;if("middle"===n&&i.contentHeight===o)r="middle";else if("top"===n&&c.contentHeight===o)r="top";else if("bottom"===n&&s.contentHeight===o)r="bottom";else{var u="top"==(r=c.contentHeight>s.contentHeight?"top":"bottom")?c.contentHeight:s.contentHeight;l=u!==o?u:null}return{yAxis:r,popoverTop:"middle"===r?i.popoverTop:"top"===r?c.popoverTop:s.popoverTop,contentHeight:l}}(e,t,c),d=function(e,t,n,r){var o=t.width;"left"===n&&L()?n="right":"right"===n&&L()&&(n="left");var a,i=Math.round(e.left+e.width/2),c={popoverLeft:i,contentWidth:(i-o/2>0?o/2:i)+(i+o/2>window.innerWidth?window.innerWidth-i:o/2)},s="middle"===r?e.left:i,l={popoverLeft:s,contentWidth:s-o>0?o:s},u="middle"===r?e.right:i,d={popoverLeft:u,contentWidth:u+o>window.innerWidth?window.innerWidth-u:o},h=null;if("center"===n&&c.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?c.popoverLeft:"left"===a?l.popoverLeft:d.popoverLeft,contentWidth:h}}(e,t,l,u.yAxis);return Object(r.a)({isMobile:R()&&o},d,u)}var A=Object(o.createContext)({focusHistory:[]}),V=A.Provider,B=A.Consumer;V.displayName="FocusReturnProvider",B.displayName="FocusReturnConsumer";var K=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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(D.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(S.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?D.stubTrue:a;return function(e){var t=function(t){function n(){var e;return Object(b.a)(this,n),(e=Object(m.a)(this,Object(y.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)(D.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"),U=Object(S.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(b.a)(this,n),(e=Object(m.a)(this,Object(y.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===w.TAB){var t=j.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"),$=["button","submit"];var q=Object(S.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(b.a)(this,n),(e=Object(m.a)(this,Object(y.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(D.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(D.includes)($,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(z.a)({ref:this.bindNode},this.props)))}}]),n}(o.Component)},"withFocusOutside"),G=function(e){function t(){return Object(b.a)(this,t),Object(m.a)(this,Object(y.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=q(G);var Z=function(e){var t,n,r=e.shortcut,a=e.className;return r?(Object(D.isString)(r)&&(t=r),Object(D.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(b.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).delayedSetIsOver=Object(D.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(D.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),c=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,c&&Object(o.createElement)(ye,{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(b.a)(this,t),Object(m.a)(this,Object(y.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,s=(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(z.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"},s),Object(o.createElement)(c,{d:e}))}}]),t}(o.Component);var ee=Object(o.forwardRef)(function(e,t){var n=e.icon,r=e.children,a=e.label,i=e.className,c=e.tooltip,s=e.shortcut,l=e.labelPosition,u=Object(P.a)(e,["icon","children","label","className","tooltip","shortcut","labelPosition"]),d=u["aria-pressed"],h=p()("components-icon-button",i,{"has-text":r}),f=c||a,v=!u.disabled&&(c||s||!!a&&(!r||Object(D.isArray)(r)&&!r.length)&&!1!==c),b=Object(o.createElement)(E,Object(z.a)({"aria-label":a},u,{className:h,ref:t}),Object(D.isString)(n)?Object(o.createElement)(J,{icon:n,ariaPressed:d}):n,r);return v&&(b=Object(o.createElement)(Q,{text:f,shortcut:s,position:l},b)),b});var te=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,c=0;function s(e){var t=n.scrollingElement||n.body;e&&(c=t.scrollTop);var r=e?"add":"remove";t.classList[r](a),n.documentElement.classList[r](a),e||(t.scrollTop=c)}return function(e){function t(){return Object(b.a)(this,t),Object(m.a)(this,Object(y.a)(t).apply(this,arguments))}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidMount",value:function(){0===i&&s(!0),++i}},{key:"componentWillUnmount",value:function(){1===i&&s(!1),--i}},{key:"render",value:function(){return null}}]),t}(o.Component)}(),ne=function(e){function t(e){var n;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(y.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(z.a)({},n,{onMouseDown:this.stopEventPropagationOutsideContainer}),t)}}]),t}(o.Component),re=Object(o.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),oe=re.Provider,ae=re.Consumer,ie=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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(D.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(D.sortBy)(this.fills[e],"occurrence")}},{key:"resetFillOccurrence",value:function(e){Object(D.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(D.without)(t.listeners,e)}}},{key:"render",value:function(){return Object(o.createElement)(oe,{value:this.contextValue},this.props.children)}}]),t}(o.Component),ce=function(e){var t=Object(o.useContext)(re),n=t.getSlot,r=t.subscribe,a=Object(o.useState)(n(e)),i=Object(h.a)(a,2),c=i[0],s=i[1];return Object(o.useEffect)(function(){return s(n(e)),r(function(){s(n(e))})},[e]),c},se=ie,le=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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,c=void 0===i?{}:i,s=e.getFills,l=e.className;if(a)return Object(o.createElement)("div",{ref:this.bindNode,className:l});var u=Object(D.map)(s(n,this),function(e){var t=e.occurrence,n=Object(D.isFunction)(e.children)?e.children(c):e.children;return o.Children.map(n,function(e,n){if(!e||Object(D.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return Object(o.cloneElement)(e,{key:r})})}).filter(Object(D.negate)(o.isEmptyElement));return Object(o.createElement)(o.Fragment,null,Object(D.isFunction)(t)?t(u):u)}}]),t}(o.Component),ue=function(e){return Object(o.createElement)(ae,null,function(t){var n=t.registerSlot,r=t.unregisterSlot,a=t.getFills;return Object(o.createElement)(le,Object(z.a)({},e,{registerSlot:n,unregisterSlot:r,getFills:a}))})},de=0;function he(e){var t=e.name,n=e.children,r=e.registerFill,a=e.unregisterFill,i=ce(t),c=Object(o.useRef)({name:t,children:n});return c.current.occurrence||(c.current.occurrence=++de),Object(o.useLayoutEffect)(function(){return r(t,c.current),function(){return a(t,c.current)}},[]),Object(o.useLayoutEffect)(function(){c.current.children=n,i&&!i.props.bubblesVirtually&&i.forceUpdate()},[n]),Object(o.useLayoutEffect)(function(){t!==c.current.name&&(a(c.current.name,c.current),c.current.name=t,r(t,c.current))},[t]),i&&i.node&&i.props.bubblesVirtually?(Object(D.isFunction)(n)&&(n=n(i.props.fillProps)),Object(o.createPortal)(n,i.node)):null}var fe=function(e){return Object(o.createElement)(ae,null,function(t){var n=t.registerFill,r=t.unregisterFill;return Object(o.createElement)(he,Object(z.a)({},e,{registerFill:n,unregisterFill:r}))})};function pe(e){var t=function(t){return Object(o.createElement)(fe,Object(z.a)({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(o.createElement)(ue,Object(z.a)({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var ve=U(W(function(e){return e.children}));function be(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),function(){window.removeEventListener("resize",r),window.removeEventListener("scroll",r)}},[])}var me=function(e){var t=e.headerTitle,n=e.onClose,r=e.onKeyDown,a=e.children,i=e.className,c=e.noArrow,s=void 0!==c&&c,l=e.position,u=void 0===l?"top":l,d=(e.range,e.focusOnMount),f=void 0===d?"firstElement":d,b=e.anchorRect,m=e.getAnchorRect,y=e.expandOnMobile,g=e.animate,O=void 0===g||g,k=e.onClickOutside,_=e.onFocusOutside,D=Object(P.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","position","range","focusOnMount","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside"]),M=Object(o.useRef)(null),S=Object(o.useRef)(null),C=Object(o.useState)(!1),E=Object(h.a)(C,2),T=E[0],x=E[1],N=function(e,t,n,r){var a=Object(o.useState)(null),i=Object(h.a)(a,2),c=i[0],s=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,c)&&s(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]),be(l,t),c}(M,S,b,m),R=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}(S);Object(o.useEffect)(function(){R&&x(!0)},[R]);var L=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}),c=Object(h.a)(i,2),s=c[0],l=c[1],u=function(){if(e&&t){var o=F(e,t,n,r);s.yAxis===o.yAxis&&s.xAxis===o.xAxis&&s.popoverLeft===o.popoverLeft&&s.popoverTop===o.popoverTop&&s.contentHeight===o.contentHeight&&s.contentWidth===o.contentWidth&&s.isMobile===o.isMobile||l(o)}};return Object(o.useEffect)(u,[e,t]),be(u,a),s}(N,R,u,y,S);!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=j.focus.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}},0);return function(){return clearTimeout(n)}},[])}(f,S);var A=function(e){e.keyCode===w.ESCAPE&&n&&(e.stopPropagation(),n()),r&&r(e)};var V={top:"bottom",bottom:"top"}[L.yAxis]||"middle",B={left:"right",right:"left"}[L.xAxis]||"center",K=p()("components-popover",i,"is-"+L.yAxis,"is-"+L.xAxis,{"is-mobile":L.isMobile,"is-without-arrow":s||"center"===L.xAxis&&"middle"===L.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}}),H()("Popover onClickOutside prop",{alternative:"onFocusOutside"}),k(t)}else n&&n()}},Object(o.createElement)(v,{type:O&&T?"appear":null,options:{origin:V+" "+B}},function(e){var r=e.className;return Object(o.createElement)(ne,Object(z.a)({className:p()(K,r),style:{top:!L.isMobile&&L.popoverTop?L.popoverTop+"px":void 0,left:!L.isMobile&&L.popoverLeft?L.popoverLeft+"px":void 0,visibility:R?void 0:"hidden"}},D,{onKeyDown:A}),L.isMobile&&Object(o.createElement)("div",{className:"components-popover__header"},Object(o.createElement)("span",{className:"components-popover__header-title"},t),Object(o.createElement)(ee,{className:"components-popover__close",icon:"no-alt",onClick:n})),Object(o.createElement)("div",{ref:S,className:"components-popover__content",style:{maxHeight:!L.isMobile&&L.contentHeight?L.contentHeight+"px":void 0,maxWidth:!L.isMobile&&L.contentWidth?L.contentWidth+"px":void 0},tabIndex:"-1"},a))}));return f&&(W=Object(o.createElement)(ve,null,W)),Object(o.createElement)(ae,null,function(e){var t=e.getSlot;return t&&t("Popover")&&(W=Object(o.createElement)(fe,{name:"Popover"},W)),Object(o.createElement)("span",{ref:M},W,L.isMobile&&y&&Object(o.createElement)(te,null))})};me.Slot=function(){return Object(o.createElement)(ue,{bubblesVirtually:!0,name:"Popover"})};var ye=me,ge=n(46),Oe=Object(S.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(b.a)(this,n),(e=Object(m.a)(this,Object(y.a)(n).apply(this,arguments))).debouncedSpeak=Object(D.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(ge.speak)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(o.createElement)(e,Object(z.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(o.Component)},"withSpokenMessages");function ke(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,m=b?"components-autocomplete-listbox-".concat(r):null,y=b?"components-autocomplete-item-".concat(r,"-").concat(h):null;return Object(o.createElement)(o.Fragment,null,n({isExpanded:b,listBoxId:m,activeId:y,onKeyDown:this.handleKeyDown}),b&&a&&Object(o.createElement)(ye,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",getAnchorRect:_e},Object(o.createElement)("div",{id:m,role:"listbox",className:"components-autocomplete__results"},b&&Object(D.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",v,{"is-selected":n===l}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(o.Component),we=Object(S.compose)([Oe,S.withInstanceId])(De);function Me(e){var t=e.id,n=e.label,r=e.hideLabelFromVision,a=e.help,i=e.className,c=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),c),!!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 Se=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(z.a)({},n,{className:r,role:"group"}))};var je=Object(S.withInstanceId)(function(e){var t=e.label,n=e.className,r=e.heading,a=e.checked,i=e.help,c=e.instanceId,s=e.onChange,l=Object(P.a)(e,["label","className","heading","checked","help","instanceId","onChange"]),u="inspector-checkbox-control-".concat(c);return Object(o.createElement)(Se,{label:r,id:u,help:i,className:n},Object(o.createElement)("span",{className:"components-checkbox-control__input-container"},Object(o.createElement)("input",Object(z.a)({id:u,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return s(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))}),Pe=n(232),Ee=n.n(Pe),ze=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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 Ee.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),c=a?ee:E;return Object(o.createElement)("span",{ref:this.bindContainer,onCopy:function(e){e.target.focus()}},Object(o.createElement)(c,Object(z.a)({},r,{className:i}),n))}}]),t}(o.Component),Te=function(e){var t=e.className,n=e.colorValue,r=Object(P.a)(e,["className","colorValue"]);return Object(o.createElement)("span",Object(z.a)({className:p()("component-color-indicator",t),style:{background:n}},r))},Ie=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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,c=t.className,s=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:c,ref:this.containerRef},r(f),e&&Object(o.createElement)(ye,Object(z.a)({className:s,position:i,onClose:this.close,onFocusOutside:this.closeIfFocusOutside,expandOnMobile:l,headerTitle:u,focusOnMount:d},h),n(f)))}}]),t}(o.Component),xe=n(49),He=n.n(xe);function Ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?He()(e.hex):He()(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,c="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=c-(r+window.pageXOffset),u=s-(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&&He()(e).isValid()}var Fe=n(233),Ae=n.n(Fe);n(284);var Ve=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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 Ae.a(n),Object(D.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),Be=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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?D.noop:r;e=parseInt(100*e,10),o({h:n.h,s:n.s,l:n.l,a:(parseInt(100*n.a,10)+e)/100,source:"rgb"})}},{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?D.noop:r,a=parseInt(100*n.a,10)-parseInt(100*e,10);o({h:n.h,s:n.s,l:n.l,a:n.a<=e?0:a/100,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.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!==w.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)(Ve,{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(M.__)("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:a,onKeyDown:this.preventKeyEvents}))))}}]),t}(o.Component),Ke=Object(S.pure)(Be),We=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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;(void 0===r?D.noop:r)({h:n.h+e>=359?359:n.h+e,s:n.s,l:n.l,a:n.a,source:"rgb"})}},{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;(void 0===r?D.noop:r)({h:n.h<=e?0:n.h-e,s:n.s,l:n.l,a:n.a,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.noop:t,r=function(e,t,n){var r=Re(e,n),o=r.left,a=r.width,i=o>=a?359:100*o/a*360/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!==w.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,"%")},c={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)(Ve,{shortcuts:c},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(M.__)("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(M.__)("Move the arrow left or right to change hue.")))))}}]),t}(o.Component),Ue=Object(S.compose)(S.pure,S.withInstanceId)(We);var $e=Object(S.withInstanceId)(function(e){var t=e.label,n=e.hideLabelFromVision,r=e.value,a=e.help,i=e.className,c=e.instanceId,s=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(c);return Object(o.createElement)(Se,{label:t,hideLabelFromVision:n,id:h,help:a,className:i},Object(o.createElement)("input",Object(z.a)({className:"components-text-control__input",type:u,id:h,value:r,onChange:function(e){return s(e.target.value)},"aria-describedby":a?h+"__help":void 0},d)))}),qe=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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===w.ENTER||t===w.UP||t===w.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)($e,Object(z.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(D.omit)(a,["onChange","valueKey","source"])))}}]),t}(o.Component),Ge=Object(S.pure)(ee),Ye=function(e){function t(e){var n,r=e.hsl;Object(b.a)(this,t),n=Object(m.a)(this,Object(y.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(ge.speak)(Object(M.__)("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"},this.resetDraftValues),Object(ge.speak)(Object(M.__)("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"},this.resetDraftValues),Object(ge.speak)(Object(M.__)("Hex color mode active"))):(this.setState({view:"rgb"},this.resetDraftValues),Object(ge.speak)(Object(M.__)("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(M.__)("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(M.__)("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(M.__)("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)(Ge,{icon:"arrow-down-alt2",label:Object(M.__)("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),Ze=function(e){function t(e){var n;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(y.a)(t).call(this,e))).throttle=Object(D.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?D.noop:r,a=Object(D.clamp)(n.s+Math.round(100*e),0,100);o({h:n.h,s:a,v:n.v,a:n.a,source:"rgb"})}},{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?D.noop:r,a=Object(D.clamp)(n.v+Math.round(100*e),0,100);o({h:n.h,s:n.s,v:a,a:n.a,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.noop:t,r=function(e,t,n){var r=Re(e,n),o=r.top,a=r.left,i=r.width,c=r.height,s=a<0?0:100*a/i,l=o>=c?0:-100*o/c+100;return l<1&&(l=0),{h:t.hsl.h,s:s,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!==w.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,"%")},c={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)(Ve,{shortcuts:c},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(M.__)("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(M.__)("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),Xe=Object(S.compose)(S.pure,S.withInstanceId)(Ze),Qe=function(e){return String(e).toLowerCase()},Je=function(e){return e.hex?Le(e.hex):(t=e,n=0,r=0,Object(D.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},et=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)))},tt=function(e){function t(e){var n,o=e.color,a=void 0===o?"0071a1":o;Object(b.a)(this,t),n=Object(m.a)(this,Object(y.a)(t).apply(this,arguments));var i=Ne(a);return n.state=Object(r.a)({},i,{draftHex:Qe(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?D.noop:o;if(Je(e)){var i=Ne(e,e.h||n);this.setState(Object(r.a)({},i,{draftHex:Qe(i.hex),draftHsl:i.hsl,draftRgb:i.rgb}),Object(D.debounce)(Object(D.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:Qe(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=et(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(et(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,c=r.hsv,s=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)(Xe,{hsl:i,hsv:c,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)(Ke,{rgb:s,hsl:i,onChange:this.commitValues}))),Object(o.createElement)(Ye,{rgb:d,hsl:u,hex:l,onChange:this.handleInputChange,disableAlpha:n})))}}]),t}(o.Component);function nt(e){var t=e.colors,n=e.disableCustomColors,r=void 0!==n&&n,a=e.value,i=e.onChange,c=e.className,s=e.clearable,l=void 0===s||s;function u(e){return function(){return i(a===e?void 0:e)}}var d=Object(M.__)("Custom color picker"),h=p()("components-color-palette",c);return Object(o.createElement)("div",{className:h},Object(D.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(M.sprintf)(Object(M.__)("Color code: %s"),t)},Object(o.createElement)("button",{type:"button",className:i,style:r,onClick:u(t),"aria-label":n?Object(M.sprintf)(Object(M.__)("Color: %s"),n):Object(M.sprintf)(Object(M.__)("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)(Ie,{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(M.__)("Custom Color"))},renderContent:function(){return Object(o.createElement)(tt,{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(M.__)("Clear"))))}n(285);var rt=n(29),ot=n.n(rt),at=n(234),it=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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?ot()(n):ot()(),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?ot()(e):ot()()}},{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)(at.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(b.a)(this,t),(e=Object(m.a)(this,Object(y.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?ot()(t):ot()(),o=r.format("DD"),a=r.format("MM"),i=r.format("YYYY"),c=r.format("mm"),s=r.format("A"),l=r.format(n?"hh":"HH"),u=t?ot()(t):ot()();this.setState({day:o,month:a,year:i,minutes:c,hours:l,am:s,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(D.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(D.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(D.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(D.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(D.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(M.__)("Month"),className:"components-datetime__time-field-month-select",value:e,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(o.createElement)("option",{value:"01"},Object(M.__)("January")),Object(o.createElement)("option",{value:"02"},Object(M.__)("February")),Object(o.createElement)("option",{value:"03"},Object(M.__)("March")),Object(o.createElement)("option",{value:"04"},Object(M.__)("April")),Object(o.createElement)("option",{value:"05"},Object(M.__)("May")),Object(o.createElement)("option",{value:"06"},Object(M.__)("June")),Object(o.createElement)("option",{value:"07"},Object(M.__)("July")),Object(o.createElement)("option",{value:"08"},Object(M.__)("August")),Object(o.createElement)("option",{value:"09"},Object(M.__)("September")),Object(o.createElement)("option",{value:"10"},Object(M.__)("October")),Object(o.createElement)("option",{value:"11"},Object(M.__)("November")),Object(o.createElement)("option",{value:"12"},Object(M.__)("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(M.__)("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(M.__)("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(M.__)("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(M.__)("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(M.__)("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(M.__)("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(M.__)("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(M.__)("PM"))))))}}]),t}(o.Component),st=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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)(it,{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(M.__)("Click to Select")),Object(o.createElement)("ul",null,Object(o.createElement)("li",null,Object(M.__)("Click the right or left arrows to select other months in the past or the future.")),Object(o.createElement)("li",null,Object(M.__)("Click the desired day to select it."))),Object(o.createElement)("h4",null,Object(M.__)("Navigating with a keyboard")),Object(o.createElement)("ul",null,Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(M._x)("Enter","keyboard button")},"↵")," ",Object(o.createElement)("span",null,Object(M.__)("Select the date in focus."))),Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(M.__)("Left and Right Arrows")},"←/→")," ",Object(M.__)("Move backward (left) or forward (right) by one day.")),Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(M.__)("Up and Down Arrows")},"↑/↓")," ",Object(M.__)("Move backward (up) or forward (down) by one week.")),Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(M.__)("Page Up and Page Down")},Object(M.__)("PgUp/PgDn"))," ",Object(M.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(M.__)("Home and End")},Object(M.__)("Home/End"))," ",Object(M.__)("Go to the first (home) or last (end) day of a week."))),Object(o.createElement)(E,{isSmall:!0,onClick:this.onClickDescriptionToggle},Object(M.__)("Close")))),!this.state.calendarHelpIsVisible&&Object(o.createElement)(E,{className:"components-datetime__date-help-button",isLink:!0,onClick:this.onClickDescriptionToggle},Object(M.__)("Calendar Help")))}}]),t}(o.Component),lt=Object(o.createContext)(!1),ut=lt.Consumer,dt=lt.Provider,ht=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],ft=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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(D.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(){j.focus.focusable.find(this.node).forEach(function(e){Object(D.includes)(ht,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)(dt,{value:!0},Object(o.createElement)("div",Object(z.a)({ref:this.bindNode,className:p()(t,"components-disabled")},n),this.props.children))}}]),t}(o.Component);ft.Consumer=ut;var pt=ft,vt=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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?D.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?D.noop:o,i=document.getElementById(n);if(i){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 s=i.getBoundingClientRect(),l=i.parentNode,u=parseInt(s.top,10),d=parseInt(s.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(s.width+40,"px"),s.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),bt=Object(S.withSafeTimeout)(vt),mt=Object(o.createContext)({addDropZone:function(){},removeDropZone:function(){}}),yt=mt.Provider,gt=mt.Consumer,Ot=function(e){var t=e.dataTransfer;if(t){if(Object(D.includes)(t.types,"Files"))return"file";if(Object(D.includes)(t.types,"text/html"))return"html"}return"default"},kt=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},_t=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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(D.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(D.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(D.filter)(this.dropZones,function(e){return kt(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(D.find)(o,function(e){return!Object(D.some)(o,function(t){return t!==e&&e.element.parentElement.contains(t.element)})}),i=this.dropZones.indexOf(a),c=null;if(a){var s=a.element.getBoundingClientRect();c={x:r.clientX-s.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,c=void 0===i?D.noop:i,s=n.stopNavigationEvents,l=a(e);if(void 0!==l&&s&&(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,c=void 0!==i&&i,s=e.icon,l=void 0===s?"menu":s,u=e.label,d=e.popoverProps,h=e.toggleProps,f=e.menuProps,v=e.menuLabel,b=e.position;if(v&&H()("`menuLabel` prop in `DropdownComponent`",{alternative:"`menuProps` object and its `aria-label` property",plugin:"Gutenberg"}),b&&H()("`position` prop in `DropdownComponent`",{alternative:"`popoverProps` object and its `position` property",plugin:"Gutenberg"}),Object(D.isEmpty)(a)&&!Object(D.isFunction)(n))return null;Object(D.isEmpty)(a)||(t=a,Array.isArray(t[0])||(t=[t]));var m=Et({className:"components-dropdown-menu__popover",position:b},d);return Object(o.createElement)(Ie,{className:p()("components-dropdown-menu",r),popoverProps:m,renderToggle:function(e){var t=e.isOpen,n=e.onToggle,r=Et({className:p()("components-dropdown-menu__toggle",{"is-opened":t}),tooltip:u},h);return Object(o.createElement)(ee,Object(z.a)({},r,{icon:l,onClick:n,onKeyDown:function(e){t||e.keyCode!==w.DOWN||(e.preventDefault(),e.stopPropagation(),n())},"aria-haspopup":"true","aria-expanded":t,label:u}),(!l||c)&&Object(o.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(e){var r=Et({"aria-label":v||u,className:"components-dropdown-menu__menu"},f);return Object(o.createElement)(jt,Object(z.a)({},r,{role:"menu"}),Object(D.isFunction)(n)?n(e):null,Object(D.flatMap)(t,function(t,n){return t.map(function(t,r){return Object(o.createElement)(ee,{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 Tt=Object(o.forwardRef)(function(e,t){var n=e.href,r=e.children,a=e.className,i=e.rel,c=void 0===i?"":i,s=Object(P.a)(e,["href","children","className","rel"]);c=Object(D.uniq)(Object(D.compact)([].concat(Object(_.a)(c.split(" ")),["external","noreferrer","noopener"]))).join(" ");var l=p()("components-external-link",a);return Object(o.createElement)("a",Object(z.a)({},s,{className:l,href:n,target:"_blank",rel:c,ref:t}),r,Object(o.createElement)("span",{className:"screen-reader-text"},Object(M.__)("(opens in a new tab)")),Object(o.createElement)(J,{icon:"external",className:"components-external-link__icon"}))}),It=function(e){function t(e){var n;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(y.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},c=Math.max(r.left,Math.min(i.left,r.right)),s=Math.max(r.top,Math.min(i.top,r.bottom)),l={x:(c-r.left)/(a.width-2*r.left),y:(s-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,s=t.help,l=t.className,d=this.state,h=d.bounds,f=d.isDragging,v=d.percentages,b=this.pickerDimensions(),m={left:a.x*(b.width-2*h.left)+h.left,top:a.y*(b.height-2*h.top)+h.top},y={left:"".concat(m.left,"px"),top:"".concat(m.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)(Se,{label:i,id:O,help:s,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:y},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)(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(o.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(o.createElement)("div",{className:"components-focal-point-picker_position-display-container"},Object(o.createElement)(Se,{label:Object(M.__)("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(v.x)}),Object(o.createElement)("span",null,"%")),Object(o.createElement)(Se,{label:Object(M.__)("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(v.y)}),Object(o.createElement)("span",null,"%"))))}}]),t}(o.Component);It.defaultProps={url:null,value:{x:.5,y:.5},onChange:function(){}};var xt=Object(S.compose)([S.withInstanceId,q])(It),Ht=window.FocusEvent,Nt=function(e){function t(e){var n;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(y.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 Ht("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(o.createElement)("iframe",Object(z.a)({ref:this.node},Object(D.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(o.Component),Rt=Object(S.withGlobalEvents)({blur:"checkFocus"})(Nt);var Lt=Object(S.compose)([S.withInstanceId,Object(S.withState)({currentInput:null})])(function(e){var t=e.className,n=e.currentInput,r=e.label,a=e.value,i=e.instanceId,c=e.onChange,s=e.beforeIcon,l=e.afterIcon,u=e.help,d=e.allowReset,h=e.initialPosition,f=e.min,v=e.max,b=e.setState,m=Object(P.a)(e,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","setState"]),y="inspector-range-control-".concat(i),g=null===n?a:n,O=function(){null!==n&&b({currentInput:null})},k=function(e){var t=e.target.value;e.target.checkValidity()?(O(),c(""===t?void 0:parseFloat(t))):b({currentInput:t})},_=Object(D.isFinite)(g)?g:h||"";return Object(o.createElement)(Se,{label:r,id:y,help:u,className:p()("components-range-control",t)},s&&Object(o.createElement)(J,{icon:s}),Object(o.createElement)("input",Object(z.a)({className:"components-range-control__slider",id:y,type:"range",value:_,onChange:k,"aria-describedby":u?y+"__help":void 0,min:f,max:v},m)),l&&Object(o.createElement)(J,{icon:l}),Object(o.createElement)("input",Object(z.a)({className:"components-range-control__number",type:"number",onChange:k,"aria-label":r,value:g,min:f,max:v,onBlur:O},m)),d&&Object(o.createElement)(E,{onClick:function(){O(),c()},disabled:void 0===a,isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(M.__)("Reset")))});var Ft=Object(S.withInstanceId)(function(e){var t=e.help,n=e.instanceId,r=e.label,a=e.multiple,i=void 0!==a&&a,c=e.onChange,s=e.options,l=void 0===s?[]:s,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(D.isEmpty)(l)&&Object(o.createElement)(Se,{label:r,hideLabelFromVision:d,id:f,help:t,className:u},Object(o.createElement)("select",Object(z.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});c(t)}else c(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 At(e,t){if(t){var n=e.find(function(e){return e.size===t});return n?n.slug:"custom"}return"normal"}var Vt=function(e){var t,n=e.fallbackFontSize,r=e.fontSizes,a=void 0===r?[]:r,i=e.disableCustomFontSizes,c=void 0!==i&&i,s=e.onChange,l=e.value,u=e.withSlider,d=void 0!==u&&u,f=Object(o.useState)(At(a,l)),p=Object(h.a)(f,2),v=p[0],b=p[1];return c&&!a.length?null:Object(o.createElement)("fieldset",null,Object(o.createElement)("legend",null,Object(M.__)("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:v,onChange:function(e){b(e);var t=a.find(function(t){return t.slug===e});t&&s(t.size)},options:(t=a,[].concat(Object(_.a)(t.map(function(e){return{value:e.slug,label:e.name}})),[{value:"custom",label:Object(M.__)("Custom")}]))}),!d&&!c&&Object(o.createElement)("input",{className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value;b(At(a,Number(t))),s(""!==t?Number(t):void 0)},"aria-label":Object(M.__)("Custom"),value:l||""}),Object(o.createElement)(E,{className:"components-color-palette__clear",type:"button",disabled:void 0===l,onClick:function(){s(void 0),b(At(a,void 0))},isSmall:!0,isDefault:!0},Object(M.__)("Reset"))),d&&Object(o.createElement)(Lt,{className:"components-font-size-picker__custom-input",label:Object(M.__)("Custom Size"),value:l||"",initialPosition:n,onChange:s,min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))},Bt=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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,c=void 0!==i&&i,s=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)(ee,Object(z.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:c,style:{display:"none"},accept:t,onChange:s}))}}]),t}(o.Component);var Kt=function(e){var t=e.className,n=e.checked,r=e.id,a=e.onChange,i=void 0===a?D.noop:a,s=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(z.a)({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:i},s)),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)(c,{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)(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"})))},Wt=n(31);var Ut=Object(S.withInstanceId)(function(e){var t=e.value,n=e.status,r=e.title,a=e.displayTransform,i=e.isBorderless,c=void 0!==i&&i,s=e.disabled,l=void 0!==s&&s,u=e.onClickRemove,d=void 0===u?D.noop:u,h=e.onMouseEnter,f=e.onMouseLeave,v=e.messages,b=e.termPosition,m=e.termsCount,y=e.instanceId,g=p()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":c,"is-disabled":l}),O=a(t),k=Object(M.sprintf)(Object(M.__)("%1$s (%2$s of %3$s)"),O,b,m);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(y)},Object(o.createElement)("span",{className:"screen-reader-text"},k),Object(o.createElement)("span",{"aria-hidden":"true"},O)),Object(o.createElement)(ee,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!l&&function(){return d({value:t})},label:v.remove,"aria-describedby":"components-form-token-field__token-text-".concat(y)}))}),$t=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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"]),c=t.length+1;return Object(o.createElement)("input",Object(z.a)({ref:this.bindInput,id:"components-form-token-input-".concat(r),type:"text"},i,{value:t,onChange:this.onChange,size:c,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(71),Gt=n.n(qt),Yt=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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,Gt()(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(D.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);Yt.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var Zt=Object(S.withSafeTimeout)(Yt),Xt={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},Qt=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.a)(t).apply(this,arguments))).state=Xt,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(Xt)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case w.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case w.ENTER:t=this.addCurrentToken();break;case w.LEFT:t=this.handleLeftArrowKey();break;case w.UP:t=this.handleUpArrowKey();break;case w.RIGHT:t=this.handleRightArrowKey();break;case w.DOWN:t=this.handleDownArrowKey();break;case w.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case w.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case w.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(D.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(D.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(Wt.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)(e),a=[],i=[];return 0===o.length?t=Object(D.difference)(t,n):(o=o.toLocaleLowerCase(),Object(D.each)(t,function(e){var t=e.toLocaleLowerCase().indexOf(o);-1===n.indexOf(e)&&(0===t?a.push(e):t>0&&i.push(e))}),t=a.concat(i)),Object(D.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(D.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};(e&&(a.selectedSuggestionIndex=-1,a.selectedSuggestionScroll=!1),this.setState(a),n)&&(0,this.props.debouncedSpeak)(o?Object(M.sprintf)(Object(M._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(M.__)("No results."),"assertive")}},{key:"renderTokensAndInput",value:function(){var e=Object(D.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,c=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:c,termPosition:i})}},{key:"renderInput",value:function(){var e=this.props,t=e.autoCapitalize,n=e.autoComplete,a=e.maxLength,i=e.value,c={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||(c=Object(r.a)({},c,{onChange:this.onInputChange})),Object(o.createElement)($t,c)}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.label,r=void 0===n?Object(M.__)("Add item"):n,a=e.instanceId,i=e.className,c=this.state.isExpanded,s=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:s,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),c&&Object(o.createElement)(Zt,{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(M.__)("Separate with commas, spaces, or the Enter key."):Object(M.__)("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);Qt.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:D.identity,saveTransform:function(e){return e.trim()},onChange:function(){},onInputChange:function(){},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:Object(M.__)("Item added."),removed:Object(M.__)("Item removed."),remove:Object(M.__)("Remove item")}};var Jt=Oe(Object(S.withInstanceId)(Qt));var en=function(e){var t,n=e.icon,a=void 0===n?null:n,i=e.size,c=Object(P.a)(e,["icon","size"]);if("string"==typeof a)return t=i||20,Object(o.createElement)(J,Object(z.a)({icon:a,size:t},c));if(t=i||24,"function"==typeof a)return a.prototype instanceof o.Component?Object(o.createElement)(a,Object(r.a)({size:t},c)):a(Object(r.a)({size:t},c));if(a&&("svg"===a.type||a.type===u)){var s=Object(r.a)({width:t,height:t},a.props,c);return Object(o.createElement)(u,s)}return Object(o.isValidElement)(a)?Object(o.cloneElement)(a,Object(r.a)({size:t},c)):a};var tn=Object(S.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 c="components-menu-group-label-".concat(a),s=p()(r,"components-menu-group");return Object(o.createElement)("div",{className:s},i&&Object(o.createElement)("div",{className:"components-menu-group__label",id:c,"aria-hidden":"true"},i),Object(o.createElement)("div",{role:"group","aria-labelledby":i?c:null},t))});var nn=function(e){var t=e.children,n=e.info,r=e.className,a=e.icon,i=e.shortcut,c=e.isSelected,s=e.role,l=void 0===s?"menuitem":s,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(D.isString)(a)&&(a=Object(o.cloneElement)(a,{className:"components-menu-items__item-icon",height:20,width:20})),Object(o.createElement)(ee,Object(z.a)({icon:a,"aria-checked":"menuitemcheckbox"===l||"menuitemradio"===l?c: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(b.a)(this,t),(e=Object(m.a)(this,Object(y.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=j.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===w.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,c=e.children,s=e.className,l=e.role,u=e.style;return Object(o.createElement)(ne,{className:p()("components-modal__screen-overlay",t),onKeyDown:this.handleKeyDown},Object(o.createElement)("div",{className:p()("components-modal__frame",s),style:u,ref:this.containerRef,role:l,"aria-label":n,"aria-labelledby":n?null:i,"aria-describedby":a,tabIndex:"-1"},c))}}]),t}(o.Component),an=Object(S.compose)([W,U,q])(on),cn=function(e){var t=e.icon,n=e.title,r=e.onClose,a=e.closeLabel,i=e.headingId,c=e.isDismissable,s=a||Object(M.__)("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)),c&&Object(o.createElement)(ee,{onClick:r,icon:"no-alt",label:s}))},sn=new Set(["alert","status","log","marquee","timer"]),ln=[],un=!1;function dn(e){if(!un){var t=document.body.children;Object(D.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")||sn.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(b.a)(this,t),(n=Object(m.a)(this,Object(y.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(D.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,c=e.aria,s=e.instanceId,l=e.isDismissable,u=Object(P.a)(e,["onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissable"]),d=c.labelledby||"components-modal-header-".concat(s);return Object(o.createPortal)(Object(o.createElement)(an,Object(z.a)({onRequestClose:t,aria:{labelledby:n?d:null,describedby:c.describedby}},u),Object(o.createElement)("div",{className:"components-modal__content",tabIndex:"0"},Object(o.createElement)(cn,{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 vn=Object(S.withInstanceId)(pn);var bn=function(e){var t=e.className,n=e.status,r=e.children,a=e.onRemove,i=void 0===a?D.noop:a,c=e.isDismissible,s=void 0===c||c,l=e.actions,u=void 0===l?[]:l,d=e.__unstableHTML,h=p()(t,"components-notice","is-"+n,{"is-dismissible":s});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,c=e.onClick,s=e.url;return Object(o.createElement)(E,{key:t,href:s,isDefault:!i&&!s,isLink:!i&&!!s,onClick:s?void 0:c,className:p()("components-notice__action",n)},r)})),s&&Object(o.createElement)(ee,{className:"components-notice__dismiss",icon:"no-alt",label:Object(M.__)("Dismiss this notice"),onClick:i,tooltip:!1}))};var mn=function(e){var t=e.notices,n=e.onRemove,r=void 0===n?D.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)(bn,Object(z.a)({},Object(D.omit)(e,["content"]),{key:e.id,onRemove:(t=e.id,function(){return r(t)})}),e.content);var t}))};var yn=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)(yn,{label:t}),r)},On=function(e){function t(e){var n;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(y.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,s=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)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(o.createElement)(i,null,Object(o.createElement)(c,{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)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(o.createElement)(i,null,Object(o.createElement)(c,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),t,s&&Object(o.createElement)(en,{icon:s,className:"components-panel__icon",size:20}))),d&&n)}}]),t}(o.Component),kn=function(e,t){return Object(o.createElement)(On,Object(z.a)({},e,{forwardedRef:t}))};kn.displayName="PanelBody";var _n=Object(o.forwardRef)(kn);var Dn=function(e){var t=e.className,n=e.children,r=p()("components-panel__row",t);return Object(o.createElement)("div",{className:r},n)};var wn=function(e){var t=e.icon,n=e.children,r=e.label,a=e.instructions,i=e.className,c=e.notices,s=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(z.a)({},u,{className:d}),c,s&&Object(o.createElement)("div",{className:"components-placeholder__preview"},s),Object(o.createElement)("div",{className:"components-placeholder__label"},Object(D.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 Mn(e){var t=e.label,n=e.noOptionLabel,r=e.onChange,a=e.selectedId,i=e.tree,c=Object(P.a)(e,["label","noOptionLabel","onChange","selectedId","tree"]),s=Object(D.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(D.flatMap)(t,function(t){return[{value:t.id,label:Object(D.repeat)(" ",3*n)+Object(D.unescape)(t.name)}].concat(Object(_.a)(e(t.children||[],n+1)))})}(i))));return Object(o.createElement)(Ft,Object(z.a)({label:t,options:s,onChange:r},{value:a},c))}function Sn(e){var t,n,a=e.label,i=e.noOptionLabel,c=e.categoriesList,s=e.selectedCategoryId,l=e.onChange,u=(t=c.map(function(e){return Object(r.a)({children:[],parent:null},e)}),(n=Object(D.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)(Mn,Object(z.a)({label:a,noOptionLabel:i,onChange:l},{tree:u,selectedId:s}))}var Cn=1,jn=100;function Pn(e){var t=e.categoriesList,n=e.selectedCategoryId,r=e.numberOfItems,a=e.order,i=e.orderBy,c=e.maxItems,s=void 0===c?jn:c,l=e.minItems,u=void 0===l?Cn:l,d=e.onCategoryChange,f=e.onNumberOfItemsChange,p=e.onOrderChange,v=e.onOrderByChange;return[p&&v&&Object(o.createElement)(Ft,{key:"query-controls-order-select",label:Object(M.__)("Order by"),value:"".concat(i,"/").concat(a),options:[{label:Object(M.__)("Newest to Oldest"),value:"date/desc"},{label:Object(M.__)("Oldest to Newest"),value:"date/asc"},{label:Object(M.__)("A → Z"),value:"title/asc"},{label:Object(M.__)("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&&v(r)}}),d&&Object(o.createElement)(Sn,{key:"query-controls-category-select",categoriesList:t,label:Object(M.__)("Category"),noOptionLabel:Object(M.__)("All"),selectedCategoryId:n,onChange:d}),f&&Object(o.createElement)(Lt,{key:"query-controls-range-control",label:Object(M.__)("Number of items"),value:r,onChange:f,min:u,max:s,required:!0})]}var En=Object(S.withInstanceId)(function(e){var t=e.label,n=e.className,r=e.selected,a=e.help,i=e.instanceId,c=e.onChange,s=e.options,l=void 0===s?[]:s,u="inspector-radio-control-".concat(i),d=function(e){return c(e.target.value)};return!Object(D.isEmpty)(l)&&Object(o.createElement)(Se,{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))}))}),zn=n(235);var Tn=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",c="components-resizable-box__corner-handle";return Object(o.createElement)(zn.Resizable,Object(z.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,c,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:p()(a,c,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:p()(a,c,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:p()(a,c,"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;if(1!==o.Children.count(r))return null;var a={paddingBottom:n/t*100+"%"};return Object(o.createElement)("div",{className:"components-responsive-wrapper"},Object(o.createElement)("div",{style:a}),Object(o.cloneElement)(r,{className:p()("components-responsive-wrapper__content",r.props.className)}))},xn=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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,c=this.state,s=c.width,l=c.height;"resize"!==o||s===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),Hn=xn=Object(S.withGlobalEvents)({message:"checkMessageForResize"})(xn),Nn=1e4;var Rn=Object(o.forwardRef)(function(e,t){var n=e.className,r=e.children,a=e.actions,i=void 0===a?[]:a,c=e.onRemove,s=void 0===c?D.noop:c;Object(o.useEffect)(function(){var e=setTimeout(function(){s()},Nn);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:s,tabIndex:"0",role:"button",onKeyPress:s,label:Object(M.__)("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)})))}),Ln=n(20),Fn=n.n(Ln),An=n(44),Vn=n(66);var Bn=function(e){var t=e.notices,n=e.className,r=e.children,a=e.onRemove,i=void 0===a?D.noop:a,c=Object(S.useReducedMotion)(),s=Object(o.useState)(function(){return new WeakMap}),l=Object(h.a)(s,1)[0],u=Object(Vn.useTransition)(t,function(e){return e.id},{from:{opacity:0,height:0},enter:function(e){return t=Object(An.a)(Fn.a.mark(function t(n){return Fn.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)})),function(e){return t.apply(this,arguments)};var t},leave:function(){return e=Object(An.a)(Fn.a.mark(function e(t){return Fn.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)})),function(t){return e.apply(this,arguments)};var e},immediate:c});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)(Rn,Object(z.a)({},Object(D.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(z.a)({role:"tab",tabIndex:a?null:-1,"aria-selected":a,id:t,onClick:n},i),r)},Un=function(e){function t(){var e;Object(b.a)(this,t);var n=(e=Object(m.a)(this,Object(y.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?D.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,c=n.instanceId,s=n.orientation,l=void 0===s?"horizontal":s,u=n.tabs,h=Object(D.find)(u,{name:t}),f=c+"-"+h.name;return Object(o.createElement)("div",{className:i},Object(o.createElement)(jt,{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:c+"-"+n.name,"aria-controls":c+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(D.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),$n=Object(S.withInstanceId)(Un);var qn=Object(S.withInstanceId)(function(e){var t=e.label,n=e.hideLabelFromVision,r=e.value,a=e.help,i=e.instanceId,c=e.onChange,s=e.rows,l=void 0===s?4:s,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)(Se,{label:t,hideLabelFromVision:n,id:h,help:a,className:u},Object(o.createElement)("textarea",Object(z.a)({className:"components-textarea-control__input",id:h,rows:l,onChange:function(e){return c(e.target.value)},"aria-describedby":a?h+"__help":void 0,value:r},d)))});var Gn=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)(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(o.createElement)("p",null,e.children))},Yn=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(y.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,c=n.instanceId,s=n.className,l="inspector-toggle-control-".concat(c);return i&&(e=l+"__help",t=Object(D.isFunction)(i)?i(a):i),Object(o.createElement)(Se,{id:l,help:t,className:p()("components-toggle-control",s)},Object(o.createElement)(Kt,{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(S.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,c=e.onClick,s=e.className,l=e.isActive,u=e.isDisabled,d=e.extraProps,h=e.children;return Object(o.createElement)(Xn,{className:t},Object(o.createElement)(ee,Object(z.a)({icon:n,label:r,shortcut:a,"data-subscript":i,onClick:function(e){e.stopPropagation(),c()},className:p()("components-toolbar__control",s,{"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,c=e.icon,s=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:c,label:s,controls:u,className:p()("components-toolbar",a)}):Object(o.createElement)(Jn,Object(z.a)({className:p()("components-toolbar",a)},l),Object(D.flatMap)(u,function(e,t){return e.map(function(e,n){return Object(o.createElement)(Qn,Object(z.a)({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))})}),r)},tr=Object(S.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(b.a)(this,n),(e=Object(m.a)(this,Object(y.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)(Ve,{bindGlobal:!0,shortcuts:(t={"ctrl+`":this.focusNextRegion},Object(d.a)(t,w.rawShortcut.access("n"),this.focusNextRegion),Object(d.a)(t,"ctrl+shift+`",this.focusPreviousRegion),Object(d.a)(t,w.rawShortcut.access("p"),this.focusPreviousRegion),t)}),Object(o.createElement)(e,this.props))}}]),n}(o.Component)},"navigateRegions"),nr=function(e){return Object(S.createHigherOrderComponent)(function(t){return function(n){function r(){var e;return Object(b.a)(this,r),(e=Object(m.a)(this,Object(y.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(D.isEqual)(o,r)||this.setState({fallbackStyles:o,grabStylesCompleted:!!Object(D.every)(o)})}}},{key:"render",value:function(){var e=Object(o.createElement)(t,Object(z.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(S.createHigherOrderComponent)(function(t){var n,r="core/with-filters/"+e;var a=function(a){function i(){var r;return Object(b.a)(this,i),r=Object(m.a)(this,Object(y.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,c),Object(rr.addAction)("hookAdded",r,c))}},{key:"componentWillUnmount",value:function(){i.instances=Object(D.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(D.debounce)(function(){n=Object(rr.applyFilters)(e,t),a.instances.forEach(function(e){e.forceUpdate()})},or);function c(t){t===e&&i()}return a},"withFilters")}var ir=n(70),cr=n.n(ir),sr=Object(S.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(b.a)(this,n),(e=Object(m.a)(this,Object(y.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:cr()()});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(z.a)({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(o.createElement)(mn,{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 c}),n.d(t,"Polygon",function(){return s}),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 v}),n.d(t,"Autocomplete",function(){return we}),n.d(t,"BaseControl",function(){return Se}),n.d(t,"Button",function(){return E}),n.d(t,"ButtonGroup",function(){return Ce}),n.d(t,"CheckboxControl",function(){return je}),n.d(t,"ClipboardButton",function(){return ze}),n.d(t,"ColorIndicator",function(){return Te}),n.d(t,"ColorPalette",function(){return nt}),n.d(t,"ColorPicker",function(){return tt}),n.d(t,"Dashicon",function(){return J}),n.d(t,"DateTimePicker",function(){return st}),n.d(t,"DatePicker",function(){return it}),n.d(t,"TimePicker",function(){return ct}),n.d(t,"Disabled",function(){return pt}),n.d(t,"Draggable",function(){return bt}),n.d(t,"DropZone",function(){return wt}),n.d(t,"DropZoneProvider",function(){return _t}),n.d(t,"Dropdown",function(){return Ie}),n.d(t,"DropdownMenu",function(){return zt}),n.d(t,"ExternalLink",function(){return Tt}),n.d(t,"FocalPointPicker",function(){return xt}),n.d(t,"FocusableIframe",function(){return Rt}),n.d(t,"FontSizePicker",function(){return Vt}),n.d(t,"FormFileUpload",function(){return Bt}),n.d(t,"FormToggle",function(){return Kt}),n.d(t,"FormTokenField",function(){return Jt}),n.d(t,"Icon",function(){return en}),n.d(t,"IconButton",function(){return ee}),n.d(t,"KeyboardShortcuts",function(){return Ve}),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 vn}),n.d(t,"ScrollLock",function(){return te}),n.d(t,"NavigableMenu",function(){return jt}),n.d(t,"TabbableContainer",function(){return Pt}),n.d(t,"Notice",function(){return bn}),n.d(t,"NoticeList",function(){return mn}),n.d(t,"Panel",function(){return gn}),n.d(t,"PanelBody",function(){return _n}),n.d(t,"PanelHeader",function(){return yn}),n.d(t,"PanelRow",function(){return Dn}),n.d(t,"Placeholder",function(){return wn}),n.d(t,"Popover",function(){return ye}),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 Tn}),n.d(t,"ResponsiveWrapper",function(){return In}),n.d(t,"SandBox",function(){return Hn}),n.d(t,"SelectControl",function(){return Ft}),n.d(t,"Snackbar",function(){return Rn}),n.d(t,"SnackbarList",function(){return Bn}),n.d(t,"Spinner",function(){return Kn}),n.d(t,"TabPanel",function(){return $n}),n.d(t,"TextControl",function(){return $e}),n.d(t,"TextareaControl",function(){return qn}),n.d(t,"Tip",function(){return Gn}),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 Mn}),n.d(t,"IsolatedEventContainer",function(){return ne}),n.d(t,"createSlotFill",function(){return pe}),n.d(t,"Slot",function(){return ue}),n.d(t,"Fill",function(){return fe}),n.d(t,"SlotFillProvider",function(){return se}),n.d(t,"navigateRegions",function(){return tr}),n.d(t,"withConstrainedTabbing",function(){return U}),n.d(t,"withFallbackStyles",function(){return nr}),n.d(t,"withFilters",function(){return ar}),n.d(t,"withFocusOutside",function(){return q}),n.d(t,"withFocusReturn",function(){return W}),n.d(t,"FocusReturnProvider",function(){return K}),n.d(t,"withNotices",function(){return sr}),n.d(t,"withSpokenMessages",function(){return Oe})}]); \ 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 4f3c5cf48f..7e5d40754b 100644 --- a/wp-includes/js/dist/core-data.js +++ b/wp-includes/js/dist/core-data.js @@ -230,7 +230,7 @@ function _iterableToArray(iter) { /***/ }), -/***/ 35: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -546,6 +546,7 @@ __webpack_require__.d(build_module_actions_namespaceObject, "receiveEmbedPreview __webpack_require__.d(build_module_actions_namespaceObject, "editEntityRecord", function() { return 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, "saveEditedEntityRecord", function() { return saveEditedEntityRecord; }); __webpack_require__.d(build_module_actions_namespaceObject, "receiveUploadPermissions", function() { return receiveUploadPermissions; }); @@ -824,7 +825,7 @@ function receiveQueriedItems(items) { } // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(35); +var rememo = __webpack_require__(36); // EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js var equivalent_key_map = __webpack_require__(79); @@ -1427,6 +1428,17 @@ function redo() { } }, _marked3); } +/** + * Forces the creation of a new undo level. + * + * @return {Object} Action object. + */ + +function __unstableCreateUndoLevel() { + return { + type: 'CREATE_UNDO_LEVEL' + }; +} /** * Action triggered to save an entity record. * @@ -1446,6 +1458,8 @@ function saveEntityRecord(kind, name, record) { recordId, updatedRecord, error, + persistedEntity, + currentEdits, path, persistedRecord, currentUser, @@ -1576,43 +1590,97 @@ function saveEntityRecord(kind, name, record) { return receiveAutosaves(persistedRecord.id, updatedRecord); case 38: - _context4.next = 47; + _context4.next = 55; break; case 40: - // Auto drafts should be converted to drafts on explicit saves, + // Auto drafts should be converted to drafts on explicit saves and we should not respect their default title, // but some plugins break with this behavior so we can't filter it on the server. _data = record; - if (kind === 'postType' && persistedRecord.status === 'auto-draft' && !_data.status) { - _data = Object(objectSpread["a" /* default */])({}, _data, { - status: 'draft' - }); - } + if (kind === 'postType' && persistedRecord && persistedRecord.status === 'auto-draft') { + if (!_data.status) { + _data = Object(objectSpread["a" /* default */])({}, _data, { + status: 'draft' + }); + } + + if (!_data.title || _data.title === 'Auto Draft') { + _data = Object(objectSpread["a" /* default */])({}, _data, { + title: '' + }); + } + } // We perform an optimistic update here to clear all the edits that + // will be persisted so that if the server filters them, the new + // filtered values are always accepted. + _context4.next = 44; + return controls_select('getEntityRecord', kind, name, recordId); + + case 44: + persistedEntity = _context4.sent; + _context4.next = 47; + return controls_select('getEntityRecordEdits', kind, name, recordId); + + case 47: + currentEdits = _context4.sent; + _context4.next = 50; + return receiveEntityRecords(kind, name, Object(objectSpread["a" /* default */])({}, persistedEntity, _data), undefined, true); + + case 50: + _context4.next = 52; return apiFetch({ path: path, method: recordId ? 'PUT' : 'POST', data: _data }); - case 44: + case 52: updatedRecord = _context4.sent; - _context4.next = 47; + _context4.next = 55; return receiveEntityRecords(kind, name, updatedRecord, undefined, true); - case 47: - _context4.next = 52; + case 55: + _context4.next = 77; break; - case 49: - _context4.prev = 49; + case 57: + _context4.prev = 57; _context4.t0 = _context4["catch"](11); - error = _context4.t0; + error = _context4.t0; // If we got to the point in the try block where we made an optimistic update, + // we need to roll it back here. - case 52: - _context4.next = 54; + if (!(persistedEntity && currentEdits)) { + _context4.next = 77; + break; + } + + _context4.next = 63; + return receiveEntityRecords(kind, name, persistedEntity, undefined, true); + + case 63: + _context4.t1 = editEntityRecord; + _context4.t2 = kind; + _context4.t3 = name; + _context4.t4 = recordId; + _context4.t5 = objectSpread["a" /* default */]; + _context4.t6 = {}; + _context4.t7 = currentEdits; + _context4.next = 72; + return controls_select('getEntityRecordEdits', kind, name, recordId); + + case 72: + _context4.t8 = _context4.sent; + _context4.t9 = (0, _context4.t5)(_context4.t6, _context4.t7, _context4.t8); + _context4.t10 = { + undoIgnore: true + }; + _context4.next = 77; + return (0, _context4.t1)(_context4.t2, _context4.t3, _context4.t4, _context4.t9, _context4.t10); + + case 77: + _context4.next = 79; return { type: 'SAVE_ENTITY_RECORD_FINISH', kind: kind, @@ -1622,15 +1690,15 @@ function saveEntityRecord(kind, name, record) { isAutosave: isAutosave }; - case 54: + case 79: return _context4.abrupt("return", updatedRecord); - case 55: + case 80: case "end": return _context4.stop(); } } - }, _marked4, null, [[11, 49]]); + }, _marked4, null, [[11, 57]]); } /** * Action triggered to save an entity record's edits. @@ -2392,12 +2460,20 @@ var reducer_entities = function entities() { var UNDO_INITIAL_STATE = []; UNDO_INITIAL_STATE.offset = 0; +var lastEditAction; function reducer_undo() { var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : UNDO_INITIAL_STATE; var action = arguments.length > 1 ? arguments[1] : undefined; switch (action.type) { case 'EDIT_ENTITY_RECORD': + case 'CREATE_UNDO_LEVEL': + if (action.type === 'CREATE_UNDO_LEVEL') { + action = lastEditAction; + } else { + lastEditAction = action; + } + if (action.meta.isUndo || action.meta.isRedo) { var _nextState = Object(toConsumableArray["a" /* default */])(state); @@ -2766,7 +2842,7 @@ var getEntityRecordNonTransientEdits = Object(rememo["a" /* default */])(functio */ function hasEditsForEntityRecord(state, kind, name, recordId) { - return Object.keys(getEntityRecordNonTransientEdits(state, kind, name, recordId)).length > 0; + return isSavingEntityRecord(state, kind, name, recordId) || Object.keys(getEntityRecordNonTransientEdits(state, kind, name, recordId)).length > 0; } /** * Returns the specified entity record, merged with its edits. diff --git a/wp-includes/js/dist/core-data.min.js b/wp-includes/js/dist/core-data.min.js index 63fe613492..34a3eca282 100644 --- a/wp-includes/js/dist/core-data.min.js +++ b/wp-includes/js/dist/core-data.min.js @@ -1 +1 @@ -this.wp=this.wp||{},this.wp.coreData=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=387)}({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})},17:function(e,t,r){"use strict";var n=r(30);function a(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,a=n[e];if(void 0===a)return r;var o=t(r[a],n);return o===r[a]?r:Object(i.a)({},r,Object(f.a)({},a,o))}}},y=function(e){return function(t){return function(r,n){return t(r,e(n))}}};var b=function(e){var t=new WeakMap;return function(r){var n;return t.has(r)?n=t.get(r):(n=e(r),Object(d.isObjectLike)(r)&&t.set(r,n)),n}};function g(e){return{type:"RECEIVE_ITEMS",items:Object(d.castArray)(e)}}var m=r(35),E=r(79),O=r.n(E),w=r(26);var j=b(function(e){for(var t={stableKey:"",page:1,perPage:10},r=Object.keys(e).sort(),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=x.get(e);if(r){var n=r.get(t);if(void 0!==n)return n}else r=new O.a,x.set(e,r);var a=function(e,t){var r=j(t),n=r.stableKey,a=r.page,o=r.perPage;if(!e.queries[n])return null;var i=e.queries[n];if(!i)return null;for(var u=-1===o?0:(a-1)*o,c=-1===o?i.length:Math.min(u+o,i.length),s=[],f=u;f1?t-1:0),n=1;n1?t-1:0),n=1;n4&&void 0!==arguments[4]&&arguments[4];return"postType"===e&&(r=Object(d.castArray)(r).map(function(e){return"auto-draft"===e.status?Object(i.a)({},e,{title:""}):e})),a=n?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)({},g(e),{query:t})}(r,n):g(r),Object(i.a)({},a,{kind:e,name:t,invalidateCache:o})}function B(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function G(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function K(e,t,r,n){var a,o,u,c,s,f,l,p,v,h=arguments;return _.a.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return a=h.length>4&&void 0!==h[4]?h[4]:{},y.next=3,A("getEntity",e,t);case 3:return o=y.sent,u=o.transientEdits,c=void 0===u?{}:u,s=o.mergedEdits,f=void 0===s?{}:s,y.next=10,A("getRawEntityRecord",e,t,r);case 10:return l=y.sent,y.next=13,A("getEditedEntityRecord",e,t,r);case 13:return p=y.sent,v={kind:e,name:t,recordId:r,edits:Object.keys(n).reduce(function(e,t){var r=l[t],a=p[t],o=f[t]?Object(d.merge)({},a,n[t]):n[t];return e[t]=Object(d.isEqual)(r,o)?void 0:o,e},{}),transientEdits:c},y.abrupt("return",Object(i.a)({type:"EDIT_ENTITY_RECORD"},v,{meta:{undo:!a.undoIgnore&&Object(i.a)({},v,{edits:Object.keys(n).reduce(function(e,t){return e[t]=p[t],e},{})})}}));case 16:case"end":return y.stop()}},C)}function Q(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A("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()}},L)}function W(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A("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()}},N)}function H(e,t,r){var n,a,o,u,c,s,f,l,p,v,h,y,b,g,m,E,O,w=arguments;return _.a.wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return n=w.length>3&&void 0!==w[3]?w[3]:{isAutosave:!1},a=n.isAutosave,o=void 0!==a&&a,j.next=3,ce(e);case 3:if(u=j.sent,c=Object(d.find)(u,{kind:e,name:t})){j.next=7;break}return j.abrupt("return");case 7:return s=c.key||re,f=r[s],j.next=11,{type:"SAVE_ENTITY_RECORD_START",kind:e,name:t,recordId:f,isAutosave:o};case 11:return j.prev=11,v="".concat(c.baseURL).concat(f?"/"+f:""),j.next=15,A("getRawEntityRecord",e,t,f);case 15:if(h=j.sent,!o){j.next=40;break}return j.next=19,A("getCurrentUser");case 19:return y=j.sent,b=y?y.id:void 0,j.next=23,A("getAutosave",h.type,h.id,b);case 23:return g=j.sent,m=Object(i.a)({},h,g,r),m=Object.keys(m).reduce(function(e,t){return["title","excerpt","content"].includes(t)&&(e[t]=Object(d.get)(m[t],"raw",m[t])),e},{status:"auto-draft"===m.status?"draft":m.status}),j.next=28,S({path:"".concat(v,"/autosaves"),method:"POST",data:m});case 28:if(l=j.sent,h.id!==l.id){j.next=36;break}return E=Object(i.a)({},h,m,l),E=Object.keys(E).reduce(function(e,t){return["title","excerpt","content"].includes(t)?e[t]=Object(d.get)(E[t],"raw",E[t]):e[t]="status"===t?"auto-draft"===h.status&&"draft"===E.status?E.status:h.status:Object(d.get)(h[t],"raw",h[t]),e},{}),j.next=34,Y(e,t,E,void 0,!0);case 34:j.next=38;break;case 36:return j.next=38,Z(h.id,l);case 38:j.next=47;break;case 40:return O=r,"postType"!==e||"auto-draft"!==h.status||O.status||(O=Object(i.a)({},O,{status:"draft"})),j.next=44,S({path:v,method:f?"PUT":"POST",data:O});case 44:return l=j.sent,j.next=47,Y(e,t,l,void 0,!0);case 47:j.next=52;break;case 49:j.prev=49,j.t0=j.catch(11),p=j.t0;case 52:return j.next=54,{type:"SAVE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:f,error:p,isAutosave:o};case 54:return j.abrupt("return",l);case 55:case"end":return j.stop()}},D,null,[[11,49]])}function z(e,t,r,n){var a,o;return _.a.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,A("hasEditsForEntityRecord",e,t,r);case 2:if(u.sent){u.next=4;break}return u.abrupt("return");case 4:return u.next=6,A("getEntityRecordNonTransientEdits",e,t,r);case 6:return a=u.sent,o=Object(i.a)({id:r},a),u.delegateYield(H(e,t,o,n),"t0",9);case 9:case"end":return u.stop()}},M)}function X(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function J(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}function Z(e,t){return{type:"RECEIVE_AUTOSAVES",postId:e,autosaves:Object(d.castArray)(t)}}var $=_.a.mark(oe),ee=_.a.mark(ie),te=_.a.mark(ce),re="id",ne=[{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"}],ae=[{name:"postType",loadEntities:oe},{name:"taxonomy",loadEntities:ie}];function oe(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S({path:"/wp/v2/types?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(d.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()}},$)}function ie(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S({path:"/wp/v2/taxonomies?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(d.map)(e,function(e,t){return{kind:"taxonomy",baseURL:"/wp/v2/"+e.rest_base,name:t}}));case 4:case"end":return t.stop()}},ee)}var ue=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=Object(d.find)(ne,{kind:e,name:t}),o="root"===e?"":Object(d.upperFirst)(Object(d.camelCase)(e)),i=Object(d.upperFirst)(Object(d.camelCase)(t))+(n?"s":""),u=n&&a.plural?Object(d.upperFirst)(Object(d.camelCase)(a.plural)):i;return"".concat(r).concat(o).concat(u)};function ce(e){var t,r;return _.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,A("getEntitiesByKind",e);case 2:if(!(t=n.sent)||0===t.length){n.next=5;break}return n.abrupt("return",t);case 5:if(r=Object(d.find)(ae,{name:e})){n.next=8;break}return n.abrupt("return",[]);case 8:return n.next=10,r.loadEntities();case 10:return t=n.sent,n.next=13,F(t);case 13:return n.abrupt("return",t);case 14:case"end":return n.stop()}},te)}var se=Object(d.flowRight)([v(function(e){return"query"in e}),y(function(e){return e.query?Object(i.a)({},e,j(e.query)):e}),h("stableKey")])(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.page,a=t.perPage,o=t.key,i=void 0===o?re:o;return"RECEIVE_ITEMS"!==r?e:function(e,t,r,n){for(var a=(r-1)*n,o=Math.max(e.length,a+t.length),i=new Array(o),u=0;u=a&&u0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":var r=t.key||re;return Object(i.a)({},e,t.items.reduce(function(t,n){var a=n[r];return t[a]=function(e,t){if(!e)return t;var r=!1,n={};for(var a in t)Object(d.isEqual)(e[a],t[a])?n[a]=e[a]:(r=!0,n[a]=t[a]);return r?n:e}(e[a],n),t},{}))}return e},queries:se});var de=[];de.offset=0;var le=Object(u.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(f.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(d.keyBy)(t.users,"id")),queries:Object(i.a)({},e.queries,Object(f.a)({},t.queryID,Object(d.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,r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ne,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}(e.config,t),n=e.reducer;if(!n||r!==e.config){var a=Object(d.groupBy)(r,"kind");n=Object(u.combineReducers)(Object.entries(a).reduce(function(e,t){var r=Object(c.a)(t,2),n=r[0],a=r[1],o=Object(u.combineReducers)(a.reduce(function(e,t){return Object(i.a)({},e,Object(f.a)({},t.name,function(e){return Object(d.flowRight)([v(function(t){return t.name&&t.kind&&t.name===e.name&&t.kind===e.kind}),y(function(t){return Object(i.a)({},t,{key:e.key||re})})])(Object(u.combineReducers)({queriedData:fe,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 r=Object(i.a)({},e),n=!0,a=!1,o=void 0;try{for(var u,c=function(){var e=u.value,n=e[t.key],a=r[n];if(!a)return"continue";var o=Object.keys(a).reduce(function(t,r){return Object(d.isEqual)(a[r],Object(d.get)(e[r],"raw",e[r]))||(t[r]=a[r]),t},{});Object.keys(o).length?r[n]=o:delete r[n]},s=t.items[Symbol.iterator]();!(n=(u=s.next()).done);n=!0)c()}catch(e){a=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}return r;case"EDIT_ENTITY_RECORD":var l=Object(i.a)({},e[t.recordId],t.edits);return Object.keys(l).forEach(function(e){void 0===l[e]&&delete l[e]}),Object(i.a)({},e,Object(f.a)({},t.recordId,l))}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(f.a)({},t.recordId,{pending:"SAVE_ENTITY_RECORD_START"===t.type,error:t.error,isAutosave:t.isAutosave}))}return e}}))}(t)))},{}));return e[n]=o,e},{}))}var o=n(e.data,t);return o===e.data&&r===e.config&&n===e.reducer?e:{reducer:n,data:o,config:r}},undo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:de,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"EDIT_ENTITY_RECORD":if(t.meta.isUndo||t.meta.isRedo){var r=Object(s.a)(e);return r.offset=e.offset+(t.meta.isUndo?-1:1),r}if(!t.meta.undo)return e;if(!Object.keys(t.edits).some(function(e){return!t.transientEdits[e]})){var n=Object(s.a)(e);return n.flattenedUndo=Object(i.a)({},e.flattenedUndo,t.edits),n.offset=e.offset,n}var a=e.slice(0,e.offset||void 0);a.offset=0,a.pop(),a.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 o=Object.values(t.meta.undo.edits).filter(function(e){return"function"!=typeof e}),u=Object.values(t.edits).filter(function(e){return"function"!=typeof e});return p()(o,u)||a.push({kind:t.kind,name:t.name,recordId:t.recordId,edits:t.edits}),a}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 r=t.url,n=t.preview;return Object(i.a)({},e,Object(f.a)({},r,n))}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(f.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 r=t.postId,n=t.autosaves;return Object(i.a)({},e,Object(f.a)({},r,n))}return e}}),pe=r(37),ve=r.n(pe),he=Object(u.createRegistrySelector)(function(e){return function(t,r){return e("core/data").isResolving("core","getEmbedPreview",[r])}});function ye(e){return ge(e,"authors")}function be(e){return e.currentUser}var ge=Object(m.a)(function(e,t){var r=e.users.queries[t];return Object(d.map)(r,function(t){return e.users.byId[t]})},function(e,t){return[e.users.queries[t],e.users.byId]});function me(e,t){return Object(d.filter)(e.entities.config,{kind:t})}function Ee(e,t,r){return Object(d.find)(e.entities.config,{kind:t,name:r})}function Oe(e,t,r,n){return Object(d.get)(e.entities.data,[t,r,"queriedData","items",n])}var we=Object(m.a)(function(e,t,r,n){var a=Oe(e,t,r,n);return a&&Object.keys(a).reduce(function(e,t){return e[t]=Object(d.get)(a[t],"raw",a[t]),e},{})},function(e){return[e.entities.data]});function je(e,t,r,n){var a=Object(d.get)(e.entities.data,[t,r,"queriedData"]);return a?R(a,n):[]}function xe(e,t,r,n){return Object(d.get)(e.entities.data,[t,r,"edits",n])}var Re=Object(m.a)(function(e,t,r,n){var a=Ee(e,t,r).transientEdits,o=void 0===a?{}:a,i=xe(e,t,r,n)||[];return Object.keys(i).reduce(function(e,t){return o[t]||(e[t]=i[t]),e},{})},function(e){return[e.entities.config,e.entities.data]});function ke(e,t,r,n){return Object.keys(Re(e,t,r,n)).length>0}var _e=Object(m.a)(function(e,t,r,n){return Object(i.a)({},we(e,t,r,n),xe(e,t,r,n))},function(e){return[e.entities.data]});function Te(e,t,r,n){var a=Object(d.get)(e.entities.data,[t,r,"saving",n],{}),o=a.pending,i=a.isAutosave;return Boolean(o&&i)}function Ie(e,t,r,n){return Object(d.get)(e.entities.data,[t,r,"saving",n,"pending"],!1)}function Se(e,t,r,n){return Object(d.get)(e.entities.data,[t,r,"saving",n,"error"])}function Ae(e){return e.undo.offset}function Pe(e){return e.undo[e.undo.length-2+Ae(e)]}function Ue(e){return e.undo[e.undo.length+Ae(e)]}function Ce(e){return Boolean(Pe(e))}function Le(e){return Boolean(Ue(e))}function Ne(e){return e.themeSupports}function De(e,t){return e.embedPreviews[t]}function Me(e,t){var r=e.embedPreviews[t],n=''+t+"";return!!r&&r.html===n}function Ve(e){return ve()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),Object(d.defaultTo)(qe(e,"create","media"),!0)}function qe(e,t,r,n){var a=Object(d.compact)([t,r,n]).join("/");return Object(d.get)(e,["userPermissions",a])}function Fe(e,t,r){return e.autosaves[r]}function Ye(e,t,r,n){if(void 0!==n){var a=e.autosaves[r];return Object(d.find)(a,{author:n})}}var Be=Object(u.createRegistrySelector)(function(e){return function(t,r,n){return e("core").hasFinishedResolution("getAutosaves",[r,n])}}),Ge=Object(m.a)(function(){return[]},function(e){return[e.undo.length,e.undo.offset]}),Ke=_.a.mark(tt),Qe=_.a.mark(rt),We=_.a.mark(nt),He=_.a.mark(at),ze=_.a.mark(ot),Xe=_.a.mark(it),Je=_.a.mark(ut),Ze=_.a.mark(ct),$e=_.a.mark(st),et=_.a.mark(ft);function tt(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S({path:"/wp/v2/users/?who=authors&per_page=-1"});case 2:return e=t.sent,t.next=5,V("authors",e);case 5:case"end":return t.stop()}},Ke)}function rt(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S({path:"/wp/v2/users/me"});case 2:return e=t.sent,t.next=5,q(e);case 5:case"end":return t.stop()}},Qe)}function nt(e,t,r){var n,a,o;return _.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,ce(e);case 2:if(n=i.sent,a=Object(d.find)(n,{kind:e,name:t})){i.next=6;break}return i.abrupt("return");case 6:return i.next=8,S({path:"".concat(a.baseURL,"/").concat(r,"?context=edit")});case 8:return o=i.sent,i.next=11,Y(e,t,o);case 11:case"end":return i.stop()}},We)}function at(e,t){var r,n,a,o,u,c=arguments;return _.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return r=c.length>2&&void 0!==c[2]?c[2]:{},s.next=3,ce(e);case 3:if(n=s.sent,a=Object(d.find)(n,{kind:e,name:t})){s.next=7;break}return s.abrupt("return");case 7:return o=Object(w.addQueryArgs)(a.baseURL,Object(i.a)({},r,{context:"edit"})),s.next=10,S({path:o});case 10:return u=s.sent,s.next=13,Y(e,t,Object.values(u),r);case 13:case"end":return s.stop()}},He)}function ot(){var e;return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S({path:"/wp/v2/themes?status=active"});case 2:return e=t.sent,t.next=5,B(e[0].theme_supports);case 5:case"end":return t.stop()}},ze)}function it(e){var t;return _.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,S({path:Object(w.addQueryArgs)("/oembed/1.0/proxy",{url:e})});case 3:return t=r.sent,r.next=6,G(e,t);case 6:r.next=12;break;case 8:return r.prev=8,r.t0=r.catch(0),r.next=12,G(e,!1);case 12:case"end":return r.stop()}},Xe,null,[[0,8]])}function ut(){return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return ve()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),e.delegateYield(ct("create","media"),"t0",2);case 2:case"end":return e.stop()}},Je)}function ct(e,t,r){var n,a,o,i,u,c;return _.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(n={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=r?"/wp/v2/".concat(t,"/").concat(r):"/wp/v2/".concat(t),s.prev=5,s.next=8,S({path:a,method:r?"GET":"OPTIONS",parse:!1});case 8:o=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(d.hasIn)(o,["headers","get"])?o.headers.get("allow"):Object(d.get)(o,["headers","Allow"],""),u=Object(d.compact)([e,t,r]).join("/"),c=Object(d.includes)(i,n),s.next=19,J(u,c);case 19:case"end":return s.stop()}},Ze,null,[[5,11]])}function st(e,t){var r,n,a;return _.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,P("getPostType",e);case 2:return r=o.sent,n=r.rest_base,o.next=6,S({path:"/wp/v2/".concat(n,"/").concat(t,"/autosaves?context=edit")});case 6:if(!(a=o.sent)||!a.length){o.next=10;break}return o.next=10,Z(t,a);case 10:case"end":return o.stop()}},$e)}function ft(e,t){return _.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,P("getAutosaves",e,t);case 2:case"end":return r.stop()}},et)}at.shouldInvalidate=function(e,t,r){return"RECEIVE_ITEMS"===e.type&&e.invalidateCache&&t===e.kind&&r===e.name};var dt=ne.reduce(function(e,t){var r=t.kind,n=t.name;return e[ue(r,n)]=function(e,t){return Oe(e,r,n,t)},e[ue(r,n,"get",!0)]=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),i=1;i1?a-1:0),i=1;i=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;k(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},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;t1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach(function(a,o){null!==o&&"object"===n(o)&&(a=a[1]),e.call(r,a,o,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,r),i&&a(t,i),e}();e.exports=i}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.coreData=function(t){var e={};function r(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,r),a.l=!0,a.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 a in t)r.d(n,a,function(e){return t[e]}.bind(null,a));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=387)}({10:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",function(){return n})},17:function(t,e,r){"use strict";var n=r(30);function a(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,a=n[t];if(void 0===a)return r;var i=e(r[a],n);return i===r[a]?r:Object(o.a)({},r,Object(f.a)({},a,i))}}},y=function(t){return function(e){return function(r,n){return e(r,t(n))}}};var b=function(t){var e=new WeakMap;return function(r){var n;return e.has(r)?n=e.get(r):(n=t(r),Object(d.isObjectLike)(r)&&e.set(r,n)),n}};function g(t){return{type:"RECEIVE_ITEMS",items:Object(d.castArray)(t)}}var E=r(36),m=r(79),O=r.n(m),j=r(26);var w=b(function(t){for(var e={stableKey:"",page:1,perPage:10},r=Object.keys(t).sort(),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=x.get(t);if(r){var n=r.get(e);if(void 0!==n)return n}else r=new O.a,x.set(t,r);var a=function(t,e){var r=w(e),n=r.stableKey,a=r.page,i=r.perPage;if(!t.queries[n])return null;var o=t.queries[n];if(!o)return null;for(var u=-1===i?0:(a-1)*i,c=-1===i?o.length:Math.min(u+i,o.length),s=[],f=u;f1?e-1:0),n=1;n1?e-1:0),n=1;n4&&void 0!==arguments[4]&&arguments[4];return"postType"===t&&(r=Object(d.castArray)(r).map(function(t){return"auto-draft"===t.status?Object(o.a)({},t,{title:""}):t})),a=n?function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(o.a)({},g(t),{query:e})}(r,n):g(r),Object(o.a)({},a,{kind:t,name:e,invalidateCache:i})}function B(t){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:t}}function G(t,e){return{type:"RECEIVE_EMBED_PREVIEW",url:t,preview:e}}function K(t,e,r,n){var a,i,u,c,s,f,l,p,v,h=arguments;return _.a.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return a=h.length>4&&void 0!==h[4]?h[4]:{},y.next=3,A("getEntity",t,e);case 3:return i=y.sent,u=i.transientEdits,c=void 0===u?{}:u,s=i.mergedEdits,f=void 0===s?{}:s,y.next=10,A("getRawEntityRecord",t,e,r);case 10:return l=y.sent,y.next=13,A("getEditedEntityRecord",t,e,r);case 13:return p=y.sent,v={kind:t,name:e,recordId:r,edits:Object.keys(n).reduce(function(t,e){var r=l[e],a=p[e],i=f[e]?Object(d.merge)({},a,n[e]):n[e];return t[e]=Object(d.isEqual)(r,i)?void 0:i,t},{}),transientEdits:c},y.abrupt("return",Object(o.a)({type:"EDIT_ENTITY_RECORD"},v,{meta:{undo:!a.undoIgnore&&Object(o.a)({},v,{edits:Object.keys(n).reduce(function(t,e){return t[e]=p[e],t},{})})}}));case 16:case"end":return y.stop()}},C)}function Q(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A("getUndoEdit");case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,Object(o.a)({type:"EDIT_ENTITY_RECORD"},t,{meta:{isUndo:!0}});case 7:case"end":return e.stop()}},L)}function W(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A("getRedoEdit");case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,Object(o.a)({type:"EDIT_ENTITY_RECORD"},t,{meta:{isRedo:!0}});case 7:case"end":return e.stop()}},D)}function H(){return{type:"CREATE_UNDO_LEVEL"}}function z(t,e,r){var n,a,i,u,c,s,f,l,p,v,h,y,b,g,E,m,O,j,w,x=arguments;return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return n=x.length>3&&void 0!==x[3]?x[3]:{isAutosave:!1},a=n.isAutosave,i=void 0!==a&&a,R.next=3,st(t);case 3:if(u=R.sent,c=Object(d.find)(u,{kind:t,name:e})){R.next=7;break}return R.abrupt("return");case 7:return s=c.key||nt,f=r[s],R.next=11,{type:"SAVE_ENTITY_RECORD_START",kind:t,name:e,recordId:f,isAutosave:i};case 11:return R.prev=11,y="".concat(c.baseURL).concat(f?"/"+f:""),R.next=15,A("getRawEntityRecord",t,e,f);case 15:if(b=R.sent,!i){R.next=40;break}return R.next=19,A("getCurrentUser");case 19:return g=R.sent,E=g?g.id:void 0,R.next=23,A("getAutosave",b.type,b.id,E);case 23:return m=R.sent,O=Object(o.a)({},b,m,r),O=Object.keys(O).reduce(function(t,e){return["title","excerpt","content"].includes(e)&&(t[e]=Object(d.get)(O[e],"raw",O[e])),t},{status:"auto-draft"===O.status?"draft":O.status}),R.next=28,S({path:"".concat(y,"/autosaves"),method:"POST",data:O});case 28:if(l=R.sent,b.id!==l.id){R.next=36;break}return j=Object(o.a)({},b,O,l),j=Object.keys(j).reduce(function(t,e){return["title","excerpt","content"].includes(e)?t[e]=Object(d.get)(j[e],"raw",j[e]):t[e]="status"===e?"auto-draft"===b.status&&"draft"===j.status?j.status:b.status:Object(d.get)(b[e],"raw",b[e]),t},{}),R.next=34,Y(t,e,j,void 0,!0);case 34:R.next=38;break;case 36:return R.next=38,$(b.id,l);case 38:R.next=55;break;case 40:return w=r,"postType"===t&&b&&"auto-draft"===b.status&&(w.status||(w=Object(o.a)({},w,{status:"draft"})),w.title&&"Auto Draft"!==w.title||(w=Object(o.a)({},w,{title:""}))),R.next=44,A("getEntityRecord",t,e,f);case 44:return v=R.sent,R.next=47,A("getEntityRecordEdits",t,e,f);case 47:return h=R.sent,R.next=50,Y(t,e,Object(o.a)({},v,w),void 0,!0);case 50:return R.next=52,S({path:y,method:f?"PUT":"POST",data:w});case 52:return l=R.sent,R.next=55,Y(t,e,l,void 0,!0);case 55:R.next=77;break;case 57:if(R.prev=57,R.t0=R.catch(11),p=R.t0,!v||!h){R.next=77;break}return R.next=63,Y(t,e,v,void 0,!0);case 63:return R.t1=K,R.t2=t,R.t3=e,R.t4=f,R.t5=o.a,R.t6={},R.t7=h,R.next=72,A("getEntityRecordEdits",t,e,f);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:t,name:e,recordId:f,error:p,isAutosave:i};case 79:return R.abrupt("return",l);case 80:case"end":return R.stop()}},N,null,[[11,57]])}function X(t,e,r,n){var a,i;return _.a.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,A("hasEditsForEntityRecord",t,e,r);case 2:if(u.sent){u.next=4;break}return u.abrupt("return");case 4:return u.next=6,A("getEntityRecordNonTransientEdits",t,e,r);case 6:return a=u.sent,i=Object(o.a)({id:r},a),u.delegateYield(z(t,e,i,n),"t0",9);case 9:case"end":return u.stop()}},M)}function J(t){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:t}}function Z(t,e){return{type:"RECEIVE_USER_PERMISSION",key:t,isAllowed:e}}function $(t,e){return{type:"RECEIVE_AUTOSAVES",postId:t,autosaves:Object(d.castArray)(e)}}var tt=_.a.mark(ot),et=_.a.mark(ut),rt=_.a.mark(st),nt="id",at=[{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"}],it=[{name:"postType",loadEntities:ot},{name:"taxonomy",loadEntities:ut}];function ot(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({path:"/wp/v2/types?context=edit"});case 2:return t=e.sent,e.abrupt("return",Object(d.map)(t,function(t,e){return{kind:"postType",baseURL:"/wp/v2/"+t.rest_base,name:e,transientEdits:{blocks:!0},mergedEdits:{meta:!0}}}));case 4:case"end":return e.stop()}},tt)}function ut(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({path:"/wp/v2/taxonomies?context=edit"});case 2:return t=e.sent,e.abrupt("return",Object(d.map)(t,function(t,e){return{kind:"taxonomy",baseURL:"/wp/v2/"+t.rest_base,name:e}}));case 4:case"end":return e.stop()}},et)}var ct=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=Object(d.find)(at,{kind:t,name:e}),i="root"===t?"":Object(d.upperFirst)(Object(d.camelCase)(t)),o=Object(d.upperFirst)(Object(d.camelCase)(e))+(n?"s":""),u=n&&a.plural?Object(d.upperFirst)(Object(d.camelCase)(a.plural)):o;return"".concat(r).concat(i).concat(u)};function st(t){var e,r;return _.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,A("getEntitiesByKind",t);case 2:if(!(e=n.sent)||0===e.length){n.next=5;break}return n.abrupt("return",e);case 5:if(r=Object(d.find)(it,{name:t})){n.next=8;break}return n.abrupt("return",[]);case 8:return n.next=10,r.loadEntities();case 10:return e=n.sent,n.next=13,F(e);case 13:return n.abrupt("return",e);case 14:case"end":return n.stop()}},rt)}var ft=Object(d.flowRight)([v(function(t){return"query"in t}),y(function(t){return t.query?Object(o.a)({},t,w(t.query)):t}),h("stableKey")])(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0,r=e.type,n=e.page,a=e.perPage,i=e.key,o=void 0===i?nt:i;return"RECEIVE_ITEMS"!==r?t:function(t,e,r,n){for(var a=(r-1)*n,i=Math.max(t.length,a+e.length),o=new Array(i),u=0;u=a&&u0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_ITEMS":var r=e.key||nt;return Object(o.a)({},t,e.items.reduce(function(e,n){var a=n[r];return e[a]=function(t,e){if(!t)return e;var r=!1,n={};for(var a in e)Object(d.isEqual)(t[a],e[a])?n[a]=t[a]:(r=!0,n[a]=e[a]);return r?n:t}(t[a],n),e},{}))}return t},queries:ft});var lt,pt=[];pt.offset=0;var vt=Object(u.combineReducers)({terms:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_TERMS":return Object(o.a)({},t,Object(f.a)({},e.taxonomy,e.terms))}return t},users:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_USER_QUERY":return{byId:Object(o.a)({},t.byId,Object(d.keyBy)(e.users,"id")),queries:Object(o.a)({},t.queries,Object(f.a)({},e.queryID,Object(d.map)(e.users,function(t){return t.id})))}}return t},currentUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_CURRENT_USER":return e.currentUser}return t},taxonomies:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_TAXONOMIES":return e.taxonomies}return t},themeSupports:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_THEME_SUPPORTS":return Object(o.a)({},t,e.themeSupports)}return t},entities:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:at,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"ADD_ENTITIES":return[].concat(Object(s.a)(t),Object(s.a)(e.entities))}return t}(t.config,e),n=t.reducer;if(!n||r!==t.config){var a=Object(d.groupBy)(r,"kind");n=Object(u.combineReducers)(Object.entries(a).reduce(function(t,e){var r=Object(c.a)(e,2),n=r[0],a=r[1],i=Object(u.combineReducers)(a.reduce(function(t,e){return Object(o.a)({},t,Object(f.a)({},e.name,function(t){return Object(d.flowRight)([v(function(e){return e.name&&e.kind&&e.name===t.name&&e.kind===t.kind}),y(function(e){return Object(o.a)({},e,{key:t.key||nt})})])(Object(u.combineReducers)({queriedData:dt,edits:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_ITEMS":var r=Object(o.a)({},t),n=!0,a=!1,i=void 0;try{for(var u,c=function(){var t=u.value,n=t[e.key],a=r[n];if(!a)return"continue";var i=Object.keys(a).reduce(function(e,r){return Object(d.isEqual)(a[r],Object(d.get)(t[r],"raw",t[r]))||(e[r]=a[r]),e},{});Object.keys(i).length?r[n]=i:delete r[n]},s=e.items[Symbol.iterator]();!(n=(u=s.next()).done);n=!0)c()}catch(t){a=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r;case"EDIT_ENTITY_RECORD":var l=Object(o.a)({},t[e.recordId],e.edits);return Object.keys(l).forEach(function(t){void 0===l[t]&&delete l[t]}),Object(o.a)({},t,Object(f.a)({},e.recordId,l))}return t},saving:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SAVE_ENTITY_RECORD_START":case"SAVE_ENTITY_RECORD_FINISH":return Object(o.a)({},t,Object(f.a)({},e.recordId,{pending:"SAVE_ENTITY_RECORD_START"===e.type,error:e.error,isAutosave:e.isAutosave}))}return t}}))}(e)))},{}));return t[n]=i,t},{}))}var i=n(t.data,e);return i===t.data&&r===t.config&&n===t.reducer?t:{reducer:n,data:i,config:r}},undo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pt,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"EDIT_ENTITY_RECORD":case"CREATE_UNDO_LEVEL":if("CREATE_UNDO_LEVEL"===e.type?e=lt:lt=e,e.meta.isUndo||e.meta.isRedo){var r=Object(s.a)(t);return r.offset=t.offset+(e.meta.isUndo?-1:1),r}if(!e.meta.undo)return t;if(!Object.keys(e.edits).some(function(t){return!e.transientEdits[t]})){var n=Object(s.a)(t);return n.flattenedUndo=Object(o.a)({},t.flattenedUndo,e.edits),n.offset=t.offset,n}var a=t.slice(0,t.offset||void 0);a.offset=0,a.pop(),a.push({kind:e.meta.undo.kind,name:e.meta.undo.name,recordId:e.meta.undo.recordId,edits:Object(o.a)({},t.flattenedUndo,e.meta.undo.edits)});var i=Object.values(e.meta.undo.edits).filter(function(t){return"function"!=typeof t}),u=Object.values(e.edits).filter(function(t){return"function"!=typeof t});return p()(i,u)||a.push({kind:e.kind,name:e.name,recordId:e.recordId,edits:e.edits}),a}return t},embedPreviews:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_EMBED_PREVIEW":var r=e.url,n=e.preview;return Object(o.a)({},t,Object(f.a)({},r,n))}return t},userPermissions:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_USER_PERMISSION":return Object(o.a)({},t,Object(f.a)({},e.key,e.isAllowed))}return t},autosaves:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_AUTOSAVES":var r=e.postId,n=e.autosaves;return Object(o.a)({},t,Object(f.a)({},r,n))}return t}}),ht=r(37),yt=r.n(ht),bt=Object(u.createRegistrySelector)(function(t){return function(e,r){return t("core/data").isResolving("core","getEmbedPreview",[r])}});function gt(t){return mt(t,"authors")}function Et(t){return t.currentUser}var mt=Object(E.a)(function(t,e){var r=t.users.queries[e];return Object(d.map)(r,function(e){return t.users.byId[e]})},function(t,e){return[t.users.queries[e],t.users.byId]});function Ot(t,e){return Object(d.filter)(t.entities.config,{kind:e})}function jt(t,e,r){return Object(d.find)(t.entities.config,{kind:e,name:r})}function wt(t,e,r,n){return Object(d.get)(t.entities.data,[e,r,"queriedData","items",n])}var xt=Object(E.a)(function(t,e,r,n){var a=wt(t,e,r,n);return a&&Object.keys(a).reduce(function(t,e){return t[e]=Object(d.get)(a[e],"raw",a[e]),t},{})},function(t){return[t.entities.data]});function Rt(t,e,r,n){var a=Object(d.get)(t.entities.data,[e,r,"queriedData"]);return a?R(a,n):[]}function kt(t,e,r,n){return Object(d.get)(t.entities.data,[e,r,"edits",n])}var _t=Object(E.a)(function(t,e,r,n){var a=jt(t,e,r).transientEdits,i=void 0===a?{}:a,o=kt(t,e,r,n)||[];return Object.keys(o).reduce(function(t,e){return i[e]||(t[e]=o[e]),t},{})},function(t){return[t.entities.config,t.entities.data]});function Tt(t,e,r,n){return At(t,e,r,n)||Object.keys(_t(t,e,r,n)).length>0}var It=Object(E.a)(function(t,e,r,n){return Object(o.a)({},xt(t,e,r,n),kt(t,e,r,n))},function(t){return[t.entities.data]});function St(t,e,r,n){var a=Object(d.get)(t.entities.data,[e,r,"saving",n],{}),i=a.pending,o=a.isAutosave;return Boolean(i&&o)}function At(t,e,r,n){return Object(d.get)(t.entities.data,[e,r,"saving",n,"pending"],!1)}function Ut(t,e,r,n){return Object(d.get)(t.entities.data,[e,r,"saving",n,"error"])}function Pt(t){return t.undo.offset}function Ct(t){return t.undo[t.undo.length-2+Pt(t)]}function Lt(t){return t.undo[t.undo.length+Pt(t)]}function Dt(t){return Boolean(Ct(t))}function Nt(t){return Boolean(Lt(t))}function Mt(t){return t.themeSupports}function Vt(t,e){return t.embedPreviews[e]}function qt(t,e){var r=t.embedPreviews[e],n=''+e+"";return!!r&&r.html===n}function Ft(t){return yt()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),Object(d.defaultTo)(Yt(t,"create","media"),!0)}function Yt(t,e,r,n){var a=Object(d.compact)([e,r,n]).join("/");return Object(d.get)(t,["userPermissions",a])}function Bt(t,e,r){return t.autosaves[r]}function Gt(t,e,r,n){if(void 0!==n){var a=t.autosaves[r];return Object(d.find)(a,{author:n})}}var Kt=Object(u.createRegistrySelector)(function(t){return function(e,r,n){return t("core").hasFinishedResolution("getAutosaves",[r,n])}}),Qt=Object(E.a)(function(){return[]},function(t){return[t.undo.length,t.undo.offset]}),Wt=_.a.mark(ne),Ht=_.a.mark(ae),zt=_.a.mark(ie),Xt=_.a.mark(oe),Jt=_.a.mark(ue),Zt=_.a.mark(ce),$t=_.a.mark(se),te=_.a.mark(fe),ee=_.a.mark(de),re=_.a.mark(le);function ne(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({path:"/wp/v2/users/?who=authors&per_page=-1"});case 2:return t=e.sent,e.next=5,V("authors",t);case 5:case"end":return e.stop()}},Wt)}function ae(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({path:"/wp/v2/users/me"});case 2:return t=e.sent,e.next=5,q(t);case 5:case"end":return e.stop()}},Ht)}function ie(t,e,r){var n,a,i;return _.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,st(t);case 2:if(n=o.sent,a=Object(d.find)(n,{kind:t,name:e})){o.next=6;break}return o.abrupt("return");case 6:return o.next=8,S({path:"".concat(a.baseURL,"/").concat(r,"?context=edit")});case 8:return i=o.sent,o.next=11,Y(t,e,i);case 11:case"end":return o.stop()}},zt)}function oe(t,e){var r,n,a,i,u,c=arguments;return _.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return r=c.length>2&&void 0!==c[2]?c[2]:{},s.next=3,st(t);case 3:if(n=s.sent,a=Object(d.find)(n,{kind:t,name:e})){s.next=7;break}return s.abrupt("return");case 7:return i=Object(j.addQueryArgs)(a.baseURL,Object(o.a)({},r,{context:"edit"})),s.next=10,S({path:i});case 10:return u=s.sent,s.next=13,Y(t,e,Object.values(u),r);case 13:case"end":return s.stop()}},Xt)}function ue(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({path:"/wp/v2/themes?status=active"});case 2:return t=e.sent,e.next=5,B(t[0].theme_supports);case 5:case"end":return e.stop()}},Jt)}function ce(t){var e;return _.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,S({path:Object(j.addQueryArgs)("/oembed/1.0/proxy",{url:t})});case 3:return e=r.sent,r.next=6,G(t,e);case 6:r.next=12;break;case 8:return r.prev=8,r.t0=r.catch(0),r.next=12,G(t,!1);case 12:case"end":return r.stop()}},Zt,null,[[0,8]])}function se(){return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return yt()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),t.delegateYield(fe("create","media"),"t0",2);case 2:case"end":return t.stop()}},$t)}function fe(t,e,r){var n,a,i,o,u,c;return _.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(n={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[t]){s.next=4;break}throw new Error("'".concat(t,"' is not a valid action."));case 4:return a=r?"/wp/v2/".concat(e,"/").concat(r):"/wp/v2/".concat(e),s.prev=5,s.next=8,S({path:a,method:r?"GET":"OPTIONS",parse:!1});case 8:i=s.sent,s.next=14;break;case 11:return s.prev=11,s.t0=s.catch(5),s.abrupt("return");case 14:return o=Object(d.hasIn)(i,["headers","get"])?i.headers.get("allow"):Object(d.get)(i,["headers","Allow"],""),u=Object(d.compact)([t,e,r]).join("/"),c=Object(d.includes)(o,n),s.next=19,Z(u,c);case 19:case"end":return s.stop()}},te,null,[[5,11]])}function de(t,e){var r,n,a;return _.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,U("getPostType",t);case 2:return r=i.sent,n=r.rest_base,i.next=6,S({path:"/wp/v2/".concat(n,"/").concat(e,"/autosaves?context=edit")});case 6:if(!(a=i.sent)||!a.length){i.next=10;break}return i.next=10,$(e,a);case 10:case"end":return i.stop()}},ee)}function le(t,e){return _.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,U("getAutosaves",t,e);case 2:case"end":return r.stop()}},re)}oe.shouldInvalidate=function(t,e,r){return"RECEIVE_ITEMS"===t.type&&t.invalidateCache&&e===t.kind&&r===t.name};var pe=at.reduce(function(t,e){var r=e.kind,n=e.name;return t[ct(r,n)]=function(t,e){return wt(t,r,n,e)},t[ct(r,n,"get",!0)]=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o1?a-1:0),o=1;o=0;--i){var o=this.tryEntries[i],u=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(c&&s){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;k(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},7:function(t,e,r){"use strict";r.d(e,"a",function(){return a});var n=r(10);function a(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach(function(a,i){null!==i&&"object"===n(i)&&(a=a[1]),t.call(r,a,i,e)})}},{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(e.prototype,r),o&&a(e,o),t}();t.exports=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 c1d3581597..f2f0cbef08 100644 --- a/wp-includes/js/dist/edit-post.js +++ b/wp-includes/js/dist/edit-post.js @@ -1180,9 +1180,6 @@ var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // EXTERNAL MODULE: external {"this":["wp","i18n"]} var external_this_wp_i18n_ = __webpack_require__(1); -// EXTERNAL MODULE: external {"this":["wp","blockEditor"]} -var external_this_wp_blockEditor_ = __webpack_require__(6); - // EXTERNAL MODULE: external {"this":["wp","plugins"]} var external_this_wp_plugins_ = __webpack_require__(52); @@ -1383,6 +1380,9 @@ function FullscreenModeClose(_ref) { }; })(FullscreenModeClose)); +// EXTERNAL MODULE: external {"this":["wp","blockEditor"]} +var external_this_wp_blockEditor_ = __webpack_require__(6); + // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/header-toolbar/index.js @@ -1412,7 +1412,8 @@ function HeaderToolbar(_ref) { "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" + 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"], { @@ -4007,7 +4008,6 @@ function (_Component) { - /** * Internal dependencies */ @@ -4061,7 +4061,7 @@ function Layout(_ref) { , "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"])(external_this_wp_blockEditor_["PreserveScrollInReorder"], 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", { + }, 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" @@ -5071,7 +5071,7 @@ function _typeof(obj) { /***/ }), -/***/ 35: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -6182,7 +6182,7 @@ function metaBoxUpdatesSuccess() { } // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(35); +var rememo = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/selectors.js /** @@ -6498,6 +6498,7 @@ var getMetaBoxContainer = function getMetaBoxContainer(location) { +var saveMetaboxUnsubscribe; var effects = { SET_META_BOXES_PER_LOCATIONS: function SET_META_BOXES_PER_LOCATIONS(action, store) { // Allow toggling metaboxes panels @@ -6518,9 +6519,14 @@ var effects = { // // See: https://github.com/WordPress/WordPress/blob/5.1.1/wp-admin/includes/post.php#L2307-L2309 - var hasActiveMetaBoxes = Object(external_this_wp_data_["select"])('core/edit-post').hasMetaBoxes(); // Save metaboxes when performing a full save on the post. + var hasActiveMetaBoxes = Object(external_this_wp_data_["select"])('core/edit-post').hasMetaBoxes(); // First remove any existing subscription in order to prevent multiple saves - Object(external_this_wp_data_["subscribe"])(function () { + if (!!saveMetaboxUnsubscribe) { + saveMetaboxUnsubscribe(); + } // Save metaboxes when performing a full save on the post. + + + saveMetaboxUnsubscribe = Object(external_this_wp_data_["subscribe"])(function () { var isSavingPost = Object(external_this_wp_data_["select"])('core/editor').isSavingPost(); var isAutosavingPost = Object(external_this_wp_data_["select"])('core/editor').isAutosavingPost(); // Save metaboxes on save completion, except for autosaves that are not a post preview. diff --git a/wp-includes/js/dist/edit-post.min.js b/wp-includes/js/dist/edit-post.min.js index 1bbe665421..04e22425c9 100644 --- a/wp-includes/js/dist/edit-post.min.js +++ b/wp-includes/js/dist/edit-post.min.js @@ -9,4 +9,4 @@ this.wp=this.wp||{},this.wp.editPost=function(e){var t={};function n(o){if(t[o]) Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t0?"mixed":"false",Object(b.createElement)("div",{role:"group","aria-labelledby":p,className:"edit-post-manage-blocks-modal__category"},Object(b.createElement)(h.CheckboxControl,{checked:m,onChange:a,className:"edit-post-manage-blocks-modal__category-title","aria-checked":u,label:Object(b.createElement)("span",{id:p},n.title)}),Object(b.createElement)(Oe,{blockTypes:s,value:d,onItemChange:i}))});var he=Object(E.compose)([Object(E.withState)({search:""}),Object(f.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,c=e.hasBlockSupport,i=e.isMatchingSearchTerm,a=e.numberOfHiddenBlocks;return o=o.filter(function(e){return c(e,"inserter",!0)&&(!t||i(e,t))&&!e.parent}),Object(b.createElement)("div",{className:"edit-post-manage-blocks-modal__content"},Object(b.createElement)(h.TextControl,{type:"search",label:Object(y.__)("Search for a block"),value:t,onChange:function(e){return n({search:e})},className:"edit-post-manage-blocks-modal__search"}),!!a&&Object(b.createElement)("div",{className:"edit-post-manage-blocks-modal__disabled-blocks-count"},Object(y.sprintf)(Object(y._n)("%1$d block is disabled.","%1$d blocks are disabled.",a),a)),Object(b.createElement)("div",{tabIndex:"0",role:"region","aria-label":Object(y.__)("Available block types"),className:"edit-post-manage-blocks-modal__results"},0===o.length&&Object(b.createElement)("p",{className:"edit-post-manage-blocks-modal__no-results"},Object(y.__)("No blocks found.")),r.map(function(e){return Object(b.createElement)(je,{key:e.slug,category:e,blockTypes:Object(O.filter)(o,{category:e.slug})})})))});var Ee=Object(E.compose)([Object(f.withSelect)(function(e){return{isActive:(0,e("core/edit-post").isModalActive)("edit-post/manage-blocks")}}),Object(f.withDispatch)(function(e){return{closeModal:e("core/edit-post").closeModal}})])(function(e){var t=e.isActive,n=e.closeModal;return t?Object(b.createElement)(h.Modal,{className:"edit-post-manage-blocks-modal",title:Object(y.__)("Block Manager"),closeLabel:Object(y.__)("Close"),onRequestClose:n},Object(b.createElement)(he,null)):null}),ge=function(e){var t=e.title,n=e.children;return Object(b.createElement)("section",{className:"edit-post-options-modal__section"},Object(b.createElement)("h2",{className:"edit-post-options-modal__section-title"},t),n)},ve=n(53);var _e=Object(f.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(r.a)(e,["areCustomFieldsRegistered","metaBoxes"]),c=Object(O.filter)(n,function(e){return"postcustom"!==e.id});return t||0!==c.length?Object(b.createElement)(ge,o,t&&Object(b.createElement)(ve.a,{label:Object(y.__)("Custom Fields")}),Object(O.map)(c,function(e){var t=e.id,n=e.title;return Object(b.createElement)(ve.c,{key:t,label:n,panelName:"meta-box-".concat(t)})})):null});var ye=Object(E.compose)(Object(f.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(f.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(b.createElement)(h.Modal,{className:"edit-post-options-modal",title:Object(y.__)("Options"),closeLabel:Object(y.__)("Close"),onRequestClose:o},Object(b.createElement)(ge,{title:Object(y.__)("General")},Object(b.createElement)(ve.e,{label:Object(y.__)("Pre-publish Checks")}),Object(b.createElement)(ve.f,{label:Object(y.__)("Tips")}),Object(b.createElement)(ve.b,{feature:"showInserterHelpPanel",label:Object(y.__)("Inserter Help Panel")})),Object(b.createElement)(ge,{title:Object(y.__)("Document Panels")},Object(b.createElement)(ve.d.Slot,null),n&&Object(b.createElement)(ve.c,{label:Object(y.__)("Permalink"),panelName:"post-link"}),Object(b.createElement)(j.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(b.createElement)(ve.c,{label:Object(O.get)(t,["labels","menu_name"]),panelName:"taxonomy-panel-".concat(t.slug)})}}),Object(b.createElement)(j.PostFeaturedImageCheck,null,Object(b.createElement)(ve.c,{label:Object(y.__)("Featured Image"),panelName:"featured-image"})),Object(b.createElement)(j.PostExcerptCheck,null,Object(b.createElement)(ve.c,{label:Object(y.__)("Excerpt"),panelName:"post-excerpt"})),Object(b.createElement)(j.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(b.createElement)(ve.c,{label:Object(y.__)("Discussion"),panelName:"discussion-panel"})),Object(b.createElement)(j.PageAttributesCheck,null,Object(b.createElement)(ve.c,{label:Object(y.__)("Page Attributes"),panelName:"page-attributes"}))),Object(b.createElement)(_e,{title:Object(y.__)("Advanced Panels")})):null}),Se=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(s.a)(this,Object(u.a)(t).apply(this,arguments))).bindContainerNode=e.bindContainerNode.bind(Object(J.a)(e)),e}return Object(d.a)(t,e),Object(l.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=_()("edit-post-meta-boxes-area","is-".concat(t),{"is-loading":n});return Object(b.createElement)("div",{className:o},n&&Object(b.createElement)(h.Spinner,null),Object(b.createElement)("div",{className:"edit-post-meta-boxes-area__container",ref:this.bindContainerNode}),Object(b.createElement)("div",{className:"edit-post-meta-boxes-area__clear"}))}}]),t}(b.Component),ke=Object(f.withSelect)(function(e){return{isSaving:e("core/edit-post").isSavingMetaBoxes()}})(Se),Pe=function(e){function t(){return Object(a.a)(this,t),Object(s.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(l.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}(b.Component),we=Object(f.withSelect)(function(e,t){var n=t.id;return{isVisible:e("core/edit-post").isEditorPanelEnabled("meta-box-".concat(n))}})(Pe);var Ce=Object(f.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(b.createElement)(b.Fragment,null,Object(O.map)(o,function(e){var t=e.id;return Object(b.createElement)(we,{key:t,id:t})}),n&&Object(b.createElement)(ke,{location:t}))}),Te=n(88),xe=n(23),Ne=n(127),Ae=Object(f.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(y.__)("Block"),c="edit-post/document"===o?[Object(y.__)("Document (selected)"),"is-active"]:[Object(y.__)("Document"),""],i=Object(xe.a)(c,2),a=i[0],l=i[1],s="edit-post/block"===o?[Object(y.__)("Block (selected)"),"is-active"]:[Object(y.__)("Block"),""],u=Object(xe.a)(s,2),d=u[0],p=u[1];return Object(b.createElement)(Ne.a,{className:"edit-post-sidebar__panel-tabs",closeLabel:Object(y.__)("Close settings")},Object(b.createElement)("ul",null,Object(b.createElement)("li",null,Object(b.createElement)("button",{onClick:t,className:"edit-post-sidebar__panel-tab ".concat(l),"aria-label":a,"data-label":Object(y.__)("Document")},Object(y.__)("Document"))),Object(b.createElement)("li",null,Object(b.createElement)("button",{onClick:n,className:"edit-post-sidebar__panel-tab ".concat(p),"aria-label":d,"data-label":r},r))))});var Me=function(){return Object(b.createElement)(j.PostVisibilityCheck,{render:function(e){var t=e.canEdit;return Object(b.createElement)(h.PanelRow,{className:"edit-post-post-visibility"},Object(b.createElement)("span",null,Object(y.__)("Visibility")),!t&&Object(b.createElement)("span",null,Object(b.createElement)(j.PostVisibilityLabel,null)),t&&Object(b.createElement)(h.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-visibility__dialog",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(b.createElement)(h.Button,{type:"button","aria-expanded":t,className:"edit-post-post-visibility__toggle",onClick:n,isLink:!0},Object(b.createElement)(j.PostVisibilityLabel,null))},renderContent:function(){return Object(b.createElement)(j.PostVisibility,null)}}))}})};function Be(){return Object(b.createElement)(j.PostTrashCheck,null,Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostTrash,null)))}var Ie=function(){return Object(b.createElement)(j.PostScheduleCheck,null,Object(b.createElement)(h.PanelRow,{className:"edit-post-post-schedule"},Object(b.createElement)("span",null,Object(y.__)("Publish")),Object(b.createElement)(h.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-schedule__dialog",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(h.Button,{type:"button",className:"edit-post-post-schedule__toggle",onClick:t,"aria-expanded":n,isLink:!0},Object(b.createElement)(j.PostScheduleLabel,null)))},renderContent:function(){return Object(b.createElement)(j.PostSchedule,null)}})))};var Le=function(){return Object(b.createElement)(j.PostStickyCheck,null,Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostSticky,null)))};var De=function(){return Object(b.createElement)(j.PostAuthorCheck,null,Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostAuthor,null)))};var Re=function(){return Object(b.createElement)(j.PostFormatCheck,null,Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostFormat,null)))};var Fe=function(){return Object(b.createElement)(j.PostPendingStatusCheck,null,Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostPendingStatus,null)))},Ge=n(117);var Ve=Object(E.compose)([Object(f.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(E.ifCondition)(function(e){return!e.isRemoved}),Object(f.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(b.createElement)(h.PanelBody,{className:"edit-post-post-status",title:Object(y.__)("Status & Visibility"),opened:t,onToggle:n},Object(b.createElement)(Ge.a.Slot,null,function(e){return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Me,null),Object(b.createElement)(Ie,null),Object(b.createElement)(Re,null),Object(b.createElement)(Le,null),Object(b.createElement)(Fe,null),Object(b.createElement)(De,null),e,Object(b.createElement)(Be,null))}))});var Ue=function(){return Object(b.createElement)(j.PostLastRevisionCheck,null,Object(b.createElement)(h.PanelBody,{className:"edit-post-last-revision__panel"},Object(b.createElement)(j.PostLastRevision,null)))};var He=Object(E.compose)(Object(f.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(f.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 i=Object(O.get)(n,["labels","menu_name"]);return i?Object(b.createElement)(h.PanelBody,{title:i,opened:o,onToggle:r},c):null});var We=function(){return Object(b.createElement)(j.PostTaxonomiesCheck,null,Object(b.createElement)(j.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(b.createElement)(He,{taxonomy:t},e)}}))};var qe=Object(f.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")}}),Ke=Object(f.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(O.partial)(t,"featured-image")}}),Qe=Object(E.compose)(qe,Ke)(function(e){var t=e.isEnabled,n=e.isOpened,o=e.postType,r=e.onTogglePanel;return t?Object(b.createElement)(j.PostFeaturedImageCheck,null,Object(b.createElement)(h.PanelBody,{title:Object(O.get)(o,["labels","featured_image"],Object(y.__)("Featured Image")),opened:n,onToggle:r},Object(b.createElement)(j.PostFeaturedImage,null))):null});var Xe=Object(E.compose)([Object(f.withSelect)(function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("post-excerpt"),isOpened:e("core/edit-post").isEditorPanelOpened("post-excerpt")}}),Object(f.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(b.createElement)(j.PostExcerptCheck,null,Object(b.createElement)(h.PanelBody,{title:Object(y.__)("Excerpt"),opened:n,onToggle:o},Object(b.createElement)(j.PostExcerpt,null))):null});var ze=Object(E.compose)([Object(f.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(E.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(f.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(E.withState)({forceEmptyField:!1})])(function(e){var t,n,o,r=e.isOpened,c=e.onTogglePanel,i=e.isEditable,a=e.postLink,l=e.permalinkParts,s=e.editPermalink,u=e.forceEmptyField,d=e.setState,p=e.postTitle,m=e.postSlug,O=e.postID,f=e.postTypeLabel,E=l.prefix,g=l.suffix,v=Object(w.safeDecodeURIComponent)(m)||Object(j.cleanForSlug)(p)||O;return i&&(t=E&&Object(b.createElement)("span",{className:"edit-post-post-link__link-prefix"},E),n=v&&Object(b.createElement)("span",{className:"edit-post-post-link__link-post-name"},v),o=g&&Object(b.createElement)("span",{className:"edit-post-post-link__link-suffix"},g)),Object(b.createElement)(h.PanelBody,{title:Object(y.__)("Permalink"),opened:r,onToggle:c},i&&Object(b.createElement)("div",{className:"editor-post-link"},Object(b.createElement)(h.TextControl,{label:Object(y.__)("URL Slug"),value:u?"":v,onChange:function(e){s(e),e?u&&d({forceEmptyField:!1}):u||d({forceEmptyField:!0})},onBlur:function(e){s(Object(j.cleanForSlug)(e.target.value)),u&&d({forceEmptyField:!1})}}),Object(b.createElement)("p",null,Object(y.__)("The last part of the URL. "),Object(b.createElement)(h.ExternalLink,{href:"https://wordpress.org/support/article/writing-posts/#post-field-descriptions"},Object(y.__)("Read about permalinks")))),Object(b.createElement)("p",{className:"edit-post-post-link__preview-label"},f||Object(y.__)("View Post")),Object(b.createElement)("div",{className:"edit-post-post-link__preview-link-container"},Object(b.createElement)(h.ExternalLink,{className:"edit-post-post-link__link",href:a,target:"_blank"},i?Object(b.createElement)(b.Fragment,null,t,n,o):a)))});var Ye=Object(E.compose)([Object(f.withSelect)(function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("discussion-panel"),isOpened:e("core/edit-post").isEditorPanelOpened("discussion-panel")}}),Object(f.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(b.createElement)(j.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(b.createElement)(h.PanelBody,{title:Object(y.__)("Discussion"),opened:n,onToggle:o},Object(b.createElement)(j.PostTypeSupportCheck,{supportKeys:"comments"},Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostComments,null))),Object(b.createElement)(j.PostTypeSupportCheck,{supportKeys:"trackbacks"},Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostPingbacks,null))))):null});var $e=Object(f.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"))}}),Ze=Object(f.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(O.partial)(t,"page-attributes")}}),Je=Object(E.compose)($e,Ze)(function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel,r=e.postType;return t&&r?Object(b.createElement)(j.PageAttributesCheck,null,Object(b.createElement)(h.PanelBody,{title:Object(O.get)(r,["labels","attributes"],Object(y.__)("Page Attributes")),opened:n,onToggle:o},Object(b.createElement)(j.PageTemplate,null),Object(b.createElement)(j.PageAttributesParent,null),Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PageAttributesOrder,null)))):null}),et=n(118),tt=Object(E.compose)(Object(f.withSelect)(function(e){var t=e("core/edit-post"),n=t.getActiveGeneralSidebarName;return{isEditorSidebarOpened:(0,t.isEditorSidebarOpened)(),sidebarName:n()}}),Object(E.ifCondition)(function(e){return e.isEditorSidebarOpened}))(function(e){var t=e.sidebarName;return Object(b.createElement)(Te.a,{name:t,label:Object(y.__)("Editor settings")},Object(b.createElement)(Ae,{sidebarName:t}),Object(b.createElement)(h.Panel,null,"edit-post/document"===t&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ve,null),Object(b.createElement)(et.a.Slot,null),Object(b.createElement)(Ue,null),Object(b.createElement)(ze,null),Object(b.createElement)(We,null),Object(b.createElement)(Qe,null),Object(b.createElement)(Xe,null),Object(b.createElement)(Ye,null),Object(b.createElement)(Je,null),Object(b.createElement)(Ce,{location:"side"})),"edit-post/block"===t&&Object(b.createElement)(h.PanelBody,{className:"edit-post-settings-sidebar__panel-block"},Object(b.createElement)(S.BlockInspector,null))))}),nt=n(119),ot=n(120),rt=function(e){function t(){return Object(a.a)(this,t),Object(s.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(l.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}(b.Component),ct=Object(f.withSelect)(function(e){return{isActive:e("core/edit-post").isFeatureActive("fullscreenMode")}})(rt);var it=Object(E.compose)(Object(f.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(f.withDispatch)(function(e){var t=e("core/edit-post");return{closePublishSidebar:t.closePublishSidebar,togglePublishSidebar:t.togglePublishSidebar}}),h.navigateRegions,Object(P.withViewportMatch)({isMobileViewport:"< small"}))(function(e){var t=e.mode,n=e.editorSidebarOpened,r=e.pluginSidebarOpened,c=e.publishSidebarOpened,i=e.hasFixedToolbar,a=e.closePublishSidebar,l=e.togglePublishSidebar,s=e.hasActiveMetaboxes,u=e.isSaving,d=e.isMobileViewport,p=e.isRichEditingEnabled,m=n||r||c,O=_()("edit-post-layout",{"is-sidebar-opened":m,"has-fixed-toolbar":i,"has-metaboxes":s}),f={role:"region","aria-label":Object(y.__)("Editor publish"),tabIndex:-1};return Object(b.createElement)(h.FocusReturnProvider,{className:O},Object(b.createElement)(ct,null),Object(b.createElement)(T,null),Object(b.createElement)(j.UnsavedChangesWarning,null),Object(b.createElement)(j.AutosaveMonitor,null),Object(b.createElement)(j.LocalAutosaveMonitor,null),Object(b.createElement)(K,null),Object(b.createElement)("div",{className:"edit-post-layout__content",role:"region","aria-label":Object(y.__)("Editor content"),tabIndex:"-1"},Object(b.createElement)(j.EditorNotices,null),Object(b.createElement)(S.PreserveScrollInReorder,null),Object(b.createElement)(te,null),Object(b.createElement)(me,null),Object(b.createElement)(Ee,null),Object(b.createElement)(ye,null),("text"===t||!p)&&Object(b.createElement)(X,null),p&&"visual"===t&&Object(b.createElement)($,null),Object(b.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(b.createElement)(Ce,{location:"normal"})),Object(b.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(b.createElement)(Ce,{location:"advanced"}))),c?Object(b.createElement)(j.PostPublishPanel,Object(o.a)({},f,{onClose:a,forceIsDirty:s,forceIsSaving:u,PrePublishExtension:ot.a.Slot,PostPublishExtension:nt.a.Slot})):Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",Object(o.a)({className:"edit-post-toggle-publish-panel"},f),Object(b.createElement)(h.Button,{isDefault:!0,type:"button",className:"edit-post-toggle-publish-panel__button",onClick:l,"aria-expanded":!1},Object(y.__)("Open publish panel"))),Object(b.createElement)(tt,null),Object(b.createElement)(Te.a.Slot,null),d&&m&&Object(b.createElement)(h.ScrollLock,null)),Object(b.createElement)(h.Popover.Slot,null),Object(b.createElement)(k.PluginArea,null))}),at=n(75),lt=function(e){var t=e.postId;!function(e){var t=Object(f.useSelect)(function(e){return{isSmall:e("core/viewport").isViewportMatch("< medium"),sidebarToReOpenOnExpand:e(at.a).getActiveGeneralSidebarName()}},[e]),n=t.isSmall,o=t.sidebarToReOpenOnExpand,r=Object(f.useDispatch)(at.a),c=r.openGeneralSidebar,i=r.closeGeneralSidebar,a=Object(b.useRef)("");Object(b.useEffect)(function(){n&&o?(a.current=o,i()):!n&&a.current&&(c(a.current),a.current="")},[n,o])}(t),function(e){var t=Object(f.useSelect)(function(e){return{hasBlockSelection:!!e("core/block-editor").getBlockSelectionStart(),isEditorSidebarOpened:e(at.a).isEditorSidebarOpened()}},[e]),n=t.hasBlockSelection,o=t.isEditorSidebarOpened,r=Object(f.useDispatch)(at.a).openGeneralSidebar;Object(b.useEffect)(function(){o&&r(n?"edit-post/block":"edit-post/document")},[n,o])}(t),function(e){var t=Object(f.useSelect)(function(e){return{newPermalink:e("core/editor").getCurrentPost().link}},[e]).newPermalink,n=Object(b.useRef)();Object(b.useEffect)(function(){n.current=document.querySelector(at.c)||document.querySelector(at.b)},[e]),Object(b.useEffect)(function(){t&&n.current&&n.current.setAttribute("href",t)},[t])}(t);var n=Object(f.useDispatch)("core/nux").triggerGuide;return Object(b.useEffect)(function(){n(["core/editor.inserter","core/editor.settings","core/editor.preview","core/editor.publish"])},[n]),null},st=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(s.a)(this,Object(u.a)(t).apply(this,arguments))).getEditorSettings=m()(e.getEditorSettings,{maxSize:1}),e}return Object(d.a)(t,e),Object(l.a)(t,[{key:"getEditorSettings",value:function(e,t,n,o,r,a,l,s,u){if(e=Object(i.a)({},e,{__experimentalPreferredStyleVariations:{value:l,onChange:u},hasFixedToolbar:t,focusMode:o,showInserterHelpPanel:n,__experimentalLocalAutosaveInterval:s}),Object(O.size)(r)>0){var d=!0===e.allowedBlockTypes?Object(O.map)(a,"name"):e.allowedBlockTypes||[];e.allowedBlockTypes=O.without.apply(void 0,[d].concat(Object(c.a)(r)))}return e}},{key:"render",value:function(){var e=this.props,t=e.settings,n=e.hasFixedToolbar,c=e.focusMode,i=e.post,a=e.postId,l=e.initialEdits,s=e.onError,u=e.hiddenBlockTypes,d=e.blockTypes,p=e.preferredStyleVariations,m=e.__experimentalLocalAutosaveInterval,O=e.showInserterHelpPanel,f=e.updatePreferredStyleVariations,E=Object(r.a)(e,["settings","hasFixedToolbar","focusMode","post","postId","initialEdits","onError","hiddenBlockTypes","blockTypes","preferredStyleVariations","__experimentalLocalAutosaveInterval","showInserterHelpPanel","updatePreferredStyleVariations"]);if(!i)return null;var v=this.getEditorSettings(t,n,O,c,u,d,p,m,f);return Object(b.createElement)(b.StrictMode,null,Object(b.createElement)(fe.Provider,{value:t},Object(b.createElement)(h.SlotFillProvider,null,Object(b.createElement)(h.DropZoneProvider,null,Object(b.createElement)(j.EditorProvider,Object(o.a)({settings:v,post:i,initialEdits:l,useSubRegistry:!1},E),Object(b.createElement)(j.ErrorBoundary,{onError:s},Object(b.createElement)(lt,{postId:a}),Object(b.createElement)(it,null),Object(b.createElement)(h.KeyboardShortcuts,{shortcuts:g})),Object(b.createElement)(j.PostLockedModal,null))))))}}]),t}(b.Component);t.a=Object(E.compose)([Object(f.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(f.withDispatch)(function(e){return{updatePreferredStyleVariations:e("core/edit-post").updatePreferredStyleVariations}})])(st)},17:function(e,t,n){"use strict";var o=n(30);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=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})},217:function(e,t,n){"use strict";var o=n(0),r=n(2),c=n(3),i=n(8),a=n(126),l=function(e,t){return!Array.isArray(t)||(n=e,o=t,0===Object(r.difference)(n,o).length);var n,o};t.a=function(e){var t=e.allowedBlocks,n=e.icon,r=e.label,s=e.onClick,u=e.small,d=e.role;return Object(o.createElement)(a.a,null,function(e){var a=e.selectedBlocks,b=e.onClose;return l(a,t)?Object(o.createElement)(c.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(i.compose)(s,b),icon:n||"admin-plugins",label:u?r:void 0,role:d},!u&&r):null})}},218:function(e,t,n){"use strict";var o=n(0),r=n(3),c=n(4),i=n(1),a=n(52),l=n(8),s=n(125),u=n(88),d=n(127);t.a=Object(l.compose)(Object(a.withPluginContext)(function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.name)}}),Object(c.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(c.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,c=e.icon,a=e.isActive,l=e.isPinnable,b=void 0===l||l,p=e.isPinned,m=e.sidebarName,O=e.title,f=e.togglePin,j=e.toggleSidebar;return Object(o.createElement)(o.Fragment,null,b&&Object(o.createElement)(s.a,null,p&&Object(o.createElement)(r.IconButton,{icon:c,label:O,onClick:j,isToggled:a,"aria-expanded":a})),Object(o.createElement)(u.a,{name:m,label:Object(i.__)("Editor plugins")},Object(o.createElement)(d.a,{closeLabel:Object(i.__)("Close plugin")},Object(o.createElement)("strong",null,O),b&&Object(o.createElement)(r.IconButton,{icon:p?"star-filled":"star-empty",label:p?Object(i.__)("Unpin from toolbar"):Object(i.__)("Pin to toolbar"),onClick:f,isToggled:p,"aria-expanded":p})),Object(o.createElement)(r.Panel,{className:n},t)))})},219:function(e,t,n){"use strict";var o=n(0),r=n(8),c=n(4),i=n(52),a=n(121);t.a=Object(r.compose)(Object(i.withPluginContext)(function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.target)}}),Object(c.withSelect)(function(e,t){var n=t.sidebarName;return{isSelected:(0,e("core/edit-post").getActiveGeneralSidebarName)()===n}}),Object(c.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,r=e.isSelected,c=e.onClick;return Object(o.createElement)(a.a,{icon:r?"yes":n,isSelected:r,role:"menuitemcheckbox",onClick:c},t)})},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})},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})},32:function(e,t){!function(){e.exports=this.wp.apiFetch}()},35: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. 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(o.render)(Object(o.createElement)(c.a,{settings:a,onError:u,postId:i,postType:n,initialEdits:l}),s)}n.d(t,"PluginSidebarMoreMenuItem",function(){return p.a})}.call(this,n(96))},38:function(e,t,n){"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return o})},39: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})},392:function(e,t,n){"use strict";var o={};n.r(o),n.d(o,"openGeneralSidebar",function(){return _}),n.d(o,"closeGeneralSidebar",function(){return y}),n.d(o,"openModal",function(){return S}),n.d(o,"closeModal",function(){return k}),n.d(o,"openPublishSidebar",function(){return P}),n.d(o,"closePublishSidebar",function(){return w}),n.d(o,"togglePublishSidebar",function(){return C}),n.d(o,"toggleEditorPanelEnabled",function(){return T}),n.d(o,"toggleEditorPanelOpened",function(){return x}),n.d(o,"removeEditorPanel",function(){return N}),n.d(o,"toggleFeature",function(){return A}),n.d(o,"switchEditorMode",function(){return M}),n.d(o,"togglePinnedPluginItem",function(){return B}),n.d(o,"hideBlockTypes",function(){return I}),n.d(o,"updatePreferredStyleVariations",function(){return L}),n.d(o,"__experimentalUpdateLocalAutosaveInterval",function(){return D}),n.d(o,"showBlockTypes",function(){return R}),n.d(o,"setAvailableMetaBoxesPerLocation",function(){return F}),n.d(o,"requestMetaBoxUpdates",function(){return G}),n.d(o,"metaBoxUpdatesSuccess",function(){return V});var r={};n.r(r),n.d(r,"getEditorMode",function(){return H}),n.d(r,"isEditorSidebarOpened",function(){return W}),n.d(r,"isPluginSidebarOpened",function(){return q}),n.d(r,"getActiveGeneralSidebarName",function(){return K}),n.d(r,"getPreferences",function(){return Q}),n.d(r,"getPreference",function(){return X}),n.d(r,"isPublishSidebarOpened",function(){return z}),n.d(r,"isEditorPanelRemoved",function(){return Y}),n.d(r,"isEditorPanelEnabled",function(){return $}),n.d(r,"isEditorPanelOpened",function(){return Z}),n.d(r,"isModalActive",function(){return J}),n.d(r,"isFeatureActive",function(){return ee}),n.d(r,"isPluginItemPinned",function(){return te}),n.d(r,"getActiveMetaBoxLocations",function(){return ne}),n.d(r,"isMetaBoxLocationVisible",function(){return oe}),n.d(r,"isMetaBoxLocationActive",function(){return re}),n.d(r,"getMetaBoxesPerLocation",function(){return ce}),n.d(r,"getAllMetaBoxes",function(){return ie}),n.d(r,"hasMetaBoxes",function(){return ae}),n.d(r,"isSavingMetaBoxes",function(){return le});var c,i=n(4),a=n(17),l=n(10),s=n(7),u=n(2),d="edit-post/document",b=Object(u.flow)([i.combineReducers,(c={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]:c,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(s.a)({},e,Object(l.a)({},n,Object(s.a)({},e[n],{enabled:!Object(u.get)(e,[n,"enabled"],!0)})));case"TOGGLE_PANEL_OPENED":var o=t.panelName,r=!0===e[o]||Object(u.get)(e,[o,"opened"],!1);return Object(s.a)({},e,Object(l.a)({},o,Object(s.a)({},e[o],{opened:!r})))}return e},features:function(e,t){return"TOGGLE_FEATURE"===t.type?Object(s.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(s.a)({},e,Object(l.a)({},t.pluginName,!Object(u.get)(e,[t.pluginName],!0))):e},hiddenBlockTypes:function(e,t){switch(t.type){case"SHOW_BLOCK_TYPES":return u.without.apply(void 0,[e].concat(Object(a.a)(t.blockNames)));case"HIDE_BLOCK_TYPES":return Object(u.union)(e,t.blockNames)}return e},preferredStyleVariations:function(e,t){switch(t.type){case"UPDATE_PREFERRED_STYLE_VARIATIONS":return t.blockName?t.blockStyle?Object(s.a)({},e,Object(l.a)({},t.blockName,t.blockStyle)):Object(u.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 p=Object(i.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}}),m=Object(i.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:p,preferences:b,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(u.includes)(e,t.panelName))return[].concat(Object(a.a)(e),[t.panelName])}return e}}),O=n(76),f=n.n(O),j=n(23),h=n(46),E=n(1),g=n(32),v=n.n(g);function _(e){return{type:"OPEN_GENERAL_SIDEBAR",name:e}}function y(){return{type:"CLOSE_GENERAL_SIDEBAR"}}function S(e){return{type:"OPEN_MODAL",name:e}}function k(){return{type:"CLOSE_MODAL"}}function P(){return{type:"OPEN_PUBLISH_SIDEBAR"}}function w(){return{type:"CLOSE_PUBLISH_SIDEBAR"}}function C(){return{type:"TOGGLE_PUBLISH_SIDEBAR"}}function T(e){return{type:"TOGGLE_PANEL_ENABLED",panelName:e}}function x(e){return{type:"TOGGLE_PANEL_OPENED",panelName:e}}function N(e){return{type:"REMOVE_PANEL",panelName:e}}function A(e){return{type:"TOGGLE_FEATURE",feature:e}}function M(e){return{type:"SWITCH_MODE",mode:e}}function B(e){return{type:"TOGGLE_PINNED_PLUGIN_ITEM",pluginName:e}}function I(e){return{type:"HIDE_BLOCK_TYPES",blockNames:Object(u.castArray)(e)}}function L(e,t){return{type:"UPDATE_PREFERRED_STYLE_VARIATIONS",blockName:e,blockStyle:t}}function D(e){return{type:"UPDATE_LOCAL_AUTOSAVE_INTERVAL",interval:e}}function R(e){return{type:"SHOW_BLOCK_TYPES",blockNames:Object(u.castArray)(e)}}function F(e){return{type:"SET_META_BOXES_PER_LOCATIONS",metaBoxesPerLocation:e}}function G(){return{type:"REQUEST_META_BOX_UPDATES"}}function V(){return{type:"META_BOX_UPDATES_SUCCESS"}}var U=n(35);function H(e){return X(e,"editorMode","visual")}function W(e){var t=K(e);return Object(u.includes)(["edit-post/document","edit-post/block"],t)}function q(e){return!!K(e)&&!W(e)}function K(e){return X(e,"isGeneralSidebarDismissed",!1)?null:e.activeGeneralSidebar}function Q(e){return e.preferences}function X(e,t,n){var o=Q(e)[t];return void 0===o?n:o}function z(e){return e.publishSidebarActive}function Y(e,t){return Object(u.includes)(e.removedPanels,t)}function $(e,t){var n=X(e,"panels");return!Y(e,t)&&Object(u.get)(n,[t,"enabled"],!0)}function Z(e,t){var n=X(e,"panels");return!0===Object(u.get)(n,[t])||!0===Object(u.get)(n,[t,"opened"])}function J(e,t){return e.activeModal===t}function ee(e,t){return Object(u.get)(e.preferences.features,[t],!1)}function te(e,t){var n=X(e,"pinnedPluginItems",{});return Object(u.get)(n,[t],!0)}var ne=Object(U.a)(function(e){return Object.keys(e.metaBoxes.locations).filter(function(t){return re(e,t)})},function(e){return[e.metaBoxes.locations]});function oe(e,t){return re(e,t)&&Object(u.some)(ce(e,t),function(t){var n=t.id;return $(e,"meta-box-".concat(n))})}function re(e,t){var n=ce(e,t);return!!n&&0!==n.length}function ce(e,t){return e.metaBoxes.locations[t]}var ie=Object(U.a)(function(e){return Object(u.flatten)(Object(u.values)(e.metaBoxes.locations))},function(e){return[e.metaBoxes.locations]});function ae(e){return ne(e).length>0}function le(e){return e.metaBoxes.isSaving}var se={SET_META_BOXES_PER_LOCATIONS:function(e,t){setTimeout(function(){var e=Object(i.select)("core/editor").getCurrentPostType();window.postboxes.page!==e&&window.postboxes.add_postbox_toggles(e)});var n=Object(i.select)("core/editor").isSavingPost(),o=Object(i.select)("core/editor").isAutosavingPost(),r=Object(i.select)("core/edit-post").hasMetaBoxes();Object(i.subscribe)(function(){var e=Object(i.select)("core/editor").isSavingPost(),c=Object(i.select)("core/editor").isAutosavingPost(),a=r&&n&&!e&&!o;n=e,o=c,a&&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(i.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(a.a)(ne(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))}))),l=Object(u.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(j.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(j.a)(e,2),n=t[0],o=t[1];return l.append(n,o)}),v()({url:window._wpMetaBoxUrl,method:"POST",body:l,parse:!1}).then(function(){return t.dispatch({type:"META_BOX_UPDATES_SUCCESS"})})},SWITCH_MODE:function(e){"visual"!==e.mode&&Object(i.dispatch)("core/block-editor").clearSelectedBlock();var t="visual"===e.mode?Object(E.__)("Visual editor selected"):Object(E.__)("Code editor selected");Object(h.speak)(t,"assertive")}};var ue=function(e){var t,n=[f()(se)],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=u.flowRight.apply(void 0,Object(a.a)(t))(e.dispatch),e.dispatch=o,e};var de={SELECT:Object(i.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(a.a)(c))}})},be=n(75),pe=Object(i.registerStore)(be.a,{reducer:m,actions:o,selectors:r,controls:de,persist:["preferences"]});ue(pe)},4:function(e,t){!function(){e.exports=this.wp.data}()},405:function(e,t,n){"use strict";var o=n(0),r=n(3),c=n(1),i=n(52),a=n(26),l=n(4),s=n(8);var u=Object(s.compose)(Object(l.withSelect)(function(e){return{editedPostContent:e("core/editor").getEditedPostAttribute("content")}}),Object(l.withDispatch)(function(e){return{createNotice:e("core/notices").createNotice}}),Object(s.withState)({hasCopied:!1}))(function(e){var t=e.createNotice,n=e.editedPostContent,i=e.hasCopied,a=e.setState;return n.length>0&&Object(o.createElement)(r.ClipboardButton,{text:n,role:"menuitem",className:"components-menu-item__button",onCopy:function(){a({hasCopied:!0}),t("info","All content copied.",{isDismissible:!0,type:"snackbar"})},onFinishCopy:function(){return a({hasCopied:!1})}},i?Object(c.__)("Copied!"):Object(c.__)("Copy All Content"))});var d=Object(l.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.openModal;return Object(o.createElement)(r.MenuItem,{onClick:function(){t("edit-post/manage-blocks")}},Object(c.__)("Block Manager"))}),b=n(19);var p=Object(l.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.openModal;return Object(o.createElement)(r.MenuItem,{onClick:function(){t("edit-post/keyboard-shortcut-help")},shortcut:b.displayShortcut.access("h")},Object(c.__)("Keyboard Shortcuts"))}),m=n(123);Object(i.registerPlugin)("edit-post",{render:function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.a,null,function(e){var t=e.onClose;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,{onSelect:t}),Object(o.createElement)(r.MenuItem,{role:"menuitem",href:Object(a.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(c.__)("Manage All Reusable Blocks")),Object(o.createElement)(p,{onSelect:t}),Object(o.createElement)(u,null))}))}})},407:function(e,t,n){"use strict";var o=n(27),r=n(106);Object(o.addFilter)("editor.MediaUpload","core/edit-post/replace-media-upload",function(){return r.MediaUpload});var c=n(18),i=n(21),a=n(0),l=n(2),s=n(9),u=n(3),d=n(4),b=n(6),p=n(1),m=n(8),O=Object(m.compose)(Object(d.withSelect)(function(e,t){if(Object(s.hasBlockSupport)(t.name,"multiple",!0))return{};var n=e("core/block-editor").getBlocks(),o=Object(l.find)(n,function(e){var n=e.name;return t.name===n});return{originalBlockClientId:o&&o.clientId!==t.clientId&&o.clientId}}),Object(d.withDispatch)(function(e,t){var n=t.originalBlockClientId;return{selectFirst:function(){return e("core/block-editor").selectBlock(n)}}})),f=Object(m.createHigherOrderComponent)(function(e){return O(function(t){var n=t.originalBlockClientId,o=t.selectFirst,r=Object(i.a)(t,["originalBlockClientId","selectFirst"]);if(!n)return Object(a.createElement)(e,r);var l=Object(s.getBlockType)(r.name),d=function(e){var t=Object(s.findTransform)(Object(s.getBlockTransforms)("to",e),function(e){var t=e.type,n=e.blocks;return"block"===t&&1===n.length});if(!t)return null;return Object(s.getBlockType)(t.blocks[0])}(r.name);return[Object(a.createElement)("div",{key:"invalid-preview",style:{minHeight:"60px"}},Object(a.createElement)(e,Object(c.a)({key:"block-edit"},r))),Object(a.createElement)(b.Warning,{key:"multiple-use-warning",actions:[Object(a.createElement)(u.Button,{key:"find-original",isLarge:!0,onClick:o},Object(p.__)("Find original")),Object(a.createElement)(u.Button,{key:"remove",isLarge:!0,onClick:function(){return r.onReplace([])}},Object(p.__)("Remove")),d&&Object(a.createElement)(u.Button,{key:"transform",isLarge:!0,onClick:function(){return r.onReplace(Object(s.createBlock)(d.name,r.attributes))}},Object(p.__)("Transform into:")," ",d.title)]},Object(a.createElement)("strong",null,l.title,": "),Object(p.__)("This block can only be used once."))]})},"withMultipleValidation");Object(o.addFilter)("editor.BlockEdit","core/edit-post/validate-multiple-use/with-multiple-validation",f)},43:function(e,t){!function(){e.exports=this.wp.viewport}()},45:function(e,t,n){e.exports=function(e,t){var n,o,r,c=0;function i(){var t,i,a=o,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(i=0;i1)for(var n=1;n0?"mixed":"false",Object(b.createElement)("div",{role:"group","aria-labelledby":p,className:"edit-post-manage-blocks-modal__category"},Object(b.createElement)(h.CheckboxControl,{checked:m,onChange:a,className:"edit-post-manage-blocks-modal__category-title","aria-checked":u,label:Object(b.createElement)("span",{id:p},n.title)}),Object(b.createElement)(Oe,{blockTypes:s,value:d,onItemChange:i}))});var he=Object(E.compose)([Object(E.withState)({search:""}),Object(f.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,c=e.hasBlockSupport,i=e.isMatchingSearchTerm,a=e.numberOfHiddenBlocks;return o=o.filter(function(e){return c(e,"inserter",!0)&&(!t||i(e,t))&&!e.parent}),Object(b.createElement)("div",{className:"edit-post-manage-blocks-modal__content"},Object(b.createElement)(h.TextControl,{type:"search",label:Object(y.__)("Search for a block"),value:t,onChange:function(e){return n({search:e})},className:"edit-post-manage-blocks-modal__search"}),!!a&&Object(b.createElement)("div",{className:"edit-post-manage-blocks-modal__disabled-blocks-count"},Object(y.sprintf)(Object(y._n)("%1$d block is disabled.","%1$d blocks are disabled.",a),a)),Object(b.createElement)("div",{tabIndex:"0",role:"region","aria-label":Object(y.__)("Available block types"),className:"edit-post-manage-blocks-modal__results"},0===o.length&&Object(b.createElement)("p",{className:"edit-post-manage-blocks-modal__no-results"},Object(y.__)("No blocks found.")),r.map(function(e){return Object(b.createElement)(je,{key:e.slug,category:e,blockTypes:Object(O.filter)(o,{category:e.slug})})})))});var Ee=Object(E.compose)([Object(f.withSelect)(function(e){return{isActive:(0,e("core/edit-post").isModalActive)("edit-post/manage-blocks")}}),Object(f.withDispatch)(function(e){return{closeModal:e("core/edit-post").closeModal}})])(function(e){var t=e.isActive,n=e.closeModal;return t?Object(b.createElement)(h.Modal,{className:"edit-post-manage-blocks-modal",title:Object(y.__)("Block Manager"),closeLabel:Object(y.__)("Close"),onRequestClose:n},Object(b.createElement)(he,null)):null}),ge=function(e){var t=e.title,n=e.children;return Object(b.createElement)("section",{className:"edit-post-options-modal__section"},Object(b.createElement)("h2",{className:"edit-post-options-modal__section-title"},t),n)},ve=n(53);var _e=Object(f.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(r.a)(e,["areCustomFieldsRegistered","metaBoxes"]),c=Object(O.filter)(n,function(e){return"postcustom"!==e.id});return t||0!==c.length?Object(b.createElement)(ge,o,t&&Object(b.createElement)(ve.a,{label:Object(y.__)("Custom Fields")}),Object(O.map)(c,function(e){var t=e.id,n=e.title;return Object(b.createElement)(ve.c,{key:t,label:n,panelName:"meta-box-".concat(t)})})):null});var ye=Object(E.compose)(Object(f.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(f.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(b.createElement)(h.Modal,{className:"edit-post-options-modal",title:Object(y.__)("Options"),closeLabel:Object(y.__)("Close"),onRequestClose:o},Object(b.createElement)(ge,{title:Object(y.__)("General")},Object(b.createElement)(ve.e,{label:Object(y.__)("Pre-publish Checks")}),Object(b.createElement)(ve.f,{label:Object(y.__)("Tips")}),Object(b.createElement)(ve.b,{feature:"showInserterHelpPanel",label:Object(y.__)("Inserter Help Panel")})),Object(b.createElement)(ge,{title:Object(y.__)("Document Panels")},Object(b.createElement)(ve.d.Slot,null),n&&Object(b.createElement)(ve.c,{label:Object(y.__)("Permalink"),panelName:"post-link"}),Object(b.createElement)(j.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(b.createElement)(ve.c,{label:Object(O.get)(t,["labels","menu_name"]),panelName:"taxonomy-panel-".concat(t.slug)})}}),Object(b.createElement)(j.PostFeaturedImageCheck,null,Object(b.createElement)(ve.c,{label:Object(y.__)("Featured Image"),panelName:"featured-image"})),Object(b.createElement)(j.PostExcerptCheck,null,Object(b.createElement)(ve.c,{label:Object(y.__)("Excerpt"),panelName:"post-excerpt"})),Object(b.createElement)(j.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(b.createElement)(ve.c,{label:Object(y.__)("Discussion"),panelName:"discussion-panel"})),Object(b.createElement)(j.PageAttributesCheck,null,Object(b.createElement)(ve.c,{label:Object(y.__)("Page Attributes"),panelName:"page-attributes"}))),Object(b.createElement)(_e,{title:Object(y.__)("Advanced Panels")})):null}),Se=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(s.a)(this,Object(u.a)(t).apply(this,arguments))).bindContainerNode=e.bindContainerNode.bind(Object(J.a)(e)),e}return Object(d.a)(t,e),Object(l.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=_()("edit-post-meta-boxes-area","is-".concat(t),{"is-loading":n});return Object(b.createElement)("div",{className:o},n&&Object(b.createElement)(h.Spinner,null),Object(b.createElement)("div",{className:"edit-post-meta-boxes-area__container",ref:this.bindContainerNode}),Object(b.createElement)("div",{className:"edit-post-meta-boxes-area__clear"}))}}]),t}(b.Component),ke=Object(f.withSelect)(function(e){return{isSaving:e("core/edit-post").isSavingMetaBoxes()}})(Se),Pe=function(e){function t(){return Object(a.a)(this,t),Object(s.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(l.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}(b.Component),we=Object(f.withSelect)(function(e,t){var n=t.id;return{isVisible:e("core/edit-post").isEditorPanelEnabled("meta-box-".concat(n))}})(Pe);var Ce=Object(f.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(b.createElement)(b.Fragment,null,Object(O.map)(o,function(e){var t=e.id;return Object(b.createElement)(we,{key:t,id:t})}),n&&Object(b.createElement)(ke,{location:t}))}),Te=n(88),xe=n(23),Ne=n(127),Ae=Object(f.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(y.__)("Block"),c="edit-post/document"===o?[Object(y.__)("Document (selected)"),"is-active"]:[Object(y.__)("Document"),""],i=Object(xe.a)(c,2),a=i[0],l=i[1],s="edit-post/block"===o?[Object(y.__)("Block (selected)"),"is-active"]:[Object(y.__)("Block"),""],u=Object(xe.a)(s,2),d=u[0],p=u[1];return Object(b.createElement)(Ne.a,{className:"edit-post-sidebar__panel-tabs",closeLabel:Object(y.__)("Close settings")},Object(b.createElement)("ul",null,Object(b.createElement)("li",null,Object(b.createElement)("button",{onClick:t,className:"edit-post-sidebar__panel-tab ".concat(l),"aria-label":a,"data-label":Object(y.__)("Document")},Object(y.__)("Document"))),Object(b.createElement)("li",null,Object(b.createElement)("button",{onClick:n,className:"edit-post-sidebar__panel-tab ".concat(p),"aria-label":d,"data-label":r},r))))});var Me=function(){return Object(b.createElement)(j.PostVisibilityCheck,{render:function(e){var t=e.canEdit;return Object(b.createElement)(h.PanelRow,{className:"edit-post-post-visibility"},Object(b.createElement)("span",null,Object(y.__)("Visibility")),!t&&Object(b.createElement)("span",null,Object(b.createElement)(j.PostVisibilityLabel,null)),t&&Object(b.createElement)(h.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-visibility__dialog",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(b.createElement)(h.Button,{type:"button","aria-expanded":t,className:"edit-post-post-visibility__toggle",onClick:n,isLink:!0},Object(b.createElement)(j.PostVisibilityLabel,null))},renderContent:function(){return Object(b.createElement)(j.PostVisibility,null)}}))}})};function Be(){return Object(b.createElement)(j.PostTrashCheck,null,Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostTrash,null)))}var Ie=function(){return Object(b.createElement)(j.PostScheduleCheck,null,Object(b.createElement)(h.PanelRow,{className:"edit-post-post-schedule"},Object(b.createElement)("span",null,Object(y.__)("Publish")),Object(b.createElement)(h.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-schedule__dialog",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(h.Button,{type:"button",className:"edit-post-post-schedule__toggle",onClick:t,"aria-expanded":n,isLink:!0},Object(b.createElement)(j.PostScheduleLabel,null)))},renderContent:function(){return Object(b.createElement)(j.PostSchedule,null)}})))};var Le=function(){return Object(b.createElement)(j.PostStickyCheck,null,Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostSticky,null)))};var De=function(){return Object(b.createElement)(j.PostAuthorCheck,null,Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostAuthor,null)))};var Fe=function(){return Object(b.createElement)(j.PostFormatCheck,null,Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostFormat,null)))};var Re=function(){return Object(b.createElement)(j.PostPendingStatusCheck,null,Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostPendingStatus,null)))},Ge=n(117);var Ve=Object(E.compose)([Object(f.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(E.ifCondition)(function(e){return!e.isRemoved}),Object(f.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(b.createElement)(h.PanelBody,{className:"edit-post-post-status",title:Object(y.__)("Status & Visibility"),opened:t,onToggle:n},Object(b.createElement)(Ge.a.Slot,null,function(e){return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Me,null),Object(b.createElement)(Ie,null),Object(b.createElement)(Fe,null),Object(b.createElement)(Le,null),Object(b.createElement)(Re,null),Object(b.createElement)(De,null),e,Object(b.createElement)(Be,null))}))});var Ue=function(){return Object(b.createElement)(j.PostLastRevisionCheck,null,Object(b.createElement)(h.PanelBody,{className:"edit-post-last-revision__panel"},Object(b.createElement)(j.PostLastRevision,null)))};var He=Object(E.compose)(Object(f.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(f.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 i=Object(O.get)(n,["labels","menu_name"]);return i?Object(b.createElement)(h.PanelBody,{title:i,opened:o,onToggle:r},c):null});var We=function(){return Object(b.createElement)(j.PostTaxonomiesCheck,null,Object(b.createElement)(j.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(b.createElement)(He,{taxonomy:t},e)}}))};var qe=Object(f.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")}}),Ke=Object(f.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(O.partial)(t,"featured-image")}}),Qe=Object(E.compose)(qe,Ke)(function(e){var t=e.isEnabled,n=e.isOpened,o=e.postType,r=e.onTogglePanel;return t?Object(b.createElement)(j.PostFeaturedImageCheck,null,Object(b.createElement)(h.PanelBody,{title:Object(O.get)(o,["labels","featured_image"],Object(y.__)("Featured Image")),opened:n,onToggle:r},Object(b.createElement)(j.PostFeaturedImage,null))):null});var Xe=Object(E.compose)([Object(f.withSelect)(function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("post-excerpt"),isOpened:e("core/edit-post").isEditorPanelOpened("post-excerpt")}}),Object(f.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(b.createElement)(j.PostExcerptCheck,null,Object(b.createElement)(h.PanelBody,{title:Object(y.__)("Excerpt"),opened:n,onToggle:o},Object(b.createElement)(j.PostExcerpt,null))):null});var ze=Object(E.compose)([Object(f.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(E.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(f.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(E.withState)({forceEmptyField:!1})])(function(e){var t,n,o,r=e.isOpened,c=e.onTogglePanel,i=e.isEditable,a=e.postLink,l=e.permalinkParts,s=e.editPermalink,u=e.forceEmptyField,d=e.setState,p=e.postTitle,m=e.postSlug,O=e.postID,f=e.postTypeLabel,E=l.prefix,g=l.suffix,v=Object(P.safeDecodeURIComponent)(m)||Object(j.cleanForSlug)(p)||O;return i&&(t=E&&Object(b.createElement)("span",{className:"edit-post-post-link__link-prefix"},E),n=v&&Object(b.createElement)("span",{className:"edit-post-post-link__link-post-name"},v),o=g&&Object(b.createElement)("span",{className:"edit-post-post-link__link-suffix"},g)),Object(b.createElement)(h.PanelBody,{title:Object(y.__)("Permalink"),opened:r,onToggle:c},i&&Object(b.createElement)("div",{className:"editor-post-link"},Object(b.createElement)(h.TextControl,{label:Object(y.__)("URL Slug"),value:u?"":v,onChange:function(e){s(e),e?u&&d({forceEmptyField:!1}):u||d({forceEmptyField:!0})},onBlur:function(e){s(Object(j.cleanForSlug)(e.target.value)),u&&d({forceEmptyField:!1})}}),Object(b.createElement)("p",null,Object(y.__)("The last part of the URL. "),Object(b.createElement)(h.ExternalLink,{href:"https://wordpress.org/support/article/writing-posts/#post-field-descriptions"},Object(y.__)("Read about permalinks")))),Object(b.createElement)("p",{className:"edit-post-post-link__preview-label"},f||Object(y.__)("View Post")),Object(b.createElement)("div",{className:"edit-post-post-link__preview-link-container"},Object(b.createElement)(h.ExternalLink,{className:"edit-post-post-link__link",href:a,target:"_blank"},i?Object(b.createElement)(b.Fragment,null,t,n,o):a)))});var Ye=Object(E.compose)([Object(f.withSelect)(function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("discussion-panel"),isOpened:e("core/edit-post").isEditorPanelOpened("discussion-panel")}}),Object(f.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(b.createElement)(j.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(b.createElement)(h.PanelBody,{title:Object(y.__)("Discussion"),opened:n,onToggle:o},Object(b.createElement)(j.PostTypeSupportCheck,{supportKeys:"comments"},Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostComments,null))),Object(b.createElement)(j.PostTypeSupportCheck,{supportKeys:"trackbacks"},Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PostPingbacks,null))))):null});var $e=Object(f.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"))}}),Ze=Object(f.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(O.partial)(t,"page-attributes")}}),Je=Object(E.compose)($e,Ze)(function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel,r=e.postType;return t&&r?Object(b.createElement)(j.PageAttributesCheck,null,Object(b.createElement)(h.PanelBody,{title:Object(O.get)(r,["labels","attributes"],Object(y.__)("Page Attributes")),opened:n,onToggle:o},Object(b.createElement)(j.PageTemplate,null),Object(b.createElement)(j.PageAttributesParent,null),Object(b.createElement)(h.PanelRow,null,Object(b.createElement)(j.PageAttributesOrder,null)))):null}),et=n(118),tt=Object(E.compose)(Object(f.withSelect)(function(e){var t=e("core/edit-post"),n=t.getActiveGeneralSidebarName;return{isEditorSidebarOpened:(0,t.isEditorSidebarOpened)(),sidebarName:n()}}),Object(E.ifCondition)(function(e){return e.isEditorSidebarOpened}))(function(e){var t=e.sidebarName;return Object(b.createElement)(Te.a,{name:t,label:Object(y.__)("Editor settings")},Object(b.createElement)(Ae,{sidebarName:t}),Object(b.createElement)(h.Panel,null,"edit-post/document"===t&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ve,null),Object(b.createElement)(et.a.Slot,null),Object(b.createElement)(Ue,null),Object(b.createElement)(ze,null),Object(b.createElement)(We,null),Object(b.createElement)(Qe,null),Object(b.createElement)(Xe,null),Object(b.createElement)(Ye,null),Object(b.createElement)(Je,null),Object(b.createElement)(Ce,{location:"side"})),"edit-post/block"===t&&Object(b.createElement)(h.PanelBody,{className:"edit-post-settings-sidebar__panel-block"},Object(b.createElement)(N.BlockInspector,null))))}),nt=n(119),ot=n(120),rt=function(e){function t(){return Object(a.a)(this,t),Object(s.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(l.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}(b.Component),ct=Object(f.withSelect)(function(e){return{isActive:e("core/edit-post").isFeatureActive("fullscreenMode")}})(rt);var it=Object(E.compose)(Object(f.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(f.withDispatch)(function(e){var t=e("core/edit-post");return{closePublishSidebar:t.closePublishSidebar,togglePublishSidebar:t.togglePublishSidebar}}),h.navigateRegions,Object(k.withViewportMatch)({isMobileViewport:"< small"}))(function(e){var t=e.mode,n=e.editorSidebarOpened,r=e.pluginSidebarOpened,c=e.publishSidebarOpened,i=e.hasFixedToolbar,a=e.closePublishSidebar,l=e.togglePublishSidebar,s=e.hasActiveMetaboxes,u=e.isSaving,d=e.isMobileViewport,p=e.isRichEditingEnabled,m=n||r||c,O=_()("edit-post-layout",{"is-sidebar-opened":m,"has-fixed-toolbar":i,"has-metaboxes":s}),f={role:"region","aria-label":Object(y.__)("Editor publish"),tabIndex:-1};return Object(b.createElement)(h.FocusReturnProvider,{className:O},Object(b.createElement)(ct,null),Object(b.createElement)(C,null),Object(b.createElement)(j.UnsavedChangesWarning,null),Object(b.createElement)(j.AutosaveMonitor,null),Object(b.createElement)(j.LocalAutosaveMonitor,null),Object(b.createElement)(K,null),Object(b.createElement)("div",{className:"edit-post-layout__content",role:"region","aria-label":Object(y.__)("Editor content"),tabIndex:"-1"},Object(b.createElement)(j.EditorNotices,null),Object(b.createElement)(te,null),Object(b.createElement)(me,null),Object(b.createElement)(Ee,null),Object(b.createElement)(ye,null),("text"===t||!p)&&Object(b.createElement)(X,null),p&&"visual"===t&&Object(b.createElement)($,null),Object(b.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(b.createElement)(Ce,{location:"normal"})),Object(b.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(b.createElement)(Ce,{location:"advanced"}))),c?Object(b.createElement)(j.PostPublishPanel,Object(o.a)({},f,{onClose:a,forceIsDirty:s,forceIsSaving:u,PrePublishExtension:ot.a.Slot,PostPublishExtension:nt.a.Slot})):Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",Object(o.a)({className:"edit-post-toggle-publish-panel"},f),Object(b.createElement)(h.Button,{isDefault:!0,type:"button",className:"edit-post-toggle-publish-panel__button",onClick:l,"aria-expanded":!1},Object(y.__)("Open publish panel"))),Object(b.createElement)(tt,null),Object(b.createElement)(Te.a.Slot,null),d&&m&&Object(b.createElement)(h.ScrollLock,null)),Object(b.createElement)(h.Popover.Slot,null),Object(b.createElement)(S.PluginArea,null))}),at=n(75),lt=function(e){var t=e.postId;!function(e){var t=Object(f.useSelect)(function(e){return{isSmall:e("core/viewport").isViewportMatch("< medium"),sidebarToReOpenOnExpand:e(at.a).getActiveGeneralSidebarName()}},[e]),n=t.isSmall,o=t.sidebarToReOpenOnExpand,r=Object(f.useDispatch)(at.a),c=r.openGeneralSidebar,i=r.closeGeneralSidebar,a=Object(b.useRef)("");Object(b.useEffect)(function(){n&&o?(a.current=o,i()):!n&&a.current&&(c(a.current),a.current="")},[n,o])}(t),function(e){var t=Object(f.useSelect)(function(e){return{hasBlockSelection:!!e("core/block-editor").getBlockSelectionStart(),isEditorSidebarOpened:e(at.a).isEditorSidebarOpened()}},[e]),n=t.hasBlockSelection,o=t.isEditorSidebarOpened,r=Object(f.useDispatch)(at.a).openGeneralSidebar;Object(b.useEffect)(function(){o&&r(n?"edit-post/block":"edit-post/document")},[n,o])}(t),function(e){var t=Object(f.useSelect)(function(e){return{newPermalink:e("core/editor").getCurrentPost().link}},[e]).newPermalink,n=Object(b.useRef)();Object(b.useEffect)(function(){n.current=document.querySelector(at.c)||document.querySelector(at.b)},[e]),Object(b.useEffect)(function(){t&&n.current&&n.current.setAttribute("href",t)},[t])}(t);var n=Object(f.useDispatch)("core/nux").triggerGuide;return Object(b.useEffect)(function(){n(["core/editor.inserter","core/editor.settings","core/editor.preview","core/editor.publish"])},[n]),null},st=function(e){function t(){var e;return Object(a.a)(this,t),(e=Object(s.a)(this,Object(u.a)(t).apply(this,arguments))).getEditorSettings=m()(e.getEditorSettings,{maxSize:1}),e}return Object(d.a)(t,e),Object(l.a)(t,[{key:"getEditorSettings",value:function(e,t,n,o,r,a,l,s,u){if(e=Object(i.a)({},e,{__experimentalPreferredStyleVariations:{value:l,onChange:u},hasFixedToolbar:t,focusMode:o,showInserterHelpPanel:n,__experimentalLocalAutosaveInterval:s}),Object(O.size)(r)>0){var d=!0===e.allowedBlockTypes?Object(O.map)(a,"name"):e.allowedBlockTypes||[];e.allowedBlockTypes=O.without.apply(void 0,[d].concat(Object(c.a)(r)))}return e}},{key:"render",value:function(){var e=this.props,t=e.settings,n=e.hasFixedToolbar,c=e.focusMode,i=e.post,a=e.postId,l=e.initialEdits,s=e.onError,u=e.hiddenBlockTypes,d=e.blockTypes,p=e.preferredStyleVariations,m=e.__experimentalLocalAutosaveInterval,O=e.showInserterHelpPanel,f=e.updatePreferredStyleVariations,E=Object(r.a)(e,["settings","hasFixedToolbar","focusMode","post","postId","initialEdits","onError","hiddenBlockTypes","blockTypes","preferredStyleVariations","__experimentalLocalAutosaveInterval","showInserterHelpPanel","updatePreferredStyleVariations"]);if(!i)return null;var v=this.getEditorSettings(t,n,O,c,u,d,p,m,f);return Object(b.createElement)(b.StrictMode,null,Object(b.createElement)(fe.Provider,{value:t},Object(b.createElement)(h.SlotFillProvider,null,Object(b.createElement)(h.DropZoneProvider,null,Object(b.createElement)(j.EditorProvider,Object(o.a)({settings:v,post:i,initialEdits:l,useSubRegistry:!1},E),Object(b.createElement)(j.ErrorBoundary,{onError:s},Object(b.createElement)(lt,{postId:a}),Object(b.createElement)(it,null),Object(b.createElement)(h.KeyboardShortcuts,{shortcuts:g})),Object(b.createElement)(j.PostLockedModal,null))))))}}]),t}(b.Component);t.a=Object(E.compose)([Object(f.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(f.withDispatch)(function(e){return{updatePreferredStyleVariations:e("core/edit-post").updatePreferredStyleVariations}})])(st)},17:function(e,t,n){"use strict";var o=n(30);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=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})},217:function(e,t,n){"use strict";var o=n(0),r=n(2),c=n(3),i=n(8),a=n(126),l=function(e,t){return!Array.isArray(t)||(n=e,o=t,0===Object(r.difference)(n,o).length);var n,o};t.a=function(e){var t=e.allowedBlocks,n=e.icon,r=e.label,s=e.onClick,u=e.small,d=e.role;return Object(o.createElement)(a.a,null,function(e){var a=e.selectedBlocks,b=e.onClose;return l(a,t)?Object(o.createElement)(c.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(i.compose)(s,b),icon:n||"admin-plugins",label:u?r:void 0,role:d},!u&&r):null})}},218:function(e,t,n){"use strict";var o=n(0),r=n(3),c=n(4),i=n(1),a=n(52),l=n(8),s=n(125),u=n(88),d=n(127);t.a=Object(l.compose)(Object(a.withPluginContext)(function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.name)}}),Object(c.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(c.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,c=e.icon,a=e.isActive,l=e.isPinnable,b=void 0===l||l,p=e.isPinned,m=e.sidebarName,O=e.title,f=e.togglePin,j=e.toggleSidebar;return Object(o.createElement)(o.Fragment,null,b&&Object(o.createElement)(s.a,null,p&&Object(o.createElement)(r.IconButton,{icon:c,label:O,onClick:j,isToggled:a,"aria-expanded":a})),Object(o.createElement)(u.a,{name:m,label:Object(i.__)("Editor plugins")},Object(o.createElement)(d.a,{closeLabel:Object(i.__)("Close plugin")},Object(o.createElement)("strong",null,O),b&&Object(o.createElement)(r.IconButton,{icon:p?"star-filled":"star-empty",label:p?Object(i.__)("Unpin from toolbar"):Object(i.__)("Pin to toolbar"),onClick:f,isToggled:p,"aria-expanded":p})),Object(o.createElement)(r.Panel,{className:n},t)))})},219:function(e,t,n){"use strict";var o=n(0),r=n(8),c=n(4),i=n(52),a=n(121);t.a=Object(r.compose)(Object(i.withPluginContext)(function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.target)}}),Object(c.withSelect)(function(e,t){var n=t.sidebarName;return{isSelected:(0,e("core/edit-post").getActiveGeneralSidebarName)()===n}}),Object(c.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,r=e.isSelected,c=e.onClick;return Object(o.createElement)(a.a,{icon:r?"yes":n,isSelected:r,role:"menuitemcheckbox",onClick:c},t)})},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})},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})},32:function(e,t){!function(){e.exports=this.wp.apiFetch}()},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. 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(o.render)(Object(o.createElement)(c.a,{settings:a,onError:u,postId:i,postType:n,initialEdits:l}),s)}n.d(t,"PluginSidebarMoreMenuItem",function(){return p.a})}.call(this,n(96))},38:function(e,t,n){"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return o})},39: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})},392:function(e,t,n){"use strict";var o={};n.r(o),n.d(o,"openGeneralSidebar",function(){return _}),n.d(o,"closeGeneralSidebar",function(){return y}),n.d(o,"openModal",function(){return S}),n.d(o,"closeModal",function(){return k}),n.d(o,"openPublishSidebar",function(){return P}),n.d(o,"closePublishSidebar",function(){return w}),n.d(o,"togglePublishSidebar",function(){return C}),n.d(o,"toggleEditorPanelEnabled",function(){return T}),n.d(o,"toggleEditorPanelOpened",function(){return x}),n.d(o,"removeEditorPanel",function(){return N}),n.d(o,"toggleFeature",function(){return A}),n.d(o,"switchEditorMode",function(){return M}),n.d(o,"togglePinnedPluginItem",function(){return B}),n.d(o,"hideBlockTypes",function(){return I}),n.d(o,"updatePreferredStyleVariations",function(){return L}),n.d(o,"__experimentalUpdateLocalAutosaveInterval",function(){return D}),n.d(o,"showBlockTypes",function(){return F}),n.d(o,"setAvailableMetaBoxesPerLocation",function(){return R}),n.d(o,"requestMetaBoxUpdates",function(){return G}),n.d(o,"metaBoxUpdatesSuccess",function(){return V});var r={};n.r(r),n.d(r,"getEditorMode",function(){return H}),n.d(r,"isEditorSidebarOpened",function(){return W}),n.d(r,"isPluginSidebarOpened",function(){return q}),n.d(r,"getActiveGeneralSidebarName",function(){return K}),n.d(r,"getPreferences",function(){return Q}),n.d(r,"getPreference",function(){return X}),n.d(r,"isPublishSidebarOpened",function(){return z}),n.d(r,"isEditorPanelRemoved",function(){return Y}),n.d(r,"isEditorPanelEnabled",function(){return $}),n.d(r,"isEditorPanelOpened",function(){return Z}),n.d(r,"isModalActive",function(){return J}),n.d(r,"isFeatureActive",function(){return ee}),n.d(r,"isPluginItemPinned",function(){return te}),n.d(r,"getActiveMetaBoxLocations",function(){return ne}),n.d(r,"isMetaBoxLocationVisible",function(){return oe}),n.d(r,"isMetaBoxLocationActive",function(){return re}),n.d(r,"getMetaBoxesPerLocation",function(){return ce}),n.d(r,"getAllMetaBoxes",function(){return ie}),n.d(r,"hasMetaBoxes",function(){return ae}),n.d(r,"isSavingMetaBoxes",function(){return le});var c,i=n(4),a=n(17),l=n(10),s=n(7),u=n(2),d="edit-post/document",b=Object(u.flow)([i.combineReducers,(c={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]:c,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(s.a)({},e,Object(l.a)({},n,Object(s.a)({},e[n],{enabled:!Object(u.get)(e,[n,"enabled"],!0)})));case"TOGGLE_PANEL_OPENED":var o=t.panelName,r=!0===e[o]||Object(u.get)(e,[o,"opened"],!1);return Object(s.a)({},e,Object(l.a)({},o,Object(s.a)({},e[o],{opened:!r})))}return e},features:function(e,t){return"TOGGLE_FEATURE"===t.type?Object(s.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(s.a)({},e,Object(l.a)({},t.pluginName,!Object(u.get)(e,[t.pluginName],!0))):e},hiddenBlockTypes:function(e,t){switch(t.type){case"SHOW_BLOCK_TYPES":return u.without.apply(void 0,[e].concat(Object(a.a)(t.blockNames)));case"HIDE_BLOCK_TYPES":return Object(u.union)(e,t.blockNames)}return e},preferredStyleVariations:function(e,t){switch(t.type){case"UPDATE_PREFERRED_STYLE_VARIATIONS":return t.blockName?t.blockStyle?Object(s.a)({},e,Object(l.a)({},t.blockName,t.blockStyle)):Object(u.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 p=Object(i.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}}),m=Object(i.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:p,preferences:b,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(u.includes)(e,t.panelName))return[].concat(Object(a.a)(e),[t.panelName])}return e}}),O=n(76),f=n.n(O),j=n(23),h=n(46),E=n(1),g=n(32),v=n.n(g);function _(e){return{type:"OPEN_GENERAL_SIDEBAR",name:e}}function y(){return{type:"CLOSE_GENERAL_SIDEBAR"}}function S(e){return{type:"OPEN_MODAL",name:e}}function k(){return{type:"CLOSE_MODAL"}}function P(){return{type:"OPEN_PUBLISH_SIDEBAR"}}function w(){return{type:"CLOSE_PUBLISH_SIDEBAR"}}function C(){return{type:"TOGGLE_PUBLISH_SIDEBAR"}}function T(e){return{type:"TOGGLE_PANEL_ENABLED",panelName:e}}function x(e){return{type:"TOGGLE_PANEL_OPENED",panelName:e}}function N(e){return{type:"REMOVE_PANEL",panelName:e}}function A(e){return{type:"TOGGLE_FEATURE",feature:e}}function M(e){return{type:"SWITCH_MODE",mode:e}}function B(e){return{type:"TOGGLE_PINNED_PLUGIN_ITEM",pluginName:e}}function I(e){return{type:"HIDE_BLOCK_TYPES",blockNames:Object(u.castArray)(e)}}function L(e,t){return{type:"UPDATE_PREFERRED_STYLE_VARIATIONS",blockName:e,blockStyle:t}}function D(e){return{type:"UPDATE_LOCAL_AUTOSAVE_INTERVAL",interval:e}}function F(e){return{type:"SHOW_BLOCK_TYPES",blockNames:Object(u.castArray)(e)}}function R(e){return{type:"SET_META_BOXES_PER_LOCATIONS",metaBoxesPerLocation:e}}function G(){return{type:"REQUEST_META_BOX_UPDATES"}}function V(){return{type:"META_BOX_UPDATES_SUCCESS"}}var U=n(36);function H(e){return X(e,"editorMode","visual")}function W(e){var t=K(e);return Object(u.includes)(["edit-post/document","edit-post/block"],t)}function q(e){return!!K(e)&&!W(e)}function K(e){return X(e,"isGeneralSidebarDismissed",!1)?null:e.activeGeneralSidebar}function Q(e){return e.preferences}function X(e,t,n){var o=Q(e)[t];return void 0===o?n:o}function z(e){return e.publishSidebarActive}function Y(e,t){return Object(u.includes)(e.removedPanels,t)}function $(e,t){var n=X(e,"panels");return!Y(e,t)&&Object(u.get)(n,[t,"enabled"],!0)}function Z(e,t){var n=X(e,"panels");return!0===Object(u.get)(n,[t])||!0===Object(u.get)(n,[t,"opened"])}function J(e,t){return e.activeModal===t}function ee(e,t){return Object(u.get)(e.preferences.features,[t],!1)}function te(e,t){var n=X(e,"pinnedPluginItems",{});return Object(u.get)(n,[t],!0)}var ne=Object(U.a)(function(e){return Object.keys(e.metaBoxes.locations).filter(function(t){return re(e,t)})},function(e){return[e.metaBoxes.locations]});function oe(e,t){return re(e,t)&&Object(u.some)(ce(e,t),function(t){var n=t.id;return $(e,"meta-box-".concat(n))})}function re(e,t){var n=ce(e,t);return!!n&&0!==n.length}function ce(e,t){return e.metaBoxes.locations[t]}var ie=Object(U.a)(function(e){return Object(u.flatten)(Object(u.values)(e.metaBoxes.locations))},function(e){return[e.metaBoxes.locations]});function ae(e){return ne(e).length>0}function le(e){return e.metaBoxes.isSaving}var se,ue={SET_META_BOXES_PER_LOCATIONS:function(e,t){setTimeout(function(){var e=Object(i.select)("core/editor").getCurrentPostType();window.postboxes.page!==e&&window.postboxes.add_postbox_toggles(e)});var n=Object(i.select)("core/editor").isSavingPost(),o=Object(i.select)("core/editor").isAutosavingPost(),r=Object(i.select)("core/edit-post").hasMetaBoxes();se&&se(),se=Object(i.subscribe)(function(){var e=Object(i.select)("core/editor").isSavingPost(),c=Object(i.select)("core/editor").isAutosavingPost(),a=r&&n&&!e&&!o;n=e,o=c,a&&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(i.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(a.a)(ne(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))}))),l=Object(u.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(j.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(j.a)(e,2),n=t[0],o=t[1];return l.append(n,o)}),v()({url:window._wpMetaBoxUrl,method:"POST",body:l,parse:!1}).then(function(){return t.dispatch({type:"META_BOX_UPDATES_SUCCESS"})})},SWITCH_MODE:function(e){"visual"!==e.mode&&Object(i.dispatch)("core/block-editor").clearSelectedBlock();var t="visual"===e.mode?Object(E.__)("Visual editor selected"):Object(E.__)("Code editor selected");Object(h.speak)(t,"assertive")}};var de=function(e){var t,n=[f()(ue)],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=u.flowRight.apply(void 0,Object(a.a)(t))(e.dispatch),e.dispatch=o,e};var be={SELECT:Object(i.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(a.a)(c))}})},pe=n(75),me=Object(i.registerStore)(pe.a,{reducer:m,actions:o,selectors:r,controls:be,persist:["preferences"]});de(me)},4:function(e,t){!function(){e.exports=this.wp.data}()},405:function(e,t,n){"use strict";var o=n(0),r=n(3),c=n(1),i=n(52),a=n(26),l=n(4),s=n(8);var u=Object(s.compose)(Object(l.withSelect)(function(e){return{editedPostContent:e("core/editor").getEditedPostAttribute("content")}}),Object(l.withDispatch)(function(e){return{createNotice:e("core/notices").createNotice}}),Object(s.withState)({hasCopied:!1}))(function(e){var t=e.createNotice,n=e.editedPostContent,i=e.hasCopied,a=e.setState;return n.length>0&&Object(o.createElement)(r.ClipboardButton,{text:n,role:"menuitem",className:"components-menu-item__button",onCopy:function(){a({hasCopied:!0}),t("info","All content copied.",{isDismissible:!0,type:"snackbar"})},onFinishCopy:function(){return a({hasCopied:!1})}},i?Object(c.__)("Copied!"):Object(c.__)("Copy All Content"))});var d=Object(l.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.openModal;return Object(o.createElement)(r.MenuItem,{onClick:function(){t("edit-post/manage-blocks")}},Object(c.__)("Block Manager"))}),b=n(19);var p=Object(l.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.openModal;return Object(o.createElement)(r.MenuItem,{onClick:function(){t("edit-post/keyboard-shortcut-help")},shortcut:b.displayShortcut.access("h")},Object(c.__)("Keyboard Shortcuts"))}),m=n(123);Object(i.registerPlugin)("edit-post",{render:function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.a,null,function(e){var t=e.onClose;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,{onSelect:t}),Object(o.createElement)(r.MenuItem,{role:"menuitem",href:Object(a.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(c.__)("Manage All Reusable Blocks")),Object(o.createElement)(p,{onSelect:t}),Object(o.createElement)(u,null))}))}})},407:function(e,t,n){"use strict";var o=n(27),r=n(106);Object(o.addFilter)("editor.MediaUpload","core/edit-post/replace-media-upload",function(){return r.MediaUpload});var c=n(18),i=n(21),a=n(0),l=n(2),s=n(9),u=n(3),d=n(4),b=n(6),p=n(1),m=n(8),O=Object(m.compose)(Object(d.withSelect)(function(e,t){if(Object(s.hasBlockSupport)(t.name,"multiple",!0))return{};var n=e("core/block-editor").getBlocks(),o=Object(l.find)(n,function(e){var n=e.name;return t.name===n});return{originalBlockClientId:o&&o.clientId!==t.clientId&&o.clientId}}),Object(d.withDispatch)(function(e,t){var n=t.originalBlockClientId;return{selectFirst:function(){return e("core/block-editor").selectBlock(n)}}})),f=Object(m.createHigherOrderComponent)(function(e){return O(function(t){var n=t.originalBlockClientId,o=t.selectFirst,r=Object(i.a)(t,["originalBlockClientId","selectFirst"]);if(!n)return Object(a.createElement)(e,r);var l=Object(s.getBlockType)(r.name),d=function(e){var t=Object(s.findTransform)(Object(s.getBlockTransforms)("to",e),function(e){var t=e.type,n=e.blocks;return"block"===t&&1===n.length});if(!t)return null;return Object(s.getBlockType)(t.blocks[0])}(r.name);return[Object(a.createElement)("div",{key:"invalid-preview",style:{minHeight:"60px"}},Object(a.createElement)(e,Object(c.a)({key:"block-edit"},r))),Object(a.createElement)(b.Warning,{key:"multiple-use-warning",actions:[Object(a.createElement)(u.Button,{key:"find-original",isLarge:!0,onClick:o},Object(p.__)("Find original")),Object(a.createElement)(u.Button,{key:"remove",isLarge:!0,onClick:function(){return r.onReplace([])}},Object(p.__)("Remove")),d&&Object(a.createElement)(u.Button,{key:"transform",isLarge:!0,onClick:function(){return r.onReplace(Object(s.createBlock)(d.name,r.attributes))}},Object(p.__)("Transform into:")," ",d.title)]},Object(a.createElement)("strong",null,l.title,": "),Object(p.__)("This block can only be used once."))]})},"withMultipleValidation");Object(o.addFilter)("editor.BlockEdit","core/edit-post/validate-multiple-use/with-multiple-validation",f)},43:function(e,t){!function(){e.exports=this.wp.viewport}()},45:function(e,t,n){e.exports=function(e,t){var n,o,r,c=0;function i(){var t,i,a=o,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(i=0;i1)for(var n=1;n 1 && _args14[1] !== undefined ? _args14[1] : {}; - _context13.next = 3; + 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 = _context13.sent; + lastBlockAttributesChange = _context14.sent; if (!lastBlockAttributesChange) { - _context13.next = 36; + _context14.next = 36; break; } @@ -3975,103 +4062,134 @@ function actions_resetEditorBlocks(blocks) { case 8: if (!(_i3 < _Object$entries2.length)) { - _context13.next = 35; + _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]; - _context13.next = 12; + _context14.next = 12; return Object(external_this_wp_dataControls_["select"])('core/block-editor', 'getBlockName', clientId); case 12: - blockName = _context13.sent; + blockName = _context14.sent; if (!updatedBlockTypes.has(blockName)) { - _context13.next = 15; + _context14.next = 15; break; } - return _context13.abrupt("continue", 32); + return _context14.abrupt("continue", 32); case 15: updatedBlockTypes.add(blockName); - _context13.next = 18; + _context14.next = 18; return Object(external_this_wp_dataControls_["select"])('core/blocks', 'getBlockType', blockName); case 18: - blockType = _context13.sent; + blockType = _context14.sent; _i4 = 0, _Object$entries3 = Object.entries(attributes); case 20: if (!(_i4 < _Object$entries3.length)) { - _context13.next = 32; + _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)) { - _context13.next = 24; + _context14.next = 24; break; } - return _context13.abrupt("continue", 29); + return _context14.abrupt("continue", 29); case 24: _schema = blockType.attributes[_attributeName]; source = block_sources_namespaceObject[_schema.source]; if (!(source && source.update)) { - _context13.next = 29; + _context14.next = 29; break; } - return _context13.delegateYield(source.update(_schema, newAttributeValue), "t0", 28); + return _context14.delegateYield(source.update(_schema, newAttributeValue), "t0", 28); case 28: updatedSources.add(source); case 29: _i4++; - _context13.next = 20; + _context14.next = 20; break; case 32: _i3++; - _context13.next = 8; + _context14.next = 8; break; case 35: - return _context13.delegateYield(resetLastBlockSourceDependencies(Array.from(updatedSources)), "t1", 36); + return _context14.delegateYield(resetLastBlockSourceDependencies(Array.from(updatedSources)), "t1", 36); case 36: - return _context13.delegateYield(getBlocksWithSourcedAttributes(blocks), "t2", 37); + return _context14.delegateYield(getBlocksWithSourcedAttributes(blocks), "t2", 37); case 37: - _context13.t3 = _context13.t2; + _context14.t3 = _context14.t2; edits = { - blocks: _context13.t3 + blocks: _context14.t3 }; - if (options.__unstableShouldCreateUndoLevel !== false) { - // 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. - edits.content = function (_ref2) { - var _ref2$blocks = _ref2.blocks, - blocksForSerialization = _ref2$blocks === void 0 ? [] : _ref2$blocks; - return serialize_blocks(blocksForSerialization); - }; + if (!(options.__unstableShouldCreateUndoLevel !== false)) { + _context14.next = 55; + break; } - return _context13.delegateYield(actions_editPost(edits), "t4", 41); + _context14.next = 42; + return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPost'); - case 41: + case 42: + _ref2 = _context14.sent; + id = _ref2.id; + type = _ref2.type; + _context14.next = 47; + 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; + + if (!noChange) { + _context14.next = 54; + break; + } + + _context14.next = 53; + return Object(external_this_wp_dataControls_["dispatch"])('core', '__unstableCreateUndoLevel', 'postType', type, id); + + case 53: + return _context14.abrupt("return", _context14.sent); + + case 54: + // 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. + edits.content = function (_ref3) { + var _ref3$blocks = _ref3.blocks, + blocksForSerialization = _ref3$blocks === void 0 ? [] : _ref3$blocks; + return serialize_blocks(blocksForSerialization); + }; + + case 55: + return _context14.delegateYield(actions_editPost(edits), "t6", 56); + + case 56: case "end": - return _context13.stop(); + return _context14.stop(); } } - }, _marked13); + }, _marked14); } /* * Returns an action object used in signalling that the post editor settings have been updated. @@ -4098,26 +4216,26 @@ var actions_getBlockEditorAction = function getBlockEditorAction(name) { var _len, args, _key, - _args15 = arguments; + _args16 = arguments; - return regenerator_default.a.wrap(function _callee$(_context14) { + return regenerator_default.a.wrap(function _callee$(_context15) { while (1) { - switch (_context14.prev = _context14.next) { + switch (_context15.prev = _context15.next) { case 0: external_this_wp_deprecated_default()('`wp.data.dispatch( \'core/editor\' ).' + name + '`', { alternative: '`wp.data.dispatch( \'core/block-editor\' ).' + name + '`' }); - for (_len = _args15.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = _args15[_key]; + for (_len = _args16.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = _args16[_key]; } - _context14.next = 4; + _context15.next = 4; return external_this_wp_dataControls_["dispatch"].apply(void 0, ['core/block-editor', name].concat(args)); case 4: case "end": - return _context14.stop(); + return _context15.stop(); } } }, _callee); @@ -4282,7 +4400,7 @@ var insertDefaultBlock = actions_getBlockEditorAction('insertDefaultBlock'); var updateBlockListSettings = actions_getBlockEditorAction('updateBlockListSettings'); // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(35); +var rememo = __webpack_require__(36); // EXTERNAL MODULE: external {"this":["wp","date"]} var external_this_wp_date_ = __webpack_require__(56); @@ -7269,6 +7387,7 @@ function (_Component) { */ + var requestIdleCallback = window.requestIdleCallback ? window.requestIdleCallback : window.requestAnimationFrame; /** * Function which returns true if the current environment supports browser @@ -7288,67 +7407,28 @@ var hasSessionStorageSupport = Object(external_lodash_["once"])(function () { return false; } }); -/** - * 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); -} -/** - * Custom hook which returns a callback function to be invoked when a local - * autosave should occur. - * - * @return {Function} Callback function. - */ - - -function useAutosaveCallback() { - var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { - return { - postId: select('core/editor').getCurrentPostId(), - getEditedPostAttribute: select('core/editor').getEditedPostAttribute - }; - }), - postId = _useSelect.postId, - getEditedPostAttribute = _useSelect.getEditedPostAttribute; - - return Object(external_this_wp_element_["useCallback"])(function () { - var saveToSessionStorage = function saveToSessionStorage() { - window.sessionStorage.setItem(postKey(postId), JSON.stringify({ - post_title: getEditedPostAttribute('title'), - content: getEditedPostAttribute('content'), - excerpt: getEditedPostAttribute('excerpt') - })); - }; - - requestIdleCallback(saveToSessionStorage); - }, [postId]); -} /** * Custom hook which manages the creation of a notice prompting the user to * restore a local autosave, if one exists. */ - function useAutosaveNotice() { - var _useSelect2 = Object(external_this_wp_data_["useSelect"])(function (select) { + 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: select('core/editor').getCurrentPostId(), - getEditedPostAttribute: select('core/editor').getEditedPostAttribute + postId: _postId, + getEditedPostAttribute: select('core/editor').getEditedPostAttribute, + remoteAutosave: select('core').getAutosave(postType, _postId, user.id), + hasFetchedAutosave: select('core').hasFetchedAutosaves(postType, _postId) && user.id }; }), - postId = _useSelect2.postId, - getEditedPostAttribute = _useSelect2.getEditedPostAttribute; + postId = _useSelect.postId, + getEditedPostAttribute = _useSelect.getEditedPostAttribute, + remoteAutosave = _useSelect.remoteAutosave, + hasFetchedAutosave = _useSelect.hasFetchedAutosave; var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/notices'), createWarningNotice = _useDispatch.createWarningNotice, @@ -7359,37 +7439,47 @@ function useAutosaveNotice() { resetEditorBlocks = _useDispatch2.resetEditorBlocks; Object(external_this_wp_element_["useEffect"])(function () { - var autosave = window.sessionStorage.getItem(postKey(postId)); + if (!hasFetchedAutosave) { + return; + } - if (!autosave) { + var localAutosave = localAutosaveGet(postId); + + if (!localAutosave) { return; } try { - autosave = JSON.parse(autosave); + localAutosave = JSON.parse(localAutosave); } catch (error) { // Not usable if it can't be parsed. return; } - var _autosave = autosave, - title = _autosave.post_title, - content = _autosave.content, - excerpt = _autosave.excerpt; + var _localAutosave = localAutosave, + title = _localAutosave.post_title, + content = _localAutosave.content, + excerpt = _localAutosave.excerpt; var edits = { title: title, content: content, excerpt: excerpt - }; // Only display a notice if there is a difference between what has been - // saved and that which is stored in sessionStorage. + }; + { + // Only display a notice if there is a difference between what has been + // saved and that which is stored in sessionStorage. + var hasDifference = Object.keys(edits).some(function (key) { + return edits[key] !== getEditedPostAttribute(key); + }); - var hasDifference = Object.keys(edits).some(function (key) { - return edits[key] !== getEditedPostAttribute(key); - }); + if (!hasDifference) { + // If there is no difference, it can be safely ejected from storage. + localAutosaveClear(postId); + return; + } + } - if (!hasDifference) { - // If there is no difference, it can be safely ejected from storage. - window.sessionStorage.removeItem(postKey(postId)); + if (remoteAutosave) { return; } @@ -7405,7 +7495,7 @@ function useAutosaveNotice() { } }] }); - }, [postId]); + }, [postId, hasFetchedAutosave]); } /** * Custom hook which ejects a local autosave after a successful save occurs. @@ -7413,36 +7503,48 @@ function useAutosaveNotice() { function useAutosavePurge() { - var _useSelect3 = Object(external_this_wp_data_["useSelect"])(function (select) { + var _useSelect2 = Object(external_this_wp_data_["useSelect"])(function (select) { return { postId: select('core/editor').getCurrentPostId(), - isDirty: select('core/editor').isEditedPostDirty() + postType: select('core/editor').getCurrentPostType(), + isDirty: select('core/editor').isEditedPostDirty(), + isAutosaving: select('core/editor').isAutosavingPost(), + didError: select('core/editor').didPostSaveRequestFail() }; }), - postId = _useSelect3.postId, - isDirty = _useSelect3.isDirty; + postId = _useSelect2.postId, + isDirty = _useSelect2.isDirty, + isAutosaving = _useSelect2.isAutosaving, + didError = _useSelect2.didError; var lastIsDirty = Object(external_this_wp_element_["useRef"])(isDirty); + var lastIsAutosaving = Object(external_this_wp_element_["useRef"])(isAutosaving); Object(external_this_wp_element_["useEffect"])(function () { - if (lastIsDirty.current && !isDirty) { - window.sessionStorage.removeItem(postKey(postId)); + if (lastIsAutosaving.current && !isAutosaving && !didError) { + localAutosaveClear(postId); } lastIsDirty.current = isDirty; - }, [isDirty]); + lastIsAutosaving.current = isAutosaving; + }, [isDirty, isAutosaving, didError]); } function LocalAutosaveMonitor() { - var autosave = useAutosaveCallback(); + var _useDispatch3 = Object(external_this_wp_data_["useDispatch"])('core/editor'), + __experimentalLocalAutosave = _useDispatch3.__experimentalLocalAutosave; + + var autosave = Object(external_this_wp_element_["useCallback"])(function () { + requestIdleCallback(__experimentalLocalAutosave); + }, []); useAutosaveNotice(); useAutosavePurge(); - var _useSelect4 = Object(external_this_wp_data_["useSelect"])(function (select) { + var _useSelect3 = Object(external_this_wp_data_["useSelect"])(function (select) { return { localAutosaveInterval: select('core/editor').getEditorSettings().__experimentalLocalAutosaveInterval }; }), - localAutosaveInterval = _useSelect4.localAutosaveInterval; + localAutosaveInterval = _useSelect3.localAutosaveInterval; return Object(external_this_wp_element_["createElement"])(autosave_monitor, { interval: localAutosaveInterval, @@ -10813,7 +10915,7 @@ function (_Component) { onSave: dispatch('core/editor').savePost }; }), external_this_wp_compose_["withSafeTimeout"], Object(external_this_wp_viewport_["withViewportMatch"])({ - isLargeViewport: 'medium' + isLargeViewport: 'small' })])(post_saved_state_PostSavedState)); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-schedule/check.js @@ -10998,13 +11100,12 @@ function (_Component) { Object(createClass["a" /* default */])(HierarchicalTermSelector, [{ key: "onChange", - value: function onChange(event) { + value: function onChange(termId) { var _this$props = this.props, onUpdateTerms = _this$props.onUpdateTerms, _this$props$terms = _this$props.terms, terms = _this$props$terms === void 0 ? [] : _this$props$terms, taxonomy = _this$props.taxonomy; - var termId = parseInt(event.target.value, 10); var hasTerm = terms.indexOf(termId) !== -1; var newTerms = hasTerm ? Object(external_lodash_["without"])(terms, termId) : [].concat(Object(toConsumableArray["a" /* default */])(terms), [termId]); onUpdateTerms(newTerms, taxonomy.rest_base); @@ -11316,20 +11417,18 @@ function (_Component) { var _this$props$terms2 = this.props.terms, terms = _this$props$terms2 === void 0 ? [] : _this$props$terms2; return renderedTerms.map(function (term) { - var id = "editor-post-taxonomies-hierarchical-term-".concat(term.id); return Object(external_this_wp_element_["createElement"])("div", { key: term.id, className: "editor-post-taxonomies__hierarchical-terms-choice" - }, Object(external_this_wp_element_["createElement"])("input", { - id: id, - className: "editor-post-taxonomies__hierarchical-terms-input", - type: "checkbox", + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["CheckboxControl"], { checked: terms.indexOf(term.id) !== -1, - value: term.id, - onChange: _this4.onChange - }), Object(external_this_wp_element_["createElement"])("label", { - htmlFor: id - }, Object(external_lodash_["unescape"])(term.name)), !!term.children.length && Object(external_this_wp_element_["createElement"])("div", { + onChange: function onChange() { + var termId = parseInt(term.id, 10); + + _this4.onChange(termId); + }, + label: Object(external_lodash_["unescape"])(term.name) + }), !!term.children.length && Object(external_this_wp_element_["createElement"])("div", { className: "editor-post-taxonomies__hierarchical-terms-subchoices" }, _this4.renderTerms(term.children))); }); @@ -13842,7 +13941,7 @@ function Stars(_ref) { var halfStarCount = Math.ceil(rating - fullStarCount); var emptyStarCount = 5 - (fullStarCount + halfStarCount); return Object(external_this_wp_element_["createElement"])("div", { - "aria-label": Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s out of 5 stars', stars), stars) + "aria-label": Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s out of 5 stars'), stars) }, Object(external_lodash_["times"])(fullStarCount, function (i) { return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Icon"], { key: "full_stars_".concat(i), @@ -13959,7 +14058,7 @@ function DownloadableBlockAuthorInfo(_ref) { className: "block-directory-downloadable-block-author-info__content-author" }, Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Authored by %s'), author)), Object(external_this_wp_element_["createElement"])("span", { className: "block-directory-downloadable-block-author-info__content" - }, Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_n"])('This author has %d block, with an average rating of %d.', 'This author has %d blocks, with an average rating of %d.', authorBlockCount, authorBlockRating), authorBlockCount, authorBlockRating))); + }, Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_n"])('This author has %d block, with an average rating of %d.', 'This author has %d blocks, with an average rating of %d.', authorBlockCount), authorBlockCount, authorBlockRating))); } /* harmony default export */ var downloadable_block_author_info = (DownloadableBlockAuthorInfo); @@ -14286,7 +14385,7 @@ function InserterMenuDownloadableBlocksPanel() { filterValue = _ref.filterValue, hasItems = _ref.hasItems; - if (!hasItems) { + if (hasItems || !filterValue) { return null; } @@ -14744,16 +14843,15 @@ var withFontSizes = deprecateFunction('withFontSizes', external_this_wp_blockEdi */ -var defaultAutocompleters = [autocompleters_user]; -function setDefaultCompleters(completers, blockName) { - if (!completers) { - // Provide copies so filters may directly modify them. - completers = defaultAutocompleters.map(external_lodash_["clone"]); // Add blocks autocompleter for Paragraph block +function setDefaultCompleters() { + var completers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + var blockName = arguments.length > 1 ? arguments[1] : undefined; + // Provide copies so filters may directly modify them. + completers.push(Object(external_lodash_["clone"])(autocompleters_user)); // Add blocks autocompleter for Paragraph block - if (blockName === Object(external_this_wp_blocks_["getDefaultBlockName"])()) { - completers.push(Object(external_lodash_["clone"])(autocompleters_block)); - } + if (blockName === Object(external_this_wp_blocks_["getDefaultBlockName"])()) { + completers.push(Object(external_lodash_["clone"])(autocompleters_block)); } return completers; diff --git a/wp-includes/js/dist/editor.min.js b/wp-includes/js/dist/editor.min.js index 7069e6ed33..2026af002d 100644 --- a/wp-includes/js/dist/editor.min.js +++ b/wp-includes/js/dist/editor.min.js @@ -1,4 +1,4 @@ -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=382)}({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})},104:function(e,t){!function(){e.exports=this.wp.wordcount}()},106:function(e,t){!function(){e.exports=this.wp.mediaUtils}()},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 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})},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.apiFetch}()},33:function(e,t,n){e.exports=n(94)()},35: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||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;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');return 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;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');return 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},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})},382: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 _e}),n.d(i,"__experimentalTearDownEditor",function(){return Ee}),n.d(i,"__experimentalSubscribeSources",function(){return we}),n.d(i,"resetPost",function(){return Se}),n.d(i,"resetAutosave",function(){return Pe}),n.d(i,"__experimentalRequestPostUpdateStart",function(){return Ce}),n.d(i,"__experimentalRequestPostUpdateFinish",function(){return Te}),n.d(i,"updatePost",function(){return Be}),n.d(i,"setupEditorState",function(){return xe}),n.d(i,"editPost",function(){return Ie}),n.d(i,"__experimentalOptimisticUpdatePost",function(){return Ae}),n.d(i,"savePost",function(){return Le}),n.d(i,"refreshPost",function(){return Re}),n.d(i,"trashPost",function(){return Ne}),n.d(i,"autosave",function(){return De}),n.d(i,"redo",function(){return Ue}),n.d(i,"undo",function(){return Fe}),n.d(i,"createUndoLevel",function(){return Me}),n.d(i,"updatePostLock",function(){return Ve}),n.d(i,"__experimentalFetchReusableBlocks",function(){return He}),n.d(i,"__experimentalReceiveReusableBlocks",function(){return We}),n.d(i,"__experimentalSaveReusableBlock",function(){return ze}),n.d(i,"__experimentalDeleteReusableBlock",function(){return Ke}),n.d(i,"__experimentalUpdateReusableBlock",function(){return Ge}),n.d(i,"__experimentalConvertBlockToStatic",function(){return qe}),n.d(i,"__experimentalConvertBlockToReusable",function(){return Ye}),n.d(i,"enablePublishSidebar",function(){return Qe}),n.d(i,"disablePublishSidebar",function(){return Xe}),n.d(i,"lockPostSaving",function(){return $e}),n.d(i,"unlockPostSaving",function(){return Ze}),n.d(i,"resetEditorBlocks",function(){return Je}),n.d(i,"updateEditorSettings",function(){return et}),n.d(i,"resetBlocks",function(){return nt}),n.d(i,"receiveBlocks",function(){return rt}),n.d(i,"updateBlock",function(){return ot}),n.d(i,"updateBlockAttributes",function(){return it}),n.d(i,"selectBlock",function(){return ct}),n.d(i,"startMultiSelect",function(){return at}),n.d(i,"stopMultiSelect",function(){return st}),n.d(i,"multiSelect",function(){return ut}),n.d(i,"clearSelectedBlock",function(){return lt}),n.d(i,"toggleSelection",function(){return dt}),n.d(i,"replaceBlocks",function(){return pt}),n.d(i,"replaceBlock",function(){return bt}),n.d(i,"moveBlocksDown",function(){return ft}),n.d(i,"moveBlocksUp",function(){return ht}),n.d(i,"moveBlockToPosition",function(){return mt}),n.d(i,"insertBlock",function(){return vt}),n.d(i,"insertBlocks",function(){return Ot}),n.d(i,"showInsertionPoint",function(){return gt}),n.d(i,"hideInsertionPoint",function(){return jt}),n.d(i,"setTemplateValidity",function(){return yt}),n.d(i,"synchronizeTemplate",function(){return kt}),n.d(i,"mergeBlocks",function(){return _t}),n.d(i,"removeBlocks",function(){return Et}),n.d(i,"removeBlock",function(){return wt}),n.d(i,"toggleBlockMode",function(){return St}),n.d(i,"startTyping",function(){return Pt}),n.d(i,"stopTyping",function(){return Ct}),n.d(i,"enterFormattedText",function(){return Tt}),n.d(i,"exitFormattedText",function(){return Bt}),n.d(i,"insertDefaultBlock",function(){return xt}),n.d(i,"updateBlockListSettings",function(){return It});var c={};n.r(c),n.d(c,"hasEditorUndo",function(){return Ut}),n.d(c,"hasEditorRedo",function(){return Ft}),n.d(c,"isEditedPostNew",function(){return Mt}),n.d(c,"hasChangedContent",function(){return Vt}),n.d(c,"isEditedPostDirty",function(){return Ht}),n.d(c,"isCleanNewPost",function(){return Wt}),n.d(c,"getCurrentPost",function(){return zt}),n.d(c,"getCurrentPostType",function(){return Kt}),n.d(c,"getCurrentPostId",function(){return Gt}),n.d(c,"getCurrentPostRevisionsCount",function(){return qt}),n.d(c,"getCurrentPostLastRevisionId",function(){return Yt}),n.d(c,"getPostEdits",function(){return Qt}),n.d(c,"getCurrentPostAttribute",function(){return Xt}),n.d(c,"getEditedPostAttribute",function(){return Zt}),n.d(c,"getAutosaveAttribute",function(){return Jt}),n.d(c,"getEditedPostVisibility",function(){return en}),n.d(c,"isCurrentPostPending",function(){return tn}),n.d(c,"isCurrentPostPublished",function(){return nn}),n.d(c,"isCurrentPostScheduled",function(){return rn}),n.d(c,"isEditedPostPublishable",function(){return on}),n.d(c,"isEditedPostSaveable",function(){return cn}),n.d(c,"isEditedPostEmpty",function(){return an}),n.d(c,"isEditedPostAutosaveable",function(){return sn}),n.d(c,"getAutosave",function(){return un}),n.d(c,"hasAutosave",function(){return ln}),n.d(c,"isEditedPostBeingScheduled",function(){return dn}),n.d(c,"isEditedPostDateFloating",function(){return pn}),n.d(c,"isSavingPost",function(){return bn}),n.d(c,"didPostSaveRequestSucceed",function(){return fn}),n.d(c,"didPostSaveRequestFail",function(){return hn}),n.d(c,"isAutosavingPost",function(){return mn}),n.d(c,"isPreviewingPost",function(){return vn}),n.d(c,"getEditedPostPreviewLink",function(){return On}),n.d(c,"getSuggestedPostFormat",function(){return gn}),n.d(c,"getBlocksForSerialization",function(){return jn}),n.d(c,"getEditedPostContent",function(){return yn}),n.d(c,"__experimentalGetReusableBlock",function(){return kn}),n.d(c,"__experimentalIsSavingReusableBlock",function(){return _n}),n.d(c,"__experimentalIsFetchingReusableBlock",function(){return En}),n.d(c,"__experimentalGetReusableBlocks",function(){return wn}),n.d(c,"getStateBeforeOptimisticTransaction",function(){return Sn}),n.d(c,"isPublishingPost",function(){return Pn}),n.d(c,"isPermalinkEditable",function(){return Cn}),n.d(c,"getPermalink",function(){return Tn}),n.d(c,"getPermalinkParts",function(){return Bn}),n.d(c,"inSomeHistory",function(){return xn}),n.d(c,"isPostLocked",function(){return In}),n.d(c,"isPostSavingLocked",function(){return An}),n.d(c,"isPostAutosavingLocked",function(){return Ln}),n.d(c,"isPostLockTakeover",function(){return Rn}),n.d(c,"getPostLockUser",function(){return Nn}),n.d(c,"getActivePostLock",function(){return Dn}),n.d(c,"canUserUseUnfilteredHTML",function(){return Un}),n.d(c,"isPublishSidebarEnabled",function(){return Fn}),n.d(c,"getEditorBlocks",function(){return Mn}),n.d(c,"__unstableIsEditorReady",function(){return Vn}),n.d(c,"getEditorSettings",function(){return Hn}),n.d(c,"getBlockName",function(){return zn}),n.d(c,"isBlockValid",function(){return Kn}),n.d(c,"getBlockAttributes",function(){return Gn}),n.d(c,"getBlock",function(){return qn}),n.d(c,"getBlocks",function(){return Yn}),n.d(c,"__unstableGetBlockWithoutInnerBlocks",function(){return Qn}),n.d(c,"getClientIdsOfDescendants",function(){return Xn}),n.d(c,"getClientIdsWithDescendants",function(){return $n}),n.d(c,"getGlobalBlockCount",function(){return Zn}),n.d(c,"getBlocksByClientId",function(){return Jn}),n.d(c,"getBlockCount",function(){return er}),n.d(c,"getBlockSelectionStart",function(){return tr}),n.d(c,"getBlockSelectionEnd",function(){return nr}),n.d(c,"getSelectedBlockCount",function(){return rr}),n.d(c,"hasSelectedBlock",function(){return or}),n.d(c,"getSelectedBlockClientId",function(){return ir}),n.d(c,"getSelectedBlock",function(){return cr}),n.d(c,"getBlockRootClientId",function(){return ar}),n.d(c,"getBlockHierarchyRootClientId",function(){return sr}),n.d(c,"getAdjacentBlockClientId",function(){return ur}),n.d(c,"getPreviousBlockClientId",function(){return lr}),n.d(c,"getNextBlockClientId",function(){return dr}),n.d(c,"getSelectedBlocksInitialCaretPosition",function(){return pr}),n.d(c,"getMultiSelectedBlockClientIds",function(){return br}),n.d(c,"getMultiSelectedBlocks",function(){return fr}),n.d(c,"getFirstMultiSelectedBlockClientId",function(){return hr}),n.d(c,"getLastMultiSelectedBlockClientId",function(){return mr}),n.d(c,"isFirstMultiSelectedBlock",function(){return vr}),n.d(c,"isBlockMultiSelected",function(){return Or}),n.d(c,"isAncestorMultiSelected",function(){return gr}),n.d(c,"getMultiSelectedBlocksStartClientId",function(){return jr}),n.d(c,"getMultiSelectedBlocksEndClientId",function(){return yr}),n.d(c,"getBlockOrder",function(){return kr}),n.d(c,"getBlockIndex",function(){return _r}),n.d(c,"isBlockSelected",function(){return Er}),n.d(c,"hasSelectedInnerBlock",function(){return wr}),n.d(c,"isBlockWithinSelection",function(){return Sr}),n.d(c,"hasMultiSelection",function(){return Pr}),n.d(c,"isMultiSelecting",function(){return Cr}),n.d(c,"isSelectionEnabled",function(){return Tr}),n.d(c,"getBlockMode",function(){return Br}),n.d(c,"isTyping",function(){return xr}),n.d(c,"isCaretWithinFormattedText",function(){return Ir}),n.d(c,"getBlockInsertionPoint",function(){return Ar}),n.d(c,"isBlockInsertionPointVisible",function(){return Lr}),n.d(c,"isValidTemplate",function(){return Rr}),n.d(c,"getTemplate",function(){return Nr}),n.d(c,"getTemplateLock",function(){return Dr}),n.d(c,"canInsertBlockType",function(){return Ur}),n.d(c,"getInserterItems",function(){return Fr}),n.d(c,"hasInserterItems",function(){return Mr}),n.d(c,"getBlockListSettings",function(){return Vr});var a={};n.r(a),n.d(a,"isRequestingDownloadableBlocks",function(){return Kc}),n.d(a,"getDownloadableBlocks",function(){return Gc}),n.d(a,"hasInstallBlocksPermission",function(){return qc}),n.d(a,"getInstalledBlockTypes",function(){return Yc});var s={};n.r(s),n.d(s,"fetchDownloadableBlocks",function(){return oa}),n.d(s,"receiveDownloadableBlocks",function(){return ia}),n.d(s,"setInstallBlocksPermission",function(){return ca}),n.d(s,"downloadBlock",function(){return aa}),n.d(s,"installBlock",function(){return sa}),n.d(s,"uninstallBlock",function(){return ua}),n.d(s,"addInstalledBlockType",function(){return la}),n.d(s,"removeInstalledBlockType",function(){return da});var u=n(6),l=n(9),d=(n(97),n(157),n(63)),p=n(22),b=n(43),f=n(7),h=n(4),m=n(36),v=n(10),O=n(31),g=n(90),j=n.n(g),y=n(2),k={insertUsage:{},isPublishSidebarEnabled:!0},_=Object(f.a)({},u.SETTINGS_DEFAULTS,{richEditingEnabled:!0,codeEditingEnabled:!0,enableCustomFields:!1});function E(e){return e&&"object"===Object(O.a)(e)&&"raw"in e?e.raw:e}var w=Object(h.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(f.a)({},e,Object(y.keyBy)(t.results,"id"));case"UPDATE_REUSABLE_BLOCK":var n=t.id,r=t.changes;return Object(f.a)({},e,Object(v.a)({},n,Object(f.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(f.a)({},Object(y.omit)(e,o),Object(v.a)({},i,Object(f.a)({},c,{id:i})));case"REMOVE_REUSABLE_BLOCK":var a=t.id;return Object(y.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(f.a)({},e,Object(v.a)({},n,!0)):e;case"FETCH_REUSABLE_BLOCKS_SUCCESS":case"FETCH_REUSABLE_BLOCKS_FAILURE":var r=t.id;return Object(y.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(f.a)({},e,Object(v.a)({},t.id,!0));case"SAVE_REUSABLE_BLOCK_SUCCESS":case"SAVE_REUSABLE_BLOCK_FAILURE":var n=t.id;return Object(y.omit)(e,n)}return e}});var S=j()(Object(h.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]:k;switch((arguments.length>1?arguments[1]:void 0).type){case"ENABLE_PUBLISH_SIDEBAR":return Object(f.a)({},e,{isPublishSidebarEnabled:!0});case"DISABLE_PUBLISH_SIDEBAR":return Object(f.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:w,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(f.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(f.a)({},e,Object(v.a)({},t.lockName,!0));case"UNLOCK_POST_SAVING":return Object(y.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]:_,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_EDITOR_SETTINGS":return Object(f.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(f.a)({},e,Object(v.a)({},t.lockName,!0));case"UNLOCK_POST_AUTOSAVING":return Object(y.omit)(e,t.lockName)}return e}})),P=n(76),C=n.n(P),T=n(20),B=n.n(T),x=n(44),I=n(32),A=n.n(I),L=n(1),R=n(23),N=n(17),D=n(37),U=n.n(D),F=n(41),M=n.n(F),V=new Set(["meta"]),H="core/editor",W="post-update",z="SAVE_POST_NOTICE_ID",K="TRASH_POST_NOTICE_ID",G=/%(?:postname|pagename)%/,q=6e4,Y=["title","excerpt","content"];function Q(e){var t=e.previousPost,n=e.post,r=e.postType;if(Object(y.get)(e.options,["isAutosave"]))return[];var o,i=["publish","private","future"],c=Object(y.includes)(i,t.status),a=Object(y.includes)(i,n.status),s=Object(y.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:z,type:"snackbar",actions:u}]}return[]}function X(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(L.__)("Publishing failed."),private:Object(L.__)("Publishing failed."),future:Object(L.__)("Scheduling failed.")},a=i||-1===o.indexOf(n.status)?Object(L.__)("Updating failed."):c[n.status];return r.message&&!/<\/?[^>]*>/.test(r.message)&&(a=Object(L.sprintf)(Object(L.__)("%1$s Error message: %2$s"),a,r.message)),[a,{id:z}]}var $=n(45),Z=n.n($),J=n(72),ee=Z()(function(e){1===e.length&&Object(l.isUnmodifiedDefaultBlock)(e[0])&&(e=[]);var t=Object(l.serialize)(e);return 1===e.length&&e[0].name===Object(l.getFreeformContentHandlerName)()&&(t=Object(J.removep)(t)),t},{maxSize:1});var te={AWAIT_NEXT_STATE_CHANGE:Object(h.createRegistryControl)(function(e){return function(){return new Promise(function(t){var n=e.subscribe(function(){n(),t()})})}}),GET_REGISTRY:Object(h.createRegistryControl)(function(e){return function(){return e}})},ne=B.a.mark(oe),re=B.a.mark(ce);function oe(){return B.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(m.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 B.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Ie({meta:Object(v.a)({},e.meta,t)});case 2:case"end":return n.stop()}},re)}var ae=B.a.mark(ye),se=B.a.mark(ke),ue=B.a.mark(_e),le=B.a.mark(we),de=B.a.mark(Pe),pe=B.a.mark(Ie),be=B.a.mark(Le),fe=B.a.mark(Re),he=B.a.mark(Ne),me=B.a.mark(De),ve=B.a.mark(Ue),Oe=B.a.mark(Fe),ge=B.a.mark(Je),je=new WeakMap;function ye(e){var t,n,r,i,c,a,s,u,l,d,p,b,h,O;return B.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,je.has(t)){g.next=5;break}return g.abrupt("return",e);case 5:n=je.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,je.has(t)||je.set(t,new WeakMap),n=je.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 _e(e,t,n){var r,o;return B.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return r=Object(y.has)(t,["content"])?t.content:e.content.raw,o=Object(l.parse)(r),"auto-draft"===e.status&&n&&(o=Object(l.synchronizeBlocksWithTemplate)(o,n)),i.next=6,Se(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,Je(o,{__unstableShouldCreateUndoLevel:!1});case 11:return i.next=13,xe(e);case 13:if(!t||!Object.keys(t).some(function(n){return t[n]!==(Object(y.has)(e,[n,"raw"])?e[n].raw:e[n])})){i.next=16;break}return i.next=16,Ie(t);case 16:return i.delegateYield(we(),"t1",17);case 17:case"end":return i.stop()}},ue)}function Ee(){return{type:"TEAR_DOWN_EDITOR"}}function we(){var e,t,n,r,i,c,a,s;return B.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(m.select)(H,"__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 Te(){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 xe(e){return{type:"SETUP_EDITOR_STATE",post:e}}function Ie(e,t){var n,r,o;return B.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Object(m.select)(H,"getCurrentPost");case 2:return n=i.sent,r=n.id,o=n.type,i.next=7,Object(m.dispatch)("core","editEntityRecord","postType",o,r,e,t);case 7:case"end":return i.stop()}},pe)}function Ae(e){return Object(f.a)({},Be(e),{optimist:{id:W}})}function Le(){var e,t,n,r,o,i,c,a=arguments;return B.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(m.select)(H,"isEditedPostSaveable");case 3:if(s.sent){s.next=5;break}return s.abrupt("return");case 5:return s.next=7,Object(m.select)(H,"getEditedPostContent");case 7:if(s.t0=s.sent,t={content:s.t0},e.isAutosave){s.next=12;break}return s.next=12,Object(m.dispatch)(H,"editPost",t,{undoIgnore:!0});case 12:return s.next=14,Ce(e);case 14:return s.next=16,Object(m.select)(H,"getCurrentPost");case 16:return n=s.sent,s.t1=f.a,s.t2={id:n.id},s.next=21,Object(m.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(m.dispatch)("core","saveEntityRecord","postType",n.type,t,e);case 26:return s.next=28,Te(e);case 28:return s.next=30,Object(m.select)("core","getLastEntitySaveError","postType",n.type,n.id);case 30:if(!(r=s.sent)){s.next=38;break}if(!(o=X({post:n,edits:t,error:r})).length){s.next=36;break}return s.next=36,m.dispatch.apply(void 0,["core/notices","createErrorNotice"].concat(Object(N.a)(o)));case 36:s.next=53;break;case 38:return s.next=40,Object(m.select)(H,"getCurrentPost");case 40:return i=s.sent,s.t5=Q,s.t6=n,s.t7=i,s.next=46,Object(m.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,m.dispatch.apply(void 0,["core/notices","createSuccessNotice"].concat(Object(N.a)(c)));case 53:case"end":return s.stop()}},be)}function Re(){var e,t,n,r;return B.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Object(m.select)(H,"getCurrentPost");case 2:return e=o.sent,o.next=5,Object(m.select)(H,"getCurrentPostType");case 5:return t=o.sent,o.next=8,Object(m.select)("core","getPostType",t);case 8:return n=o.sent,o.next=11,Object(m.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(m.dispatch)(H,"resetPost",r);case 14:case"end":return o.stop()}},fe)}function Ne(){var e,t,n;return B.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object(m.select)(H,"getCurrentPostType");case 2:return e=r.sent,r.next=5,Object(m.select)("core","getPostType",e);case 5:return t=r.sent,r.next=8,Object(m.dispatch)("core/notices","removeNotice",K);case 8:return r.prev=8,r.next=11,Object(m.select)(H,"getCurrentPost");case 11:return n=r.sent,r.next=14,Object(m.apiFetch)({path:"/wp/v2/".concat(t.rest_base,"/").concat(n.id),method:"DELETE"});case 14:return r.next=16,Object(m.dispatch)(H,"savePost");case 16:r.next=22;break;case 18:return r.prev=18,r.t0=r.catch(8),r.next=22,m.dispatch.apply(void 0,["core/notices","createErrorNotice"].concat(Object(N.a)([(o={error:r.t0}).error.message&&"unknown_error"!==o.error.code?o.error.message:Object(L.__)("Trashing failed"),{id:K}])));case 22:case"end":return r.stop()}var o},he,null,[[8,18]])}function De(e){return B.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(m.dispatch)(H,"savePost",Object(f.a)({isAutosave:!0},e));case 2:case"end":return t.stop()}},me)}function Ue(){return B.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(m.dispatch)("core","redo");case 2:case"end":return e.stop()}},ve)}function Fe(){return B.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(m.dispatch)("core","undo");case 2:case"end":return e.stop()}},Oe)}function Me(){return{type:"CREATE_UNDO_LEVEL"}}function Ve(e){return{type:"UPDATE_POST_LOCK",lock:e}}function He(e){return{type:"FETCH_REUSABLE_BLOCKS",id:e}}function We(e){return{type:"RECEIVE_REUSABLE_BLOCKS",results:e}}function ze(e){return{type:"SAVE_REUSABLE_BLOCK",id:e}}function Ke(e){return{type:"DELETE_REUSABLE_BLOCK",id:e}}function Ge(e,t){return{type:"UPDATE_REUSABLE_BLOCK",id:e,changes:t}}function qe(e){return{type:"CONVERT_BLOCK_TO_STATIC",clientId:e}}function Ye(e){return{type:"CONVERT_BLOCK_TO_REUSABLE",clientIds:Object(y.castArray)(e)}}function Qe(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function Xe(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function $e(e){return{type:"LOCK_POST_SAVING",lockName:e}}function Ze(e){return{type:"UNLOCK_POST_SAVING",lockName:e}}function Je(e){var t,n,r,i,c,a,s,u,l,d,p,b,f,h,v,O,g,j,y,k=arguments;return B.a.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return t=k.length>1&&void 0!==k[1]?k[1]:{},_.next=3,Object(m.select)("core/block-editor","__experimentalGetLastBlockAttributeChanges");case 3:if(!(n=_.sent)){_.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(l.getDefaultBlockName)()&&n!==Object(l.getFreeformContentHandlerName)())return!1}return!yn(e)}var sn=Object(h.createRegistrySelector)(function(e){return function(t){if(!cn(t))return!1;if(Ln(t))return!1;var n=Kt(t),r=Gt(t),o=e("core").hasFetchedAutosaves(n,r),i=Object(y.get)(e("core").getCurrentUser(),["id"]),c=e("core").getAutosave(n,r,i);return!!o&&(!c||(!!Vt(t)||["title","excerpt"].some(function(e){return E(c[e])!==Zt(t,e)})))}}),un=Object(h.createRegistrySelector)(function(e){return function(t){U()("`wp.data.select( 'core/editor' ).getAutosave()`",{alternative:"`wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:"Gutenberg"});var n=Kt(t),r=Gt(t),o=Object(y.get)(e("core").getCurrentUser(),["id"]),i=e("core").getAutosave(n,r,o);return Object(y.mapValues)(Object(y.pick)(i,Y),E)}}),ln=Object(h.createRegistrySelector)(function(e){return function(t){U()("`wp.data.select( 'core/editor' ).hasAutosave()`",{alternative:"`!! wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:"Gutenberg"});var n=Kt(t),r=Gt(t),o=Object(y.get)(e("core").getCurrentUser(),["id"]);return!!e("core").getAutosave(n,r,o)}});function dn(e){var t=Zt(e,"date"),n=new Date(Number(Object(Lt.getDate)(t))-q);return Object(Lt.isInTheFuture)(n)}function pn(e){var t=Zt(e,"date"),n=Zt(e,"modified"),r=Zt(e,"status");return("draft"===r||"auto-draft"===r||"pending"===r)&&t===n}var bn=Object(h.createRegistrySelector)(function(e){return function(t){var n=Kt(t),r=Gt(t);return e("core").isSavingEntityRecord("postType",n,r)}}),fn=Object(h.createRegistrySelector)(function(e){return function(t){var n=Kt(t),r=Gt(t);return!e("core").getLastEntitySaveError("postType",n,r)}}),hn=Object(h.createRegistrySelector)(function(e){return function(t){var n=Kt(t),r=Gt(t);return!!e("core").getLastEntitySaveError("postType",n,r)}});function mn(e){return!!bn(e)&&!!Object(y.get)(e.saving,["options","isAutosave"])}function vn(e){return!!bn(e)&&!!e.saving.options.isPreview}function On(e){if(!e.saving.pending&&!bn(e)){var t=Jt(e,"preview_link");t||(t=Zt(e,"link"))&&(t=Object(Rt.addQueryArgs)(t,{preview:!0}));var n=Zt(e,"featured_media");return t&&n?Object(Rt.addQueryArgs)(t,{_thumbnail_id:n}):t}}function gn(e){var t,n=Mn(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 jn(e){U()("`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(l.isUnmodifiedDefaultBlock)(t[0])?[]:t}var yn=Object(h.createRegistrySelector)(function(e){return function(t){var n=Gt(t),r=Kt(t),o=e("core").getEditedEntityRecord("postType",r,n);if(o){if("function"==typeof o.content)return o.content(o);if(o.blocks)return ee(o.blocks);if(o.content)return o.content}return""}}),kn=Object(At.a)(function(e,t){var n=e.reusableBlocks.data[t];if(!n)return null;var r=isNaN(parseInt(t));return Object(f.a)({},n,{id:r?t:+t,isTemporary:r})},function(e,t){return[e.reusableBlocks.data[t]]});function _n(e,t){return e.reusableBlocks.isSaving[t]||!1}function En(e,t){return!!e.reusableBlocks.isFetching[t]}var wn=Object(At.a)(function(e){return Object(y.map)(e.reusableBlocks.data,function(t,n){return kn(e,n)})},function(e){return[e.reusableBlocks.data]});function Sn(e,t){var n=Object(y.find)(e.optimist,function(e){return e.beforeState&&Object(y.get)(e.action,["optimist","id"])===t});return n?n.beforeState:null}function Pn(e){if(!bn(e))return!1;if(!nn(e))return!1;var t=Sn(e,W);return!!t&&!nn(null,t.currentPost)}function Cn(e){var t=Zt(e,"permalink_template");return G.test(t)}function Tn(e){var t=Bn(e);if(!t)return null;var n=t.prefix,r=t.postName,o=t.suffix;return Cn(e)?n+r+o:n}function Bn(e){var t=Zt(e,"permalink_template");if(!t)return null;var n=Zt(e,"slug")||Zt(e,"generated_slug"),r=t.split(G),o=Object(R.a)(r,2);return{prefix:o[0],postName:n,suffix:o[1]}}function xn(e,t){var n=e.optimist;return!!n&&n.some(function(e){var n=e.beforeState;return n&&t(n)})}function In(e){return e.postLock.isLocked}function An(e){return Object.keys(e.postSavingLock).length>0}function Ln(e){return Object.keys(e.postAutosavingLock).length>0}function Rn(e){return e.postLock.isTakeover}function Nn(e){return e.postLock.user}function Dn(e){return e.postLock.activePostLock}function Un(e){return Object(y.has)(zt(e),["_links","wp:action-unfiltered-html"])}function Fn(e){return e.preferences.hasOwnProperty("isPublishSidebarEnabled")?e.preferences.isPublishSidebarEnabled:k.isPublishSidebarEnabled}function Mn(e){return Zt(e,"blocks")||Dt}function Vn(e){return e.isReady}function Hn(e){return e.editorSettings}function Wn(e){return Object(h.createRegistrySelector)(function(t){return function(n){var r;U()("`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?Zr:r,i=e.getSelectedBlockName,c=void 0===i?Jr:i;return{name:"blocks",className:"editor-autocompleters__block",triggerPrefix:"/",options:function(){eo();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(N.a)(r),[t])},getOptionLabel:function(e){var t=e.icon,n=e.title;return[Object(Xr.createElement)(u.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(l.createBlock)(t,n)}},isOptionDisabled:function(e){return e.isDisabled}}}(),no={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options:function(e){var t="";return e&&(t="?search="+encodeURIComponent(e)),A()({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:function(e){return[e.slug,e.name]},getOptionLabel:function(e){return[Object(Xr.createElement)("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}),Object(Xr.createElement)("span",{key:"name",className:"editor-autocompleters__user-name"},e.name),Object(Xr.createElement)("span",{key:"slug",className:"editor-autocompleters__user-slug"},e.slug)]},getOptionCompletion:function(e){return"@".concat(e.slug)}},ro=n(12),oo=n(11),io=n(13),co=n(14),ao=n(15),so=n(8),uo=function(e){function t(){return Object(ro.a)(this,t),Object(io.a)(this,Object(co.a)(t).apply(this,arguments))}return Object(ao.a)(t,e),Object(oo.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}(Xr.Component),lo=Object(so.compose)([Object(h.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(h.withDispatch)(function(e,t){return{autosave:function(){var n=t.autosave,r=void 0===n?e("core/editor").autosave:n;r()}}})])(uo),po=n(16),bo=n.n(po),fo=function(e){var t=e.children,n=e.isValid,r=e.level,o=e.path,i=void 0===o?[]:o,c=e.href,a=e.onSelect;return Object(Xr.createElement)("li",{className:bo()("document-outline__item","is-".concat(r.toLowerCase()),{"is-invalid":!n})},Object(Xr.createElement)("a",{href:c,className:"document-outline__button",onClick:a},Object(Xr.createElement)("span",{className:"document-outline__emdash","aria-hidden":"true"}),i.map(function(e,t){var n=e.clientId;return Object(Xr.createElement)("strong",{key:t,className:"document-outline__level"},Object(Xr.createElement)(u.BlockTitle,{clientId:n}))}),Object(Xr.createElement)("strong",{className:"document-outline__level"},r),Object(Xr.createElement)("span",{className:"document-outline__item-content"},t)))},ho=Object(Xr.createElement)("em",null,Object(L.__)("(Empty heading)")),mo=[Object(Xr.createElement)("br",{key:"incorrect-break"}),Object(Xr.createElement)("em",{key:"incorrect-message"},Object(L.__)("(Incorrect heading level)"))],vo=[Object(Xr.createElement)("br",{key:"incorrect-break-h1"}),Object(Xr.createElement)("em",{key:"incorrect-message-h1"},Object(L.__)("(Your theme may already use a H1 for the post title)"))],Oo=[Object(Xr.createElement)("br",{key:"incorrect-break-multiple-h1"}),Object(Xr.createElement)("em",{key:"incorrect-message-multiple-h1"},Object(L.__)("(Multiple H1 headings are not recommended)"))],go=function(e){return!e.attributes.content||0===e.attributes.content.length},jo=Object(so.compose)(Object(h.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(y.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(y.flatMap)(t,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===t.name?Object(f.a)({},t,{path:n,level:t.attributes.level,isEmpty:go(t)}):e(t.innerBlocks,[].concat(Object(N.a)(n),[t]))})}(n);if(a.length<1)return null;var s=1,u=document.querySelector(".editor-post-title__input"),l=i&&r&&u,d=Object(y.countBy)(a,"level")[1]>1;return Object(Xr.createElement)("div",{className:"document-outline"},Object(Xr.createElement)("ul",null,l&&Object(Xr.createElement)(fo,{level:Object(L.__)("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&&(d||l));return s=e.level,Object(Xr.createElement)(fo,{key:t,level:"H".concat(e.level),isValid:r,path:e.path,isDisabled:c,href:"#block-".concat(e.clientId),onSelect:o},e.isEmpty?ho:Object(p.getTextContent)(Object(p.create)({html:e.attributes.content})),n&&mo,1===e.level&&d&&Oo,l&&1===e.level&&!d&&vo)})))});var yo=Object(h.withSelect)(function(e){return{blocks:e("core/block-editor").getBlocks()}})(function(e){var t=e.blocks,n=e.children;return Object(y.filter)(t,function(e){return"core/heading"===e.name}).length<1?null:n}),ko=n(5),_o=n(3),Eo=n(19);var wo=Object(so.compose)([Object(h.withSelect)(function(e){return{isDirty:(0,e("core/editor").isEditedPostDirty)()}}),Object(h.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(Xr.createElement)(_o.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(v.a)({},Eo.rawShortcut.primary("s"),function(e){e.preventDefault(),t()})})}),So=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).undoOrRedo=e.undoOrRedo.bind(Object(ko.a)(e)),e}return Object(ao.a)(t,e),Object(oo.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(Xr.createElement)(Xr.Fragment,null,Object(Xr.createElement)(u.BlockEditorKeyboardShortcuts,null),Object(Xr.createElement)(_o.KeyboardShortcuts,{shortcuts:(e={},Object(v.a)(e,Eo.rawShortcut.primary("z"),this.undoOrRedo),Object(v.a)(e,Eo.rawShortcut.primaryShift("z"),this.undoOrRedo),e)}),Object(Xr.createElement)(wo,null))}}]),t}(Xr.Component),Po=Object(h.withDispatch)(function(e){var t=e("core/editor");return{onRedo:t.redo,onUndo:t.undo}})(So),Co=Po;function To(){return U()("EditorGlobalKeyboardShortcuts",{alternative:"VisualEditorGlobalKeyboardShortcuts",plugin:"Gutenberg"}),Object(Xr.createElement)(Po,null)}function Bo(){return Object(Xr.createElement)(wo,null)}var xo=Object(so.compose)([Object(h.withSelect)(function(e){return{hasRedo:e("core/editor").hasEditorRedo()}}),Object(h.withDispatch)(function(e){return{redo:e("core/editor").redo}})])(function(e){var t=e.hasRedo,n=e.redo;return Object(Xr.createElement)(_o.IconButton,{icon:"redo",label:Object(L.__)("Redo"),shortcut:Eo.displayShortcut.primaryShift("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__redo"})});var Io=Object(so.compose)([Object(h.withSelect)(function(e){return{hasUndo:e("core/editor").hasEditorUndo()}}),Object(h.withDispatch)(function(e){return{undo:e("core/editor").undo}})])(function(e){var t=e.hasUndo,n=e.undo;return Object(Xr.createElement)(_o.IconButton,{icon:"undo",label:Object(L.__)("Undo"),shortcut:Eo.displayShortcut.primary("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__undo"})}),Ao=n(21);var Lo=Object(so.compose)([Object(h.withSelect)(function(e){return{isValid:e("core/block-editor").isValidTemplate()}}),Object(h.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(Ao.a)(e,["isValid"]);return t?null:Object(Xr.createElement)(_o.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning"},Object(Xr.createElement)("p",null,Object(L.__)("The content of your post doesn’t match the template assigned to your post type.")),Object(Xr.createElement)("div",null,Object(Xr.createElement)(_o.Button,{isDefault:!0,onClick:n.resetTemplateValidity},Object(L.__)("Keep it as is")),Object(Xr.createElement)(_o.Button,{onClick:function(){window.confirm(Object(L.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()},isPrimary:!0},Object(L.__)("Reset the template"))))});var Ro=Object(so.compose)([Object(h.withSelect)(function(e){return{notices:e("core/notices").getNotices()}}),Object(h.withDispatch)(function(e){return{onRemove:e("core/notices").removeNotice}})])(function(e){var t=e.notices,n=e.onRemove,r=Object(y.filter)(t,{isDismissible:!0,type:"default"}),o=Object(y.filter)(t,{isDismissible:!1,type:"default"}),i=Object(y.filter)(t,{type:"snackbar"});return Object(Xr.createElement)(Xr.Fragment,null,Object(Xr.createElement)(_o.NoticeList,{notices:o,className:"components-editor-notices__pinned"}),Object(Xr.createElement)(_o.NoticeList,{notices:r,className:"components-editor-notices__dismissible",onRemove:n},Object(Xr.createElement)(Lo,null)),Object(Xr.createElement)(_o.SnackbarList,{notices:i,className:"components-editor-notices__snackbar",onRemove:n}))}),No=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).reboot=e.reboot.bind(Object(ko.a)(e)),e.getContent=e.getContent.bind(Object(ko.a)(e)),e.state={error:null},e}return Object(ao.a)(t,e),Object(oo.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(h.select)("core/editor").getEditedPostContent()}catch(e){}}},{key:"render",value:function(){var e=this.state.error;return e?Object(Xr.createElement)(u.Warning,{className:"editor-error-boundary",actions:[Object(Xr.createElement)(_o.Button,{key:"recovery",onClick:this.reboot,isLarge:!0},Object(L.__)("Attempt Recovery")),Object(Xr.createElement)(_o.ClipboardButton,{key:"copy-post",text:this.getContent,isLarge:!0},Object(L.__)("Copy Post Text")),Object(Xr.createElement)(_o.ClipboardButton,{key:"copy-error",text:e.stack,isLarge:!0},Object(L.__)("Copy Error"))]},Object(L.__)("The editor has encountered an unexpected error.")):this.props.children}}]),t}(Xr.Component),Do=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Uo=Object(y.once)(function(){try{return window.sessionStorage.setItem("__wpEditorTestSessionStorage",""),window.sessionStorage.removeItem("__wpEditorTestSessionStorage"),!0}catch(e){return!1}});function Fo(e){return"wp-autosave-block-editor-post-".concat(e)}var Mo=Object(so.ifCondition)(Uo)(function(){var e,t,n,r=(e=Object(h.useSelect)(function(e){return{postId:e("core/editor").getCurrentPostId(),getEditedPostAttribute:e("core/editor").getEditedPostAttribute}}),t=e.postId,n=e.getEditedPostAttribute,Object(Xr.useCallback)(function(){Do(function(){window.sessionStorage.setItem(Fo(t),JSON.stringify({post_title:n("title"),content:n("content"),excerpt:n("excerpt")}))})},[t]));!function(){var e=Object(h.useSelect)(function(e){return{postId:e("core/editor").getCurrentPostId(),getEditedPostAttribute:e("core/editor").getEditedPostAttribute}}),t=e.postId,n=e.getEditedPostAttribute,r=Object(h.useDispatch)("core/notices"),o=r.createWarningNotice,i=r.removeNotice,c=Object(h.useDispatch)("core/editor"),a=c.editPost,s=c.resetEditorBlocks;Object(Xr.useEffect)(function(){var e=window.sessionStorage.getItem(Fo(t));if(e){try{e=JSON.parse(e)}catch(e){return}var r=e,c={title:r.post_title,content:r.content,excerpt:r.excerpt};if(Object.keys(c).some(function(e){return c[e]!==n(e)})){var u=Object(y.uniqueId)("wpEditorAutosaveRestore");o(Object(L.__)("The backup of this post in your browser is different from the version below."),{id:u,actions:[{label:Object(L.__)("Restore the backup"),onClick:function(){a(Object(y.omit)(c,["content"])),s(Object(l.parse)(c.content)),i(u)}}]})}else window.sessionStorage.removeItem(Fo(t))}},[t])}(),function(){var e=Object(h.useSelect)(function(e){return{postId:e("core/editor").getCurrentPostId(),isDirty:e("core/editor").isEditedPostDirty()}}),t=e.postId,n=e.isDirty,r=Object(Xr.useRef)(n);Object(Xr.useEffect)(function(){r.current&&!n&&window.sessionStorage.removeItem(Fo(t)),r.current=n},[n])}();var o=Object(h.useSelect)(function(e){return{localAutosaveInterval:e("core/editor").getEditorSettings().__experimentalLocalAutosaveInterval}}).localAutosaveInterval;return Object(Xr.createElement)(lo,{interval:o,autosave:r,shouldThrottle:!0})});var Vo=Object(h.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(y.get)(n,["supports","page-attributes"],!1)&&Object(y.isEmpty)(t)?null:r});var Ho=Object(h.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(y.some)(Object(y.castArray)(r),function(e){return!!t.supports[e]})),o?n:null}),Wo=Object(so.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(Xr.createElement)(_o.TextControl,{className:"editor-page-attributes__order",type:"number",label:Object(L.__)("Order"),value:c,onChange:function(e){i({orderInput:e});var n=Number(e);Number.isInteger(n)&&""!==Object(y.invoke)(e,["trim"])&&t(Number(e))},size:6,onBlur:function(){i({orderInput:null})}})});var zo=Object(so.compose)([Object(h.withSelect)(function(e){return{order:e("core/editor").getEditedPostAttribute("menu_order")}}),Object(h.withDispatch)(function(e){return{onUpdateOrder:function(t){e("core/editor").editPost({menu_order:t})}}})])(function(e){return Object(Xr.createElement)(Ho,{supportKeys:"page-attributes"},Object(Xr.createElement)(Wo,e))});function Ko(e){var t=e.map(function(e){return Object(f.a)({children:[],parent:null},e)}),n=Object(y.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(f.a)({},t,{children:r&&r.length?e(r):[]})})}(n[0]||[])}var Go=Object(h.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(y.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(h.withDispatch)(function(e){var t=e("core/editor").editPost;return{onUpdateParent:function(e){t({parent:e||0})}}}),Yo=Object(so.compose)([Go,qo])(function(e){var t=e.parent,n=e.postType,r=e.items,o=e.onUpdateParent,i=Object(y.get)(n,["hierarchical"],!1),c=Object(y.get)(n,["labels","parent_item_colon"]),a=r||[];if(!i||!c||!a.length)return null;var s=Ko(a.map(function(e){return{id:e.id,parent:e.parent,name:e.title.raw?e.title.raw:"#".concat(e.id," (").concat(Object(L.__)("no title"),")")}}));return Object(Xr.createElement)(_o.TreeSelect,{className:"editor-page-attributes__parent",label:c,noOptionLabel:"(".concat(Object(L.__)("no parent"),")"),tree:s,selectedId:t,onChange:o})});var Qo=Object(so.compose)(Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=(0,t.getEditorSettings)().availableTemplates;return{selectedTemplate:n("template"),availableTemplates:r}}),Object(h.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(y.isEmpty)(t)?null:Object(Xr.createElement)(_o.SelectControl,{label:Object(L.__)("Template:"),value:n,onChange:r,className:"editor-page-attributes__template",options:Object(y.map)(t,function(e,t){return{value:t,label:e}})})}),Xo=n(54);var $o=Object(so.compose)([Object(h.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{hasAssignAuthorAction:Object(y.get)(t,["_links","wp:action-assign-author"],!1),postType:e("core/editor").getCurrentPostType(),authors:e("core").getAuthors()}}),so.withInstanceId])(function(e){var t=e.hasAssignAuthorAction,n=e.authors,r=e.children;return!t||n.length<2?null:Object(Xr.createElement)(Ho,{supportKeys:"author"},r)}),Zo=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).setAuthorId=e.setAuthorId.bind(Object(ko.a)(e)),e}return Object(ao.a)(t,e),Object(oo.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(Xr.createElement)($o,null,Object(Xr.createElement)("label",{htmlFor:o},Object(L.__)("Author")),Object(Xr.createElement)("select",{id:o,value:t,onChange:this.setAuthorId,className:"editor-post-author__select"},r.map(function(e){return Object(Xr.createElement)("option",{key:e.id,value:e.id},Object(Xo.decodeEntities)(e.name))})))}}]),t}(Xr.Component),Jo=Object(so.compose)([Object(h.withSelect)(function(e){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors()}}),Object(h.withDispatch)(function(e){return{onUpdateAuthor:function(t){e("core/editor").editPost({author:t})}}}),so.withInstanceId])(Zo);var ei=Object(so.compose)([Object(h.withSelect)(function(e){return{commentStatus:e("core/editor").getEditedPostAttribute("comment_status")}}),Object(h.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(function(e){var t=e.commentStatus,n=void 0===t?"open":t,r=Object(Ao.a)(e,["commentStatus"]);return Object(Xr.createElement)(_o.CheckboxControl,{label:Object(L.__)("Allow Comments"),checked:"open"===n,onChange:function(){return r.editPost({comment_status:"open"===n?"closed":"open"})}})});var ti=Object(so.compose)([Object(h.withSelect)(function(e){return{excerpt:e("core/editor").getEditedPostAttribute("excerpt")}}),Object(h.withDispatch)(function(e){return{onUpdateExcerpt:function(t){e("core/editor").editPost({excerpt:t})}}})])(function(e){var t=e.excerpt,n=e.onUpdateExcerpt;return Object(Xr.createElement)("div",{className:"editor-post-excerpt"},Object(Xr.createElement)(_o.TextareaControl,{label:Object(L.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:function(e){return n(e)},value:t}),Object(Xr.createElement)(_o.ExternalLink,{href:Object(L.__)("https://codex.wordpress.org/Excerpt")},Object(L.__)("Learn more about manual excerpts")))}),ni=n(18);var ri=function(e){return Object(Xr.createElement)(Ho,Object(ni.a)({},e,{supportKeys:"excerpt"}))};var oi=Object(h.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(y.some)(Object(y.castArray)(o),function(e){var n=Object(y.get)(t,[e],!1);return"post-thumbnails"===e&&Object(y.isArray)(n)?Object(y.includes)(n,r):n})?n:null});var ii=function(e){return Object(Xr.createElement)(oi,{supportKeys:"post-thumbnails"},Object(Xr.createElement)(Ho,Object(ni.a)({},e,{supportKeys:"thumbnail"})))},ci=["image"],ai=Object(L.__)("Featured Image"),si=Object(L.__)("Set Featured Image"),ui=Object(L.__)("Remove Image");var li=Object(h.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}}),di=Object(h.withDispatch)(function(e){var t=e("core/editor").editPost;return{onUpdateImage:function(e){t({featured_media:e.id})},onRemoveImage:function(){t({featured_media:0})}}}),pi=Object(so.compose)(li,di,Object(_o.withFilters)("editor.PostFeaturedImage"))(function(e){var t,n,r,o=e.currentPostId,i=e.featuredImageId,c=e.onUpdateImage,a=e.onRemoveImage,s=e.media,l=e.postType,d=Object(y.get)(l,["labels"],{}),p=Object(Xr.createElement)("p",null,Object(L.__)("To edit the featured image, you need permission to upload media."));if(s){var b=Object(Qr.applyFilters)("editor.PostFeaturedImage.imageSize","post-thumbnail",s.id,o);Object(y.has)(s,["media_details","sizes",b])?(t=s.media_details.sizes[b].width,n=s.media_details.sizes[b].height,r=s.media_details.sizes[b].source_url):(t=s.media_details.width,n=s.media_details.height,r=s.source_url)}return Object(Xr.createElement)(ii,null,Object(Xr.createElement)("div",{className:"editor-post-featured-image"},Object(Xr.createElement)(u.MediaUploadCheck,{fallback:p},Object(Xr.createElement)(u.MediaUpload,{title:d.featured_image||ai,onSelect:c,unstableFeaturedImageFlow:!0,allowedTypes:ci,modalClass:"editor-post-featured-image__media-modal",render:function(e){var o=e.open;return Object(Xr.createElement)(_o.Button,{className:i?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o,"aria-label":i?Object(L.__)("Edit or update the image"):null},!!i&&s&&Object(Xr.createElement)(_o.ResponsiveWrapper,{naturalWidth:t,naturalHeight:n},Object(Xr.createElement)("img",{src:r,alt:""})),!!i&&!s&&Object(Xr.createElement)(_o.Spinner,null),!i&&(d.set_featured_image||si))},value:i})),!!i&&s&&!s.isLoading&&Object(Xr.createElement)(u.MediaUploadCheck,null,Object(Xr.createElement)(u.MediaUpload,{title:d.featured_image||ai,onSelect:c,unstableFeaturedImageFlow:!0,allowedTypes:ci,modalClass:"editor-post-featured-image__media-modal",render:function(e){var t=e.open;return Object(Xr.createElement)(_o.Button,{onClick:t,isDefault:!0,isLarge:!0},Object(L.__)("Replace Image"))}})),!!i&&Object(Xr.createElement)(u.MediaUploadCheck,null,Object(Xr.createElement)(_o.Button,{onClick:a,isLink:!0,isDestructive:!0},d.remove_featured_image||ui))))});var bi=Object(h.withSelect)(function(e){return{disablePostFormats:e("core/editor").getEditorSettings().disablePostFormats}})(function(e){var t=e.disablePostFormats,n=Object(Ao.a)(e,["disablePostFormats"]);return!t&&Object(Xr.createElement)(Ho,Object(ni.a)({},n,{supportKeys:"post-formats"}))}),fi=[{id:"aside",caption:Object(L.__)("Aside")},{id:"gallery",caption:Object(L.__)("Gallery")},{id:"link",caption:Object(L.__)("Link")},{id:"image",caption:Object(L.__)("Image")},{id:"quote",caption:Object(L.__)("Quote")},{id:"standard",caption:Object(L.__)("Standard")},{id:"status",caption:Object(L.__)("Status")},{id:"video",caption:Object(L.__)("Video")},{id:"audio",caption:Object(L.__)("Audio")},{id:"chat",caption:Object(L.__)("Chat")}];var hi=Object(so.compose)([Object(h.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(y.union)([o],Object(y.get)(i,["formats"],[])),suggestedFormat:r()}}),Object(h.withDispatch)(function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}}),so.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=fi.filter(function(e){return Object(y.includes)(o,e.id)}),s=Object(y.find)(a,function(e){return e.id===i});return Object(Xr.createElement)(bi,null,Object(Xr.createElement)("div",{className:"editor-post-format"},Object(Xr.createElement)("div",{className:"editor-post-format__content"},Object(Xr.createElement)("label",{htmlFor:c},Object(L.__)("Post Format")),Object(Xr.createElement)(_o.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(Xr.createElement)("div",{className:"editor-post-format__suggestion"},Object(L.__)("Suggestion:")," ",Object(Xr.createElement)(_o.Button,{isLink:!0,onClick:function(){return t(s.id)}},s.caption))))});var mi=Object(h.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(Xr.createElement)(Ho,{supportKeys:"revisions"},r)});function vi(e,t){return Object(Rt.addQueryArgs)(e,t)}function Oi(e){return e?Object(y.toLower)(Object(y.deburr)(Object(y.trim)(e.replace(/[\s\.\/_]+/g,"-"),"-"))):""}var gi=Object(h.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(Xr.createElement)(mi,null,Object(Xr.createElement)(_o.IconButton,{href:vi("revision.php",{revision:t,gutenberg:!0}),className:"editor-post-last-revision__title",icon:"backup"},Object(L.sprintf)(Object(L._n)("%d Revision","%d Revisions",n),n)))});var ji=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).openPreviewWindow=e.openPreviewWindow.bind(Object(ko.a)(e)),e}return Object(ao.a)(t,e),Object(oo.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(Xr.renderToString)(Object(Xr.createElement)("div",{className:"editor-post-preview-button__interstitial-message"},Object(Xr.createElement)(_o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},Object(Xr.createElement)(_o.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(Xr.createElement)(_o.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(Xr.createElement)("p",null,Object(L.__)("Generating preview…")))),n+='\n\t\t\n\t',n=Object(Qr.applyFilters)("editor.PostPreview.interstitialMarkup",n),t.write(n),t.title=Object(L.__)("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(Xr.createElement)(_o.Button,{isLarge:!0,className:"editor-post-preview",href:o,target:this.getWindowTarget(),disabled:!r,onClick:this.openPreviewWindow},Object(L._x)("Preview","imperative verb"),Object(Xr.createElement)("span",{className:"screen-reader-text"},Object(L.__)("(opens in a new tab)")),Object(Xr.createElement)(d.DotTip,{tipId:"core/editor.preview"},Object(L.__)("Click “Preview” to load a preview of this page, so you can make sure you’re happy with your blocks.")))}}]),t}(Xr.Component),yi=Object(so.compose)([Object(h.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(y.get)(b,["viewable"],!1),isDraft:-1!==["draft","auto-draft"].indexOf(a("status"))}}),Object(h.withDispatch)(function(e){return{autosave:e("core/editor").autosave,savePost:e("core/editor").savePost}}),Object(so.ifCondition)(function(e){return e.isViewable})])(ji),ki=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).sendPostLock=e.sendPostLock.bind(Object(ko.a)(e)),e.receivePostLock=e.receivePostLock.bind(Object(ko.a)(e)),e.releasePostLock=e.releasePostLock.bind(Object(ko.a)(e)),e}return Object(ao.a)(t,e),Object(oo.a)(t,[{key:"componentDidMount",value:function(){var e=this.getHookName();Object(Qr.addAction)("heartbeat.send",e,this.sendPostLock),Object(Qr.addAction)("heartbeat.tick",e,this.receivePostLock)}},{key:"componentWillUnmount",value:function(){var e=this.getHookName();Object(Qr.removeAction)("heartbeat.send",e),Object(Qr.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(Rt.addQueryArgs)("post.php",{"get-post-lock":"1",lockKey:!0,post:n,action:"edit",_wpnonce:i.nonce}),l=vi("edit.php",{post_type:Object(y.get)(c,["slug"])}),d=Object(L.__)("Exit the Editor");return Object(Xr.createElement)(_o.Modal,{title:o?Object(L.__)("Someone else has taken over this post."):Object(L.__)("This post is already being edited."),focusOnMount:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissable:!1,className:"editor-post-locked-modal"},!!s&&Object(Xr.createElement)("img",{src:s,alt:Object(L.__)("Avatar"),className:"editor-post-locked-modal__avatar"}),!!o&&Object(Xr.createElement)("div",null,Object(Xr.createElement)("div",null,a?Object(L.sprintf)(Object(L.__)("%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved."),a):Object(L.__)("Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.")),Object(Xr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(Xr.createElement)(_o.Button,{isPrimary:!0,isLarge:!0,href:l},d))),!o&&Object(Xr.createElement)("div",null,Object(Xr.createElement)("div",null,a?Object(L.sprintf)(Object(L.__)("%s is currently working on this post, which means you cannot make changes, unless you take over."),a):Object(L.__)("Another user is currently working on this post, which means you cannot make changes, unless you take over.")),Object(Xr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(Xr.createElement)(_o.Button,{isDefault:!0,isLarge:!0,href:l},d),Object(Xr.createElement)(yi,null),Object(Xr.createElement)(_o.Button,{isPrimary:!0,isLarge:!0,href:u},Object(L.__)("Take Over")))))}}]),t}(Xr.Component),_i=Object(so.compose)(Object(h.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(h.withDispatch)(function(e){var t=e("core/editor");return{autosave:t.autosave,updatePostLock:t.updatePostLock}}),so.withInstanceId,Object(so.withGlobalEvents)({beforeunload:"releasePostLock"}))(ki);var Ei=Object(so.compose)(Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.isCurrentPostPublished,r=t.getCurrentPostType,o=t.getCurrentPost;return{hasPublishAction:Object(y.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 wi=Object(so.compose)(Object(h.withSelect)(function(e){return{status:e("core/editor").getEditedPostAttribute("status")}}),Object(h.withDispatch)(function(e){return{onUpdateStatus:function(t){e("core/editor").editPost({status:t})}}}))(function(e){var t=e.status,n=e.onUpdateStatus;return Object(Xr.createElement)(Ei,null,Object(Xr.createElement)(_o.CheckboxControl,{label:Object(L.__)("Pending Review"),checked:"pending"===t,onChange:function(){n("pending"===t?"draft":"pending")}}))});var Si=Object(so.compose)([Object(h.withSelect)(function(e){return{pingStatus:e("core/editor").getEditedPostAttribute("ping_status")}}),Object(h.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(function(e){var t=e.pingStatus,n=void 0===t?"open":t,r=Object(Ao.a)(e,["pingStatus"]);return Object(Xr.createElement)(_o.CheckboxControl,{label:Object(L.__)("Allow Pingbacks & Trackbacks"),checked:"open"===n,onChange:function(){return r.editPost({ping_status:"open"===n?"closed":"open"})}})});var Pi=Object(so.compose)([Object(h.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(y.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(L.__)("Publishing…"):t&&r&&!c?Object(L.__)("Updating…"):n&&r&&!c?Object(L.__)("Scheduling…"):i?t?Object(L.__)("Update"):n?Object(L.__)("Schedule"):Object(L.__)("Publish"):Object(L.__)("Submit for Review")}),Ci=function(e){function t(e){var n;return Object(ro.a)(this,t),(n=Object(io.a)(this,Object(co.a)(t).call(this,e))).buttonNode=Object(Xr.createRef)(),n}return Object(ao.a)(t,e),Object(oo.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,p=t.isSaving,b=t.isToggle,f=t.onSave,h=t.onStatusChange,m=t.onSubmit,v=void 0===m?y.noop:m,O=t.onToggle,g=t.visibility,j=p||r||!l||a||!s&&!n,k=u||p||r||!l||!s&&!n;e=o?i?"future":"private"===g?"private":"publish":"pending";var _={"aria-disabled":j,className:"editor-post-publish-button",isBusy:p&&u,isPrimary:!0,onClick:function(){j||(v(),h(e),f())}},E={"aria-disabled":k,"aria-expanded":c,className:"editor-post-publish-panel__toggle",isBusy:p&&u,isPrimary:!0,onClick:function(){k||O()}},w=i?Object(L.__)("Schedule…"):Object(L.__)("Publish…"),S=Object(Xr.createElement)(Pi,{forceIsSaving:r}),P=b?E:_,C=b?w:S;return Object(Xr.createElement)("div",null,Object(Xr.createElement)(_o.Button,Object(ni.a)({ref:this.buttonNode},P),C),Object(Xr.createElement)(d.DotTip,{tipId:"core/editor.publish"},Object(L.__)("Finished writing? That’s great, let’s get this published right now. Just click “Publish” and you’re good to go.")))}}]),t}(Xr.Component),Ti=Object(so.compose)([Object(h.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(y.get)(u(),["_links","wp:action-publish"],!1),postType:l()}}),Object(h.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost;return{onStatusChange:function(e){return n({status:e},{undoIgnore:!0})},onSave:t.savePost}})])(Ci),Bi=[{value:"public",label:Object(L.__)("Public"),info:Object(L.__)("Visible to everyone.")},{value:"private",label:Object(L.__)("Private"),info:Object(L.__)("Only visible to site admins and editors.")},{value:"password",label:Object(L.__)("Password Protected"),info:Object(L.__)("Protected with a password you choose. Only those with the password can view this post.")}],xi=function(e){function t(e){var n;return Object(ro.a)(this,t),(n=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).setPublic=n.setPublic.bind(Object(ko.a)(n)),n.setPrivate=n.setPrivate.bind(Object(ko.a)(n)),n.setPasswordProtected=n.setPasswordProtected.bind(Object(ko.a)(n)),n.updatePassword=n.updatePassword.bind(Object(ko.a)(n)),n.state={hasPassword:!!e.password},n}return Object(ao.a)(t,e),Object(oo.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(L.__)("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(Xr.createElement)("fieldset",{key:"visibility-selector",className:"editor-post-visibility__dialog-fieldset"},Object(Xr.createElement)("legend",{className:"editor-post-visibility__dialog-legend"},Object(L.__)("Post Visibility")),Bi.map(function(e){var t=e.value,n=e.label,i=e.info;return Object(Xr.createElement)("div",{key:t,className:"editor-post-visibility__choice"},Object(Xr.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(Xr.createElement)("label",{htmlFor:"editor-post-".concat(t,"-").concat(r),className:"editor-post-visibility__dialog-label"},n),Object(Xr.createElement)("p",{id:"editor-post-".concat(t,"-").concat(r,"-description"),className:"editor-post-visibility__dialog-info"},i))})),this.state.hasPassword&&Object(Xr.createElement)("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},Object(Xr.createElement)("label",{htmlFor:"editor-post-visibility__dialog-password-input-".concat(r),className:"screen-reader-text"},Object(L.__)("Create password")),Object(Xr.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(L.__)("Use a secure password")}))]}}]),t}(Xr.Component),Ii=Object(so.compose)([Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditedPostVisibility;return{status:n("status"),visibility:r(),password:n("password")}}),Object(h.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})}}}),so.withInstanceId])(xi);var Ai=Object(h.withSelect)(function(e){return{visibility:e("core/editor").getEditedPostVisibility()}})(function(e){var t=e.visibility;return Object(y.find)(Bi,{value:t}).label});var Li=Object(so.compose)([Object(h.withSelect)(function(e){return{date:e("core/editor").getEditedPostAttribute("date")}}),Object(h.withDispatch)(function(e){return{onUpdateDate:function(t){e("core/editor").editPost({date:t})}}})])(function(e){var t=e.date,n=e.onUpdateDate,r=Object(Lt.__experimentalGetSettings)(),o=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return Object(Xr.createElement)(_o.DateTimePicker,{key:"date-time-picker",currentDate:t,onChange:n,is12Hour:o})});var Ri=Object(h.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(Lt.__experimentalGetSettings)();return t&&!n?Object(Lt.dateI18n)("".concat(r.formats.date," ").concat(r.formats.time),t):Object(L.__)("Immediately")}),Ni={per_page:-1,orderby:"count",order:"desc",_fields:"id,name"},Di=function(e,t){return e.toLowerCase()===t.toLowerCase()},Ui=function(e){return Object(f.a)({},e,{name:Object(y.unescape)(e.name)})},Fi=function(e){return Object(y.map)(e,Ui)},Mi=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(ko.a)(e)),e.searchTerms=Object(y.throttle)(e.searchTerms.bind(Object(ko.a)(e)),500),e.findOrCreateTerm=e.findOrCreateTerm.bind(Object(ko.a)(e)),e.state={loading:!Object(y.isEmpty)(e.props.terms),availableTerms:[],selectedTerms:[]},e}return Object(ao.a)(t,e),Object(oo.a)(t,[{key:"componentDidMount",value:function(){var e=this;Object(y.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(y.invoke)(this.initRequest,["abort"]),Object(y.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(f.a)({},Ni,t),o=A()({path:Object(Rt.addQueryArgs)("/wp/v2/".concat(n.rest_base),r)});return o.then(Fi).then(function(t){e.setState(function(e){return{availableTerms:e.availableTerms.concat(t.filter(function(t){return!Object(y.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]:[]).reduce(function(t,n){var r=Object(y.find)(e.state.availableTerms,function(e){return e.id===n});return r&&t.push(r.name),t},[]);this.setState({selectedTerms:t})}},{key:"findOrCreateTerm",value:function(e){var t=this,n=this.props.taxonomy,r=Object(y.escape)(e);return A()({path:"/wp/v2/".concat(n.rest_base),method:"POST",data:{name:r}}).catch(function(o){return"term_exists"===o.code?(t.addRequest=A()({path:Object(Rt.addQueryArgs)("/wp/v2/".concat(n.rest_base),Object(f.a)({},Ni,{search:r}))}).then(Fi),t.addRequest.then(function(t){return Object(y.find)(t,function(t){return Di(t.name,e)})})):Promise.reject(o)}).then(Ui)}},{key:"onChange",value:function(e){var t=this,n=Object(y.uniqBy)(e,function(e){return e.toLowerCase()});this.setState({selectedTerms:n});var r=n.filter(function(e){return!Object(y.find)(t.state.availableTerms,function(t){return Di(t.name,e)})}),o=function(e,t){return e.map(function(e){return Object(y.find)(t,function(t){return Di(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(y.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(y.get)(n,["labels","add_new_item"],"post_tag"===t?Object(L.__)("Add New Tag"):Object(L.__)("Add New Term")),u=Object(y.get)(n,["labels","singular_name"],"post_tag"===t?Object(L.__)("Tag"):Object(L.__)("Term")),l=Object(L.sprintf)(Object(L._x)("%s added","term"),u),d=Object(L.sprintf)(Object(L._x)("%s removed","term"),u),p=Object(L.sprintf)(Object(L._x)("Remove %s","term"),u);return Object(Xr.createElement)(_o.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}(Xr.Component),Vi=Object(so.compose)(Object(h.withSelect)(function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(y.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(y.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}}),Object(h.withDispatch)(function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(v.a)({},n,t))}}}),Object(_o.withFilters)("editor.PostTaxonomyType"))(Mi),Hi=function(){var e=[Object(L.__)("Suggestion:"),Object(Xr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(L.__)("Add tags"))];return Object(Xr.createElement)(_o.PanelBody,{initialOpen:!1,title:e},Object(Xr.createElement)("p",null,Object(L.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),Object(Xr.createElement)(Vi,{slug:"post_tag"}))},Wi=function(e){function t(e){var n;return Object(ro.a)(this,t),(n=Object(io.a)(this,Object(co.a)(t).call(this,e))).state={hadTagsWhenOpeningThePanel:e.hasTags},n}return Object(ao.a)(t,e),Object(oo.a)(t,[{key:"render",value:function(){return this.state.hadTagsWhenOpeningThePanel?null:Object(Xr.createElement)(Hi,null)}}]),t}(Xr.Component),zi=Object(so.compose)(Object(h.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(y.some)(n.types,function(e){return e===t}),hasTags:r&&r.length}}),Object(so.ifCondition)(function(e){var t=e.areTagsFetched;return e.isPostTypeSupported&&t}))(Wi),Ki=function(e){var t=e.suggestedPostFormat,n=e.suggestionText,r=e.onUpdatePostFormat;return Object(Xr.createElement)(_o.Button,{isLink:!0,onClick:function(){return r(t)}},n)},Gi=function(e,t){var n=fi.filter(function(t){return Object(y.includes)(e,t.id)});return Object(y.find)(n,function(e){return e.id===t})},qi=Object(so.compose)(Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getSuggestedPostFormat,o=Object(y.get)(e("core").getThemeSupports(),["formats"],[]);return{currentPostFormat:n("format"),suggestion:Gi(o,r())}}),Object(h.withDispatch)(function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}}),Object(so.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(L.__)("Suggestion:"),Object(Xr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(L.__)("Use a post format"))];return Object(Xr.createElement)(_o.PanelBody,{initialOpen:!1,title:r},Object(Xr.createElement)("p",null,Object(L.__)("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(Xr.createElement)("p",null,Object(Xr.createElement)(Ki,{onUpdatePostFormat:n,suggestedPostFormat:t.id,suggestionText:Object(L.sprintf)(Object(L.__)('Apply the "%1$s" format.'),t.caption)})))});var Yi=Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.isEditedPostBeingScheduled;return{hasPublishAction:Object(y.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(L.__)("Are you ready to schedule?"),n=Object(L.__)("Your work will be published at the specified date and time.")):(t=Object(L.__)("Are you ready to publish?"),n=Object(L.__)("Double-check your settings before publishing.")):(t=Object(L.__)("Are you ready to submit for review?"),n=Object(L.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),Object(Xr.createElement)("div",{className:"editor-post-publish-panel__prepublish"},Object(Xr.createElement)("div",null,Object(Xr.createElement)("strong",null,t)),Object(Xr.createElement)("p",null,n),r&&Object(Xr.createElement)(Xr.Fragment,null,Object(Xr.createElement)(_o.PanelBody,{initialOpen:!1,title:[Object(L.__)("Visibility:"),Object(Xr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Xr.createElement)(Ai,null))]},Object(Xr.createElement)(Ii,null)),Object(Xr.createElement)(_o.PanelBody,{initialOpen:!1,title:[Object(L.__)("Publish:"),Object(Xr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Xr.createElement)(Ri,null))]},Object(Xr.createElement)(Li,null))),Object(Xr.createElement)(qi,null),Object(Xr.createElement)(zi,null),i)}),Qi=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).state={showCopyConfirmation:!1},e.onCopy=e.onCopy.bind(Object(ko.a)(e)),e.onSelectInput=e.onSelectInput.bind(Object(ko.a)(e)),e.postLink=Object(Xr.createRef)(),e}return Object(ao.a)(t,e),Object(oo.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(y.get)(o,["labels","singular_name"]),c=Object(y.get)(o,["labels","view_item"]),a=n?Object(Xr.createElement)(Xr.Fragment,null,Object(L.__)("is now scheduled. It will go live on")," ",Object(Xr.createElement)(Ri,null),"."):Object(L.__)("is now live.");return Object(Xr.createElement)("div",{className:"post-publish-panel__postpublish"},Object(Xr.createElement)(_o.PanelBody,{className:"post-publish-panel__postpublish-header"},Object(Xr.createElement)("a",{ref:this.postLink,href:r.link},r.title||Object(L.__)("(no title)"))," ",a),Object(Xr.createElement)(_o.PanelBody,null,Object(Xr.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},Object(Xr.createElement)("strong",null,Object(L.__)("What’s next?"))),Object(Xr.createElement)(_o.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:Object(L.sprintf)(Object(L.__)("%s address"),i),value:Object(Rt.safeDecodeURIComponent)(r.link),onFocus:this.onSelectInput}),Object(Xr.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!n&&Object(Xr.createElement)(_o.Button,{isDefault:!0,href:r.link},c),Object(Xr.createElement)(_o.ClipboardButton,{isDefault:!0,text:r.link,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(L.__)("Copied!"):Object(L.__)("Copy Link")))),t)}}]),t}(Xr.Component),Xi=Object(h.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()}})(Qi),$i=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).onSubmit=e.onSubmit.bind(Object(ko.a)(e)),e}return Object(ao.a)(t,e),Object(oo.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(Ao.a)(e,["forceIsDirty","forceIsSaving","isBeingScheduled","isPublished","isPublishSidebarEnabled","isScheduled","isSaving","onClose","onTogglePublishSidebar","PostPublishExtension","PrePublishExtension"]),b=Object(y.omit)(p,["hasPublishAction","isDirty","isPostTypeViewable"]),f=o||c&&r,h=!f&&!a,m=f&&!a;return Object(Xr.createElement)("div",Object(ni.a)({className:"editor-post-publish-panel"},b),Object(Xr.createElement)("div",{className:"editor-post-publish-panel__header"},m?Object(Xr.createElement)("div",{className:"editor-post-publish-panel__header-published"},c?Object(L.__)("Scheduled"):Object(L.__)("Published")):Object(Xr.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},Object(Xr.createElement)(Ti,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:t,forceIsSaving:n}),Object(Xr.createElement)("span",{className:"editor-post-publish-panel__spacer"})),Object(Xr.createElement)(_o.IconButton,{"aria-expanded":!0,onClick:s,icon:"no-alt",label:Object(L.__)("Close panel")})),Object(Xr.createElement)("div",{className:"editor-post-publish-panel__content"},h&&Object(Xr.createElement)(Yi,null,d&&Object(Xr.createElement)(d,null)),m&&Object(Xr.createElement)(Xi,{focusOnMount:!0},l&&Object(Xr.createElement)(l,null)),a&&Object(Xr.createElement)(_o.Spinner,null)),Object(Xr.createElement)("div",{className:"editor-post-publish-panel__footer"},Object(Xr.createElement)(_o.CheckboxControl,{label:Object(L.__)("Always show pre-publish checks."),checked:i,onChange:u})))}}]),t}(Xr.Component),Zi=Object(so.compose)([Object(h.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(y.get)(r(),["_links","wp:action-publish"],!1),isPostTypeViewable:Object(y.get)(d,["viewable"],!1),isBeingScheduled:a(),isDirty:s(),isPublished:i(),isPublishSidebarEnabled:l(),isSaving:u(),isScheduled:c()}}),Object(h.withDispatch)(function(e,t){var n=t.isPublishSidebarEnabled,r=e("core/editor"),o=r.disablePublishSidebar,i=r.enablePublishSidebar;return{onTogglePublishSidebar:function(){n?o():i()}}}),_o.withFocusReturn,_o.withConstrainedTabbing])($i);var Ji=Object(so.compose)([Object(h.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(h.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost,r=t.savePost;return{onClick:function(){n({status:"draft"}),r()}}}),Object(b.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(Xr.createElement)(_o.Button,{className:"editor-post-switch-to-draft",onClick:function(){var e;n?e=Object(L.__)("Are you sure you want to unpublish this post?"):r&&(e=Object(L.__)("Are you sure you want to unschedule this post?")),window.confirm(e)&&o()},disabled:t,isTertiary:!0},i?Object(L.__)("Draft"):Object(L.__)("Switch to Draft")):null}),ec=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).state={forceSavedMessage:!1},e}return Object(ao.a)(t,e),Object(oo.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=bo()("editor-post-saved-state","is-saving",{"is-autosaving":u});return Object(Xr.createElement)(_o.Animate,{type:"loading"},function(e){var t=e.className;return Object(Xr.createElement)("span",{className:bo()(b,t)},Object(Xr.createElement)(_o.Dashicon,{icon:"cloud"}),u?Object(L.__)("Autosaving"):Object(L.__)("Saving"))})}if(o||r)return Object(Xr.createElement)(Ji,null);if(!a)return null;if(p||!n&&!i)return Object(Xr.createElement)("span",{className:"editor-post-saved-state is-saved"},Object(Xr.createElement)(_o.Dashicon,{icon:"saved"}),Object(L.__)("Saved"));if(!Object(y.get)(t,["_links","wp:action-publish"],!1)&&l)return null;var f=l?Object(L.__)("Save as Pending"):Object(L.__)("Save Draft");return d?Object(Xr.createElement)(_o.Button,{className:"editor-post-save-draft",onClick:function(){return s()},shortcut:Eo.displayShortcut.primary("s"),isTertiary:!0},f):Object(Xr.createElement)(_o.IconButton,{className:"editor-post-save-draft",label:f,onClick:function(){return s()},shortcut:Eo.displayShortcut.primary("s"),icon:"cloud-upload"})}}]),t}(Xr.Component),tc=Object(so.compose)([Object(h.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(h.withDispatch)(function(e){return{onSave:e("core/editor").savePost}}),so.withSafeTimeout,Object(b.withViewportMatch)({isLargeViewport:"medium"})])(ec);var nc=Object(so.compose)([Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(y.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(e){var t=e.hasPublishAction,n=e.children;return t?n:null});var rc=Object(so.compose)([Object(h.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{hasStickyAction:Object(y.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 oc=Object(so.compose)([Object(h.withSelect)(function(e){return{postSticky:e("core/editor").getEditedPostAttribute("sticky")}}),Object(h.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(Xr.createElement)(rc,null,Object(Xr.createElement)(_o.CheckboxControl,{label:Object(L.__)("Stick to the top of the blog"),checked:r,onChange:function(){return t(!r)}}))}),ic={per_page:-1,orderby:"name",order:"asc",_fields:"id,name,parent"},cc=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).findTerm=e.findTerm.bind(Object(ko.a)(e)),e.onChange=e.onChange.bind(Object(ko.a)(e)),e.onChangeFormName=e.onChangeFormName.bind(Object(ko.a)(e)),e.onChangeFormParent=e.onChangeFormParent.bind(Object(ko.a)(e)),e.onAddTerm=e.onAddTerm.bind(Object(ko.a)(e)),e.onToggleForm=e.onToggleForm.bind(Object(ko.a)(e)),e.setFilterValue=e.setFilterValue.bind(Object(ko.a)(e)),e.sortBySelected=e.sortBySelected.bind(Object(ko.a)(e)),e.state={loading:!0,availableTermsTree:[],availableTerms:[],adding:!1,formName:"",formParent:"",showForm:!1,filterValue:"",filteredTermsTree:[]},e}return Object(ao.a)(t,e),Object(oo.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,c=parseInt(e.target.value,10);n(-1!==o.indexOf(c)?Object(y.without)(o,c):[].concat(Object(N.a)(o),[c]),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(y.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 p=this.findTerm(d,u,s);if(p)return Object(y.some)(i,function(e){return e===p.id})||r([].concat(Object(N.a)(i),[p.id]),o.rest_base),void this.setState({formName:"",formParent:""});this.setState({adding:!0}),this.addRequest=A()({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=A()({path:Object(Rt.addQueryArgs)("/wp/v2/".concat(o.rest_base),Object(f.a)({},ic,{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(y.find)(t.state.availableTerms,function(t){return t.id===e.id})?t.state.availableTerms:[e].concat(Object(N.a)(t.state.availableTerms)),a=Object(L.sprintf)(Object(L._x)("%s added","term"),Object(y.get)(t.props.taxonomy,["labels","singular_name"],"category"===c?Object(L.__)("Category"):Object(L.__)("Term")));t.props.speak(a,"assertive"),t.addRequest=null,t.setState({adding:!1,formName:"",formParent:"",availableTerms:n,availableTermsTree:t.sortBySelected(Ko(n))}),r([].concat(Object(N.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(y.invoke)(this.fetchRequest,["abort"]),Object(y.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=A()({path:Object(Rt.addQueryArgs)("/wp/v2/".concat(t.rest_base),ic)}),this.fetchRequest.then(function(t){var n=e.sortBySelected(Ko(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){var n="editor-post-taxonomies-hierarchical-term-".concat(e.id);return Object(Xr.createElement)("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},Object(Xr.createElement)("input",{id:n,className:"editor-post-taxonomies__hierarchical-terms-input",type:"checkbox",checked:-1!==r.indexOf(e.id),value:e.id,onChange:t.onChange}),Object(Xr.createElement)("label",{htmlFor:n},Object(y.unescape)(e.name)),!!e.children.length&&Object(Xr.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(y.get)(n,["labels",e],"category"===t?r:o)},h=f("add_new_item",Object(L.__)("Add new category"),Object(L.__)("Add new term")),m=f("new_item_name",Object(L.__)("Add new category"),Object(L.__)("Add new term")),v=f("parent_item",Object(L.__)("Parent Category"),Object(L.__)("Parent Term")),O="— ".concat(v," —"),g=h,j="editor-post-taxonomies__hierarchical-terms-input-".concat(r),k="editor-post-taxonomies__hierarchical-terms-filter-".concat(r),_=Object(y.get)(this.props.taxonomy,["labels","search_items"],Object(L.__)("Search Terms")),E=Object(y.get)(this.props.taxonomy,["name"],Object(L.__)("Terms")),w=a.length>=8;return[w&&Object(Xr.createElement)("label",{key:"filter-label",htmlFor:k},_),w&&Object(Xr.createElement)("input",{type:"search",id:k,value:b,onChange:this.setFilterValue,className:"editor-post-taxonomies__hierarchical-terms-filter",key:"term-filter-input"}),Object(Xr.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(Xr.createElement)(_o.Button,{key:"term-add-button",onClick:this.onToggleForm,className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":p,isLink:!0},h),p&&Object(Xr.createElement)("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},Object(Xr.createElement)("label",{htmlFor:j,className:"editor-post-taxonomies__hierarchical-terms-label"},m),Object(Xr.createElement)("input",{type:"text",id:j,className:"editor-post-taxonomies__hierarchical-terms-input",value:u,onChange:this.onChangeFormName,required:!0}),!!a.length&&Object(Xr.createElement)(_o.TreeSelect,{label:v,noOptionLabel:O,onChange:this.onChangeFormParent,selectedId:l,tree:c}),Object(Xr.createElement)(_o.Button,{isDefault:!0,type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},g))]}}]),t}(Xr.Component),ac=Object(so.compose)([Object(h.withSelect)(function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(y.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(y.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}}),Object(h.withDispatch)(function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(v.a)({},n,t))}}}),_o.withSpokenMessages,so.withInstanceId,Object(_o.withFilters)("editor.PostTaxonomyType")])(cc);var sc=Object(so.compose)([Object(h.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?y.identity:r,i=Object(y.filter)(n,function(e){return Object(y.includes)(e.types,t)});return Object(y.filter)(i,function(e){return e.visibility.show_ui}).map(function(e){var t=e.hierarchical?ac:Vi;return Object(Xr.createElement)(Xr.Fragment,{key:"taxonomy-".concat(e.slug)},o(Object(Xr.createElement)(t,{slug:e.slug}),e))})});var uc=Object(so.compose)([Object(h.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(y.some)(n,function(e){return Object(y.includes)(e.types,t)})?r:null}),lc=n(64),dc=n.n(lc),pc=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).edit=e.edit.bind(Object(ko.a)(e)),e.stopEditing=e.stopEditing.bind(Object(ko.a)(e)),e.state={},e}return Object(ao.a)(t,e),Object(oo.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(Xr.createElement)(Xr.Fragment,null,Object(Xr.createElement)("label",{htmlFor:"post-content-".concat(t),className:"screen-reader-text"},Object(L.__)("Type text or HTML")),Object(Xr.createElement)(dc.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(L.__)("Start writing with text or HTML")}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return t.isDirty?null:{value:e.value,isDirty:!1}}}]),t}(Xr.Component),bc=Object(so.compose)([Object(h.withSelect)(function(e){return{value:(0,e("core/editor").getEditedPostContent)()}}),Object(h.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(l.parse)(e);r(t)}}}),so.withInstanceId])(pc),fc=function(e){function t(e){var n,r=e.permalinkParts,o=e.slug;return Object(ro.a)(this,t),(n=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).state={editedPostName:o||r.postName},n.onSavePermalink=n.onSavePermalink.bind(Object(ko.a)(n)),n}return Object(ao.a)(t,e),Object(oo.a)(t,[{key:"onSavePermalink",value:function(e){var t=Oi(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(Xr.createElement)("form",{className:"editor-post-permalink-editor",onSubmit:this.onSavePermalink},Object(Xr.createElement)("span",{className:"editor-post-permalink__editor-container"},Object(Xr.createElement)("span",{className:"editor-post-permalink-editor__prefix"},n),Object(Xr.createElement)("input",{className:"editor-post-permalink-editor__edit","aria-label":Object(L.__)("Edit post permalink"),value:o,onChange:function(t){return e.setState({editedPostName:t.target.value})},type:"text",autoFocus:!0}),Object(Xr.createElement)("span",{className:"editor-post-permalink-editor__suffix"},r),"‎"),Object(Xr.createElement)(_o.Button,{className:"editor-post-permalink-editor__save",isLarge:!0,onClick:this.onSavePermalink},Object(L.__)("Save")))}}]),t}(Xr.Component),hc=Object(so.compose)([Object(h.withSelect)(function(e){return{permalinkParts:(0,e("core/editor").getPermalinkParts)()}}),Object(h.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(fc),mc=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).addVisibilityCheck=e.addVisibilityCheck.bind(Object(ko.a)(e)),e.onVisibilityChange=e.onVisibilityChange.bind(Object(ko.a)(e)),e.state={isCopied:!1,isEditingPermalink:!1},e}return Object(ao.a)(t,e),Object(oo.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(L.__)("Permalink copied"):Object(L.__)("Copy the permalink"),h=c.prefix,m=c.suffix,v=Object(Rt.safeDecodeURIComponent)(s)||Oi(l)||u,O=n?h+v+m:h;return Object(Xr.createElement)("div",{className:"editor-post-permalink"},Object(Xr.createElement)(_o.ClipboardButton,{className:bo()("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(Xr.createElement)("span",{className:"editor-post-permalink__label"},Object(L.__)("Permalink:")),!b&&Object(Xr.createElement)(_o.ExternalLink,{className:"editor-post-permalink__link",href:o?O:a,target:"_blank",ref:function(t){return e.linkElement=t}},Object(Rt.safeDecodeURI)(O),"‎"),b&&Object(Xr.createElement)(hc,{slug:v,onSave:function(){return e.setState({isEditingPermalink:!1})}}),n&&!b&&Object(Xr.createElement)(_o.Button,{className:"editor-post-permalink__edit",isLarge:!0,onClick:function(){return e.setState({isEditingPermalink:!0})}},Object(L.__)("Edit")))}}]),t}(Xr.Component),vc=Object(so.compose)([Object(h.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(y.get)(p,["viewable"],!1)}}),Object(h.withDispatch)(function(e){return{refreshPost:e("core/editor").refreshPost}})])(mc),Oc=/[\r\n]+/g,gc=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(ko.a)(e)),e.onSelect=e.onSelect.bind(Object(ko.a)(e)),e.onUnselect=e.onUnselect.bind(Object(ko.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(ko.a)(e)),e.redirectHistory=e.redirectHistory.bind(Object(ko.a)(e)),e.state={isSelected:!1},e}return Object(ao.a)(t,e),Object(oo.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(Oc," ");this.props.onUpdate(t)}},{key:"onKeyDown",value:function(e){e.keyCode===Eo.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=bo()("wp-block editor-post-title__block",{"is-selected":s,"is-focus-mode":r,"has-fixed-toolbar":t}),l=Object(Xo.decodeEntities)(c);return Object(Xr.createElement)(Ho,{supportKeys:"title"},Object(Xr.createElement)("div",{className:"editor-post-title"},Object(Xr.createElement)("div",{className:u},Object(Xr.createElement)(_o.KeyboardShortcuts,{shortcuts:{"mod+z":this.redirectHistory,"mod+shift+z":this.redirectHistory}},Object(Xr.createElement)("label",{htmlFor:"post-title-".concat(i),className:"screen-reader-text"},l||Object(L.__)("Add title")),Object(Xr.createElement)(dc.a,{id:"post-title-".concat(i),className:"editor-post-title__input",value:a,onChange:this.onChange,placeholder:l||Object(L.__)("Add title"),onFocus:this.onSelect,onKeyDown:this.onKeyDown,onKeyPress:this.onUnselect,autoFocus:document.body===document.activeElement&&n})),s&&o&&Object(Xr.createElement)(vc,null))))}}]),t}(Xr.Component),jc=Object(h.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(y.get)(i,["viewable"],!1),placeholder:a,isFocusMode:s,hasFixedToolbar:u}}),yc=Object(h.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}}),kc=Object(so.compose)(jc,yc,so.withInstanceId,_o.withFocusOutside)(gc);var _c=Object(so.compose)([Object(h.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(h.withDispatch)(function(e){return{trashPost:e("core/editor").trashPost}})])(function(e){var t=e.isNew,n=e.postId,r=e.postType,o=Object(Ao.a)(e,["isNew","postId","postType"]);return t||!n?null:Object(Xr.createElement)(_o.Button,{className:"editor-post-trash button-link-delete",onClick:function(){return o.trashPost(n,r)},isDefault:!0,isLarge:!0},Object(L.__)("Move to Trash"))});var Ec=Object(h.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 wc=Object(so.compose)([Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(y.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(e){var t=e.hasPublishAction;return(0,e.render)({canEdit:t})}),Sc=n(104);var Pc=Object(h.withSelect)(function(e){return{content:e("core/editor").getEditedPostAttribute("content")}})(function(e){var t=e.content,n=Object(L._x)("words","Word count type. Do not translate!");return Object(Xr.createElement)("span",{className:"word-count"},Object(Sc.count)(t,n))});var Cc=Object(h.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(Xr.createElement)(Xr.Fragment,null,Object(Xr.createElement)("div",{className:"table-of-contents__wrapper",role:"note","aria-label":Object(L.__)("Document Statistics"),tabIndex:"0"},Object(Xr.createElement)("ul",{role:"list",className:"table-of-contents__counts"},Object(Xr.createElement)("li",{className:"table-of-contents__count"},Object(L.__)("Words"),Object(Xr.createElement)(Pc,null)),Object(Xr.createElement)("li",{className:"table-of-contents__count"},Object(L.__)("Headings"),Object(Xr.createElement)("span",{className:"table-of-contents__number"},t)),Object(Xr.createElement)("li",{className:"table-of-contents__count"},Object(L.__)("Paragraphs"),Object(Xr.createElement)("span",{className:"table-of-contents__number"},n)),Object(Xr.createElement)("li",{className:"table-of-contents__count"},Object(L.__)("Blocks"),Object(Xr.createElement)("span",{className:"table-of-contents__number"},r)))),t>0&&Object(Xr.createElement)(Xr.Fragment,null,Object(Xr.createElement)("hr",null),Object(Xr.createElement)("h2",{className:"table-of-contents__title"},Object(L.__)("Document Outline")),Object(Xr.createElement)(jo,{onSelect:i,hasOutlineItemsDisabled:o})))});var Tc=Object(h.withSelect)(function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}})(function(e){var t=e.hasBlocks,n=e.hasOutlineItemsDisabled;return Object(Xr.createElement)(_o.Dropdown,{position:"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(Xr.createElement)(_o.IconButton,{onClick:t?r:void 0,icon:"info-outline","aria-expanded":n,label:Object(L.__)("Content structure"),labelPosition:"bottom","aria-disabled":!t})},renderContent:function(e){var t=e.onClose;return Object(Xr.createElement)(Cc,{onRequestClose:t,hasOutlineItemsDisabled:n})}})}),Bc=function(e){function t(){var e;return Object(ro.a)(this,t),(e=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).warnIfUnsavedChanges=e.warnIfUnsavedChanges.bind(Object(ko.a)(e)),e}return Object(ao.a)(t,e),Object(oo.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(this.props.isDirty)return e.returnValue=Object(L.__)("You have unsaved changes. If you proceed, they will be lost."),e.returnValue}},{key:"render",value:function(){return null}}]),t}(Xr.Component),xc=Object(h.withSelect)(function(e){return{isDirty:e("core/editor").isEditedPostDirty()}})(Bc),Ic=Object(so.createHigherOrderComponent)(function(e){return Object(h.withRegistry)(function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,i=Object(Ao.a)(t,["useSubRegistry","registry"]);if(!r)return Object(Xr.createElement)(e,i);var c=Object(Xr.useState)(null),a=Object(R.a)(c,2),s=a[0],l=a[1];return Object(Xr.useEffect)(function(){var e=Object(h.createRegistry)({"core/block-editor":u.storeConfig},o),t=e.registerStore("core/editor",qr);Gr(t),l(e)},[o]),s?Object(Xr.createElement)(h.RegistryProvider,{value:s},Object(Xr.createElement)(e,i)):null})},"withRegistryProvider"),Ac=n(106),Lc=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?y.noop:c,s=e.onFileChange,u=Object(h.select)("core/editor"),l=u.getCurrentPostId,d=u.getEditorSettings,p=d().allowedMimeTypes;i=i||d().maxUploadFileSize,Object(Ac.uploadMedia)({allowedTypes:r,filesList:o,onFileChange:s,additionalData:Object(f.a)({post:l()},n),maxUploadFileSize:i,onError:function(e){var t=e.message;return a(t)},wpAllowedMimeTypes:p})};var Rc=Object(so.compose)([Object(h.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,s=o(n),u=1===s.length&&s[0]&&Object(l.isReusableBlock)(s[0])&&!!c(s[0].attributes.ref);return{isReusable:u,isVisible:u||i("core/block")&&Object(y.every)(s,function(e){return!!e&&e.isValid&&Object(l.hasBlockSupport)(e.name,"reusable",!0)})&&!!a("create","blocks")}}),Object(h.withDispatch)(function(e,t){var n=t.clientIds,r=t.onToggle,o=void 0===r?y.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(Xr.createElement)(Xr.Fragment,null,!n&&Object(Xr.createElement)(_o.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:o},Object(L.__)("Add to Reusable Blocks")),n&&Object(Xr.createElement)(_o.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:r},Object(L.__)("Convert to Regular Block"))):null});var Nc=Object(so.compose)([Object(h.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(l.isReusableBlock)(c)?i(c.attributes.ref):null;return{isVisible:!!a&&!!o("delete","blocks",a.id),isDisabled:a&&a.isTemporary}}),Object(h.withDispatch)(function(e,t,n){var r=t.clientId,o=t.onToggle,i=void 0===o?y.noop:o,c=n.select,a=e("core/editor").__experimentalDeleteReusableBlock,s=c("core/block-editor").getBlock;return{onDelete:function(){if(window.confirm(Object(L.__)("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(Xr.createElement)(_o.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"no",disabled:n,onClick:function(){return r()}},Object(L.__)("Remove from Reusable Blocks")):null});var Dc=Object(h.withSelect)(function(e){return{clientIds:(0,e("core/block-editor").getSelectedBlockClientIds)()}})(function(e){var t=e.clientIds;return Object(Xr.createElement)(u.__experimentalBlockSettingsMenuPluginsExtension,null,function(e){var n=e.onClose;return Object(Xr.createElement)(Xr.Fragment,null,Object(Xr.createElement)(Rc,{clientIds:t,onToggle:n}),1===t.length&&Object(Xr.createElement)(Nc,{clientId:t[0],onToggle:n}))})}),Uc=Object(Xr.createElement)(_o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(Xr.createElement)(_o.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(Xr.createElement)(_o.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"})),Fc=Object(Xr.createElement)(_o.Icon,{icon:Uc}),Mc=Object(Xr.createElement)(_o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(Xr.createElement)(_o.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(Xr.createElement)(_o.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"})),Vc=Object(Xr.createElement)(_o.Icon,{icon:Mc});var Hc=Object(so.compose)([Object(h.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(h.withDispatch)(function(e,t){var n=t.clientIds,r=t.onToggle,o=void 0===r?y.noop:r,i=t.blocksSelection,c=void 0===i?[]:i,a=t.groupingBlockName,s=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(c.length){var e=Object(l.switchToBlockType)(c,a);e&&s(n,e),o()}},onConvertFromGroup:function(){if(c.length){var e=c[0].innerBlocks;e.length&&(s(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(Xr.createElement)(Xr.Fragment,null,o&&Object(Xr.createElement)(_o.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:Fc,onClick:t},Object(L._x)("Group","verb")),c&&Object(Xr.createElement)(_o.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:Vc,onClick:n},Object(L._x)("Ungroup","Ungrouping blocks from within a Group block back into individual blocks within the Editor ")))});var Wc=Object(h.withSelect)(function(e){return{clientIds:(0,e("core/block-editor").getSelectedBlockClientIds)()}})(function(e){var t=e.clientIds;return Object(Xr.createElement)(u.__experimentalBlockSettingsMenuPluginsExtension,null,function(e){var n=e.onClose;return Object(Xr.createElement)(Xr.Fragment,null,Object(Xr.createElement)(Hc,{clientIds:t,onToggle:n}))})}),zc=Object(h.combineReducers)({downloadableBlocks:function(){var e=arguments.length>0&&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(f.a)({},e,{isRequestingDownloadableBlocks:!0});case"RECEIVE_DOWNLOADABLE_BLOCKS":return Object(f.a)({},e,{results:Object.assign({},e.results,Object(v.a)({},t.filterValue,t.downloadableBlocks)),hasPermission:!0,isRequestingDownloadableBlocks:!1});case"SET_INSTALL_BLOCKS_PERMISSION":return Object(f.a)({},e,{items:t.hasPermission?e.items:[],hasPermission:t.hasPermission});case"ADD_INSTALLED_BLOCK_TYPE":return Object(f.a)({},e,{installedBlockTypes:[].concat(Object(N.a)(e.installedBlockTypes),[t.item])});case"REMOVE_INSTALLED_BLOCK_TYPE":return Object(f.a)({},e,{installedBlockTypes:e.installedBlockTypes.filter(function(e){return e.name!==t.item.name})})}return e}});function Kc(e){return e.downloadableBlocks.isRequestingDownloadableBlocks}function Gc(e,t){return e.downloadableBlocks.results[t]?e.downloadableBlocks.results[t]:[]}function qc(e){return e.downloadableBlocks.hasPermission}function Yc(e){return Object(y.get)(e,["downloadableBlocks","installedBlockTypes"],[])}var Qc=B.a.mark(Jc);function Xc(e){return{type:"API_FETCH",request:e}}var $c=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)}},Zc=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 Jc(e){return B.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()}},Qc)}var ea={SELECT:Object(h.createRegistryControl)(function(e){return function(t){var n,r=t.storeName,o=t.selectorName,i=t.args;return(n=e.select(r))[o].apply(n,Object(N.a)(i))}}),DISPATCH:Object(h.createRegistryControl)(function(e){return function(t){var n,r=t.storeName,o=t.dispatcherName,i=t.args;return(n=e.dispatch(r))[o].apply(n,Object(N.a)(i))}}),API_FETCH:function(e){var t=e.request;return A()(Object(f.a)({},t))},LOAD_ASSETS:function(e){var t=e.assets;return new Promise(function(e,n){if(Array.isArray(t)){var r=0;Object(y.forEach)(t,function(t){null!==t.match(/\.js$/)?(r++,$c(t,function(){if(0===--r)return e(r)},n)):Zc(t)})}else $c(t.editor_script,function(){return e(0)},n),Zc(t.style)})}},ta=B.a.mark(aa),na=B.a.mark(sa),ra=B.a.mark(ua);function oa(){return{type:"FETCH_DOWNLOADABLE_BLOCKS"}}function ia(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}function ca(e){return{type:"SET_INSTALL_BLOCKS_PERMISSION",hasPermission:e}}function aa(e,t,n){return B.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,Jc(e.assets);case 5:if(!Object(l.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()}},ta,null,[[0,13]])}function sa(e,t,n){var r,o,i;return B.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return r=e.id,o=e.name,c.prev=1,c.next=4,Xc({path:"__experimental/block-directory/install",data:{slug:r},method:"POST"});case 4:if(!1!==(i=c.sent).success){c.next=7;break}throw new Error(i.errorMessage);case 7:return c.next=9,la({id:r,name:o});case 9:t(),c.next=15;break;case 12:c.prev=12,c.t0=c.catch(1),n(c.t0);case 15:case"end":return c.stop()}},na,null,[[1,12]])}function ua(e,t,n){var r,o,i;return B.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return r=e.id,o=e.name,c.prev=1,c.next=4,Xc({path:"__experimental/block-directory/uninstall",data:{slug:r},method:"DELETE"});case 4:if(!1!==(i=c.sent).success){c.next=7;break}throw new Error(i.errorMessage);case 7:return c.next=9,da({id:r,name:o});case 9:t(),c.next=15;break;case 12:c.prev=12,c.t0=c.catch(1),n(c.t0);case 15:case"end":return c.stop()}},ra,null,[[1,12]])}function la(e){return{type:"ADD_INSTALLED_BLOCK_TYPE",item:e}}function da(e){return{type:"REMOVE_INSTALLED_BLOCK_TYPE",item:e}}var pa={reducer:zc,selectors:a,actions:s,controls:ea,resolvers:{getDownloadableBlocks:B.a.mark(function e(t){var n,r;return B.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,Xc({path:"__experimental/block-directory/search?term=".concat(t)});case 7:return n=e.sent,r=n.map(function(e){return Object(y.mapKeys)(e,function(e,t){return Object(y.camelCase)(t)})}),e.next=11,ia(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,ca(!1);case 18:case"end":return e.stop()}},e,null,[[2,13]])}),hasInstallBlocksPermission:B.a.mark(function e(){return B.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Xc({path:"__experimental/block-directory/search?term="});case 3:return e.next=5,ca(!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,ca(!1);case 12:case"end":return e.stop()}},e,null,[[0,7]])})}};Object(h.registerStore)("core/block-directory",pa);var ba=function(e){var t=e.rating,n=.5*Math.round(t/.5),r=Math.floor(t),o=Math.ceil(t-r),i=5-(r+o);return Object(Xr.createElement)("div",{"aria-label":Object(L.sprintf)(Object(L.__)("%s out of 5 stars",n),n)},Object(y.times)(r,function(e){return Object(Xr.createElement)(_o.Icon,{key:"full_stars_".concat(e),icon:"star-filled",size:16})}),Object(y.times)(o,function(e){return Object(Xr.createElement)(_o.Icon,{key:"half_stars_".concat(e),icon:"star-half",size:16})}),Object(y.times)(i,function(e){return Object(Xr.createElement)(_o.Icon,{key:"empty_stars_".concat(e),icon:"star-empty",size:16})}))},fa=function(e){var t=e.rating,n=e.ratingCount;return Object(Xr.createElement)("div",{className:"block-directory-block-ratings"},Object(Xr.createElement)(ba,{rating:t}),Object(Xr.createElement)("span",{className:"block-directory-block-ratings__rating-count","aria-label":Object(L.sprintf)(Object(L._n)("%d total rating","%d total ratings",n),n)},"(",n,")"))};var ha=function(e){var t=e.icon,n=e.title,r=e.rating,o=e.ratingCount,i=e.onClick;return Object(Xr.createElement)("div",{className:"block-directory-downloadable-block-header__row"},null!==t.match(/\.(jpeg|jpg|gif|png)$/)?Object(Xr.createElement)("img",{src:t,alt:"block icon"}):Object(Xr.createElement)("span",null,Object(Xr.createElement)(u.BlockIcon,{icon:t,showColors:!0})),Object(Xr.createElement)("div",{className:"block-directory-downloadable-block-header__column"},Object(Xr.createElement)("span",{role:"heading",className:"block-directory-downloadable-block-header__title"},n),Object(Xr.createElement)(fa,{rating:r,ratingCount:o})),Object(Xr.createElement)(_o.Button,{isDefault:!0,onClick:function(e){e.preventDefault(),i()}},Object(L.__)("Add")))};var ma=function(e){var t=e.author,n=e.authorBlockCount,r=e.authorBlockRating;return Object(Xr.createElement)(Xr.Fragment,null,Object(Xr.createElement)("span",{className:"block-directory-downloadable-block-author-info__content-author"},Object(L.sprintf)(Object(L.__)("Authored by %s"),t)),Object(Xr.createElement)("span",{className:"block-directory-downloadable-block-author-info__content"},Object(L.sprintf)(Object(L._n)("This author has %d block, with an average rating of %d.","This author has %d blocks, with an average rating of %d.",n,r),n,r)))};var va=function(e){var t=e.description,n=e.activeInstalls,r=e.humanizedUpdated;return Object(Xr.createElement)(Xr.Fragment,null,Object(Xr.createElement)("p",{className:"block-directory-downloadable-block-info__content"},t),Object(Xr.createElement)("div",{className:"block-directory-downloadable-block-info__row"},Object(Xr.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(Xr.createElement)(_o.Icon,{icon:"chart-line"}),Object(L.sprintf)(Object(L._n)("%d active installation","%d active installations",n),n)),Object(Xr.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(Xr.createElement)(_o.Icon,{icon:"update"}),Object(Xr.createElement)("span",{"aria-label":Object(L.sprintf)(Object(L.__)("Updated %s"),r)},r))))};var Oa=function(e){var t=e.item,n=e.onClick,r=t.icon,o=t.title,i=t.description,c=t.rating,a=t.activeInstalls,s=t.ratingCount,u=t.author,l=t.humanizedUpdated,d=t.authorBlockCount,p=t.authorBlockRating;return Object(Xr.createElement)("li",{className:"block-directory-downloadable-block-list-item"},Object(Xr.createElement)("article",{className:"block-directory-downloadable-block-list-item__panel"},Object(Xr.createElement)("header",{className:"block-directory-downloadable-block-list-item__header"},Object(Xr.createElement)(ha,{icon:r,onClick:n,title:o,rating:c,ratingCount:s})),Object(Xr.createElement)("section",{className:"block-directory-downloadable-block-list-item__body"},Object(Xr.createElement)(va,{activeInstalls:a,description:i,humanizedUpdated:l})),Object(Xr.createElement)("footer",{className:"block-directory-downloadable-block-list-item__footer"},Object(Xr.createElement)(ma,{author:u,authorBlockCount:d,authorBlockRating:p}))))};var ga=Object(so.compose)(Object(h.withDispatch)(function(e,t){var n=e("core/block-directory"),r=n.installBlock,o=n.downloadBlock,i=e("core/notices"),c=i.createErrorNotice,a=i.removeNotice,s=e("core/block-editor").removeBlocks,u=t.onSelect;return{downloadAndInstallBlock:function(e){var t=function(){var t=u(e);r(e,y.noop,function n(){c(Object(L.__)("Block previews can't install."),{id:"block-install-error",actions:[{label:Object(L.__)("Retry"),onClick:function(){a("block-install-error"),r(e,y.noop,n)}},{label:Object(L.__)("Remove"),onClick:function(){a("block-install-error"),s(t.clientId),Object(l.unregisterBlockType)(e.name)}}]})})};o(e,t,function n(){c(Object(L.__)("Block previews can’t load."),{id:"block-download-error",actions:[{label:Object(L.__)("Retry"),onClick:function(){a("block-download-error"),o(e,t,n)}}]})})}}}))(function(e){var t=e.items,n=e.onHover,r=void 0===n?y.noop:n,o=e.children,i=e.downloadAndInstallBlock;return Object(Xr.createElement)("ul",{role:"list",className:"block-directory-downloadable-blocks-list"},t&&t.map(function(e){return Object(Xr.createElement)(Oa,{key:e.id,className:Object(l.getBlockMenuDefaultClassName)(e.id),icons:e.icons,onClick:function(){i(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 ja=Object(so.compose)([_o.withSpokenMessages,Object(h.withSelect)(function(e,t){var n=t.filterValue,r=e("core/block-directory"),o=r.getDownloadableBlocks,i=r.hasInstallBlocksPermission,c=r.isRequestingDownloadableBlocks,a=i();return{downloadableItems:a?o(n):[],hasPermission:a,isLoading:c()}})])(function(e){var t=e.downloadableItems,n=e.onSelect,r=e.onHover,o=e.hasPermission,i=e.isLoading,c=e.isWaiting,a=e.debouncedSpeak;return o?i||c?Object(Xr.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(Xr.createElement)(_o.Spinner,null)):t.length?(a(Object(L.sprintf)(Object(L._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(Xr.createElement)(Xr.Fragment,null,Object(Xr.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description"},Object(L.__)("No blocks found in your library. These blocks can be downloaded and installed:")),Object(Xr.createElement)(ga,{items:t,onSelect:n,onHover:r}))):Object(Xr.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(L.__)("No blocks found in your library.")):(a(Object(L.__)("No blocks found in your library. Please contact your site administrator to install new blocks.")),Object(Xr.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(L.__)("No blocks found in your library."),Object(Xr.createElement)("br",null),Object(L.__)("Please contact your site administrator to install new blocks.")))});var ya=function(){var e=Object(Xr.useState)(""),t=Object(R.a)(e,2),n=t[0],r=t[1],o=Object(y.debounce)(r,400);return Object(Xr.createElement)(u.__experimentalInserterMenuExtension,null,function(e){var t=e.onSelect,r=e.onHover,i=e.filterValue;return e.hasItems?(n!==i&&o(i),Object(Xr.createElement)(ja,{onSelect:t,onHover:r,filterValue:n,isWaiting:i!==n})):null})},ka=function(){var e=Object(x.a)(B.a.mark(function e(t){var n;return B.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A()({path:Object(Rt.addQueryArgs)("/wp/v2/search",{search:t,per_page:20,type:"post"})});case 2:return n=e.sent,e.abrupt("return",Object(y.map)(n,function(e){return{id:e.id,url:e.url,title:Object(Xo.decodeEntities)(e.title)||Object(L.__)("(no title)")}}));case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),_a=function(e){function t(e){var n;return Object(ro.a)(this,t),(n=Object(io.a)(this,Object(co.a)(t).apply(this,arguments))).getBlockEditorSettings=Z()(n.getBlockEditorSettings,{maxSize:1}),e.recovery?Object(io.a)(n):(e.updatePostLock(e.settings.postLock),e.setupEditor(e.post,e.initialEdits,e.settings.template),e.settings.autosave&&e.createWarningNotice(Object(L.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:Object(L.__)("View the autosave"),url:e.settings.autosave.editLink}]}),n)}return Object(ao.a)(t,e),Object(oo.a)(t,[{key:"getBlockEditorSettings",value:function(e,t,n,r){return Object(f.a)({},Object(y.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?Lc:void 0,__experimentalFetchLinkSuggestions:ka,__experimentalCanUserUseUnfilteredHTML:r})}},{key:"componentDidMount",value:function(){if(this.props.updateEditorSettings(this.props.settings),this.props.settings.styles){var e=Object(u.transformStyles)(this.props.settings.styles,".editor-styles-wrapper");Object(y.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(y.isEqual)(this.props.downloadableBlocksToUninstall,e.downloadableBlocksToUninstall)||this.props.downloadableBlocksToUninstall.forEach(function(e){t.props.uninstallBlock(e,y.noop,function(){t.props.createWarningNotice(Object(L.__)("Block previews can't uninstall."),{id:"block-uninstall-error"})}),Object(l.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,a=e.reusableBlocks,s=e.resetEditorBlocksWithoutUndoLevel,l=e.hasUploadPermissions;if(!i)return null;var d=this.getBlockEditorSettings(c,a,l,t);return Object(Xr.createElement)(u.BlockEditorProvider,{value:r,onInput:s,onChange:o,settings:d,useSubRegistry:!1},n,Object(Xr.createElement)(Dc,null),Object(Xr.createElement)(Wc,null),d.__experimentalBlockDirectory&&Object(Xr.createElement)(ya,null))}}]),t}(Xr.Component),Ea=Object(so.compose)([Ic,Object(h.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(y.differenceBy)(a(),s(),"name");return{canUserUseUnfilteredHTML:n(),isReady:r(),blocks:o(),reusableBlocks:i(),hasUploadPermissions:Object(y.defaultTo)(c("create","media"),!0),downloadableBlocksToUninstall:u}}),Object(h.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}})])(_a),wa=n(55),Sa=n.n(wa);function Pa(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Object(Xr.forwardRef)(function(n,r){return U()("wp.editor."+e,{alternative:"wp.blockEditor."+e}),Object(Xr.createElement)(t,Object(ni.a)({ref:r},n))});return n.forEach(function(n){r[n]=Pa(e+"."+n,t[n])}),r}function Ca(e,t){return function(){return U()("wp.editor."+e,{alternative:"wp.blockEditor."+e}),t.apply(void 0,arguments)}}var Ta=Pa("RichText",u.RichText,["Content"]);Ta.isEmpty=Ca("RichText.isEmpty",u.RichText.isEmpty);var Ba=Pa("Autocomplete",u.Autocomplete),xa=Pa("AlignmentToolbar",u.AlignmentToolbar),Ia=Pa("BlockAlignmentToolbar",u.BlockAlignmentToolbar),Aa=Pa("BlockControls",u.BlockControls,["Slot"]),La=Pa("BlockEdit",u.BlockEdit),Ra=Pa("BlockEditorKeyboardShortcuts",u.BlockEditorKeyboardShortcuts),Na=Pa("BlockFormatControls",u.BlockFormatControls,["Slot"]),Da=Pa("BlockIcon",u.BlockIcon),Ua=Pa("BlockInspector",u.BlockInspector),Fa=Pa("BlockList",u.BlockList),Ma=Pa("BlockMover",u.BlockMover),Va=Pa("BlockNavigationDropdown",u.BlockNavigationDropdown),Ha=Pa("BlockSelectionClearer",u.BlockSelectionClearer),Wa=Pa("BlockSettingsMenu",u.BlockSettingsMenu),za=Pa("BlockTitle",u.BlockTitle),Ka=Pa("BlockToolbar",u.BlockToolbar),Ga=Pa("ColorPalette",u.ColorPalette),qa=Pa("ContrastChecker",u.ContrastChecker),Ya=Pa("CopyHandler",u.CopyHandler),Qa=Pa("DefaultBlockAppender",u.DefaultBlockAppender),Xa=Pa("FontSizePicker",u.FontSizePicker),$a=Pa("Inserter",u.Inserter),Za=Pa("InnerBlocks",u.InnerBlocks,["ButtonBlockAppender","DefaultBlockAppender","Content"]),Ja=Pa("InspectorAdvancedControls",u.InspectorAdvancedControls,["Slot"]),es=Pa("InspectorControls",u.InspectorControls,["Slot"]),ts=Pa("PanelColorSettings",u.PanelColorSettings),ns=Pa("PlainText",u.PlainText),rs=Pa("RichTextShortcut",u.RichTextShortcut),os=Pa("RichTextToolbarButton",u.RichTextToolbarButton),is=Pa("__unstableRichTextInputEvent",u.__unstableRichTextInputEvent),cs=Pa("MediaPlaceholder",u.MediaPlaceholder),as=Pa("MediaUpload",u.MediaUpload),ss=Pa("MediaUploadCheck",u.MediaUploadCheck),us=Pa("MultiBlocksSwitcher",u.MultiBlocksSwitcher),ls=Pa("MultiSelectScrollIntoView",u.MultiSelectScrollIntoView),ds=Pa("NavigableToolbar",u.NavigableToolbar),ps=Pa("ObserveTyping",u.ObserveTyping),bs=Pa("PreserveScrollInReorder",u.PreserveScrollInReorder),fs=Pa("SkipToSelectedBlock",u.SkipToSelectedBlock),hs=Pa("URLInput",u.URLInput),ms=Pa("URLInputButton",u.URLInputButton),vs=Pa("URLPopover",u.URLPopover),Os=Pa("Warning",u.Warning),gs=Pa("WritingFlow",u.WritingFlow),js=Ca("createCustomColorsHOC",u.createCustomColorsHOC),ys=Ca("getColorClassName",u.getColorClassName),ks=Ca("getColorObjectByAttributeValues",u.getColorObjectByAttributeValues),_s=Ca("getColorObjectByColorValue",u.getColorObjectByColorValue),Es=Ca("getFontSize",u.getFontSize),ws=Ca("getFontSizeClass",u.getFontSizeClass),Ss=Ca("withColorContext",u.withColorContext),Ps=Ca("withColors",u.withColors),Cs=Ca("withFontSizes",u.withFontSizes),Ts=[no];Object(Qr.addFilter)("editor.Autocomplete.completers","editor/autocompleters/set-default-completers",function(e,t){return e||(e=Ts.map(y.clone),t===Object(l.getDefaultBlockName)()&&e.push(Object(y.clone)(to))),e}),n.d(t,"AutosaveMonitor",function(){return lo}),n.d(t,"DocumentOutline",function(){return jo}),n.d(t,"DocumentOutlineCheck",function(){return yo}),n.d(t,"VisualEditorGlobalKeyboardShortcuts",function(){return Co}),n.d(t,"EditorGlobalKeyboardShortcuts",function(){return To}),n.d(t,"TextEditorGlobalKeyboardShortcuts",function(){return Bo}),n.d(t,"EditorHistoryRedo",function(){return xo}),n.d(t,"EditorHistoryUndo",function(){return Io}),n.d(t,"EditorNotices",function(){return Ro}),n.d(t,"ErrorBoundary",function(){return No}),n.d(t,"LocalAutosaveMonitor",function(){return Mo}),n.d(t,"PageAttributesCheck",function(){return Vo}),n.d(t,"PageAttributesOrder",function(){return zo}),n.d(t,"PageAttributesParent",function(){return Yo}),n.d(t,"PageTemplate",function(){return Qo}),n.d(t,"PostAuthor",function(){return Jo}),n.d(t,"PostAuthorCheck",function(){return $o}),n.d(t,"PostComments",function(){return ei}),n.d(t,"PostExcerpt",function(){return ti}),n.d(t,"PostExcerptCheck",function(){return ri}),n.d(t,"PostFeaturedImage",function(){return pi}),n.d(t,"PostFeaturedImageCheck",function(){return ii}),n.d(t,"PostFormat",function(){return hi}),n.d(t,"PostFormatCheck",function(){return bi}),n.d(t,"PostLastRevision",function(){return gi}),n.d(t,"PostLastRevisionCheck",function(){return mi}),n.d(t,"PostLockedModal",function(){return _i}),n.d(t,"PostPendingStatus",function(){return wi}),n.d(t,"PostPendingStatusCheck",function(){return Ei}),n.d(t,"PostPingbacks",function(){return Si}),n.d(t,"PostPreviewButton",function(){return yi}),n.d(t,"PostPublishButton",function(){return Ti}),n.d(t,"PostPublishButtonLabel",function(){return Pi}),n.d(t,"PostPublishPanel",function(){return Zi}),n.d(t,"PostSavedState",function(){return tc}),n.d(t,"PostSchedule",function(){return Li}),n.d(t,"PostScheduleCheck",function(){return nc}),n.d(t,"PostScheduleLabel",function(){return Ri}),n.d(t,"PostSticky",function(){return oc}),n.d(t,"PostStickyCheck",function(){return rc}),n.d(t,"PostSwitchToDraftButton",function(){return Ji}),n.d(t,"PostTaxonomies",function(){return sc}),n.d(t,"PostTaxonomiesCheck",function(){return uc}),n.d(t,"PostTextEditor",function(){return bc}),n.d(t,"PostTitle",function(){return kc}),n.d(t,"PostTrash",function(){return _c}),n.d(t,"PostTrashCheck",function(){return Ec}),n.d(t,"PostTypeSupportCheck",function(){return Ho}),n.d(t,"PostVisibility",function(){return Ii}),n.d(t,"PostVisibilityLabel",function(){return Ai}),n.d(t,"PostVisibilityCheck",function(){return wc}),n.d(t,"TableOfContents",function(){return Tc}),n.d(t,"UnsavedChangesWarning",function(){return xc}),n.d(t,"WordCount",function(){return Pc}),n.d(t,"EditorProvider",function(){return Ea}),n.d(t,"blockAutocompleter",function(){return to}),n.d(t,"userAutocompleter",function(){return no}),n.d(t,"ServerSideRender",function(){return Sa.a}),n.d(t,"RichText",function(){return Ta}),n.d(t,"Autocomplete",function(){return Ba}),n.d(t,"AlignmentToolbar",function(){return xa}),n.d(t,"BlockAlignmentToolbar",function(){return Ia}),n.d(t,"BlockControls",function(){return Aa}),n.d(t,"BlockEdit",function(){return La}),n.d(t,"BlockEditorKeyboardShortcuts",function(){return Ra}),n.d(t,"BlockFormatControls",function(){return Na}),n.d(t,"BlockIcon",function(){return Da}),n.d(t,"BlockInspector",function(){return Ua}),n.d(t,"BlockList",function(){return Fa}),n.d(t,"BlockMover",function(){return Ma}),n.d(t,"BlockNavigationDropdown",function(){return Va}),n.d(t,"BlockSelectionClearer",function(){return Ha}),n.d(t,"BlockSettingsMenu",function(){return Wa}),n.d(t,"BlockTitle",function(){return za}),n.d(t,"BlockToolbar",function(){return Ka}),n.d(t,"ColorPalette",function(){return Ga}),n.d(t,"ContrastChecker",function(){return qa}),n.d(t,"CopyHandler",function(){return Ya}),n.d(t,"DefaultBlockAppender",function(){return Qa}),n.d(t,"FontSizePicker",function(){return Xa}),n.d(t,"Inserter",function(){return $a}),n.d(t,"InnerBlocks",function(){return Za}),n.d(t,"InspectorAdvancedControls",function(){return Ja}),n.d(t,"InspectorControls",function(){return es}),n.d(t,"PanelColorSettings",function(){return ts}),n.d(t,"PlainText",function(){return ns}),n.d(t,"RichTextShortcut",function(){return rs}),n.d(t,"RichTextToolbarButton",function(){return os}),n.d(t,"__unstableRichTextInputEvent",function(){return is}),n.d(t,"MediaPlaceholder",function(){return cs}),n.d(t,"MediaUpload",function(){return as}),n.d(t,"MediaUploadCheck",function(){return ss}),n.d(t,"MultiBlocksSwitcher",function(){return us}),n.d(t,"MultiSelectScrollIntoView",function(){return ls}),n.d(t,"NavigableToolbar",function(){return ds}),n.d(t,"ObserveTyping",function(){return ps}),n.d(t,"PreserveScrollInReorder",function(){return bs}),n.d(t,"SkipToSelectedBlock",function(){return fs}),n.d(t,"URLInput",function(){return hs}),n.d(t,"URLInputButton",function(){return ms}),n.d(t,"URLPopover",function(){return vs}),n.d(t,"Warning",function(){return Os}),n.d(t,"WritingFlow",function(){return gs}),n.d(t,"createCustomColorsHOC",function(){return js}),n.d(t,"getColorClassName",function(){return ys}),n.d(t,"getColorObjectByAttributeValues",function(){return ks}),n.d(t,"getColorObjectByColorValue",function(){return _s}),n.d(t,"getFontSize",function(){return Es}),n.d(t,"getFontSizeClass",function(){return ws}),n.d(t,"withColorContext",function(){return Ss}),n.d(t,"withColors",function(){return Ps}),n.d(t,"withFontSizes",function(){return Cs}),n.d(t,"mediaUpload",function(){return Lc}),n.d(t,"cleanForSlug",function(){return Oi}),n.d(t,"storeConfig",function(){return qr}),n.d(t,"transformStyles",function(){return u.transformStyles})},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}()},41:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},43:function(e,t){!function(){e.exports=this.wp.viewport}()},44:function(e,t,n){"use strict";function r(e,t,n,r,o,i,c){try{var a=e[i](c),s=a.value}catch(e){return void n(e)}a.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise(function(o,i){var c=e.apply(t,n);function a(e){r(c,o,i,a,s,"next",e)}function s(e){r(c,o,i,a,s,"throw",e)}a(void 0)})}}n.d(t,"a",function(){return o})},45: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;--i){var c=this.tryEntries[i],a=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var s=r.call(c,"catchLoc"),u=r.call(c,"finallyLoc");if(s&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),f}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},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})},54:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},55:function(e,t){!function(){e.exports=this.wp.serverSideRender}()},56:function(e,t){!function(){e.exports=this.wp.date}()},6:function(e,t){!function(){e.exports=this.wp.blockEditor}()},63:function(e,t){!function(){e.exports=this.wp.nux}()},64:function(e,t,n){"use strict";t.__esModule=!0;var r=n(132);t.default=r.default},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||(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})},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.apiFetch}()},33:function(e,t){!function(){e.exports=this.wp.dataControls}()},34:function(e,t,n){e.exports=n(94)()},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=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;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');return 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;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');return 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},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})},382:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"getDependencies",function(){return ce}),n.d(r,"apply",function(){return ae}),n.d(r,"update",function(){return se});var o={};n.r(o),n.d(o,"meta",function(){return r});var i={};n.r(i),n.d(i,"setupEditor",function(){return Se}),n.d(i,"__experimentalTearDownEditor",function(){return Pe}),n.d(i,"__experimentalSubscribeSources",function(){return Ce}),n.d(i,"resetPost",function(){return Te}),n.d(i,"resetAutosave",function(){return xe}),n.d(i,"__experimentalRequestPostUpdateStart",function(){return Be}),n.d(i,"__experimentalRequestPostUpdateFinish",function(){return Ie}),n.d(i,"updatePost",function(){return Ae}),n.d(i,"setupEditorState",function(){return Le}),n.d(i,"editPost",function(){return Re}),n.d(i,"__experimentalOptimisticUpdatePost",function(){return Ne}),n.d(i,"savePost",function(){return De}),n.d(i,"refreshPost",function(){return Ue}),n.d(i,"trashPost",function(){return Fe}),n.d(i,"autosave",function(){return Me}),n.d(i,"__experimentalLocalAutosave",function(){return Ve}),n.d(i,"redo",function(){return He}),n.d(i,"undo",function(){return We}),n.d(i,"createUndoLevel",function(){return ze}),n.d(i,"updatePostLock",function(){return Ke}),n.d(i,"__experimentalFetchReusableBlocks",function(){return Ge}),n.d(i,"__experimentalReceiveReusableBlocks",function(){return qe}),n.d(i,"__experimentalSaveReusableBlock",function(){return Ye}),n.d(i,"__experimentalDeleteReusableBlock",function(){return Qe}),n.d(i,"__experimentalUpdateReusableBlock",function(){return Xe}),n.d(i,"__experimentalConvertBlockToStatic",function(){return $e}),n.d(i,"__experimentalConvertBlockToReusable",function(){return Ze}),n.d(i,"enablePublishSidebar",function(){return Je}),n.d(i,"disablePublishSidebar",function(){return et}),n.d(i,"lockPostSaving",function(){return tt}),n.d(i,"unlockPostSaving",function(){return nt}),n.d(i,"resetEditorBlocks",function(){return rt}),n.d(i,"updateEditorSettings",function(){return ot}),n.d(i,"resetBlocks",function(){return ct}),n.d(i,"receiveBlocks",function(){return at}),n.d(i,"updateBlock",function(){return st}),n.d(i,"updateBlockAttributes",function(){return ut}),n.d(i,"selectBlock",function(){return lt}),n.d(i,"startMultiSelect",function(){return dt}),n.d(i,"stopMultiSelect",function(){return pt}),n.d(i,"multiSelect",function(){return bt}),n.d(i,"clearSelectedBlock",function(){return ft}),n.d(i,"toggleSelection",function(){return ht}),n.d(i,"replaceBlocks",function(){return mt}),n.d(i,"replaceBlock",function(){return vt}),n.d(i,"moveBlocksDown",function(){return Ot}),n.d(i,"moveBlocksUp",function(){return gt}),n.d(i,"moveBlockToPosition",function(){return jt}),n.d(i,"insertBlock",function(){return yt}),n.d(i,"insertBlocks",function(){return _t}),n.d(i,"showInsertionPoint",function(){return kt}),n.d(i,"hideInsertionPoint",function(){return Et}),n.d(i,"setTemplateValidity",function(){return wt}),n.d(i,"synchronizeTemplate",function(){return St}),n.d(i,"mergeBlocks",function(){return Pt}),n.d(i,"removeBlocks",function(){return Ct}),n.d(i,"removeBlock",function(){return Tt}),n.d(i,"toggleBlockMode",function(){return xt}),n.d(i,"startTyping",function(){return Bt}),n.d(i,"stopTyping",function(){return It}),n.d(i,"enterFormattedText",function(){return At}),n.d(i,"exitFormattedText",function(){return Lt}),n.d(i,"insertDefaultBlock",function(){return Rt}),n.d(i,"updateBlockListSettings",function(){return Nt});var c={};n.r(c),n.d(c,"hasEditorUndo",function(){return Ht}),n.d(c,"hasEditorRedo",function(){return Wt}),n.d(c,"isEditedPostNew",function(){return zt}),n.d(c,"hasChangedContent",function(){return Kt}),n.d(c,"isEditedPostDirty",function(){return Gt}),n.d(c,"isCleanNewPost",function(){return qt}),n.d(c,"getCurrentPost",function(){return Yt}),n.d(c,"getCurrentPostType",function(){return Qt}),n.d(c,"getCurrentPostId",function(){return Xt}),n.d(c,"getCurrentPostRevisionsCount",function(){return $t}),n.d(c,"getCurrentPostLastRevisionId",function(){return Zt}),n.d(c,"getPostEdits",function(){return Jt}),n.d(c,"getCurrentPostAttribute",function(){return en}),n.d(c,"getEditedPostAttribute",function(){return nn}),n.d(c,"getAutosaveAttribute",function(){return rn}),n.d(c,"getEditedPostVisibility",function(){return on}),n.d(c,"isCurrentPostPending",function(){return cn}),n.d(c,"isCurrentPostPublished",function(){return an}),n.d(c,"isCurrentPostScheduled",function(){return sn}),n.d(c,"isEditedPostPublishable",function(){return un}),n.d(c,"isEditedPostSaveable",function(){return ln}),n.d(c,"isEditedPostEmpty",function(){return dn}),n.d(c,"isEditedPostAutosaveable",function(){return pn}),n.d(c,"getAutosave",function(){return bn}),n.d(c,"hasAutosave",function(){return fn}),n.d(c,"isEditedPostBeingScheduled",function(){return hn}),n.d(c,"isEditedPostDateFloating",function(){return mn}),n.d(c,"isSavingPost",function(){return vn}),n.d(c,"didPostSaveRequestSucceed",function(){return On}),n.d(c,"didPostSaveRequestFail",function(){return gn}),n.d(c,"isAutosavingPost",function(){return jn}),n.d(c,"isPreviewingPost",function(){return yn}),n.d(c,"getEditedPostPreviewLink",function(){return _n}),n.d(c,"getSuggestedPostFormat",function(){return kn}),n.d(c,"getBlocksForSerialization",function(){return En}),n.d(c,"getEditedPostContent",function(){return wn}),n.d(c,"__experimentalGetReusableBlock",function(){return Sn}),n.d(c,"__experimentalIsSavingReusableBlock",function(){return Pn}),n.d(c,"__experimentalIsFetchingReusableBlock",function(){return Cn}),n.d(c,"__experimentalGetReusableBlocks",function(){return Tn}),n.d(c,"getStateBeforeOptimisticTransaction",function(){return xn}),n.d(c,"isPublishingPost",function(){return Bn}),n.d(c,"isPermalinkEditable",function(){return In}),n.d(c,"getPermalink",function(){return An}),n.d(c,"getPermalinkParts",function(){return Ln}),n.d(c,"inSomeHistory",function(){return Rn}),n.d(c,"isPostLocked",function(){return Nn}),n.d(c,"isPostSavingLocked",function(){return Dn}),n.d(c,"isPostAutosavingLocked",function(){return Un}),n.d(c,"isPostLockTakeover",function(){return Fn}),n.d(c,"getPostLockUser",function(){return Mn}),n.d(c,"getActivePostLock",function(){return Vn}),n.d(c,"canUserUseUnfilteredHTML",function(){return Hn}),n.d(c,"isPublishSidebarEnabled",function(){return Wn}),n.d(c,"getEditorBlocks",function(){return zn}),n.d(c,"__unstableIsEditorReady",function(){return Kn}),n.d(c,"getEditorSettings",function(){return Gn}),n.d(c,"getBlockName",function(){return Yn}),n.d(c,"isBlockValid",function(){return Qn}),n.d(c,"getBlockAttributes",function(){return Xn}),n.d(c,"getBlock",function(){return $n}),n.d(c,"getBlocks",function(){return Zn}),n.d(c,"__unstableGetBlockWithoutInnerBlocks",function(){return Jn}),n.d(c,"getClientIdsOfDescendants",function(){return er}),n.d(c,"getClientIdsWithDescendants",function(){return tr}),n.d(c,"getGlobalBlockCount",function(){return nr}),n.d(c,"getBlocksByClientId",function(){return rr}),n.d(c,"getBlockCount",function(){return or}),n.d(c,"getBlockSelectionStart",function(){return ir}),n.d(c,"getBlockSelectionEnd",function(){return cr}),n.d(c,"getSelectedBlockCount",function(){return ar}),n.d(c,"hasSelectedBlock",function(){return sr}),n.d(c,"getSelectedBlockClientId",function(){return ur}),n.d(c,"getSelectedBlock",function(){return lr}),n.d(c,"getBlockRootClientId",function(){return dr}),n.d(c,"getBlockHierarchyRootClientId",function(){return pr}),n.d(c,"getAdjacentBlockClientId",function(){return br}),n.d(c,"getPreviousBlockClientId",function(){return fr}),n.d(c,"getNextBlockClientId",function(){return hr}),n.d(c,"getSelectedBlocksInitialCaretPosition",function(){return mr}),n.d(c,"getMultiSelectedBlockClientIds",function(){return vr}),n.d(c,"getMultiSelectedBlocks",function(){return Or}),n.d(c,"getFirstMultiSelectedBlockClientId",function(){return gr}),n.d(c,"getLastMultiSelectedBlockClientId",function(){return jr}),n.d(c,"isFirstMultiSelectedBlock",function(){return yr}),n.d(c,"isBlockMultiSelected",function(){return _r}),n.d(c,"isAncestorMultiSelected",function(){return kr}),n.d(c,"getMultiSelectedBlocksStartClientId",function(){return Er}),n.d(c,"getMultiSelectedBlocksEndClientId",function(){return wr}),n.d(c,"getBlockOrder",function(){return Sr}),n.d(c,"getBlockIndex",function(){return Pr}),n.d(c,"isBlockSelected",function(){return Cr}),n.d(c,"hasSelectedInnerBlock",function(){return Tr}),n.d(c,"isBlockWithinSelection",function(){return xr}),n.d(c,"hasMultiSelection",function(){return Br}),n.d(c,"isMultiSelecting",function(){return Ir}),n.d(c,"isSelectionEnabled",function(){return Ar}),n.d(c,"getBlockMode",function(){return Lr}),n.d(c,"isTyping",function(){return Rr}),n.d(c,"isCaretWithinFormattedText",function(){return Nr}),n.d(c,"getBlockInsertionPoint",function(){return Dr}),n.d(c,"isBlockInsertionPointVisible",function(){return Ur}),n.d(c,"isValidTemplate",function(){return Fr}),n.d(c,"getTemplate",function(){return Mr}),n.d(c,"getTemplateLock",function(){return Vr}),n.d(c,"canInsertBlockType",function(){return Hr}),n.d(c,"getInserterItems",function(){return Wr}),n.d(c,"hasInserterItems",function(){return zr}),n.d(c,"getBlockListSettings",function(){return Kr});var a={};n.r(a),n.d(a,"isRequestingDownloadableBlocks",function(){return Qc}),n.d(a,"getDownloadableBlocks",function(){return Xc}),n.d(a,"hasInstallBlocksPermission",function(){return $c}),n.d(a,"getInstalledBlockTypes",function(){return Zc});var s={};n.r(s),n.d(s,"fetchDownloadableBlocks",function(){return sa}),n.d(s,"receiveDownloadableBlocks",function(){return ua}),n.d(s,"setInstallBlocksPermission",function(){return la}),n.d(s,"downloadBlock",function(){return da}),n.d(s,"installBlock",function(){return pa}),n.d(s,"uninstallBlock",function(){return ba}),n.d(s,"addInstalledBlockType",function(){return fa}),n.d(s,"removeInstalledBlockType",function(){return ha});var u=n(6),l=n(9),d=(n(97),n(157),n(63)),p=n(22),b=n(43),f=n(7),h=n(4),m=n(33),v=n(10),O=n(31),g=n(90),j=n.n(g),y=n(2),_={insertUsage:{},isPublishSidebarEnabled:!0},k=Object(f.a)({},u.SETTINGS_DEFAULTS,{richEditingEnabled:!0,codeEditingEnabled:!0,enableCustomFields:!1});function E(e){return e&&"object"===Object(O.a)(e)&&"raw"in e?e.raw:e}var w=Object(h.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(f.a)({},e,Object(y.keyBy)(t.results,"id"));case"UPDATE_REUSABLE_BLOCK":var n=t.id,r=t.changes;return Object(f.a)({},e,Object(v.a)({},n,Object(f.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(f.a)({},Object(y.omit)(e,o),Object(v.a)({},i,Object(f.a)({},c,{id:i})));case"REMOVE_REUSABLE_BLOCK":var a=t.id;return Object(y.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(f.a)({},e,Object(v.a)({},n,!0)):e;case"FETCH_REUSABLE_BLOCKS_SUCCESS":case"FETCH_REUSABLE_BLOCKS_FAILURE":var r=t.id;return Object(y.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(f.a)({},e,Object(v.a)({},t.id,!0));case"SAVE_REUSABLE_BLOCK_SUCCESS":case"SAVE_REUSABLE_BLOCK_FAILURE":var n=t.id;return Object(y.omit)(e,n)}return e}});var S=j()(Object(h.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]:_;switch((arguments.length>1?arguments[1]:void 0).type){case"ENABLE_PUBLISH_SIDEBAR":return Object(f.a)({},e,{isPublishSidebarEnabled:!0});case"DISABLE_PUBLISH_SIDEBAR":return Object(f.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:w,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(f.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(f.a)({},e,Object(v.a)({},t.lockName,!0));case"UNLOCK_POST_SAVING":return Object(y.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]:k,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_EDITOR_SETTINGS":return Object(f.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(f.a)({},e,Object(v.a)({},t.lockName,!0));case"UNLOCK_POST_AUTOSAVING":return Object(y.omit)(e,t.lockName)}return e}})),P=n(76),C=n.n(P),T=n(20),x=n.n(T),B=n(44),I=n(32),A=n.n(I),L=n(1),R=n(23),N=n(17),D=n(37),U=n.n(D),F=n(41),M=n.n(F),V=new Set(["meta"]),H="core/editor",W="post-update",z="SAVE_POST_NOTICE_ID",K="TRASH_POST_NOTICE_ID",G=/%(?:postname|pagename)%/,q=6e4,Y=["title","excerpt","content"];function Q(e){var t=e.previousPost,n=e.post,r=e.postType;if(Object(y.get)(e.options,["isAutosave"]))return[];var o,i=["publish","private","future"],c=Object(y.includes)(i,t.status),a=Object(y.includes)(i,n.status),s=Object(y.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:z,type:"snackbar",actions:u}]}return[]}function X(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(L.__)("Publishing failed."),private:Object(L.__)("Publishing failed."),future:Object(L.__)("Scheduling failed.")},a=i||-1===o.indexOf(n.status)?Object(L.__)("Updating failed."):c[n.status];return r.message&&!/<\/?[^>]*>/.test(r.message)&&(a=Object(L.sprintf)(Object(L.__)("%1$s Error message: %2$s"),a,r.message)),[a,{id:z}]}var $=n(45),Z=n.n($),J=n(72),ee=Z()(function(e){1===e.length&&Object(l.isUnmodifiedDefaultBlock)(e[0])&&(e=[]);var t=Object(l.serialize)(e);return 1===e.length&&e[0].name===Object(l.getFreeformContentHandlerName)()&&(t=Object(J.removep)(t)),t},{maxSize:1});function te(e){return"wp-autosave-block-editor-post-".concat(e)}function ne(e){window.sessionStorage.removeItem(te(e))}var re={AWAIT_NEXT_STATE_CHANGE:Object(h.createRegistryControl)(function(e){return function(){return new Promise(function(t){var n=e.subscribe(function(){n(),t()})})}}),GET_REGISTRY:Object(h.createRegistryControl)(function(e){return function(){return e}}),LOCAL_AUTOSAVE_SET:function(e){!function(e,t,n,r){window.sessionStorage.setItem(te(e),JSON.stringify({post_title:t,content:n,excerpt:r}))}(e.postId,e.title,e.content,e.excerpt)}},oe=x.a.mark(ce),ie=x.a.mark(se);function ce(){return x.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(m.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()}},oe)}function ae(e,t){return t.meta[e.meta]}function se(e,t){return x.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Re({meta:Object(v.a)({},e.meta,t)});case 2:case"end":return n.stop()}},ie)}var ue=x.a.mark(Ee),le=x.a.mark(we),de=x.a.mark(Se),pe=x.a.mark(Ce),be=x.a.mark(xe),fe=x.a.mark(Re),he=x.a.mark(De),me=x.a.mark(Ue),ve=x.a.mark(Fe),Oe=x.a.mark(Me),ge=x.a.mark(Ve),je=x.a.mark(He),ye=x.a.mark(We),_e=x.a.mark(rt),ke=new WeakMap;function Ee(e){var t,n,r,i,c,a,s,u,l,d,p,b,h,O;return x.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,ke.has(t)){g.next=5;break}return g.abrupt("return",e);case 5:n=ke.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,ke.has(t)||ke.set(t,new WeakMap),n=ke.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()}},le,null,[[11,23,27,35],[28,,30,34]])}function Se(e,t,n){var r,o;return x.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return r=Object(y.has)(t,["content"])?t.content:e.content.raw,o=Object(l.parse)(r),"auto-draft"===e.status&&n&&(o=Object(l.synchronizeBlocksWithTemplate)(o,n)),i.next=6,Te(e);case 6:return i.delegateYield(we(),"t0",7);case 7:return i.next=9,{type:"SETUP_EDITOR",post:e,edits:t,template:n};case 9:return i.next=11,rt(o,{__unstableShouldCreateUndoLevel:!1});case 11:return i.next=13,Le(e);case 13:if(!t||!Object.keys(t).some(function(n){return t[n]!==(Object(y.has)(e,[n,"raw"])?e[n].raw:e[n])})){i.next=16;break}return i.next=16,Re(t);case 16:return i.delegateYield(Ce(),"t1",17);case 17:case"end":return i.stop()}},de)}function Pe(){return{type:"TEAR_DOWN_EDITOR"}}function Ce(){var e,t,n,r,i,c,a,s;return x.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(m.select)(H,"__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 Ie(){return{type:"REQUEST_POST_UPDATE_FINISH",options:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}function Ae(e){return{type:"UPDATE_POST",edits:e}}function Le(e){return{type:"SETUP_EDITOR_STATE",post:e}}function Re(e,t){var n,r,o;return x.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Object(m.select)(H,"getCurrentPost");case 2:return n=i.sent,r=n.id,o=n.type,i.next=7,Object(m.dispatch)("core","editEntityRecord","postType",o,r,e,t);case 7:case"end":return i.stop()}},fe)}function Ne(e){return Object(f.a)({},Ae(e),{optimist:{id:W}})}function De(){var e,t,n,r,o,i,c,a=arguments;return x.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(m.select)(H,"isEditedPostSaveable");case 3:if(s.sent){s.next=5;break}return s.abrupt("return");case 5:return s.next=7,Object(m.select)(H,"getEditedPostContent");case 7:if(s.t0=s.sent,t={content:s.t0},e.isAutosave){s.next=12;break}return s.next=12,Object(m.dispatch)(H,"editPost",t,{undoIgnore:!0});case 12:return s.next=14,Be(e);case 14:return s.next=16,Object(m.select)(H,"getCurrentPost");case 16:return n=s.sent,s.t1=f.a,s.t2={id:n.id},s.next=21,Object(m.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(m.dispatch)("core","saveEntityRecord","postType",n.type,t,e);case 26:return s.next=28,Ie(e);case 28:return s.next=30,Object(m.select)("core","getLastEntitySaveError","postType",n.type,n.id);case 30:if(!(r=s.sent)){s.next=38;break}if(!(o=X({post:n,edits:t,error:r})).length){s.next=36;break}return s.next=36,m.dispatch.apply(void 0,["core/notices","createErrorNotice"].concat(Object(N.a)(o)));case 36:s.next=53;break;case 38:return s.next=40,Object(m.select)(H,"getCurrentPost");case 40:return i=s.sent,s.t5=Q,s.t6=n,s.t7=i,s.next=46,Object(m.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,m.dispatch.apply(void 0,["core/notices","createSuccessNotice"].concat(Object(N.a)(c)));case 53:case"end":return s.stop()}},he)}function Ue(){var e,t,n,r;return x.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Object(m.select)(H,"getCurrentPost");case 2:return e=o.sent,o.next=5,Object(m.select)(H,"getCurrentPostType");case 5:return t=o.sent,o.next=8,Object(m.select)("core","getPostType",t);case 8:return n=o.sent,o.next=11,Object(m.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(m.dispatch)(H,"resetPost",r);case 14:case"end":return o.stop()}},me)}function Fe(){var e,t,n;return x.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object(m.select)(H,"getCurrentPostType");case 2:return e=r.sent,r.next=5,Object(m.select)("core","getPostType",e);case 5:return t=r.sent,r.next=8,Object(m.dispatch)("core/notices","removeNotice",K);case 8:return r.prev=8,r.next=11,Object(m.select)(H,"getCurrentPost");case 11:return n=r.sent,r.next=14,Object(m.apiFetch)({path:"/wp/v2/".concat(t.rest_base,"/").concat(n.id),method:"DELETE"});case 14:return r.next=16,Object(m.dispatch)(H,"savePost");case 16:r.next=22;break;case 18:return r.prev=18,r.t0=r.catch(8),r.next=22,m.dispatch.apply(void 0,["core/notices","createErrorNotice"].concat(Object(N.a)([(o={error:r.t0}).error.message&&"unknown_error"!==o.error.code?o.error.message:Object(L.__)("Trashing failed"),{id:K}])));case 22:case"end":return r.stop()}var o},ve,null,[[8,18]])}function Me(e){return x.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(m.dispatch)(H,"savePost",Object(f.a)({isAutosave:!0},e));case 2:case"end":return t.stop()}},Oe)}function Ve(){var e,t,n,r;return x.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Object(m.select)(H,"getCurrentPost");case 2:return e=o.sent,o.next=5,Object(m.select)(H,"getEditedPostAttribute","title");case 5:return t=o.sent,o.next=8,Object(m.select)(H,"getEditedPostAttribute","content");case 8:return n=o.sent,o.next=11,Object(m.select)(H,"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()}},ge)}function He(){return x.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(m.dispatch)("core","redo");case 2:case"end":return e.stop()}},je)}function We(){return x.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(m.dispatch)("core","undo");case 2:case"end":return e.stop()}},ye)}function ze(){return{type:"CREATE_UNDO_LEVEL"}}function Ke(e){return{type:"UPDATE_POST_LOCK",lock:e}}function Ge(e){return{type:"FETCH_REUSABLE_BLOCKS",id:e}}function qe(e){return{type:"RECEIVE_REUSABLE_BLOCKS",results:e}}function Ye(e){return{type:"SAVE_REUSABLE_BLOCK",id:e}}function Qe(e){return{type:"DELETE_REUSABLE_BLOCK",id:e}}function Xe(e,t){return{type:"UPDATE_REUSABLE_BLOCK",id:e,changes:t}}function $e(e){return{type:"CONVERT_BLOCK_TO_STATIC",clientId:e}}function Ze(e){return{type:"CONVERT_BLOCK_TO_REUSABLE",clientIds:Object(y.castArray)(e)}}function Je(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function et(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function tt(e){return{type:"LOCK_POST_SAVING",lockName:e}}function nt(e){return{type:"UNLOCK_POST_SAVING",lockName:e}}function rt(e){var t,n,r,i,c,a,s,u,l,d,p,b,f,h,v,O,g,j,y,_,k,E,w=arguments;return x.a.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return t=w.length>1&&void 0!==w[1]?w[1]:{},S.next=3,Object(m.select)("core/block-editor","__experimentalGetLastBlockAttributeChanges");case 3:if(!(n=S.sent)){S.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(l.getDefaultBlockName)()&&n!==Object(l.getFreeformContentHandlerName)())return!1}return!wn(e)}var pn=Object(h.createRegistrySelector)(function(e){return function(t){if(!ln(t))return!1;if(Un(t))return!1;var n=Qt(t),r=Xt(t),o=e("core").hasFetchedAutosaves(n,r),i=Object(y.get)(e("core").getCurrentUser(),["id"]),c=e("core").getAutosave(n,r,i);return!!o&&(!c||(!!Kt(t)||["title","excerpt"].some(function(e){return E(c[e])!==nn(t,e)})))}}),bn=Object(h.createRegistrySelector)(function(e){return function(t){U()("`wp.data.select( 'core/editor' ).getAutosave()`",{alternative:"`wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:"Gutenberg"});var n=Qt(t),r=Xt(t),o=Object(y.get)(e("core").getCurrentUser(),["id"]),i=e("core").getAutosave(n,r,o);return Object(y.mapValues)(Object(y.pick)(i,Y),E)}}),fn=Object(h.createRegistrySelector)(function(e){return function(t){U()("`wp.data.select( 'core/editor' ).hasAutosave()`",{alternative:"`!! wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:"Gutenberg"});var n=Qt(t),r=Xt(t),o=Object(y.get)(e("core").getCurrentUser(),["id"]);return!!e("core").getAutosave(n,r,o)}});function hn(e){var t=nn(e,"date"),n=new Date(Number(Object(Ut.getDate)(t))-q);return Object(Ut.isInTheFuture)(n)}function mn(e){var t=nn(e,"date"),n=nn(e,"modified"),r=nn(e,"status");return("draft"===r||"auto-draft"===r||"pending"===r)&&t===n}var vn=Object(h.createRegistrySelector)(function(e){return function(t){var n=Qt(t),r=Xt(t);return e("core").isSavingEntityRecord("postType",n,r)}}),On=Object(h.createRegistrySelector)(function(e){return function(t){var n=Qt(t),r=Xt(t);return!e("core").getLastEntitySaveError("postType",n,r)}}),gn=Object(h.createRegistrySelector)(function(e){return function(t){var n=Qt(t),r=Xt(t);return!!e("core").getLastEntitySaveError("postType",n,r)}});function jn(e){return!!vn(e)&&!!Object(y.get)(e.saving,["options","isAutosave"])}function yn(e){return!!vn(e)&&!!e.saving.options.isPreview}function _n(e){if(!e.saving.pending&&!vn(e)){var t=rn(e,"preview_link");t||(t=nn(e,"link"))&&(t=Object(Ft.addQueryArgs)(t,{preview:!0}));var n=nn(e,"featured_media");return t&&n?Object(Ft.addQueryArgs)(t,{_thumbnail_id:n}):t}}function kn(e){var t,n=zn(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 En(e){U()("`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(l.isUnmodifiedDefaultBlock)(t[0])?[]:t}var wn=Object(h.createRegistrySelector)(function(e){return function(t){var n=Xt(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 ee(o.blocks);if(o.content)return o.content}return""}}),Sn=Object(Dt.a)(function(e,t){var n=e.reusableBlocks.data[t];if(!n)return null;var r=isNaN(parseInt(t));return Object(f.a)({},n,{id:r?t:+t,isTemporary:r})},function(e,t){return[e.reusableBlocks.data[t]]});function Pn(e,t){return e.reusableBlocks.isSaving[t]||!1}function Cn(e,t){return!!e.reusableBlocks.isFetching[t]}var Tn=Object(Dt.a)(function(e){return Object(y.map)(e.reusableBlocks.data,function(t,n){return Sn(e,n)})},function(e){return[e.reusableBlocks.data]});function xn(e,t){var n=Object(y.find)(e.optimist,function(e){return e.beforeState&&Object(y.get)(e.action,["optimist","id"])===t});return n?n.beforeState:null}function Bn(e){if(!vn(e))return!1;if(!an(e))return!1;var t=xn(e,W);return!!t&&!an(null,t.currentPost)}function In(e){var t=nn(e,"permalink_template");return G.test(t)}function An(e){var t=Ln(e);if(!t)return null;var n=t.prefix,r=t.postName,o=t.suffix;return In(e)?n+r+o:n}function Ln(e){var t=nn(e,"permalink_template");if(!t)return null;var n=nn(e,"slug")||nn(e,"generated_slug"),r=t.split(G),o=Object(R.a)(r,2);return{prefix:o[0],postName:n,suffix:o[1]}}function Rn(e,t){var n=e.optimist;return!!n&&n.some(function(e){var n=e.beforeState;return n&&t(n)})}function Nn(e){return e.postLock.isLocked}function Dn(e){return Object.keys(e.postSavingLock).length>0}function Un(e){return Object.keys(e.postAutosavingLock).length>0}function Fn(e){return e.postLock.isTakeover}function Mn(e){return e.postLock.user}function Vn(e){return e.postLock.activePostLock}function Hn(e){return Object(y.has)(Yt(e),["_links","wp:action-unfiltered-html"])}function Wn(e){return e.preferences.hasOwnProperty("isPublishSidebarEnabled")?e.preferences.isPublishSidebarEnabled:_.isPublishSidebarEnabled}function zn(e){return nn(e,"blocks")||Vt}function Kn(e){return e.isReady}function Gn(e){return e.editorSettings}function qn(e){return Object(h.createRegistrySelector)(function(t){return function(n){var r;U()("`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?to:t,r=e.getInserterItems,o=void 0===r?no:r,i=e.getSelectedBlockName,c=void 0===i?ro:i;return{name:"blocks",className:"editor-autocompleters__block",triggerPrefix:"/",options:function(){oo();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(N.a)(r),[t])},getOptionLabel:function(e){var t=e.icon,n=e.title;return[Object(eo.createElement)(u.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(l.createBlock)(t,n)}},isOptionDisabled:function(e){return e.isDisabled}}}(),co={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options:function(e){var t="";return e&&(t="?search="+encodeURIComponent(e)),A()({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:function(e){return[e.slug,e.name]},getOptionLabel:function(e){return[Object(eo.createElement)("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}),Object(eo.createElement)("span",{key:"name",className:"editor-autocompleters__user-name"},e.name),Object(eo.createElement)("span",{key:"slug",className:"editor-autocompleters__user-slug"},e.slug)]},getOptionCompletion:function(e){return"@".concat(e.slug)}},ao=n(12),so=n(11),uo=n(13),lo=n(14),po=n(15),bo=n(8),fo=function(e){function t(){return Object(ao.a)(this,t),Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))}return Object(po.a)(t,e),Object(so.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}(eo.Component),ho=Object(bo.compose)([Object(h.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(h.withDispatch)(function(e,t){return{autosave:function(){var n=t.autosave,r=void 0===n?e("core/editor").autosave:n;r()}}})])(fo),mo=n(16),vo=n.n(mo),Oo=function(e){var t=e.children,n=e.isValid,r=e.level,o=e.path,i=void 0===o?[]:o,c=e.href,a=e.onSelect;return Object(eo.createElement)("li",{className:vo()("document-outline__item","is-".concat(r.toLowerCase()),{"is-invalid":!n})},Object(eo.createElement)("a",{href:c,className:"document-outline__button",onClick:a},Object(eo.createElement)("span",{className:"document-outline__emdash","aria-hidden":"true"}),i.map(function(e,t){var n=e.clientId;return Object(eo.createElement)("strong",{key:t,className:"document-outline__level"},Object(eo.createElement)(u.BlockTitle,{clientId:n}))}),Object(eo.createElement)("strong",{className:"document-outline__level"},r),Object(eo.createElement)("span",{className:"document-outline__item-content"},t)))},go=Object(eo.createElement)("em",null,Object(L.__)("(Empty heading)")),jo=[Object(eo.createElement)("br",{key:"incorrect-break"}),Object(eo.createElement)("em",{key:"incorrect-message"},Object(L.__)("(Incorrect heading level)"))],yo=[Object(eo.createElement)("br",{key:"incorrect-break-h1"}),Object(eo.createElement)("em",{key:"incorrect-message-h1"},Object(L.__)("(Your theme may already use a H1 for the post title)"))],_o=[Object(eo.createElement)("br",{key:"incorrect-break-multiple-h1"}),Object(eo.createElement)("em",{key:"incorrect-message-multiple-h1"},Object(L.__)("(Multiple H1 headings are not recommended)"))],ko=function(e){return!e.attributes.content||0===e.attributes.content.length},Eo=Object(bo.compose)(Object(h.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(y.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(y.flatMap)(t,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===t.name?Object(f.a)({},t,{path:n,level:t.attributes.level,isEmpty:ko(t)}):e(t.innerBlocks,[].concat(Object(N.a)(n),[t]))})}(n);if(a.length<1)return null;var s=1,u=document.querySelector(".editor-post-title__input"),l=i&&r&&u,d=Object(y.countBy)(a,"level")[1]>1;return Object(eo.createElement)("div",{className:"document-outline"},Object(eo.createElement)("ul",null,l&&Object(eo.createElement)(Oo,{level:Object(L.__)("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&&(d||l));return s=e.level,Object(eo.createElement)(Oo,{key:t,level:"H".concat(e.level),isValid:r,path:e.path,isDisabled:c,href:"#block-".concat(e.clientId),onSelect:o},e.isEmpty?go:Object(p.getTextContent)(Object(p.create)({html:e.attributes.content})),n&&jo,1===e.level&&d&&_o,l&&1===e.level&&!d&&yo)})))});var wo=Object(h.withSelect)(function(e){return{blocks:e("core/block-editor").getBlocks()}})(function(e){var t=e.blocks,n=e.children;return Object(y.filter)(t,function(e){return"core/heading"===e.name}).length<1?null:n}),So=n(5),Po=n(3),Co=n(19);var To=Object(bo.compose)([Object(h.withSelect)(function(e){return{isDirty:(0,e("core/editor").isEditedPostDirty)()}}),Object(h.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(eo.createElement)(Po.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(v.a)({},Co.rawShortcut.primary("s"),function(e){e.preventDefault(),t()})})}),xo=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).undoOrRedo=e.undoOrRedo.bind(Object(So.a)(e)),e}return Object(po.a)(t,e),Object(so.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(eo.createElement)(eo.Fragment,null,Object(eo.createElement)(u.BlockEditorKeyboardShortcuts,null),Object(eo.createElement)(Po.KeyboardShortcuts,{shortcuts:(e={},Object(v.a)(e,Co.rawShortcut.primary("z"),this.undoOrRedo),Object(v.a)(e,Co.rawShortcut.primaryShift("z"),this.undoOrRedo),e)}),Object(eo.createElement)(To,null))}}]),t}(eo.Component),Bo=Object(h.withDispatch)(function(e){var t=e("core/editor");return{onRedo:t.redo,onUndo:t.undo}})(xo),Io=Bo;function Ao(){return U()("EditorGlobalKeyboardShortcuts",{alternative:"VisualEditorGlobalKeyboardShortcuts",plugin:"Gutenberg"}),Object(eo.createElement)(Bo,null)}function Lo(){return Object(eo.createElement)(To,null)}var Ro=Object(bo.compose)([Object(h.withSelect)(function(e){return{hasRedo:e("core/editor").hasEditorRedo()}}),Object(h.withDispatch)(function(e){return{redo:e("core/editor").redo}})])(function(e){var t=e.hasRedo,n=e.redo;return Object(eo.createElement)(Po.IconButton,{icon:"redo",label:Object(L.__)("Redo"),shortcut:Co.displayShortcut.primaryShift("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__redo"})});var No=Object(bo.compose)([Object(h.withSelect)(function(e){return{hasUndo:e("core/editor").hasEditorUndo()}}),Object(h.withDispatch)(function(e){return{undo:e("core/editor").undo}})])(function(e){var t=e.hasUndo,n=e.undo;return Object(eo.createElement)(Po.IconButton,{icon:"undo",label:Object(L.__)("Undo"),shortcut:Co.displayShortcut.primary("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__undo"})}),Do=n(21);var Uo=Object(bo.compose)([Object(h.withSelect)(function(e){return{isValid:e("core/block-editor").isValidTemplate()}}),Object(h.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(Do.a)(e,["isValid"]);return t?null:Object(eo.createElement)(Po.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning"},Object(eo.createElement)("p",null,Object(L.__)("The content of your post doesn’t match the template assigned to your post type.")),Object(eo.createElement)("div",null,Object(eo.createElement)(Po.Button,{isDefault:!0,onClick:n.resetTemplateValidity},Object(L.__)("Keep it as is")),Object(eo.createElement)(Po.Button,{onClick:function(){window.confirm(Object(L.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()},isPrimary:!0},Object(L.__)("Reset the template"))))});var Fo=Object(bo.compose)([Object(h.withSelect)(function(e){return{notices:e("core/notices").getNotices()}}),Object(h.withDispatch)(function(e){return{onRemove:e("core/notices").removeNotice}})])(function(e){var t=e.notices,n=e.onRemove,r=Object(y.filter)(t,{isDismissible:!0,type:"default"}),o=Object(y.filter)(t,{isDismissible:!1,type:"default"}),i=Object(y.filter)(t,{type:"snackbar"});return Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)(Po.NoticeList,{notices:o,className:"components-editor-notices__pinned"}),Object(eo.createElement)(Po.NoticeList,{notices:r,className:"components-editor-notices__dismissible",onRemove:n},Object(eo.createElement)(Uo,null)),Object(eo.createElement)(Po.SnackbarList,{notices:i,className:"components-editor-notices__snackbar",onRemove:n}))}),Mo=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).reboot=e.reboot.bind(Object(So.a)(e)),e.getContent=e.getContent.bind(Object(So.a)(e)),e.state={error:null},e}return Object(po.a)(t,e),Object(so.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(h.select)("core/editor").getEditedPostContent()}catch(e){}}},{key:"render",value:function(){var e=this.state.error;return e?Object(eo.createElement)(u.Warning,{className:"editor-error-boundary",actions:[Object(eo.createElement)(Po.Button,{key:"recovery",onClick:this.reboot,isLarge:!0},Object(L.__)("Attempt Recovery")),Object(eo.createElement)(Po.ClipboardButton,{key:"copy-post",text:this.getContent,isLarge:!0},Object(L.__)("Copy Post Text")),Object(eo.createElement)(Po.ClipboardButton,{key:"copy-error",text:e.stack,isLarge:!0},Object(L.__)("Copy Error"))]},Object(L.__)("The editor has encountered an unexpected error.")):this.props.children}}]),t}(eo.Component),Vo=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Ho=Object(y.once)(function(){try{return window.sessionStorage.setItem("__wpEditorTestSessionStorage",""),window.sessionStorage.removeItem("__wpEditorTestSessionStorage"),!0}catch(e){return!1}});function Wo(){var e=Object(h.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(h.useDispatch)("core/notices"),c=i.createWarningNotice,a=i.removeNotice,s=Object(h.useDispatch)("core/editor"),u=s.editPost,d=s.resetEditorBlocks;Object(eo.useEffect)(function(){if(o){var e=function(e){return window.sessionStorage.getItem(te(e))}(t);if(e){try{e=JSON.parse(e)}catch(e){return}var i=e,s={title:i.post_title,content:i.content,excerpt:i.excerpt};if(Object.keys(s).some(function(e){return s[e]!==n(e)})){if(!r){var p=Object(y.uniqueId)("wpEditorAutosaveRestore");c(Object(L.__)("The backup of this post in your browser is different from the version below."),{id:p,actions:[{label:Object(L.__)("Restore the backup"),onClick:function(){u(Object(y.omit)(s,["content"])),d(Object(l.parse)(s.content)),a(p)}}]})}}else ne(t)}}},[t,o])}var zo=Object(bo.ifCondition)(Ho)(function(){var e,t,n,r,o,i,c,a=Object(h.useDispatch)("core/editor").__experimentalLocalAutosave,s=Object(eo.useCallback)(function(){Vo(a)},[]);Wo(),e=Object(h.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(eo.useRef)(n),c=Object(eo.useRef)(r),Object(eo.useEffect)(function(){!c.current||r||o||ne(t),i.current=n,c.current=r},[n,r,o]);var u=Object(h.useSelect)(function(e){return{localAutosaveInterval:e("core/editor").getEditorSettings().__experimentalLocalAutosaveInterval}}).localAutosaveInterval;return Object(eo.createElement)(ho,{interval:u,autosave:s,shouldThrottle:!0})});var Ko=Object(h.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(y.get)(n,["supports","page-attributes"],!1)&&Object(y.isEmpty)(t)?null:r});var Go=Object(h.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(y.some)(Object(y.castArray)(r),function(e){return!!t.supports[e]})),o?n:null}),qo=Object(bo.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(eo.createElement)(Po.TextControl,{className:"editor-page-attributes__order",type:"number",label:Object(L.__)("Order"),value:c,onChange:function(e){i({orderInput:e});var n=Number(e);Number.isInteger(n)&&""!==Object(y.invoke)(e,["trim"])&&t(Number(e))},size:6,onBlur:function(){i({orderInput:null})}})});var Yo=Object(bo.compose)([Object(h.withSelect)(function(e){return{order:e("core/editor").getEditedPostAttribute("menu_order")}}),Object(h.withDispatch)(function(e){return{onUpdateOrder:function(t){e("core/editor").editPost({menu_order:t})}}})])(function(e){return Object(eo.createElement)(Go,{supportKeys:"page-attributes"},Object(eo.createElement)(qo,e))});function Qo(e){var t=e.map(function(e){return Object(f.a)({children:[],parent:null},e)}),n=Object(y.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(f.a)({},t,{children:r&&r.length?e(r):[]})})}(n[0]||[])}var Xo=Object(h.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(y.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}}),$o=Object(h.withDispatch)(function(e){var t=e("core/editor").editPost;return{onUpdateParent:function(e){t({parent:e||0})}}}),Zo=Object(bo.compose)([Xo,$o])(function(e){var t=e.parent,n=e.postType,r=e.items,o=e.onUpdateParent,i=Object(y.get)(n,["hierarchical"],!1),c=Object(y.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(L.__)("no title"),")")}}));return Object(eo.createElement)(Po.TreeSelect,{className:"editor-page-attributes__parent",label:c,noOptionLabel:"(".concat(Object(L.__)("no parent"),")"),tree:s,selectedId:t,onChange:o})});var Jo=Object(bo.compose)(Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=(0,t.getEditorSettings)().availableTemplates;return{selectedTemplate:n("template"),availableTemplates:r}}),Object(h.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(y.isEmpty)(t)?null:Object(eo.createElement)(Po.SelectControl,{label:Object(L.__)("Template:"),value:n,onChange:r,className:"editor-page-attributes__template",options:Object(y.map)(t,function(e,t){return{value:t,label:e}})})}),ei=n(54);var ti=Object(bo.compose)([Object(h.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{hasAssignAuthorAction:Object(y.get)(t,["_links","wp:action-assign-author"],!1),postType:e("core/editor").getCurrentPostType(),authors:e("core").getAuthors()}}),bo.withInstanceId])(function(e){var t=e.hasAssignAuthorAction,n=e.authors,r=e.children;return!t||n.length<2?null:Object(eo.createElement)(Go,{supportKeys:"author"},r)}),ni=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).setAuthorId=e.setAuthorId.bind(Object(So.a)(e)),e}return Object(po.a)(t,e),Object(so.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(eo.createElement)(ti,null,Object(eo.createElement)("label",{htmlFor:o},Object(L.__)("Author")),Object(eo.createElement)("select",{id:o,value:t,onChange:this.setAuthorId,className:"editor-post-author__select"},r.map(function(e){return Object(eo.createElement)("option",{key:e.id,value:e.id},Object(ei.decodeEntities)(e.name))})))}}]),t}(eo.Component),ri=Object(bo.compose)([Object(h.withSelect)(function(e){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors()}}),Object(h.withDispatch)(function(e){return{onUpdateAuthor:function(t){e("core/editor").editPost({author:t})}}}),bo.withInstanceId])(ni);var oi=Object(bo.compose)([Object(h.withSelect)(function(e){return{commentStatus:e("core/editor").getEditedPostAttribute("comment_status")}}),Object(h.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(function(e){var t=e.commentStatus,n=void 0===t?"open":t,r=Object(Do.a)(e,["commentStatus"]);return Object(eo.createElement)(Po.CheckboxControl,{label:Object(L.__)("Allow Comments"),checked:"open"===n,onChange:function(){return r.editPost({comment_status:"open"===n?"closed":"open"})}})});var ii=Object(bo.compose)([Object(h.withSelect)(function(e){return{excerpt:e("core/editor").getEditedPostAttribute("excerpt")}}),Object(h.withDispatch)(function(e){return{onUpdateExcerpt:function(t){e("core/editor").editPost({excerpt:t})}}})])(function(e){var t=e.excerpt,n=e.onUpdateExcerpt;return Object(eo.createElement)("div",{className:"editor-post-excerpt"},Object(eo.createElement)(Po.TextareaControl,{label:Object(L.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:function(e){return n(e)},value:t}),Object(eo.createElement)(Po.ExternalLink,{href:Object(L.__)("https://codex.wordpress.org/Excerpt")},Object(L.__)("Learn more about manual excerpts")))}),ci=n(18);var ai=function(e){return Object(eo.createElement)(Go,Object(ci.a)({},e,{supportKeys:"excerpt"}))};var si=Object(h.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(y.some)(Object(y.castArray)(o),function(e){var n=Object(y.get)(t,[e],!1);return"post-thumbnails"===e&&Object(y.isArray)(n)?Object(y.includes)(n,r):n})?n:null});var ui=function(e){return Object(eo.createElement)(si,{supportKeys:"post-thumbnails"},Object(eo.createElement)(Go,Object(ci.a)({},e,{supportKeys:"thumbnail"})))},li=["image"],di=Object(L.__)("Featured Image"),pi=Object(L.__)("Set Featured Image"),bi=Object(L.__)("Remove Image");var fi=Object(h.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}}),hi=Object(h.withDispatch)(function(e){var t=e("core/editor").editPost;return{onUpdateImage:function(e){t({featured_media:e.id})},onRemoveImage:function(){t({featured_media:0})}}}),mi=Object(bo.compose)(fi,hi,Object(Po.withFilters)("editor.PostFeaturedImage"))(function(e){var t,n,r,o=e.currentPostId,i=e.featuredImageId,c=e.onUpdateImage,a=e.onRemoveImage,s=e.media,l=e.postType,d=Object(y.get)(l,["labels"],{}),p=Object(eo.createElement)("p",null,Object(L.__)("To edit the featured image, you need permission to upload media."));if(s){var b=Object(Jr.applyFilters)("editor.PostFeaturedImage.imageSize","post-thumbnail",s.id,o);Object(y.has)(s,["media_details","sizes",b])?(t=s.media_details.sizes[b].width,n=s.media_details.sizes[b].height,r=s.media_details.sizes[b].source_url):(t=s.media_details.width,n=s.media_details.height,r=s.source_url)}return Object(eo.createElement)(ui,null,Object(eo.createElement)("div",{className:"editor-post-featured-image"},Object(eo.createElement)(u.MediaUploadCheck,{fallback:p},Object(eo.createElement)(u.MediaUpload,{title:d.featured_image||di,onSelect:c,unstableFeaturedImageFlow:!0,allowedTypes:li,modalClass:"editor-post-featured-image__media-modal",render:function(e){var o=e.open;return Object(eo.createElement)(Po.Button,{className:i?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o,"aria-label":i?Object(L.__)("Edit or update the image"):null},!!i&&s&&Object(eo.createElement)(Po.ResponsiveWrapper,{naturalWidth:t,naturalHeight:n},Object(eo.createElement)("img",{src:r,alt:""})),!!i&&!s&&Object(eo.createElement)(Po.Spinner,null),!i&&(d.set_featured_image||pi))},value:i})),!!i&&s&&!s.isLoading&&Object(eo.createElement)(u.MediaUploadCheck,null,Object(eo.createElement)(u.MediaUpload,{title:d.featured_image||di,onSelect:c,unstableFeaturedImageFlow:!0,allowedTypes:li,modalClass:"editor-post-featured-image__media-modal",render:function(e){var t=e.open;return Object(eo.createElement)(Po.Button,{onClick:t,isDefault:!0,isLarge:!0},Object(L.__)("Replace Image"))}})),!!i&&Object(eo.createElement)(u.MediaUploadCheck,null,Object(eo.createElement)(Po.Button,{onClick:a,isLink:!0,isDestructive:!0},d.remove_featured_image||bi))))});var vi=Object(h.withSelect)(function(e){return{disablePostFormats:e("core/editor").getEditorSettings().disablePostFormats}})(function(e){var t=e.disablePostFormats,n=Object(Do.a)(e,["disablePostFormats"]);return!t&&Object(eo.createElement)(Go,Object(ci.a)({},n,{supportKeys:"post-formats"}))}),Oi=[{id:"aside",caption:Object(L.__)("Aside")},{id:"gallery",caption:Object(L.__)("Gallery")},{id:"link",caption:Object(L.__)("Link")},{id:"image",caption:Object(L.__)("Image")},{id:"quote",caption:Object(L.__)("Quote")},{id:"standard",caption:Object(L.__)("Standard")},{id:"status",caption:Object(L.__)("Status")},{id:"video",caption:Object(L.__)("Video")},{id:"audio",caption:Object(L.__)("Audio")},{id:"chat",caption:Object(L.__)("Chat")}];var gi=Object(bo.compose)([Object(h.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(y.union)([o],Object(y.get)(i,["formats"],[])),suggestedFormat:r()}}),Object(h.withDispatch)(function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}}),bo.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=Oi.filter(function(e){return Object(y.includes)(o,e.id)}),s=Object(y.find)(a,function(e){return e.id===i});return Object(eo.createElement)(vi,null,Object(eo.createElement)("div",{className:"editor-post-format"},Object(eo.createElement)("div",{className:"editor-post-format__content"},Object(eo.createElement)("label",{htmlFor:c},Object(L.__)("Post Format")),Object(eo.createElement)(Po.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(eo.createElement)("div",{className:"editor-post-format__suggestion"},Object(L.__)("Suggestion:")," ",Object(eo.createElement)(Po.Button,{isLink:!0,onClick:function(){return t(s.id)}},s.caption))))});var ji=Object(h.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(eo.createElement)(Go,{supportKeys:"revisions"},r)});function yi(e,t){return Object(Ft.addQueryArgs)(e,t)}function _i(e){return e?Object(y.toLower)(Object(y.deburr)(Object(y.trim)(e.replace(/[\s\.\/_]+/g,"-"),"-"))):""}var ki=Object(h.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(eo.createElement)(ji,null,Object(eo.createElement)(Po.IconButton,{href:yi("revision.php",{revision:t,gutenberg:!0}),className:"editor-post-last-revision__title",icon:"backup"},Object(L.sprintf)(Object(L._n)("%d Revision","%d Revisions",n),n)))});var Ei=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).openPreviewWindow=e.openPreviewWindow.bind(Object(So.a)(e)),e}return Object(po.a)(t,e),Object(so.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(eo.renderToString)(Object(eo.createElement)("div",{className:"editor-post-preview-button__interstitial-message"},Object(eo.createElement)(Po.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},Object(eo.createElement)(Po.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(eo.createElement)(Po.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(eo.createElement)("p",null,Object(L.__)("Generating preview…")))),n+='\n\t\t\n\t',n=Object(Jr.applyFilters)("editor.PostPreview.interstitialMarkup",n),t.write(n),t.title=Object(L.__)("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(eo.createElement)(Po.Button,{isLarge:!0,className:"editor-post-preview",href:o,target:this.getWindowTarget(),disabled:!r,onClick:this.openPreviewWindow},Object(L._x)("Preview","imperative verb"),Object(eo.createElement)("span",{className:"screen-reader-text"},Object(L.__)("(opens in a new tab)")),Object(eo.createElement)(d.DotTip,{tipId:"core/editor.preview"},Object(L.__)("Click “Preview” to load a preview of this page, so you can make sure you’re happy with your blocks.")))}}]),t}(eo.Component),wi=Object(bo.compose)([Object(h.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(y.get)(b,["viewable"],!1),isDraft:-1!==["draft","auto-draft"].indexOf(a("status"))}}),Object(h.withDispatch)(function(e){return{autosave:e("core/editor").autosave,savePost:e("core/editor").savePost}}),Object(bo.ifCondition)(function(e){return e.isViewable})])(Ei),Si=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).sendPostLock=e.sendPostLock.bind(Object(So.a)(e)),e.receivePostLock=e.receivePostLock.bind(Object(So.a)(e)),e.releasePostLock=e.releasePostLock.bind(Object(So.a)(e)),e}return Object(po.a)(t,e),Object(so.a)(t,[{key:"componentDidMount",value:function(){var e=this.getHookName();Object(Jr.addAction)("heartbeat.send",e,this.sendPostLock),Object(Jr.addAction)("heartbeat.tick",e,this.receivePostLock)}},{key:"componentWillUnmount",value:function(){var e=this.getHookName();Object(Jr.removeAction)("heartbeat.send",e),Object(Jr.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(Ft.addQueryArgs)("post.php",{"get-post-lock":"1",lockKey:!0,post:n,action:"edit",_wpnonce:i.nonce}),l=yi("edit.php",{post_type:Object(y.get)(c,["slug"])}),d=Object(L.__)("Exit the Editor");return Object(eo.createElement)(Po.Modal,{title:o?Object(L.__)("Someone else has taken over this post."):Object(L.__)("This post is already being edited."),focusOnMount:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissable:!1,className:"editor-post-locked-modal"},!!s&&Object(eo.createElement)("img",{src:s,alt:Object(L.__)("Avatar"),className:"editor-post-locked-modal__avatar"}),!!o&&Object(eo.createElement)("div",null,Object(eo.createElement)("div",null,a?Object(L.sprintf)(Object(L.__)("%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved."),a):Object(L.__)("Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.")),Object(eo.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(eo.createElement)(Po.Button,{isPrimary:!0,isLarge:!0,href:l},d))),!o&&Object(eo.createElement)("div",null,Object(eo.createElement)("div",null,a?Object(L.sprintf)(Object(L.__)("%s is currently working on this post, which means you cannot make changes, unless you take over."),a):Object(L.__)("Another user is currently working on this post, which means you cannot make changes, unless you take over.")),Object(eo.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(eo.createElement)(Po.Button,{isDefault:!0,isLarge:!0,href:l},d),Object(eo.createElement)(wi,null),Object(eo.createElement)(Po.Button,{isPrimary:!0,isLarge:!0,href:u},Object(L.__)("Take Over")))))}}]),t}(eo.Component),Pi=Object(bo.compose)(Object(h.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(h.withDispatch)(function(e){var t=e("core/editor");return{autosave:t.autosave,updatePostLock:t.updatePostLock}}),bo.withInstanceId,Object(bo.withGlobalEvents)({beforeunload:"releasePostLock"}))(Si);var Ci=Object(bo.compose)(Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.isCurrentPostPublished,r=t.getCurrentPostType,o=t.getCurrentPost;return{hasPublishAction:Object(y.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 Ti=Object(bo.compose)(Object(h.withSelect)(function(e){return{status:e("core/editor").getEditedPostAttribute("status")}}),Object(h.withDispatch)(function(e){return{onUpdateStatus:function(t){e("core/editor").editPost({status:t})}}}))(function(e){var t=e.status,n=e.onUpdateStatus;return Object(eo.createElement)(Ci,null,Object(eo.createElement)(Po.CheckboxControl,{label:Object(L.__)("Pending Review"),checked:"pending"===t,onChange:function(){n("pending"===t?"draft":"pending")}}))});var xi=Object(bo.compose)([Object(h.withSelect)(function(e){return{pingStatus:e("core/editor").getEditedPostAttribute("ping_status")}}),Object(h.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(function(e){var t=e.pingStatus,n=void 0===t?"open":t,r=Object(Do.a)(e,["pingStatus"]);return Object(eo.createElement)(Po.CheckboxControl,{label:Object(L.__)("Allow Pingbacks & Trackbacks"),checked:"open"===n,onChange:function(){return r.editPost({ping_status:"open"===n?"closed":"open"})}})});var Bi=Object(bo.compose)([Object(h.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(y.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(L.__)("Publishing…"):t&&r&&!c?Object(L.__)("Updating…"):n&&r&&!c?Object(L.__)("Scheduling…"):i?t?Object(L.__)("Update"):n?Object(L.__)("Schedule"):Object(L.__)("Publish"):Object(L.__)("Submit for Review")}),Ii=function(e){function t(e){var n;return Object(ao.a)(this,t),(n=Object(uo.a)(this,Object(lo.a)(t).call(this,e))).buttonNode=Object(eo.createRef)(),n}return Object(po.a)(t,e),Object(so.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,p=t.isSaving,b=t.isToggle,f=t.onSave,h=t.onStatusChange,m=t.onSubmit,v=void 0===m?y.noop:m,O=t.onToggle,g=t.visibility,j=p||r||!l||a||!s&&!n,_=u||p||r||!l||!s&&!n;e=o?i?"future":"private"===g?"private":"publish":"pending";var k={"aria-disabled":j,className:"editor-post-publish-button",isBusy:p&&u,isPrimary:!0,onClick:function(){j||(v(),h(e),f())}},E={"aria-disabled":_,"aria-expanded":c,className:"editor-post-publish-panel__toggle",isBusy:p&&u,isPrimary:!0,onClick:function(){_||O()}},w=i?Object(L.__)("Schedule…"):Object(L.__)("Publish…"),S=Object(eo.createElement)(Bi,{forceIsSaving:r}),P=b?E:k,C=b?w:S;return Object(eo.createElement)("div",null,Object(eo.createElement)(Po.Button,Object(ci.a)({ref:this.buttonNode},P),C),Object(eo.createElement)(d.DotTip,{tipId:"core/editor.publish"},Object(L.__)("Finished writing? That’s great, let’s get this published right now. Just click “Publish” and you’re good to go.")))}}]),t}(eo.Component),Ai=Object(bo.compose)([Object(h.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(y.get)(u(),["_links","wp:action-publish"],!1),postType:l()}}),Object(h.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost;return{onStatusChange:function(e){return n({status:e},{undoIgnore:!0})},onSave:t.savePost}})])(Ii),Li=[{value:"public",label:Object(L.__)("Public"),info:Object(L.__)("Visible to everyone.")},{value:"private",label:Object(L.__)("Private"),info:Object(L.__)("Only visible to site admins and editors.")},{value:"password",label:Object(L.__)("Password Protected"),info:Object(L.__)("Protected with a password you choose. Only those with the password can view this post.")}],Ri=function(e){function t(e){var n;return Object(ao.a)(this,t),(n=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).setPublic=n.setPublic.bind(Object(So.a)(n)),n.setPrivate=n.setPrivate.bind(Object(So.a)(n)),n.setPasswordProtected=n.setPasswordProtected.bind(Object(So.a)(n)),n.updatePassword=n.updatePassword.bind(Object(So.a)(n)),n.state={hasPassword:!!e.password},n}return Object(po.a)(t,e),Object(so.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(L.__)("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(eo.createElement)("fieldset",{key:"visibility-selector",className:"editor-post-visibility__dialog-fieldset"},Object(eo.createElement)("legend",{className:"editor-post-visibility__dialog-legend"},Object(L.__)("Post Visibility")),Li.map(function(e){var t=e.value,n=e.label,i=e.info;return Object(eo.createElement)("div",{key:t,className:"editor-post-visibility__choice"},Object(eo.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(eo.createElement)("label",{htmlFor:"editor-post-".concat(t,"-").concat(r),className:"editor-post-visibility__dialog-label"},n),Object(eo.createElement)("p",{id:"editor-post-".concat(t,"-").concat(r,"-description"),className:"editor-post-visibility__dialog-info"},i))})),this.state.hasPassword&&Object(eo.createElement)("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},Object(eo.createElement)("label",{htmlFor:"editor-post-visibility__dialog-password-input-".concat(r),className:"screen-reader-text"},Object(L.__)("Create password")),Object(eo.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(L.__)("Use a secure password")}))]}}]),t}(eo.Component),Ni=Object(bo.compose)([Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditedPostVisibility;return{status:n("status"),visibility:r(),password:n("password")}}),Object(h.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})}}}),bo.withInstanceId])(Ri);var Di=Object(h.withSelect)(function(e){return{visibility:e("core/editor").getEditedPostVisibility()}})(function(e){var t=e.visibility;return Object(y.find)(Li,{value:t}).label});var Ui=Object(bo.compose)([Object(h.withSelect)(function(e){return{date:e("core/editor").getEditedPostAttribute("date")}}),Object(h.withDispatch)(function(e){return{onUpdateDate:function(t){e("core/editor").editPost({date:t})}}})])(function(e){var t=e.date,n=e.onUpdateDate,r=Object(Ut.__experimentalGetSettings)(),o=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return Object(eo.createElement)(Po.DateTimePicker,{key:"date-time-picker",currentDate:t,onChange:n,is12Hour:o})});var Fi=Object(h.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(Ut.__experimentalGetSettings)();return t&&!n?Object(Ut.dateI18n)("".concat(r.formats.date," ").concat(r.formats.time),t):Object(L.__)("Immediately")}),Mi={per_page:-1,orderby:"count",order:"desc",_fields:"id,name"},Vi=function(e,t){return e.toLowerCase()===t.toLowerCase()},Hi=function(e){return Object(f.a)({},e,{name:Object(y.unescape)(e.name)})},Wi=function(e){return Object(y.map)(e,Hi)},zi=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(So.a)(e)),e.searchTerms=Object(y.throttle)(e.searchTerms.bind(Object(So.a)(e)),500),e.findOrCreateTerm=e.findOrCreateTerm.bind(Object(So.a)(e)),e.state={loading:!Object(y.isEmpty)(e.props.terms),availableTerms:[],selectedTerms:[]},e}return Object(po.a)(t,e),Object(so.a)(t,[{key:"componentDidMount",value:function(){var e=this;Object(y.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(y.invoke)(this.initRequest,["abort"]),Object(y.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(f.a)({},Mi,t),o=A()({path:Object(Ft.addQueryArgs)("/wp/v2/".concat(n.rest_base),r)});return o.then(Wi).then(function(t){e.setState(function(e){return{availableTerms:e.availableTerms.concat(t.filter(function(t){return!Object(y.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]:[]).reduce(function(t,n){var r=Object(y.find)(e.state.availableTerms,function(e){return e.id===n});return r&&t.push(r.name),t},[]);this.setState({selectedTerms:t})}},{key:"findOrCreateTerm",value:function(e){var t=this,n=this.props.taxonomy,r=Object(y.escape)(e);return A()({path:"/wp/v2/".concat(n.rest_base),method:"POST",data:{name:r}}).catch(function(o){return"term_exists"===o.code?(t.addRequest=A()({path:Object(Ft.addQueryArgs)("/wp/v2/".concat(n.rest_base),Object(f.a)({},Mi,{search:r}))}).then(Wi),t.addRequest.then(function(t){return Object(y.find)(t,function(t){return Vi(t.name,e)})})):Promise.reject(o)}).then(Hi)}},{key:"onChange",value:function(e){var t=this,n=Object(y.uniqBy)(e,function(e){return e.toLowerCase()});this.setState({selectedTerms:n});var r=n.filter(function(e){return!Object(y.find)(t.state.availableTerms,function(t){return Vi(t.name,e)})}),o=function(e,t){return e.map(function(e){return Object(y.find)(t,function(t){return Vi(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(y.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(y.get)(n,["labels","add_new_item"],"post_tag"===t?Object(L.__)("Add New Tag"):Object(L.__)("Add New Term")),u=Object(y.get)(n,["labels","singular_name"],"post_tag"===t?Object(L.__)("Tag"):Object(L.__)("Term")),l=Object(L.sprintf)(Object(L._x)("%s added","term"),u),d=Object(L.sprintf)(Object(L._x)("%s removed","term"),u),p=Object(L.sprintf)(Object(L._x)("Remove %s","term"),u);return Object(eo.createElement)(Po.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}(eo.Component),Ki=Object(bo.compose)(Object(h.withSelect)(function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(y.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(y.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}}),Object(h.withDispatch)(function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(v.a)({},n,t))}}}),Object(Po.withFilters)("editor.PostTaxonomyType"))(zi),Gi=function(){var e=[Object(L.__)("Suggestion:"),Object(eo.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(L.__)("Add tags"))];return Object(eo.createElement)(Po.PanelBody,{initialOpen:!1,title:e},Object(eo.createElement)("p",null,Object(L.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),Object(eo.createElement)(Ki,{slug:"post_tag"}))},qi=function(e){function t(e){var n;return Object(ao.a)(this,t),(n=Object(uo.a)(this,Object(lo.a)(t).call(this,e))).state={hadTagsWhenOpeningThePanel:e.hasTags},n}return Object(po.a)(t,e),Object(so.a)(t,[{key:"render",value:function(){return this.state.hadTagsWhenOpeningThePanel?null:Object(eo.createElement)(Gi,null)}}]),t}(eo.Component),Yi=Object(bo.compose)(Object(h.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(y.some)(n.types,function(e){return e===t}),hasTags:r&&r.length}}),Object(bo.ifCondition)(function(e){var t=e.areTagsFetched;return e.isPostTypeSupported&&t}))(qi),Qi=function(e){var t=e.suggestedPostFormat,n=e.suggestionText,r=e.onUpdatePostFormat;return Object(eo.createElement)(Po.Button,{isLink:!0,onClick:function(){return r(t)}},n)},Xi=function(e,t){var n=Oi.filter(function(t){return Object(y.includes)(e,t.id)});return Object(y.find)(n,function(e){return e.id===t})},$i=Object(bo.compose)(Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getSuggestedPostFormat,o=Object(y.get)(e("core").getThemeSupports(),["formats"],[]);return{currentPostFormat:n("format"),suggestion:Xi(o,r())}}),Object(h.withDispatch)(function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}}),Object(bo.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(L.__)("Suggestion:"),Object(eo.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(L.__)("Use a post format"))];return Object(eo.createElement)(Po.PanelBody,{initialOpen:!1,title:r},Object(eo.createElement)("p",null,Object(L.__)("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(eo.createElement)("p",null,Object(eo.createElement)(Qi,{onUpdatePostFormat:n,suggestedPostFormat:t.id,suggestionText:Object(L.sprintf)(Object(L.__)('Apply the "%1$s" format.'),t.caption)})))});var Zi=Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.isEditedPostBeingScheduled;return{hasPublishAction:Object(y.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(L.__)("Are you ready to schedule?"),n=Object(L.__)("Your work will be published at the specified date and time.")):(t=Object(L.__)("Are you ready to publish?"),n=Object(L.__)("Double-check your settings before publishing.")):(t=Object(L.__)("Are you ready to submit for review?"),n=Object(L.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),Object(eo.createElement)("div",{className:"editor-post-publish-panel__prepublish"},Object(eo.createElement)("div",null,Object(eo.createElement)("strong",null,t)),Object(eo.createElement)("p",null,n),r&&Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)(Po.PanelBody,{initialOpen:!1,title:[Object(L.__)("Visibility:"),Object(eo.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(eo.createElement)(Di,null))]},Object(eo.createElement)(Ni,null)),Object(eo.createElement)(Po.PanelBody,{initialOpen:!1,title:[Object(L.__)("Publish:"),Object(eo.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(eo.createElement)(Fi,null))]},Object(eo.createElement)(Ui,null))),Object(eo.createElement)($i,null),Object(eo.createElement)(Yi,null),i)}),Ji=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).state={showCopyConfirmation:!1},e.onCopy=e.onCopy.bind(Object(So.a)(e)),e.onSelectInput=e.onSelectInput.bind(Object(So.a)(e)),e.postLink=Object(eo.createRef)(),e}return Object(po.a)(t,e),Object(so.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(y.get)(o,["labels","singular_name"]),c=Object(y.get)(o,["labels","view_item"]),a=n?Object(eo.createElement)(eo.Fragment,null,Object(L.__)("is now scheduled. It will go live on")," ",Object(eo.createElement)(Fi,null),"."):Object(L.__)("is now live.");return Object(eo.createElement)("div",{className:"post-publish-panel__postpublish"},Object(eo.createElement)(Po.PanelBody,{className:"post-publish-panel__postpublish-header"},Object(eo.createElement)("a",{ref:this.postLink,href:r.link},r.title||Object(L.__)("(no title)"))," ",a),Object(eo.createElement)(Po.PanelBody,null,Object(eo.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},Object(eo.createElement)("strong",null,Object(L.__)("What’s next?"))),Object(eo.createElement)(Po.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:Object(L.sprintf)(Object(L.__)("%s address"),i),value:Object(Ft.safeDecodeURIComponent)(r.link),onFocus:this.onSelectInput}),Object(eo.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!n&&Object(eo.createElement)(Po.Button,{isDefault:!0,href:r.link},c),Object(eo.createElement)(Po.ClipboardButton,{isDefault:!0,text:r.link,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(L.__)("Copied!"):Object(L.__)("Copy Link")))),t)}}]),t}(eo.Component),ec=Object(h.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()}})(Ji),tc=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).onSubmit=e.onSubmit.bind(Object(So.a)(e)),e}return Object(po.a)(t,e),Object(so.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(Do.a)(e,["forceIsDirty","forceIsSaving","isBeingScheduled","isPublished","isPublishSidebarEnabled","isScheduled","isSaving","onClose","onTogglePublishSidebar","PostPublishExtension","PrePublishExtension"]),b=Object(y.omit)(p,["hasPublishAction","isDirty","isPostTypeViewable"]),f=o||c&&r,h=!f&&!a,m=f&&!a;return Object(eo.createElement)("div",Object(ci.a)({className:"editor-post-publish-panel"},b),Object(eo.createElement)("div",{className:"editor-post-publish-panel__header"},m?Object(eo.createElement)("div",{className:"editor-post-publish-panel__header-published"},c?Object(L.__)("Scheduled"):Object(L.__)("Published")):Object(eo.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},Object(eo.createElement)(Ai,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:t,forceIsSaving:n}),Object(eo.createElement)("span",{className:"editor-post-publish-panel__spacer"})),Object(eo.createElement)(Po.IconButton,{"aria-expanded":!0,onClick:s,icon:"no-alt",label:Object(L.__)("Close panel")})),Object(eo.createElement)("div",{className:"editor-post-publish-panel__content"},h&&Object(eo.createElement)(Zi,null,d&&Object(eo.createElement)(d,null)),m&&Object(eo.createElement)(ec,{focusOnMount:!0},l&&Object(eo.createElement)(l,null)),a&&Object(eo.createElement)(Po.Spinner,null)),Object(eo.createElement)("div",{className:"editor-post-publish-panel__footer"},Object(eo.createElement)(Po.CheckboxControl,{label:Object(L.__)("Always show pre-publish checks."),checked:i,onChange:u})))}}]),t}(eo.Component),nc=Object(bo.compose)([Object(h.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(y.get)(r(),["_links","wp:action-publish"],!1),isPostTypeViewable:Object(y.get)(d,["viewable"],!1),isBeingScheduled:a(),isDirty:s(),isPublished:i(),isPublishSidebarEnabled:l(),isSaving:u(),isScheduled:c()}}),Object(h.withDispatch)(function(e,t){var n=t.isPublishSidebarEnabled,r=e("core/editor"),o=r.disablePublishSidebar,i=r.enablePublishSidebar;return{onTogglePublishSidebar:function(){n?o():i()}}}),Po.withFocusReturn,Po.withConstrainedTabbing])(tc);var rc=Object(bo.compose)([Object(h.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(h.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost,r=t.savePost;return{onClick:function(){n({status:"draft"}),r()}}}),Object(b.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(eo.createElement)(Po.Button,{className:"editor-post-switch-to-draft",onClick:function(){var e;n?e=Object(L.__)("Are you sure you want to unpublish this post?"):r&&(e=Object(L.__)("Are you sure you want to unschedule this post?")),window.confirm(e)&&o()},disabled:t,isTertiary:!0},i?Object(L.__)("Draft"):Object(L.__)("Switch to Draft")):null}),oc=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).state={forceSavedMessage:!1},e}return Object(po.a)(t,e),Object(so.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=vo()("editor-post-saved-state","is-saving",{"is-autosaving":u});return Object(eo.createElement)(Po.Animate,{type:"loading"},function(e){var t=e.className;return Object(eo.createElement)("span",{className:vo()(b,t)},Object(eo.createElement)(Po.Dashicon,{icon:"cloud"}),u?Object(L.__)("Autosaving"):Object(L.__)("Saving"))})}if(o||r)return Object(eo.createElement)(rc,null);if(!a)return null;if(p||!n&&!i)return Object(eo.createElement)("span",{className:"editor-post-saved-state is-saved"},Object(eo.createElement)(Po.Dashicon,{icon:"saved"}),Object(L.__)("Saved"));if(!Object(y.get)(t,["_links","wp:action-publish"],!1)&&l)return null;var f=l?Object(L.__)("Save as Pending"):Object(L.__)("Save Draft");return d?Object(eo.createElement)(Po.Button,{className:"editor-post-save-draft",onClick:function(){return s()},shortcut:Co.displayShortcut.primary("s"),isTertiary:!0},f):Object(eo.createElement)(Po.IconButton,{className:"editor-post-save-draft",label:f,onClick:function(){return s()},shortcut:Co.displayShortcut.primary("s"),icon:"cloud-upload"})}}]),t}(eo.Component),ic=Object(bo.compose)([Object(h.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(h.withDispatch)(function(e){return{onSave:e("core/editor").savePost}}),bo.withSafeTimeout,Object(b.withViewportMatch)({isLargeViewport:"small"})])(oc);var cc=Object(bo.compose)([Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(y.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(e){var t=e.hasPublishAction,n=e.children;return t?n:null});var ac=Object(bo.compose)([Object(h.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{hasStickyAction:Object(y.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 sc=Object(bo.compose)([Object(h.withSelect)(function(e){return{postSticky:e("core/editor").getEditedPostAttribute("sticky")}}),Object(h.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(eo.createElement)(ac,null,Object(eo.createElement)(Po.CheckboxControl,{label:Object(L.__)("Stick to the top of the blog"),checked:r,onChange:function(){return t(!r)}}))}),uc={per_page:-1,orderby:"name",order:"asc",_fields:"id,name,parent"},lc=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).findTerm=e.findTerm.bind(Object(So.a)(e)),e.onChange=e.onChange.bind(Object(So.a)(e)),e.onChangeFormName=e.onChangeFormName.bind(Object(So.a)(e)),e.onChangeFormParent=e.onChangeFormParent.bind(Object(So.a)(e)),e.onAddTerm=e.onAddTerm.bind(Object(So.a)(e)),e.onToggleForm=e.onToggleForm.bind(Object(So.a)(e)),e.setFilterValue=e.setFilterValue.bind(Object(So.a)(e)),e.sortBySelected=e.sortBySelected.bind(Object(So.a)(e)),e.state={loading:!0,availableTermsTree:[],availableTerms:[],adding:!1,formName:"",formParent:"",showForm:!1,filterValue:"",filteredTermsTree:[]},e}return Object(po.a)(t,e),Object(so.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(y.without)(o,e):[].concat(Object(N.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(y.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 p=this.findTerm(d,u,s);if(p)return Object(y.some)(i,function(e){return e===p.id})||r([].concat(Object(N.a)(i),[p.id]),o.rest_base),void this.setState({formName:"",formParent:""});this.setState({adding:!0}),this.addRequest=A()({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=A()({path:Object(Ft.addQueryArgs)("/wp/v2/".concat(o.rest_base),Object(f.a)({},uc,{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(y.find)(t.state.availableTerms,function(t){return t.id===e.id})?t.state.availableTerms:[e].concat(Object(N.a)(t.state.availableTerms)),a=Object(L.sprintf)(Object(L._x)("%s added","term"),Object(y.get)(t.props.taxonomy,["labels","singular_name"],"category"===c?Object(L.__)("Category"):Object(L.__)("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(N.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(y.invoke)(this.fetchRequest,["abort"]),Object(y.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=A()({path:Object(Ft.addQueryArgs)("/wp/v2/".concat(t.rest_base),uc)}),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(eo.createElement)("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},Object(eo.createElement)(Po.CheckboxControl,{checked:-1!==r.indexOf(e.id),onChange:function(){var n=parseInt(e.id,10);t.onChange(n)},label:Object(y.unescape)(e.name)}),!!e.children.length&&Object(eo.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(y.get)(n,["labels",e],"category"===t?r:o)},h=f("add_new_item",Object(L.__)("Add new category"),Object(L.__)("Add new term")),m=f("new_item_name",Object(L.__)("Add new category"),Object(L.__)("Add new term")),v=f("parent_item",Object(L.__)("Parent Category"),Object(L.__)("Parent Term")),O="— ".concat(v," —"),g=h,j="editor-post-taxonomies__hierarchical-terms-input-".concat(r),_="editor-post-taxonomies__hierarchical-terms-filter-".concat(r),k=Object(y.get)(this.props.taxonomy,["labels","search_items"],Object(L.__)("Search Terms")),E=Object(y.get)(this.props.taxonomy,["name"],Object(L.__)("Terms")),w=a.length>=8;return[w&&Object(eo.createElement)("label",{key:"filter-label",htmlFor:_},k),w&&Object(eo.createElement)("input",{type:"search",id:_,value:b,onChange:this.setFilterValue,className:"editor-post-taxonomies__hierarchical-terms-filter",key:"term-filter-input"}),Object(eo.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(eo.createElement)(Po.Button,{key:"term-add-button",onClick:this.onToggleForm,className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":p,isLink:!0},h),p&&Object(eo.createElement)("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},Object(eo.createElement)("label",{htmlFor:j,className:"editor-post-taxonomies__hierarchical-terms-label"},m),Object(eo.createElement)("input",{type:"text",id:j,className:"editor-post-taxonomies__hierarchical-terms-input",value:u,onChange:this.onChangeFormName,required:!0}),!!a.length&&Object(eo.createElement)(Po.TreeSelect,{label:v,noOptionLabel:O,onChange:this.onChangeFormParent,selectedId:l,tree:c}),Object(eo.createElement)(Po.Button,{isDefault:!0,type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},g))]}}]),t}(eo.Component),dc=Object(bo.compose)([Object(h.withSelect)(function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(y.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(y.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}}),Object(h.withDispatch)(function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(v.a)({},n,t))}}}),Po.withSpokenMessages,bo.withInstanceId,Object(Po.withFilters)("editor.PostTaxonomyType")])(lc);var pc=Object(bo.compose)([Object(h.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?y.identity:r,i=Object(y.filter)(n,function(e){return Object(y.includes)(e.types,t)});return Object(y.filter)(i,function(e){return e.visibility.show_ui}).map(function(e){var t=e.hierarchical?dc:Ki;return Object(eo.createElement)(eo.Fragment,{key:"taxonomy-".concat(e.slug)},o(Object(eo.createElement)(t,{slug:e.slug}),e))})});var bc=Object(bo.compose)([Object(h.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(y.some)(n,function(e){return Object(y.includes)(e.types,t)})?r:null}),fc=n(64),hc=n.n(fc),mc=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).edit=e.edit.bind(Object(So.a)(e)),e.stopEditing=e.stopEditing.bind(Object(So.a)(e)),e.state={},e}return Object(po.a)(t,e),Object(so.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(eo.createElement)(eo.Fragment,null,Object(eo.createElement)("label",{htmlFor:"post-content-".concat(t),className:"screen-reader-text"},Object(L.__)("Type text or HTML")),Object(eo.createElement)(hc.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(L.__)("Start writing with text or HTML")}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return t.isDirty?null:{value:e.value,isDirty:!1}}}]),t}(eo.Component),vc=Object(bo.compose)([Object(h.withSelect)(function(e){return{value:(0,e("core/editor").getEditedPostContent)()}}),Object(h.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(l.parse)(e);r(t)}}}),bo.withInstanceId])(mc),Oc=function(e){function t(e){var n,r=e.permalinkParts,o=e.slug;return Object(ao.a)(this,t),(n=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).state={editedPostName:o||r.postName},n.onSavePermalink=n.onSavePermalink.bind(Object(So.a)(n)),n}return Object(po.a)(t,e),Object(so.a)(t,[{key:"onSavePermalink",value:function(e){var t=_i(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(eo.createElement)("form",{className:"editor-post-permalink-editor",onSubmit:this.onSavePermalink},Object(eo.createElement)("span",{className:"editor-post-permalink__editor-container"},Object(eo.createElement)("span",{className:"editor-post-permalink-editor__prefix"},n),Object(eo.createElement)("input",{className:"editor-post-permalink-editor__edit","aria-label":Object(L.__)("Edit post permalink"),value:o,onChange:function(t){return e.setState({editedPostName:t.target.value})},type:"text",autoFocus:!0}),Object(eo.createElement)("span",{className:"editor-post-permalink-editor__suffix"},r),"‎"),Object(eo.createElement)(Po.Button,{className:"editor-post-permalink-editor__save",isLarge:!0,onClick:this.onSavePermalink},Object(L.__)("Save")))}}]),t}(eo.Component),gc=Object(bo.compose)([Object(h.withSelect)(function(e){return{permalinkParts:(0,e("core/editor").getPermalinkParts)()}}),Object(h.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(Oc),jc=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).addVisibilityCheck=e.addVisibilityCheck.bind(Object(So.a)(e)),e.onVisibilityChange=e.onVisibilityChange.bind(Object(So.a)(e)),e.state={isCopied:!1,isEditingPermalink:!1},e}return Object(po.a)(t,e),Object(so.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(L.__)("Permalink copied"):Object(L.__)("Copy the permalink"),h=c.prefix,m=c.suffix,v=Object(Ft.safeDecodeURIComponent)(s)||_i(l)||u,O=n?h+v+m:h;return Object(eo.createElement)("div",{className:"editor-post-permalink"},Object(eo.createElement)(Po.ClipboardButton,{className:vo()("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(eo.createElement)("span",{className:"editor-post-permalink__label"},Object(L.__)("Permalink:")),!b&&Object(eo.createElement)(Po.ExternalLink,{className:"editor-post-permalink__link",href:o?O:a,target:"_blank",ref:function(t){return e.linkElement=t}},Object(Ft.safeDecodeURI)(O),"‎"),b&&Object(eo.createElement)(gc,{slug:v,onSave:function(){return e.setState({isEditingPermalink:!1})}}),n&&!b&&Object(eo.createElement)(Po.Button,{className:"editor-post-permalink__edit",isLarge:!0,onClick:function(){return e.setState({isEditingPermalink:!0})}},Object(L.__)("Edit")))}}]),t}(eo.Component),yc=Object(bo.compose)([Object(h.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(y.get)(p,["viewable"],!1)}}),Object(h.withDispatch)(function(e){return{refreshPost:e("core/editor").refreshPost}})])(jc),_c=/[\r\n]+/g,kc=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(So.a)(e)),e.onSelect=e.onSelect.bind(Object(So.a)(e)),e.onUnselect=e.onUnselect.bind(Object(So.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(So.a)(e)),e.redirectHistory=e.redirectHistory.bind(Object(So.a)(e)),e.state={isSelected:!1},e}return Object(po.a)(t,e),Object(so.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(_c," ");this.props.onUpdate(t)}},{key:"onKeyDown",value:function(e){e.keyCode===Co.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=vo()("wp-block editor-post-title__block",{"is-selected":s,"is-focus-mode":r,"has-fixed-toolbar":t}),l=Object(ei.decodeEntities)(c);return Object(eo.createElement)(Go,{supportKeys:"title"},Object(eo.createElement)("div",{className:"editor-post-title"},Object(eo.createElement)("div",{className:u},Object(eo.createElement)(Po.KeyboardShortcuts,{shortcuts:{"mod+z":this.redirectHistory,"mod+shift+z":this.redirectHistory}},Object(eo.createElement)("label",{htmlFor:"post-title-".concat(i),className:"screen-reader-text"},l||Object(L.__)("Add title")),Object(eo.createElement)(hc.a,{id:"post-title-".concat(i),className:"editor-post-title__input",value:a,onChange:this.onChange,placeholder:l||Object(L.__)("Add title"),onFocus:this.onSelect,onKeyDown:this.onKeyDown,onKeyPress:this.onUnselect,autoFocus:document.body===document.activeElement&&n})),s&&o&&Object(eo.createElement)(yc,null))))}}]),t}(eo.Component),Ec=Object(h.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(y.get)(i,["viewable"],!1),placeholder:a,isFocusMode:s,hasFixedToolbar:u}}),wc=Object(h.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}}),Sc=Object(bo.compose)(Ec,wc,bo.withInstanceId,Po.withFocusOutside)(kc);var Pc=Object(bo.compose)([Object(h.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(h.withDispatch)(function(e){return{trashPost:e("core/editor").trashPost}})])(function(e){var t=e.isNew,n=e.postId,r=e.postType,o=Object(Do.a)(e,["isNew","postId","postType"]);return t||!n?null:Object(eo.createElement)(Po.Button,{className:"editor-post-trash button-link-delete",onClick:function(){return o.trashPost(n,r)},isDefault:!0,isLarge:!0},Object(L.__)("Move to Trash"))});var Cc=Object(h.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 Tc=Object(bo.compose)([Object(h.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(y.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(e){var t=e.hasPublishAction;return(0,e.render)({canEdit:t})}),xc=n(104);var Bc=Object(h.withSelect)(function(e){return{content:e("core/editor").getEditedPostAttribute("content")}})(function(e){var t=e.content,n=Object(L._x)("words","Word count type. Do not translate!");return Object(eo.createElement)("span",{className:"word-count"},Object(xc.count)(t,n))});var Ic=Object(h.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(eo.createElement)(eo.Fragment,null,Object(eo.createElement)("div",{className:"table-of-contents__wrapper",role:"note","aria-label":Object(L.__)("Document Statistics"),tabIndex:"0"},Object(eo.createElement)("ul",{role:"list",className:"table-of-contents__counts"},Object(eo.createElement)("li",{className:"table-of-contents__count"},Object(L.__)("Words"),Object(eo.createElement)(Bc,null)),Object(eo.createElement)("li",{className:"table-of-contents__count"},Object(L.__)("Headings"),Object(eo.createElement)("span",{className:"table-of-contents__number"},t)),Object(eo.createElement)("li",{className:"table-of-contents__count"},Object(L.__)("Paragraphs"),Object(eo.createElement)("span",{className:"table-of-contents__number"},n)),Object(eo.createElement)("li",{className:"table-of-contents__count"},Object(L.__)("Blocks"),Object(eo.createElement)("span",{className:"table-of-contents__number"},r)))),t>0&&Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)("hr",null),Object(eo.createElement)("h2",{className:"table-of-contents__title"},Object(L.__)("Document Outline")),Object(eo.createElement)(Eo,{onSelect:i,hasOutlineItemsDisabled:o})))});var Ac=Object(h.withSelect)(function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}})(function(e){var t=e.hasBlocks,n=e.hasOutlineItemsDisabled;return Object(eo.createElement)(Po.Dropdown,{position:"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(eo.createElement)(Po.IconButton,{onClick:t?r:void 0,icon:"info-outline","aria-expanded":n,label:Object(L.__)("Content structure"),labelPosition:"bottom","aria-disabled":!t})},renderContent:function(e){var t=e.onClose;return Object(eo.createElement)(Ic,{onRequestClose:t,hasOutlineItemsDisabled:n})}})}),Lc=function(e){function t(){var e;return Object(ao.a)(this,t),(e=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).warnIfUnsavedChanges=e.warnIfUnsavedChanges.bind(Object(So.a)(e)),e}return Object(po.a)(t,e),Object(so.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(this.props.isDirty)return e.returnValue=Object(L.__)("You have unsaved changes. If you proceed, they will be lost."),e.returnValue}},{key:"render",value:function(){return null}}]),t}(eo.Component),Rc=Object(h.withSelect)(function(e){return{isDirty:e("core/editor").isEditedPostDirty()}})(Lc),Nc=Object(bo.createHigherOrderComponent)(function(e){return Object(h.withRegistry)(function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,i=Object(Do.a)(t,["useSubRegistry","registry"]);if(!r)return Object(eo.createElement)(e,i);var c=Object(eo.useState)(null),a=Object(R.a)(c,2),s=a[0],l=a[1];return Object(eo.useEffect)(function(){var e=Object(h.createRegistry)({"core/block-editor":u.storeConfig},o),t=e.registerStore("core/editor",$r);Xr(t),l(e)},[o]),s?Object(eo.createElement)(h.RegistryProvider,{value:s},Object(eo.createElement)(e,i)):null})},"withRegistryProvider"),Dc=n(106),Uc=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?y.noop:c,s=e.onFileChange,u=Object(h.select)("core/editor"),l=u.getCurrentPostId,d=u.getEditorSettings,p=d().allowedMimeTypes;i=i||d().maxUploadFileSize,Object(Dc.uploadMedia)({allowedTypes:r,filesList:o,onFileChange:s,additionalData:Object(f.a)({post:l()},n),maxUploadFileSize:i,onError:function(e){var t=e.message;return a(t)},wpAllowedMimeTypes:p})};var Fc=Object(bo.compose)([Object(h.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,s=o(n),u=1===s.length&&s[0]&&Object(l.isReusableBlock)(s[0])&&!!c(s[0].attributes.ref);return{isReusable:u,isVisible:u||i("core/block")&&Object(y.every)(s,function(e){return!!e&&e.isValid&&Object(l.hasBlockSupport)(e.name,"reusable",!0)})&&!!a("create","blocks")}}),Object(h.withDispatch)(function(e,t){var n=t.clientIds,r=t.onToggle,o=void 0===r?y.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(eo.createElement)(eo.Fragment,null,!n&&Object(eo.createElement)(Po.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:o},Object(L.__)("Add to Reusable Blocks")),n&&Object(eo.createElement)(Po.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:r},Object(L.__)("Convert to Regular Block"))):null});var Mc=Object(bo.compose)([Object(h.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(l.isReusableBlock)(c)?i(c.attributes.ref):null;return{isVisible:!!a&&!!o("delete","blocks",a.id),isDisabled:a&&a.isTemporary}}),Object(h.withDispatch)(function(e,t,n){var r=t.clientId,o=t.onToggle,i=void 0===o?y.noop:o,c=n.select,a=e("core/editor").__experimentalDeleteReusableBlock,s=c("core/block-editor").getBlock;return{onDelete:function(){if(window.confirm(Object(L.__)("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(eo.createElement)(Po.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"no",disabled:n,onClick:function(){return r()}},Object(L.__)("Remove from Reusable Blocks")):null});var Vc=Object(h.withSelect)(function(e){return{clientIds:(0,e("core/block-editor").getSelectedBlockClientIds)()}})(function(e){var t=e.clientIds;return Object(eo.createElement)(u.__experimentalBlockSettingsMenuPluginsExtension,null,function(e){var n=e.onClose;return Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)(Fc,{clientIds:t,onToggle:n}),1===t.length&&Object(eo.createElement)(Mc,{clientId:t[0],onToggle:n}))})}),Hc=Object(eo.createElement)(Po.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(eo.createElement)(Po.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(eo.createElement)(Po.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"})),Wc=Object(eo.createElement)(Po.Icon,{icon:Hc}),zc=Object(eo.createElement)(Po.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(eo.createElement)(Po.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(eo.createElement)(Po.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"})),Kc=Object(eo.createElement)(Po.Icon,{icon:zc});var Gc=Object(bo.compose)([Object(h.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(h.withDispatch)(function(e,t){var n=t.clientIds,r=t.onToggle,o=void 0===r?y.noop:r,i=t.blocksSelection,c=void 0===i?[]:i,a=t.groupingBlockName,s=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(c.length){var e=Object(l.switchToBlockType)(c,a);e&&s(n,e),o()}},onConvertFromGroup:function(){if(c.length){var e=c[0].innerBlocks;e.length&&(s(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(eo.createElement)(eo.Fragment,null,o&&Object(eo.createElement)(Po.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:Wc,onClick:t},Object(L._x)("Group","verb")),c&&Object(eo.createElement)(Po.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:Kc,onClick:n},Object(L._x)("Ungroup","Ungrouping blocks from within a Group block back into individual blocks within the Editor ")))});var qc=Object(h.withSelect)(function(e){return{clientIds:(0,e("core/block-editor").getSelectedBlockClientIds)()}})(function(e){var t=e.clientIds;return Object(eo.createElement)(u.__experimentalBlockSettingsMenuPluginsExtension,null,function(e){var n=e.onClose;return Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)(Gc,{clientIds:t,onToggle:n}))})}),Yc=Object(h.combineReducers)({downloadableBlocks:function(){var e=arguments.length>0&&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(f.a)({},e,{isRequestingDownloadableBlocks:!0});case"RECEIVE_DOWNLOADABLE_BLOCKS":return Object(f.a)({},e,{results:Object.assign({},e.results,Object(v.a)({},t.filterValue,t.downloadableBlocks)),hasPermission:!0,isRequestingDownloadableBlocks:!1});case"SET_INSTALL_BLOCKS_PERMISSION":return Object(f.a)({},e,{items:t.hasPermission?e.items:[],hasPermission:t.hasPermission});case"ADD_INSTALLED_BLOCK_TYPE":return Object(f.a)({},e,{installedBlockTypes:[].concat(Object(N.a)(e.installedBlockTypes),[t.item])});case"REMOVE_INSTALLED_BLOCK_TYPE":return Object(f.a)({},e,{installedBlockTypes:e.installedBlockTypes.filter(function(e){return e.name!==t.item.name})})}return e}});function Qc(e){return e.downloadableBlocks.isRequestingDownloadableBlocks}function Xc(e,t){return e.downloadableBlocks.results[t]?e.downloadableBlocks.results[t]:[]}function $c(e){return e.downloadableBlocks.hasPermission}function Zc(e){return Object(y.get)(e,["downloadableBlocks","installedBlockTypes"],[])}var Jc=x.a.mark(ra);function ea(e){return{type:"API_FETCH",request:e}}var ta=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)}},na=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 ra(e){return x.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()}},Jc)}var oa={SELECT:Object(h.createRegistryControl)(function(e){return function(t){var n,r=t.storeName,o=t.selectorName,i=t.args;return(n=e.select(r))[o].apply(n,Object(N.a)(i))}}),DISPATCH:Object(h.createRegistryControl)(function(e){return function(t){var n,r=t.storeName,o=t.dispatcherName,i=t.args;return(n=e.dispatch(r))[o].apply(n,Object(N.a)(i))}}),API_FETCH:function(e){var t=e.request;return A()(Object(f.a)({},t))},LOAD_ASSETS:function(e){var t=e.assets;return new Promise(function(e,n){if(Array.isArray(t)){var r=0;Object(y.forEach)(t,function(t){null!==t.match(/\.js$/)?(r++,ta(t,function(){if(0===--r)return e(r)},n)):na(t)})}else ta(t.editor_script,function(){return e(0)},n),na(t.style)})}},ia=x.a.mark(da),ca=x.a.mark(pa),aa=x.a.mark(ba);function sa(){return{type:"FETCH_DOWNLOADABLE_BLOCKS"}}function ua(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}function la(e){return{type:"SET_INSTALL_BLOCKS_PERMISSION",hasPermission:e}}function da(e,t,n){return x.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,ra(e.assets);case 5:if(!Object(l.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()}},ia,null,[[0,13]])}function pa(e,t,n){var r,o,i;return x.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return r=e.id,o=e.name,c.prev=1,c.next=4,ea({path:"__experimental/block-directory/install",data:{slug:r},method:"POST"});case 4:if(!1!==(i=c.sent).success){c.next=7;break}throw new Error(i.errorMessage);case 7:return c.next=9,fa({id:r,name:o});case 9:t(),c.next=15;break;case 12:c.prev=12,c.t0=c.catch(1),n(c.t0);case 15:case"end":return c.stop()}},ca,null,[[1,12]])}function ba(e,t,n){var r,o,i;return x.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return r=e.id,o=e.name,c.prev=1,c.next=4,ea({path:"__experimental/block-directory/uninstall",data:{slug:r},method:"DELETE"});case 4:if(!1!==(i=c.sent).success){c.next=7;break}throw new Error(i.errorMessage);case 7:return c.next=9,ha({id:r,name:o});case 9:t(),c.next=15;break;case 12:c.prev=12,c.t0=c.catch(1),n(c.t0);case 15:case"end":return c.stop()}},aa,null,[[1,12]])}function fa(e){return{type:"ADD_INSTALLED_BLOCK_TYPE",item:e}}function ha(e){return{type:"REMOVE_INSTALLED_BLOCK_TYPE",item:e}}var ma={reducer:Yc,selectors:a,actions:s,controls:oa,resolvers:{getDownloadableBlocks:x.a.mark(function e(t){var n,r;return x.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,ea({path:"__experimental/block-directory/search?term=".concat(t)});case 7:return n=e.sent,r=n.map(function(e){return Object(y.mapKeys)(e,function(e,t){return Object(y.camelCase)(t)})}),e.next=11,ua(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,la(!1);case 18:case"end":return e.stop()}},e,null,[[2,13]])}),hasInstallBlocksPermission:x.a.mark(function e(){return x.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ea({path:"__experimental/block-directory/search?term="});case 3:return e.next=5,la(!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,la(!1);case 12:case"end":return e.stop()}},e,null,[[0,7]])})}};Object(h.registerStore)("core/block-directory",ma);var va=function(e){var t=e.rating,n=.5*Math.round(t/.5),r=Math.floor(t),o=Math.ceil(t-r),i=5-(r+o);return Object(eo.createElement)("div",{"aria-label":Object(L.sprintf)(Object(L.__)("%s out of 5 stars"),n)},Object(y.times)(r,function(e){return Object(eo.createElement)(Po.Icon,{key:"full_stars_".concat(e),icon:"star-filled",size:16})}),Object(y.times)(o,function(e){return Object(eo.createElement)(Po.Icon,{key:"half_stars_".concat(e),icon:"star-half",size:16})}),Object(y.times)(i,function(e){return Object(eo.createElement)(Po.Icon,{key:"empty_stars_".concat(e),icon:"star-empty",size:16})}))},Oa=function(e){var t=e.rating,n=e.ratingCount;return Object(eo.createElement)("div",{className:"block-directory-block-ratings"},Object(eo.createElement)(va,{rating:t}),Object(eo.createElement)("span",{className:"block-directory-block-ratings__rating-count","aria-label":Object(L.sprintf)(Object(L._n)("%d total rating","%d total ratings",n),n)},"(",n,")"))};var ga=function(e){var t=e.icon,n=e.title,r=e.rating,o=e.ratingCount,i=e.onClick;return Object(eo.createElement)("div",{className:"block-directory-downloadable-block-header__row"},null!==t.match(/\.(jpeg|jpg|gif|png)$/)?Object(eo.createElement)("img",{src:t,alt:"block icon"}):Object(eo.createElement)("span",null,Object(eo.createElement)(u.BlockIcon,{icon:t,showColors:!0})),Object(eo.createElement)("div",{className:"block-directory-downloadable-block-header__column"},Object(eo.createElement)("span",{role:"heading",className:"block-directory-downloadable-block-header__title"},n),Object(eo.createElement)(Oa,{rating:r,ratingCount:o})),Object(eo.createElement)(Po.Button,{isDefault:!0,onClick:function(e){e.preventDefault(),i()}},Object(L.__)("Add")))};var ja=function(e){var t=e.author,n=e.authorBlockCount,r=e.authorBlockRating;return Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)("span",{className:"block-directory-downloadable-block-author-info__content-author"},Object(L.sprintf)(Object(L.__)("Authored by %s"),t)),Object(eo.createElement)("span",{className:"block-directory-downloadable-block-author-info__content"},Object(L.sprintf)(Object(L._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 ya=function(e){var t=e.description,n=e.activeInstalls,r=e.humanizedUpdated;return Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)("p",{className:"block-directory-downloadable-block-info__content"},t),Object(eo.createElement)("div",{className:"block-directory-downloadable-block-info__row"},Object(eo.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(eo.createElement)(Po.Icon,{icon:"chart-line"}),Object(L.sprintf)(Object(L._n)("%d active installation","%d active installations",n),n)),Object(eo.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(eo.createElement)(Po.Icon,{icon:"update"}),Object(eo.createElement)("span",{"aria-label":Object(L.sprintf)(Object(L.__)("Updated %s"),r)},r))))};var _a=function(e){var t=e.item,n=e.onClick,r=t.icon,o=t.title,i=t.description,c=t.rating,a=t.activeInstalls,s=t.ratingCount,u=t.author,l=t.humanizedUpdated,d=t.authorBlockCount,p=t.authorBlockRating;return Object(eo.createElement)("li",{className:"block-directory-downloadable-block-list-item"},Object(eo.createElement)("article",{className:"block-directory-downloadable-block-list-item__panel"},Object(eo.createElement)("header",{className:"block-directory-downloadable-block-list-item__header"},Object(eo.createElement)(ga,{icon:r,onClick:n,title:o,rating:c,ratingCount:s})),Object(eo.createElement)("section",{className:"block-directory-downloadable-block-list-item__body"},Object(eo.createElement)(ya,{activeInstalls:a,description:i,humanizedUpdated:l})),Object(eo.createElement)("footer",{className:"block-directory-downloadable-block-list-item__footer"},Object(eo.createElement)(ja,{author:u,authorBlockCount:d,authorBlockRating:p}))))};var ka=Object(bo.compose)(Object(h.withDispatch)(function(e,t){var n=e("core/block-directory"),r=n.installBlock,o=n.downloadBlock,i=e("core/notices"),c=i.createErrorNotice,a=i.removeNotice,s=e("core/block-editor").removeBlocks,u=t.onSelect;return{downloadAndInstallBlock:function(e){var t=function(){var t=u(e);r(e,y.noop,function n(){c(Object(L.__)("Block previews can't install."),{id:"block-install-error",actions:[{label:Object(L.__)("Retry"),onClick:function(){a("block-install-error"),r(e,y.noop,n)}},{label:Object(L.__)("Remove"),onClick:function(){a("block-install-error"),s(t.clientId),Object(l.unregisterBlockType)(e.name)}}]})})};o(e,t,function n(){c(Object(L.__)("Block previews can’t load."),{id:"block-download-error",actions:[{label:Object(L.__)("Retry"),onClick:function(){a("block-download-error"),o(e,t,n)}}]})})}}}))(function(e){var t=e.items,n=e.onHover,r=void 0===n?y.noop:n,o=e.children,i=e.downloadAndInstallBlock;return Object(eo.createElement)("ul",{role:"list",className:"block-directory-downloadable-blocks-list"},t&&t.map(function(e){return Object(eo.createElement)(_a,{key:e.id,className:Object(l.getBlockMenuDefaultClassName)(e.id),icons:e.icons,onClick:function(){i(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 Ea=Object(bo.compose)([Po.withSpokenMessages,Object(h.withSelect)(function(e,t){var n=t.filterValue,r=e("core/block-directory"),o=r.getDownloadableBlocks,i=r.hasInstallBlocksPermission,c=r.isRequestingDownloadableBlocks,a=i();return{downloadableItems:a?o(n):[],hasPermission:a,isLoading:c()}})])(function(e){var t=e.downloadableItems,n=e.onSelect,r=e.onHover,o=e.hasPermission,i=e.isLoading,c=e.isWaiting,a=e.debouncedSpeak;return o?i||c?Object(eo.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(eo.createElement)(Po.Spinner,null)):t.length?(a(Object(L.sprintf)(Object(L._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(eo.createElement)(eo.Fragment,null,Object(eo.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description"},Object(L.__)("No blocks found in your library. These blocks can be downloaded and installed:")),Object(eo.createElement)(ka,{items:t,onSelect:n,onHover:r}))):Object(eo.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(L.__)("No blocks found in your library.")):(a(Object(L.__)("No blocks found in your library. Please contact your site administrator to install new blocks.")),Object(eo.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(L.__)("No blocks found in your library."),Object(eo.createElement)("br",null),Object(L.__)("Please contact your site administrator to install new blocks.")))});var wa=function(){var e=Object(eo.useState)(""),t=Object(R.a)(e,2),n=t[0],r=t[1],o=Object(y.debounce)(r,400);return Object(eo.createElement)(u.__experimentalInserterMenuExtension,null,function(e){var t=e.onSelect,r=e.onHover,i=e.filterValue;return e.hasItems||!i?null:(n!==i&&o(i),Object(eo.createElement)(Ea,{onSelect:t,onHover:r,filterValue:n,isWaiting:i!==n}))})},Sa=function(){var e=Object(B.a)(x.a.mark(function e(t){var n;return x.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A()({path:Object(Ft.addQueryArgs)("/wp/v2/search",{search:t,per_page:20,type:"post"})});case 2:return n=e.sent,e.abrupt("return",Object(y.map)(n,function(e){return{id:e.id,url:e.url,title:Object(ei.decodeEntities)(e.title)||Object(L.__)("(no title)")}}));case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Pa=function(e){function t(e){var n;return Object(ao.a)(this,t),(n=Object(uo.a)(this,Object(lo.a)(t).apply(this,arguments))).getBlockEditorSettings=Z()(n.getBlockEditorSettings,{maxSize:1}),e.recovery?Object(uo.a)(n):(e.updatePostLock(e.settings.postLock),e.setupEditor(e.post,e.initialEdits,e.settings.template),e.settings.autosave&&e.createWarningNotice(Object(L.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:Object(L.__)("View the autosave"),url:e.settings.autosave.editLink}]}),n)}return Object(po.a)(t,e),Object(so.a)(t,[{key:"getBlockEditorSettings",value:function(e,t,n,r){return Object(f.a)({},Object(y.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?Uc:void 0,__experimentalFetchLinkSuggestions:Sa,__experimentalCanUserUseUnfilteredHTML:r})}},{key:"componentDidMount",value:function(){if(this.props.updateEditorSettings(this.props.settings),this.props.settings.styles){var e=Object(u.transformStyles)(this.props.settings.styles,".editor-styles-wrapper");Object(y.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(y.isEqual)(this.props.downloadableBlocksToUninstall,e.downloadableBlocksToUninstall)||this.props.downloadableBlocksToUninstall.forEach(function(e){t.props.uninstallBlock(e,y.noop,function(){t.props.createWarningNotice(Object(L.__)("Block previews can't uninstall."),{id:"block-uninstall-error"})}),Object(l.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,a=e.reusableBlocks,s=e.resetEditorBlocksWithoutUndoLevel,l=e.hasUploadPermissions;if(!i)return null;var d=this.getBlockEditorSettings(c,a,l,t);return Object(eo.createElement)(u.BlockEditorProvider,{value:r,onInput:s,onChange:o,settings:d,useSubRegistry:!1},n,Object(eo.createElement)(Vc,null),Object(eo.createElement)(qc,null),d.__experimentalBlockDirectory&&Object(eo.createElement)(wa,null))}}]),t}(eo.Component),Ca=Object(bo.compose)([Nc,Object(h.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(y.differenceBy)(a(),s(),"name");return{canUserUseUnfilteredHTML:n(),isReady:r(),blocks:o(),reusableBlocks:i(),hasUploadPermissions:Object(y.defaultTo)(c("create","media"),!0),downloadableBlocksToUninstall:u}}),Object(h.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}})])(Pa),Ta=n(55),xa=n.n(Ta);function Ba(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Object(eo.forwardRef)(function(n,r){return U()("wp.editor."+e,{alternative:"wp.blockEditor."+e}),Object(eo.createElement)(t,Object(ci.a)({ref:r},n))});return n.forEach(function(n){r[n]=Ba(e+"."+n,t[n])}),r}function Ia(e,t){return function(){return U()("wp.editor."+e,{alternative:"wp.blockEditor."+e}),t.apply(void 0,arguments)}}var Aa=Ba("RichText",u.RichText,["Content"]);Aa.isEmpty=Ia("RichText.isEmpty",u.RichText.isEmpty);var La=Ba("Autocomplete",u.Autocomplete),Ra=Ba("AlignmentToolbar",u.AlignmentToolbar),Na=Ba("BlockAlignmentToolbar",u.BlockAlignmentToolbar),Da=Ba("BlockControls",u.BlockControls,["Slot"]),Ua=Ba("BlockEdit",u.BlockEdit),Fa=Ba("BlockEditorKeyboardShortcuts",u.BlockEditorKeyboardShortcuts),Ma=Ba("BlockFormatControls",u.BlockFormatControls,["Slot"]),Va=Ba("BlockIcon",u.BlockIcon),Ha=Ba("BlockInspector",u.BlockInspector),Wa=Ba("BlockList",u.BlockList),za=Ba("BlockMover",u.BlockMover),Ka=Ba("BlockNavigationDropdown",u.BlockNavigationDropdown),Ga=Ba("BlockSelectionClearer",u.BlockSelectionClearer),qa=Ba("BlockSettingsMenu",u.BlockSettingsMenu),Ya=Ba("BlockTitle",u.BlockTitle),Qa=Ba("BlockToolbar",u.BlockToolbar),Xa=Ba("ColorPalette",u.ColorPalette),$a=Ba("ContrastChecker",u.ContrastChecker),Za=Ba("CopyHandler",u.CopyHandler),Ja=Ba("DefaultBlockAppender",u.DefaultBlockAppender),es=Ba("FontSizePicker",u.FontSizePicker),ts=Ba("Inserter",u.Inserter),ns=Ba("InnerBlocks",u.InnerBlocks,["ButtonBlockAppender","DefaultBlockAppender","Content"]),rs=Ba("InspectorAdvancedControls",u.InspectorAdvancedControls,["Slot"]),os=Ba("InspectorControls",u.InspectorControls,["Slot"]),is=Ba("PanelColorSettings",u.PanelColorSettings),cs=Ba("PlainText",u.PlainText),as=Ba("RichTextShortcut",u.RichTextShortcut),ss=Ba("RichTextToolbarButton",u.RichTextToolbarButton),us=Ba("__unstableRichTextInputEvent",u.__unstableRichTextInputEvent),ls=Ba("MediaPlaceholder",u.MediaPlaceholder),ds=Ba("MediaUpload",u.MediaUpload),ps=Ba("MediaUploadCheck",u.MediaUploadCheck),bs=Ba("MultiBlocksSwitcher",u.MultiBlocksSwitcher),fs=Ba("MultiSelectScrollIntoView",u.MultiSelectScrollIntoView),hs=Ba("NavigableToolbar",u.NavigableToolbar),ms=Ba("ObserveTyping",u.ObserveTyping),vs=Ba("PreserveScrollInReorder",u.PreserveScrollInReorder),Os=Ba("SkipToSelectedBlock",u.SkipToSelectedBlock),gs=Ba("URLInput",u.URLInput),js=Ba("URLInputButton",u.URLInputButton),ys=Ba("URLPopover",u.URLPopover),_s=Ba("Warning",u.Warning),ks=Ba("WritingFlow",u.WritingFlow),Es=Ia("createCustomColorsHOC",u.createCustomColorsHOC),ws=Ia("getColorClassName",u.getColorClassName),Ss=Ia("getColorObjectByAttributeValues",u.getColorObjectByAttributeValues),Ps=Ia("getColorObjectByColorValue",u.getColorObjectByColorValue),Cs=Ia("getFontSize",u.getFontSize),Ts=Ia("getFontSizeClass",u.getFontSizeClass),xs=Ia("withColorContext",u.withColorContext),Bs=Ia("withColors",u.withColors),Is=Ia("withFontSizes",u.withFontSizes);Object(Jr.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(y.clone)(co)),t===Object(l.getDefaultBlockName)()&&e.push(Object(y.clone)(io)),e}),n.d(t,"AutosaveMonitor",function(){return ho}),n.d(t,"DocumentOutline",function(){return Eo}),n.d(t,"DocumentOutlineCheck",function(){return wo}),n.d(t,"VisualEditorGlobalKeyboardShortcuts",function(){return Io}),n.d(t,"EditorGlobalKeyboardShortcuts",function(){return Ao}),n.d(t,"TextEditorGlobalKeyboardShortcuts",function(){return Lo}),n.d(t,"EditorHistoryRedo",function(){return Ro}),n.d(t,"EditorHistoryUndo",function(){return No}),n.d(t,"EditorNotices",function(){return Fo}),n.d(t,"ErrorBoundary",function(){return Mo}),n.d(t,"LocalAutosaveMonitor",function(){return zo}),n.d(t,"PageAttributesCheck",function(){return Ko}),n.d(t,"PageAttributesOrder",function(){return Yo}),n.d(t,"PageAttributesParent",function(){return Zo}),n.d(t,"PageTemplate",function(){return Jo}),n.d(t,"PostAuthor",function(){return ri}),n.d(t,"PostAuthorCheck",function(){return ti}),n.d(t,"PostComments",function(){return oi}),n.d(t,"PostExcerpt",function(){return ii}),n.d(t,"PostExcerptCheck",function(){return ai}),n.d(t,"PostFeaturedImage",function(){return mi}),n.d(t,"PostFeaturedImageCheck",function(){return ui}),n.d(t,"PostFormat",function(){return gi}),n.d(t,"PostFormatCheck",function(){return vi}),n.d(t,"PostLastRevision",function(){return ki}),n.d(t,"PostLastRevisionCheck",function(){return ji}),n.d(t,"PostLockedModal",function(){return Pi}),n.d(t,"PostPendingStatus",function(){return Ti}),n.d(t,"PostPendingStatusCheck",function(){return Ci}),n.d(t,"PostPingbacks",function(){return xi}),n.d(t,"PostPreviewButton",function(){return wi}),n.d(t,"PostPublishButton",function(){return Ai}),n.d(t,"PostPublishButtonLabel",function(){return Bi}),n.d(t,"PostPublishPanel",function(){return nc}),n.d(t,"PostSavedState",function(){return ic}),n.d(t,"PostSchedule",function(){return Ui}),n.d(t,"PostScheduleCheck",function(){return cc}),n.d(t,"PostScheduleLabel",function(){return Fi}),n.d(t,"PostSticky",function(){return sc}),n.d(t,"PostStickyCheck",function(){return ac}),n.d(t,"PostSwitchToDraftButton",function(){return rc}),n.d(t,"PostTaxonomies",function(){return pc}),n.d(t,"PostTaxonomiesCheck",function(){return bc}),n.d(t,"PostTextEditor",function(){return vc}),n.d(t,"PostTitle",function(){return Sc}),n.d(t,"PostTrash",function(){return Pc}),n.d(t,"PostTrashCheck",function(){return Cc}),n.d(t,"PostTypeSupportCheck",function(){return Go}),n.d(t,"PostVisibility",function(){return Ni}),n.d(t,"PostVisibilityLabel",function(){return Di}),n.d(t,"PostVisibilityCheck",function(){return Tc}),n.d(t,"TableOfContents",function(){return Ac}),n.d(t,"UnsavedChangesWarning",function(){return Rc}),n.d(t,"WordCount",function(){return Bc}),n.d(t,"EditorProvider",function(){return Ca}),n.d(t,"blockAutocompleter",function(){return io}),n.d(t,"userAutocompleter",function(){return co}),n.d(t,"ServerSideRender",function(){return xa.a}),n.d(t,"RichText",function(){return Aa}),n.d(t,"Autocomplete",function(){return La}),n.d(t,"AlignmentToolbar",function(){return Ra}),n.d(t,"BlockAlignmentToolbar",function(){return Na}),n.d(t,"BlockControls",function(){return Da}),n.d(t,"BlockEdit",function(){return Ua}),n.d(t,"BlockEditorKeyboardShortcuts",function(){return Fa}),n.d(t,"BlockFormatControls",function(){return Ma}),n.d(t,"BlockIcon",function(){return Va}),n.d(t,"BlockInspector",function(){return Ha}),n.d(t,"BlockList",function(){return Wa}),n.d(t,"BlockMover",function(){return za}),n.d(t,"BlockNavigationDropdown",function(){return Ka}),n.d(t,"BlockSelectionClearer",function(){return Ga}),n.d(t,"BlockSettingsMenu",function(){return qa}),n.d(t,"BlockTitle",function(){return Ya}),n.d(t,"BlockToolbar",function(){return Qa}),n.d(t,"ColorPalette",function(){return Xa}),n.d(t,"ContrastChecker",function(){return $a}),n.d(t,"CopyHandler",function(){return Za}),n.d(t,"DefaultBlockAppender",function(){return Ja}),n.d(t,"FontSizePicker",function(){return es}),n.d(t,"Inserter",function(){return ts}),n.d(t,"InnerBlocks",function(){return ns}),n.d(t,"InspectorAdvancedControls",function(){return rs}),n.d(t,"InspectorControls",function(){return os}),n.d(t,"PanelColorSettings",function(){return is}),n.d(t,"PlainText",function(){return cs}),n.d(t,"RichTextShortcut",function(){return as}),n.d(t,"RichTextToolbarButton",function(){return ss}),n.d(t,"__unstableRichTextInputEvent",function(){return us}),n.d(t,"MediaPlaceholder",function(){return ls}),n.d(t,"MediaUpload",function(){return ds}),n.d(t,"MediaUploadCheck",function(){return ps}),n.d(t,"MultiBlocksSwitcher",function(){return bs}),n.d(t,"MultiSelectScrollIntoView",function(){return fs}),n.d(t,"NavigableToolbar",function(){return hs}),n.d(t,"ObserveTyping",function(){return ms}),n.d(t,"PreserveScrollInReorder",function(){return vs}),n.d(t,"SkipToSelectedBlock",function(){return Os}),n.d(t,"URLInput",function(){return gs}),n.d(t,"URLInputButton",function(){return js}),n.d(t,"URLPopover",function(){return ys}),n.d(t,"Warning",function(){return _s}),n.d(t,"WritingFlow",function(){return ks}),n.d(t,"createCustomColorsHOC",function(){return Es}),n.d(t,"getColorClassName",function(){return ws}),n.d(t,"getColorObjectByAttributeValues",function(){return Ss}),n.d(t,"getColorObjectByColorValue",function(){return Ps}),n.d(t,"getFontSize",function(){return Cs}),n.d(t,"getFontSizeClass",function(){return Ts}),n.d(t,"withColorContext",function(){return xs}),n.d(t,"withColors",function(){return Bs}),n.d(t,"withFontSizes",function(){return Is}),n.d(t,"mediaUpload",function(){return Uc}),n.d(t,"cleanForSlug",function(){return _i}),n.d(t,"storeConfig",function(){return $r}),n.d(t,"transformStyles",function(){return u.transformStyles})},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}()},41:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},43:function(e,t){!function(){e.exports=this.wp.viewport}()},44:function(e,t,n){"use strict";function r(e,t,n,r,o,i,c){try{var a=e[i](c),s=a.value}catch(e){return void n(e)}a.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise(function(o,i){var c=e.apply(t,n);function a(e){r(c,o,i,a,s,"next",e)}function s(e){r(c,o,i,a,s,"throw",e)}a(void 0)})}}n.d(t,"a",function(){return o})},45: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;--i){var c=this.tryEntries[i],a=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var s=r.call(c,"catchLoc"),u=r.call(c,"finallyLoc");if(s&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),f}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},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})},54:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},55:function(e,t){!function(){e.exports=this.wp.serverSideRender}()},56:function(e,t){!function(){e.exports=this.wp.date}()},6:function(e,t){!function(){e.exports=this.wp.blockEditor}()},63:function(e,t){!function(){e.exports=this.wp.nux}()},64:function(e,t,n){"use strict";t.__esModule=!0;var r=n(132);t.default=r.default},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&&this.buildAndSetGalleryFrame(),this.frame.open()}},{key:"render",value:function(){return this.props.render({open:this.openModal})}}]),e}(s.Component),m=r(20),b=r.n(m),v=r(7),g=r(44),w=r(17),O=r(23),j=r(32),_=r.n(j),x=r(34);function S(t){return E.apply(this,arguments)}function E(){return(E=Object(g.a)(b.a.mark(function t(e){var r,n,o,i,a,c,u,p,h,d,y,m,g,j,_,S,E,k,T,P,F,M,A,G,I,N,C,U,R;return b.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=e.allowedTypes,n=e.additionalData,o=void 0===n?{}:n,i=e.filesList,a=e.maxUploadFileSize,c=e.onError,u=void 0===c?l.noop:c,p=e.onFileChange,h=e.wpAllowedMimeTypes,d=void 0===h?null:h,y=Object(w.a)(i),m=[],g=function(t,e){Object(x.revokeBlobURL)(Object(l.get)(m,[t,"url"])),m[t]=e,p(Object(l.compact)(m))},j=function(t){return!r||Object(l.some)(r,function(e){return Object(l.includes)(e,"/")?e===t:Object(l.startsWith)(t,"".concat(e,"/"))})},_=(b=d)?Object(l.flatMap)(b,function(t,e){var r=t.split("/"),n=Object(O.a)(r,1)[0],o=e.split("|");return[t].concat(Object(w.a)(Object(l.map)(o,function(t){return"".concat(n,"/").concat(t)})))}):b,S=function(t){return Object(l.includes)(_,t)},E=function(t){t.message=[Object(s.createElement)("strong",{key:"filename"},t.file.name),": ",t.message],u(t)},k=[],T=!0,P=!1,F=void 0,t.prev=12,M=y[Symbol.iterator]();case 14:if(T=(A=M.next()).done){t.next=34;break}if(G=A.value,!_||S(G.type)){t.next=19;break}return E({code:"MIME_TYPE_NOT_ALLOWED_FOR_USER",message:Object(f.__)("Sorry, this file type is not permitted for security reasons."),file:G}),t.abrupt("continue",31);case 19:if(j(G.type)){t.next=22;break}return E({code:"MIME_TYPE_NOT_SUPPORTED",message:Object(f.__)("Sorry, this file type is not supported here."),file:G}),t.abrupt("continue",31);case 22:if(!(a&&G.size>a)){t.next=25;break}return E({code:"SIZE_ABOVE_LIMIT",message:Object(f.__)("This file exceeds the maximum upload size for this site."),file:G}),t.abrupt("continue",31);case 25:if(!(G.size<=0)){t.next=28;break}return E({code:"EMPTY_FILE",message:Object(f.__)("This file is empty."),file:G}),t.abrupt("continue",31);case 28:k.push(G),m.push({url:Object(x.createBlobURL)(G)}),p(m);case 31:T=!0,t.next=14;break;case 34:t.next=40;break;case 36:t.prev=36,t.t0=t.catch(12),P=!0,F=t.t0;case 40:t.prev=40,t.prev=41,T||null==M.return||M.return();case 43:if(t.prev=43,!P){t.next=46;break}throw F;case 46:return t.finish(43);case 47:return t.finish(40);case 48:I=0;case 49:if(!(I=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:k(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},5:function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,"a",function(){return n})},7:function(t,e,r){"use strict";r.d(e,"a",function(){return o});var n=r(10);function o(t){for(var e=1;e0&&this.buildAndSetGalleryFrame(),this.frame.open()}},{key:"render",value:function(){return this.props.render({open:this.openModal})}}]),e}(s.Component),m=r(20),b=r.n(m),v=r(7),g=r(44),w=r(17),O=r(23),j=r(32),_=r.n(j),x=r(35);function S(t){return E.apply(this,arguments)}function E(){return(E=Object(g.a)(b.a.mark(function t(e){var r,n,o,i,a,c,u,p,h,d,y,m,g,j,_,S,E,k,T,P,F,M,A,G,I,N,C,U,R;return b.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=e.allowedTypes,n=e.additionalData,o=void 0===n?{}:n,i=e.filesList,a=e.maxUploadFileSize,c=e.onError,u=void 0===c?l.noop:c,p=e.onFileChange,h=e.wpAllowedMimeTypes,d=void 0===h?null:h,y=Object(w.a)(i),m=[],g=function(t,e){Object(x.revokeBlobURL)(Object(l.get)(m,[t,"url"])),m[t]=e,p(Object(l.compact)(m))},j=function(t){return!r||Object(l.some)(r,function(e){return Object(l.includes)(e,"/")?e===t:Object(l.startsWith)(t,"".concat(e,"/"))})},_=(b=d)?Object(l.flatMap)(b,function(t,e){var r=t.split("/"),n=Object(O.a)(r,1)[0],o=e.split("|");return[t].concat(Object(w.a)(Object(l.map)(o,function(t){return"".concat(n,"/").concat(t)})))}):b,S=function(t){return Object(l.includes)(_,t)},E=function(t){t.message=[Object(s.createElement)("strong",{key:"filename"},t.file.name),": ",t.message],u(t)},k=[],T=!0,P=!1,F=void 0,t.prev=12,M=y[Symbol.iterator]();case 14:if(T=(A=M.next()).done){t.next=34;break}if(G=A.value,!_||S(G.type)){t.next=19;break}return E({code:"MIME_TYPE_NOT_ALLOWED_FOR_USER",message:Object(f.__)("Sorry, this file type is not permitted for security reasons."),file:G}),t.abrupt("continue",31);case 19:if(j(G.type)){t.next=22;break}return E({code:"MIME_TYPE_NOT_SUPPORTED",message:Object(f.__)("Sorry, this file type is not supported here."),file:G}),t.abrupt("continue",31);case 22:if(!(a&&G.size>a)){t.next=25;break}return E({code:"SIZE_ABOVE_LIMIT",message:Object(f.__)("This file exceeds the maximum upload size for this site."),file:G}),t.abrupt("continue",31);case 25:if(!(G.size<=0)){t.next=28;break}return E({code:"EMPTY_FILE",message:Object(f.__)("This file is empty."),file:G}),t.abrupt("continue",31);case 28:k.push(G),m.push({url:Object(x.createBlobURL)(G)}),p(m);case 31:T=!0,t.next=14;break;case 34:t.next=40;break;case 36:t.prev=36,t.t0=t.catch(12),P=!0,F=t.t0;case 40:t.prev=40,t.prev=41,T||null==M.return||M.return();case 43:if(t.prev=43,!P){t.next=46;break}throw F;case 46:return t.finish(43);case 47:return t.finish(40);case 48:I=0;case 49:if(!(I=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:k(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},5:function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,"a",function(){return n})},7:function(t,e,r){"use strict";r.d(e,"a",function(){return o});var n=r(10);function o(t){for(var e=1;e0&&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(35),y=n(2),g=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 O(e,t){if(!e.preferences.areTipsEnabled)return!1;if(Object(y.has)(e.preferences.dismissedTips,[t]))return!1;var n=g(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){return e.parentNode.getBoundingClientRect()}function S(e){e.stopPropagation()}var E=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;return i?Object(m.createElement)(x.Popover,{className:"nux-dot-tip",position:n,noArrow:!0,focusOnMount:"container",getAnchorRect:I,role:"dialog","aria-label":Object(w.__)("Editor tips"),onClick:S},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 E})},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(10);function i(e){for(var t=1;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),g=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 O(e,t){if(!e.preferences.areTipsEnabled)return!1;if(Object(y.has)(e.preferences.dismissedTips,[t]))return!1;var n=g(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){return e.parentNode.getBoundingClientRect()}function S(e){e.stopPropagation()}var E=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;return i?Object(m.createElement)(x.Popover,{className:"nux-dot-tip",position:n,noArrow:!0,focusOnMount:"container",getAnchorRect:I,role:"dialog","aria-label":Object(w.__)("Editor tips"),onClick:S},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 E})},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(10);function i(e){for(var t=1;t=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})},35:function(e,t,n){"use strict";var r,a;function o(e){return[e]}function i(){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]:{},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(35),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(E,"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:""}),L(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:I({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),L(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&&L(u,{formats:[,],replacements:[g],text:_}):L(u,Object(i.a)({},O,{formats:Array.from(O.formats,function(e){return e?[g].concat(Object(v.a)(e)):[g]})})):L(u,O)},p=0;p0)&&L(s,{formats:[,],replacements:i.length>0?[i]:[,],text:x}),A(s,f,n,d),L(s,d)}}return s}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]===x)return r}function U(e){var t=e.replacements[K(e,e.start)];return!t||t.length<1}function z(e,t,n){var r=e.replacements[K(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=V(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 function(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+/,"")]}.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.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 de(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),E)}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,fe({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===_?(A=s(u(A),fe(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),E),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 ve=function(){return j(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 ge(e,t){e.appendData(t)}function ye(e){return e.lastChild}function Oe(e){return e.parentNode}function Te(e){return e.nodeType===pe}function je(e){return e.nodeValue}function xe(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:de({value:t,multilineTag:n,createEmpty:ve,append:be,getLastChild:ye,getParent:Oe,isText:Te,getText:je,remove:xe,appendText:ge,onStartIndex:function(e,t){s=he(t,e,[t.nodeValue.length])},onEndIndex:function(e,t){l=he(t,e,[t.nodeValue.length])},isEditableTree:o,placeholder:c}),selection:{startPath:s,endPath:l}}}function Ee(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===pe&&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(74);function we(e){return Ie(de({value:e.value,multilineTag:e.multilineTag,createEmpty:Fe,append:Se,getLastChild:Ne,getParent:ke,isText:Re,getText:Pe,remove:De,appendText:Ae}).children)}function Fe(){return{}}function Ne(e){var t=e.children;return t&&t[t.length-1]}function Se(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function Ae(e,t){e.text+=t}function ke(e){return e.parent}function Re(e){return"string"==typeof e.text}function Pe(e){return e.text}function De(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(Ce.isValidAttributeName)(i)&&(o+=" ".concat(i,'="').concat(Object(Ce.escapeAttribute)(n[i]),'"'));return r?"<".concat(t).concat(o,">"):"<".concat(t).concat(o,">").concat(Ie(a),"")}(e):Object(Ce.escapeHTML)(e.text)}).join("")}function Le(e,t){return W(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 He(e,t){var n=K(e);if(void 0===n)return e;var r=e.text,a=e.replacements,o=e.end,c=K(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=K(e,r);if(void 0===n[o])return e;for(var c=n.slice(0),s=n[We(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,K(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=K(e,o),l=a[s]||[],u=a[K(e,c)]||[],f=We(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 Ke=n(18),Ue=n(12),ze=n(11),qe=n(13),Ge=n(14),Ye=n(5),$e=n(15),Xe=n(16),Ze=n.n(Xe),Je=n(19),Qe=n(41),et=n.n(Qe),tt=n(37),nt=n.n(tt),rt=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]),at=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&&rt.has(c))return null;var s=W(r,t),l=void 0!==s,u=B(r),f=void 0!==u;return Object(X.createElement)(i,{key:t,isActive:l,activeAttributes:l&&s.attributes||{},isObjectActive:f,activeObjectAttributes:f&&u.attributes||{},value:r,onChange:n})})}),ot=n(21),it=function(e){return Object(c.pickBy)(e,function(e,t){return n=t,Object(c.startsWith)(n,"aria-")&&!Object(c.isNil)(e);var n})},ct=function(e){function t(){var e;return Object(Ue.a)(this,t),(e=Object(qe.a)(this,Object(Ge.a)(t).call(this))).bindEditorNode=e.bindEditorNode.bind(Object(Ye.a)(e)),e}return Object($e.a)(t,e),Object(ze.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)(it(e)),r=Object(c.keys)(it(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(ot.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);function st(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}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(Ue.a)(this,t),(n=Object(qe.a)(this,Object(Ge.a)(t).apply(this,arguments))).onFocus=n.onFocus.bind(Object(Ye.a)(n)),n.onBlur=n.onBlur.bind(Object(Ye.a)(n)),n.onChange=n.onChange.bind(Object(Ye.a)(n)),n.handleDelete=n.handleDelete.bind(Object(Ye.a)(n)),n.handleEnter=n.handleEnter.bind(Object(Ye.a)(n)),n.handleSpace=n.handleSpace.bind(Object(Ye.a)(n)),n.handleHorizontalNavigation=n.handleHorizontalNavigation.bind(Object(Ye.a)(n)),n.onPaste=n.onPaste.bind(Object(Ye.a)(n)),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(Object(Ye.a)(n)),n.onInput=n.onInput.bind(Object(Ye.a)(n)),n.onCompositionEnd=n.onCompositionEnd.bind(Object(Ye.a)(n)),n.onSelectionChange=n.onSelectionChange.bind(Object(Ye.a)(n)),n.createRecord=n.createRecord.bind(Object(Ye.a)(n)),n.applyRecord=n.applyRecord.bind(Object(Ye.a)(n)),n.valueToFormat=n.valueToFormat.bind(Object(Ye.a)(n)),n.setRef=n.setRef.bind(Object(Ye.a)(n)),n.valueToEditableHTML=n.valueToEditableHTML.bind(Object(Ye.a)(n)),n.onPointerDown=n.onPointerDown.bind(Object(Ye.a)(n)),n.formatToValue=n.formatToValue.bind(Object(Ye.a)(n)),n.Editable=n.Editable.bind(Object(Ye.a)(n)),n.onKeyDown=function(e){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($e.a)(t,e),Object(ze.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]:{}).domOnly,n=this.props.__unstableMultilineTag;Ee({value:e,current:this.editableRef,multilineTag:n,multilineWrapperTags:"li"===n?["ul","ol"]:void 0,prepareEditableTree:ht(this.props,"format_prepare_functions"),__unstableDomOnly:t,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&&(nt()("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.isComposing)document.removeEventListener("selectionchange",this.onSelectionChange);else if(e&&(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=st({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(),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&&this.applyRecord(o);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]:{}).withoutHistory;this.applyRecord(e);var n=e.start,r=e.end,a=e.activeFormats,o=void 0===a?[]:a,i=Object(c.pickBy)(this.props,function(e,t){return t.startsWith("format_on_change_functions_")});Object.values(i).forEach(function(t){t(e.formats,e.text)}),this.value=this.valueToFormat(e),this.record=e,this.props.onChange(this.value),this.props.onSelectionChange(n,r),this.setState({activeFormats:o}),t||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===Je.DELETE||t===Je.BACKSPACE||t===Je.ESCAPE){if(this.props.__unstableDidAutomaticChange)return e.preventDefault(),void this.props.__unstableUndo();if(t!==Je.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===Je.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===Je.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=this.props,n=t.tagName,r=t.__unstableMultilineTag;if(e.keyCode===Je.SPACE&&"li"===r){var a=this.createRecord();if(q(a)){var o=a.text[a.start-1];o&&o!==x||(this.onChange(He(a,{type:n})),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!==Je.LEFT&&n!==Je.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?Je.RIGHT:Je.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.length=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})},36:function(e,t,n){"use strict";var r,a;function o(e){return[e]}function i(){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]:{},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(E,"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:""}),L(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:I({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),L(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&&L(u,{formats:[,],replacements:[g],text:_}):L(u,Object(i.a)({},O,{formats:Array.from(O.formats,function(e){return e?[g].concat(Object(v.a)(e)):[g]})})):L(u,O)},p=0;p0)&&L(s,{formats:[,],replacements:i.length>0?[i]:[,],text:x}),A(s,f,n,d),L(s,d)}}return s}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]===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 function(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+/,"")]}.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.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 de(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),E)}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,fe({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===_?(A=s(u(A),fe(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),E),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 ve=function(){return j(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 ge(e,t){e.appendData(t)}function ye(e){return e.lastChild}function Oe(e){return e.parentNode}function Te(e){return e.nodeType===pe}function je(e){return e.nodeValue}function xe(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:de({value:t,multilineTag:n,createEmpty:ve,append:be,getLastChild:ye,getParent:Oe,isText:Te,getText:je,remove:xe,appendText:ge,onStartIndex:function(e,t){s=he(t,e,[t.nodeValue.length])},onEndIndex:function(e,t){l=he(t,e,[t.nodeValue.length])},isEditableTree:o,placeholder:c}),selection:{startPath:s,endPath:l}}}function Ee(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===pe&&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(74);function we(e){return Ie(de({value:e.value,multilineTag:e.multilineTag,createEmpty:Fe,append:Se,getLastChild:Ne,getParent:ke,isText:Re,getText:Pe,remove:De,appendText:Ae}).children)}function Fe(){return{}}function Ne(e){var t=e.children;return t&&t[t.length-1]}function Se(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function Ae(e,t){e.text+=t}function ke(e){return e.parent}function Re(e){return"string"==typeof e.text}function Pe(e){return e.text}function De(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(Ce.isValidAttributeName)(i)&&(o+=" ".concat(i,'="').concat(Object(Ce.escapeAttribute)(n[i]),'"'));return r?"<".concat(t).concat(o,">"):"<".concat(t).concat(o,">").concat(Ie(a),"")}(e):Object(Ce.escapeHTML)(e.text)}).join("")}function Le(e,t){return W(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 He(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 Ke(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[We(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 Be(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=We(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 Ve=n(18),Ue=n(12),ze=n(11),qe=n(13),Ge=n(14),Ye=n(5),$e=n(15),Xe=n(16),Ze=n.n(Xe),Je=n(19),Qe=n(41),et=n.n(Qe),tt=n(37),nt=n.n(tt),rt=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]),at=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&&rt.has(c))return null;var s=W(r,t),l=void 0!==s,u=K(r),f=void 0!==u;return Object(X.createElement)(i,{key:t,isActive:l,activeAttributes:l&&s.attributes||{},isObjectActive:f,activeObjectAttributes:f&&u.attributes||{},value:r,onChange:n})})}),ot=n(21),it=function(e){return Object(c.pickBy)(e,function(e,t){return n=t,Object(c.startsWith)(n,"aria-")&&!Object(c.isNil)(e);var n})},ct=function(e){function t(){var e;return Object(Ue.a)(this,t),(e=Object(qe.a)(this,Object(Ge.a)(t).call(this))).bindEditorNode=e.bindEditorNode.bind(Object(Ye.a)(e)),e}return Object($e.a)(t,e),Object(ze.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)(it(e)),r=Object(c.keys)(it(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(ot.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);function st(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}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(Ue.a)(this,t),(n=Object(qe.a)(this,Object(Ge.a)(t).apply(this,arguments))).onFocus=n.onFocus.bind(Object(Ye.a)(n)),n.onBlur=n.onBlur.bind(Object(Ye.a)(n)),n.onChange=n.onChange.bind(Object(Ye.a)(n)),n.handleDelete=n.handleDelete.bind(Object(Ye.a)(n)),n.handleEnter=n.handleEnter.bind(Object(Ye.a)(n)),n.handleSpace=n.handleSpace.bind(Object(Ye.a)(n)),n.handleHorizontalNavigation=n.handleHorizontalNavigation.bind(Object(Ye.a)(n)),n.onPaste=n.onPaste.bind(Object(Ye.a)(n)),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(Object(Ye.a)(n)),n.onInput=n.onInput.bind(Object(Ye.a)(n)),n.onCompositionEnd=n.onCompositionEnd.bind(Object(Ye.a)(n)),n.onSelectionChange=n.onSelectionChange.bind(Object(Ye.a)(n)),n.createRecord=n.createRecord.bind(Object(Ye.a)(n)),n.applyRecord=n.applyRecord.bind(Object(Ye.a)(n)),n.valueToFormat=n.valueToFormat.bind(Object(Ye.a)(n)),n.setRef=n.setRef.bind(Object(Ye.a)(n)),n.valueToEditableHTML=n.valueToEditableHTML.bind(Object(Ye.a)(n)),n.onPointerDown=n.onPointerDown.bind(Object(Ye.a)(n)),n.formatToValue=n.formatToValue.bind(Object(Ye.a)(n)),n.Editable=n.Editable.bind(Object(Ye.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($e.a)(t,e),Object(ze.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]:{}).domOnly,n=this.props.__unstableMultilineTag;Ee({value:e,current:this.editableRef,multilineTag:n,multilineWrapperTags:"li"===n?["ul","ol"]:void 0,prepareEditableTree:ht(this.props,"format_prepare_functions"),__unstableDomOnly:t,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&&(nt()("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=st({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&&this.applyRecord(o);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]:{}).withoutHistory;this.applyRecord(e);var n=e.start,r=e.end,a=e.activeFormats,o=void 0===a?[]:a,i=Object(c.pickBy)(this.props,function(e,t){return t.startsWith("format_on_change_functions_")});Object.values(i).forEach(function(t){t(e.formats,e.text)}),this.value=this.valueToFormat(e),this.record=e,this.props.onChange(this.value),this.props.onSelectionChange(n,r),this.setState({activeFormats:o}),t||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===Je.DELETE||t===Je.BACKSPACE||t===Je.ESCAPE){if(this.props.__unstableDidAutomaticChange)return e.preventDefault(),void this.props.__unstableUndo();if(t!==Je.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===Je.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===Je.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!==Je.SPACE||"li"!==s)){var l=this.createRecord();if(q(l)){var u=l.text[l.start-1];u&&u!==x||(this.onChange(He(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!==Je.LEFT&&n!==Je.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?Je.RIGHT:Je.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.length '2.5.0', - 'annotations' => '1.7.0', - 'api-fetch' => '3.6.0', + 'annotations' => '1.7.1', + 'api-fetch' => '3.6.1', 'autop' => '2.5.0', 'blob' => '2.5.0', - 'block-editor' => '3.2.0', - 'block-library' => '2.9.0', + 'block-editor' => '3.2.1', + 'block-library' => '2.9.1', 'block-serialization-default-parser' => '3.4.0', - 'blocks' => '6.7.0', - 'components' => '8.3.0', - 'compose' => '3.7.0', - 'core-data' => '2.7.0', - 'data' => '4.9.0', - 'data-controls' => '1.3.0', + 'blocks' => '6.7.1', + 'components' => '8.3.1', + 'compose' => '3.7.1', + 'core-data' => '2.7.1', + 'data' => '4.9.1', + 'data-controls' => '1.3.1', 'date' => '3.5.0', 'deprecated' => '2.6.0', - 'dom' => '2.5.0', + 'dom' => '2.5.1', 'dom-ready' => '2.5.0', - 'edit-post' => '3.8.0', - 'editor' => '9.7.0', - 'element' => '2.8.0', + 'edit-post' => '3.8.1', + 'editor' => '9.7.1', + 'element' => '2.8.1', 'escape-html' => '1.5.0', - 'format-library' => '1.9.0', + 'format-library' => '1.9.1', 'hooks' => '2.6.0', 'html-entities' => '2.5.0', - 'i18n' => '3.6.0', + 'i18n' => '3.6.1', 'is-shallow-equal' => '1.6.0', - 'keycodes' => '2.6.0', - 'list-reusable-blocks' => '1.8.0', - 'media-utils' => '1.2.0', - 'notices' => '1.8.0', - 'nux' => '3.7.0', - 'plugins' => '2.7.0', + 'keycodes' => '2.6.1', + 'list-reusable-blocks' => '1.8.1', + 'media-utils' => '1.2.1', + 'notices' => '1.8.1', + 'nux' => '3.7.1', + 'plugins' => '2.7.1', 'priority-queue' => '1.3.0', - 'redux-routine' => '3.6.0', - 'rich-text' => '3.7.0', - 'shortcode' => '2.4.0', - 'server-side-render' => '1.3.0', - 'token-list' => '1.6.0', + 'redux-routine' => '3.6.1', + 'rich-text' => '3.7.1', + 'shortcode' => '2.4.1', + 'server-side-render' => '1.3.1', + 'token-list' => '1.6.1', 'url' => '2.8.0', - 'viewport' => '2.8.0', - 'wordcount' => '2.6.0', + 'viewport' => '2.8.1', + 'wordcount' => '2.6.1', ); $packages_dependencies = array( diff --git a/wp-includes/version.php b/wp-includes/version.php index 6062f84883..9048cb9264 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta1-46363'; +$wp_version = '5.3-beta1-46364'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.