diff --git a/wp-includes/css/dist/block-library/editor-rtl.css b/wp-includes/css/dist/block-library/editor-rtl.css
index e9f001ec0d..fd0a395b47 100644
--- a/wp-includes/css/dist/block-library/editor-rtl.css
+++ b/wp-includes/css/dist/block-library/editor-rtl.css
@@ -214,7 +214,7 @@
.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb {
display: none; }
-:not(.components-disabled) > .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit .editor-block-list__layout > * {
+:not(.components-disabled) > .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > * {
pointer-events: all; }
.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty="true"]::before,
@@ -834,6 +834,9 @@ figure.block-library-media-text__media-container {
left: 0;
border-top: 3px dashed #ccd0d4; }
+.editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce.wp-block-paragraph {
+ padding-left: 36px; }
+
.wp-block-preformatted pre {
white-space: pre-wrap; }
diff --git a/wp-includes/css/dist/block-library/editor-rtl.min.css b/wp-includes/css/dist/block-library/editor-rtl.min.css
index 95a61da7a9..e05287e300 100644
--- a/wp-includes/css/dist/block-library/editor-rtl.min.css
+++ b/wp-includes/css/dist/block-library/editor-rtl.min.css
@@ -1 +1 @@
-.block-editor ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin:0}.editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.editor-block-list__block[data-type="core/button"][data-align=right]{text-align:right}.wp-block-button{display:inline-block;margin-bottom:0;position:relative}.wp-block-button .editor-rich-text__tinymce.mce-content-body{cursor:text;line-height:24px}.wp-block-button:not(.has-text-color):not(.is-style-outline) .editor-rich-text__tinymce[data-is-placeholder-visible=true]+.editor-rich-text__tinymce{color:#fff}.wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible=true]+.editor-rich-text__tinymce{opacity:.8}.wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible=true]{height:auto}.editor-block-preview__content .wp-block-button{max-width:100%}.editor-block-preview__content .wp-block-button .wp-block-button__link{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.block-library-button__inline-link{background:#fff;display:flex;flex-wrap:wrap;align-items:center;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;line-height:1.4;width:374px}.block-library-button__inline-link .editor-url-input{width:auto}.block-library-button__inline-link .editor-url-input__suggestions{width:302px;z-index:6}.block-library-button__inline-link>.dashicon{width:36px}.block-library-button__inline-link .dashicon{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]::-webkit-input-placeholder{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]::-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .block-library-button__inline-link{margin-right:auto;margin-left:auto}[data-align=right] .block-library-button__inline-link{margin-right:auto;margin-left:0}.block-editor .wp-block-categories ul{padding-right:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-code .editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:0 0;outline:0;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}.editor-block-list__block[data-align=full] .wp-block-columns>.editor-inner-blocks{padding-right:14px;padding-left:14px}@media (min-width:600px){.editor-block-list__block[data-align=full] .wp-block-columns>.editor-inner-blocks{padding-right:60px;padding-left:60px}}.wp-block-columns{display:block}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{display:flex;flex-direction:column;flex:1;padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div>.editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit::before{right:0;left:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-contextual-toolbar{margin-right:-1px}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{margin-right:14px;margin-left:14px}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{flex-basis:50%;flex-grow:0}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(odd){margin-left:32px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(even){margin-right:32px}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-right:32px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:last-child){margin-left:32px}}.wp-block-columns [data-type="core/column"]{pointer-events:none}.wp-block-columns [data-type="core/column"].is-hovered>.editor-block-list__block-edit::before{content:none}.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb{display:none}:not(.components-disabled)>.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .editor-block-list__layout>*{pointer-events:all}.wp-block-cover .editor-rich-text__tinymce[data-is-empty=true]::before,.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty=true]::before{position:inherit}.wp-block-cover .editor-rich-text__tinymce:focus a[data-mce-selected],.wp-block-cover-image .editor-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:none;background:rgba(255,255,255,.3)}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .editor-rich-text__inline-toolbar{justify-content:flex-start}.wp-block-cover-image.has-right-content .editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .editor-rich-text__inline-toolbar{justify-content:flex-end}.wp-block-embed{margin:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file.is-transient{animation:edit-post__loading-fade-animation 1.6s ease-in-out infinite}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-right:1em}.wp-block-freeform.block-library-rich-text__tinymce{overflow:hidden}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.block-library-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.block-library-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.block-library-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.block-library-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.block-library-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:0}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:0;display:block;margin:15px auto;outline:0;cursor:default;border:2px dashed #bababa}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active button,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active i,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover button,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover i{color:#23282d}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn i{font-style:normal}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-toolbar-grp>div{padding:1px 3px}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .editor-block-list__block-edit::before{outline:1px solid #e2e4e7}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"].is-hovered .editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}.block-library-classic__toolbar{width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);padding:0 14px}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty::before{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}@media (min-width:600px){.editor-block-list__block[data-type="core/freeform"] .editor-block-switcher__no-switcher-icon{display:none}.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar{float:left;margin-left:23px;transform:translateY(-13px);top:14px}.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar{border:none;margin-top:3px}}@media (min-width:600px) and (min-width:782px){.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar{margin-top:0}}@media (min-width:600px){.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar::before{content:"";display:block;border-right:1px solid #e2e4e7;margin-top:4px;margin-bottom:4px}.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .components-toolbar{background:0 0;border:none}.editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item{padding-left:36px}}ul.wp-block-gallery li{list-style-type:none}.blocks-gallery-item figure:not(.is-selected):focus{outline:0}.blocks-gallery-item .is-selected,.blocks-gallery-item img:focus{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item .is-selected,body.admin-color-sunrise .blocks-gallery-item img:focus{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item .is-selected,body.admin-color-ocean .blocks-gallery-item img:focus{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item .is-selected,body.admin-color-midnight .blocks-gallery-item img:focus{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item .is-selected,body.admin-color-ectoplasm .blocks-gallery-item img:focus{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item .is-selected,body.admin-color-coffee .blocks-gallery-item img:focus{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item .is-selected,body.admin-color-blue .blocks-gallery-item img:focus{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item .is-selected,body.admin-color-light .blocks-gallery-item img:focus{outline:4px solid #0085ba}.blocks-gallery-item .is-transient img{opacity:.3}.blocks-gallery-item .editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .editor-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .editor-rich-text{left:0;right:0;margin-top:-4px}}.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__tinymce{padding-top:48px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .components-button.block-library-gallery-add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus,.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover{border:1px solid #555d66}.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce a{color:#fff}.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce:focus a[data-mce-selected]{color:rgba(0,0,0,.2)}.block-library-gallery-item__inline-menu{padding:2px;position:absolute;top:-2px;left:-2px;background-color:#0085ba;display:inline-flex;z-index:20}body.admin-color-sunrise .block-library-gallery-item__inline-menu{background-color:#d1864a}body.admin-color-ocean .block-library-gallery-item__inline-menu{background-color:#a3b9a2}body.admin-color-midnight .block-library-gallery-item__inline-menu{background-color:#e14d43}body.admin-color-ectoplasm .block-library-gallery-item__inline-menu{background-color:#a7b656}body.admin-color-coffee .block-library-gallery-item__inline-menu{background-color:#c2a68c}body.admin-color-blue .block-library-gallery-item__inline-menu{background-color:#82b4cb}body.admin-color-light .block-library-gallery-item__inline-menu{background-color:#0085ba}.block-library-gallery-item__inline-menu .components-button{color:#fff}.block-library-gallery-item__inline-menu .components-button:focus,.block-library-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item__remove.components-button:focus{color:inherit}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2){margin-left:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{color:inherit;margin:0}.wp-block-heading h1{font-size:2.44em}.wp-block-heading h2{font-size:1.95em}.wp-block-heading h3{font-size:1.56em}.wp-block-heading h4{font-size:1.25em}.wp-block-heading h5{font-size:1em}.wp-block-heading h6{font-size:.8em}.wp-block-heading h1.editor-rich-text__tinymce,.wp-block-heading h2.editor-rich-text__tinymce,.wp-block-heading h3.editor-rich-text__tinymce{line-height:1.4}.wp-block-heading h4.editor-rich-text__tinymce{line-height:1.5}.wp-block-html .editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.wp-block-html .editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image{margin-right:auto;margin-left:auto}.editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-right:auto;margin-left:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-left:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-right:5px}.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .editor-block-list__block-edit .editor-rich-text,[data-type="core/image"][data-align=left] .editor-block-list__block-edit .editor-rich-text,[data-type="core/image"][data-align=right] .editor-block-list__block-edit .editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .editor-block-list__block-edit figure.is-resized .editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-right:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-right:0}.wp-block-media-text{grid-template-areas:"media-text-media media-text-content" "resizer resizer"}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media" "resizer resizer"}.wp-block-media-text .__resizable_base__{grid-area:resizer}.wp-block-media-text .editor-media-container__resizer{grid-area:media-text-media;align-self:center;width:100%!important}.wp-block-media-text .editor-inner-blocks{word-break:break-word;grid-area:media-text-content;text-align:initial;padding:0 8% 0 8%}.wp-block-media-text>.editor-inner-blocks>.editor-block-list__layout>.editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}.block-library-list .editor-rich-text__tinymce,.block-library-list .editor-rich-text__tinymce ol,.block-library-list .editor-rich-text__tinymce ul{padding-right:1.3em;margin-right:1.3em}.editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more::before{content:"";position:absolute;top:calc(50%);right:0;left:0;border-top:3px dashed #ccd0d4}.editor-visual-editor__block[data-type="core/nextpage"]{max-width:100%}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage::before{content:"";position:absolute;top:calc(50%);right:0;left:0;border-top:3px dashed #ccd0d4}.wp-block-preformatted pre{white-space:pre-wrap}.editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty=true]::before,.editor-block-list__block[data-type="core/pullquote"][data-align=left] .editor-rich-text p,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty=true]::before,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .editor-rich-text p{font-size:20px}.wp-block-pullquote cite .editor-rich-text__tinymce[data-is-empty=true]::before{font-size:14px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.wp-block-pullquote .editor-rich-text__tinymce[data-is-empty=true]::before{width:100%;right:50%;transform:translateX(50%)}.wp-block-pullquote blockquote>.block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty=true]::before,.wp-block-pullquote blockquote>.editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-right:0;margin-left:0}.wp-block-pullquote.is-style-solid-color blockquote>.editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote{margin:0}.wp-block-quote__citation{font-size:13px}.wp-block-shortcode{display:flex;flex-direction:row;padding:14px;background-color:#f8f9f9;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.wp-block-shortcode label{display:flex;align-items:center;margin-left:8px;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .editor-plain-text{flex-grow:1}.wp-block-shortcode .dashicon{margin-left:8px}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.editor-block-list__block[data-type="core/table"][data-align=center] table,.editor-block-list__block[data-type="core/table"][data-align=left] table,.editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid currentColor}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.wp-block-text-columns .editor-rich-text__tinymce:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{margin-left:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em}
\ No newline at end of file
+.block-editor ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin:0}.editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.editor-block-list__block[data-type="core/button"][data-align=right]{text-align:right}.wp-block-button{display:inline-block;margin-bottom:0;position:relative}.wp-block-button .editor-rich-text__tinymce.mce-content-body{cursor:text;line-height:24px}.wp-block-button:not(.has-text-color):not(.is-style-outline) .editor-rich-text__tinymce[data-is-placeholder-visible=true]+.editor-rich-text__tinymce{color:#fff}.wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible=true]+.editor-rich-text__tinymce{opacity:.8}.wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible=true]{height:auto}.editor-block-preview__content .wp-block-button{max-width:100%}.editor-block-preview__content .wp-block-button .wp-block-button__link{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.block-library-button__inline-link{background:#fff;display:flex;flex-wrap:wrap;align-items:center;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;line-height:1.4;width:374px}.block-library-button__inline-link .editor-url-input{width:auto}.block-library-button__inline-link .editor-url-input__suggestions{width:302px;z-index:6}.block-library-button__inline-link>.dashicon{width:36px}.block-library-button__inline-link .dashicon{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]::-webkit-input-placeholder{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]::-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .block-library-button__inline-link{margin-right:auto;margin-left:auto}[data-align=right] .block-library-button__inline-link{margin-right:auto;margin-left:0}.block-editor .wp-block-categories ul{padding-right:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-code .editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:0 0;outline:0;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}.editor-block-list__block[data-align=full] .wp-block-columns>.editor-inner-blocks{padding-right:14px;padding-left:14px}@media (min-width:600px){.editor-block-list__block[data-align=full] .wp-block-columns>.editor-inner-blocks{padding-right:60px;padding-left:60px}}.wp-block-columns{display:block}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{display:flex;flex-direction:column;flex:1;padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div>.editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit::before{right:0;left:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-contextual-toolbar{margin-right:-1px}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{margin-right:14px;margin-left:14px}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{flex-basis:50%;flex-grow:0}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(odd){margin-left:32px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(even){margin-right:32px}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-right:32px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:last-child){margin-left:32px}}.wp-block-columns [data-type="core/column"]{pointer-events:none}.wp-block-columns [data-type="core/column"].is-hovered>.editor-block-list__block-edit::before{content:none}.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb{display:none}:not(.components-disabled)>.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>*{pointer-events:all}.wp-block-cover .editor-rich-text__tinymce[data-is-empty=true]::before,.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty=true]::before{position:inherit}.wp-block-cover .editor-rich-text__tinymce:focus a[data-mce-selected],.wp-block-cover-image .editor-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:none;background:rgba(255,255,255,.3)}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .editor-rich-text__inline-toolbar{justify-content:flex-start}.wp-block-cover-image.has-right-content .editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .editor-rich-text__inline-toolbar{justify-content:flex-end}.wp-block-embed{margin:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file.is-transient{animation:edit-post__loading-fade-animation 1.6s ease-in-out infinite}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-right:1em}.wp-block-freeform.block-library-rich-text__tinymce{overflow:hidden}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.block-library-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.block-library-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.block-library-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.block-library-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.block-library-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:0}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:0;display:block;margin:15px auto;outline:0;cursor:default;border:2px dashed #bababa}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active button,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active i,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover button,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover i{color:#23282d}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn i{font-style:normal}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-toolbar-grp>div{padding:1px 3px}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .editor-block-list__block-edit::before{outline:1px solid #e2e4e7}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"].is-hovered .editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}.block-library-classic__toolbar{width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);padding:0 14px}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty::before{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}@media (min-width:600px){.editor-block-list__block[data-type="core/freeform"] .editor-block-switcher__no-switcher-icon{display:none}.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar{float:left;margin-left:23px;transform:translateY(-13px);top:14px}.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar{border:none;margin-top:3px}}@media (min-width:600px) and (min-width:782px){.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar{margin-top:0}}@media (min-width:600px){.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar::before{content:"";display:block;border-right:1px solid #e2e4e7;margin-top:4px;margin-bottom:4px}.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .components-toolbar{background:0 0;border:none}.editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item{padding-left:36px}}ul.wp-block-gallery li{list-style-type:none}.blocks-gallery-item figure:not(.is-selected):focus{outline:0}.blocks-gallery-item .is-selected,.blocks-gallery-item img:focus{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item .is-selected,body.admin-color-sunrise .blocks-gallery-item img:focus{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item .is-selected,body.admin-color-ocean .blocks-gallery-item img:focus{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item .is-selected,body.admin-color-midnight .blocks-gallery-item img:focus{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item .is-selected,body.admin-color-ectoplasm .blocks-gallery-item img:focus{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item .is-selected,body.admin-color-coffee .blocks-gallery-item img:focus{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item .is-selected,body.admin-color-blue .blocks-gallery-item img:focus{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item .is-selected,body.admin-color-light .blocks-gallery-item img:focus{outline:4px solid #0085ba}.blocks-gallery-item .is-transient img{opacity:.3}.blocks-gallery-item .editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .editor-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .editor-rich-text{left:0;right:0;margin-top:-4px}}.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__tinymce{padding-top:48px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .components-button.block-library-gallery-add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus,.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover{border:1px solid #555d66}.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce a{color:#fff}.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce:focus a[data-mce-selected]{color:rgba(0,0,0,.2)}.block-library-gallery-item__inline-menu{padding:2px;position:absolute;top:-2px;left:-2px;background-color:#0085ba;display:inline-flex;z-index:20}body.admin-color-sunrise .block-library-gallery-item__inline-menu{background-color:#d1864a}body.admin-color-ocean .block-library-gallery-item__inline-menu{background-color:#a3b9a2}body.admin-color-midnight .block-library-gallery-item__inline-menu{background-color:#e14d43}body.admin-color-ectoplasm .block-library-gallery-item__inline-menu{background-color:#a7b656}body.admin-color-coffee .block-library-gallery-item__inline-menu{background-color:#c2a68c}body.admin-color-blue .block-library-gallery-item__inline-menu{background-color:#82b4cb}body.admin-color-light .block-library-gallery-item__inline-menu{background-color:#0085ba}.block-library-gallery-item__inline-menu .components-button{color:#fff}.block-library-gallery-item__inline-menu .components-button:focus,.block-library-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item__remove.components-button:focus{color:inherit}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2){margin-left:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{color:inherit;margin:0}.wp-block-heading h1{font-size:2.44em}.wp-block-heading h2{font-size:1.95em}.wp-block-heading h3{font-size:1.56em}.wp-block-heading h4{font-size:1.25em}.wp-block-heading h5{font-size:1em}.wp-block-heading h6{font-size:.8em}.wp-block-heading h1.editor-rich-text__tinymce,.wp-block-heading h2.editor-rich-text__tinymce,.wp-block-heading h3.editor-rich-text__tinymce{line-height:1.4}.wp-block-heading h4.editor-rich-text__tinymce{line-height:1.5}.wp-block-html .editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.wp-block-html .editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image{margin-right:auto;margin-left:auto}.editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-right:auto;margin-left:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-left:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-right:5px}.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .editor-block-list__block-edit .editor-rich-text,[data-type="core/image"][data-align=left] .editor-block-list__block-edit .editor-rich-text,[data-type="core/image"][data-align=right] .editor-block-list__block-edit .editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .editor-block-list__block-edit figure.is-resized .editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-right:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-right:0}.wp-block-media-text{grid-template-areas:"media-text-media media-text-content" "resizer resizer"}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media" "resizer resizer"}.wp-block-media-text .__resizable_base__{grid-area:resizer}.wp-block-media-text .editor-media-container__resizer{grid-area:media-text-media;align-self:center;width:100%!important}.wp-block-media-text .editor-inner-blocks{word-break:break-word;grid-area:media-text-content;text-align:initial;padding:0 8% 0 8%}.wp-block-media-text>.editor-inner-blocks>.editor-block-list__layout>.editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}.block-library-list .editor-rich-text__tinymce,.block-library-list .editor-rich-text__tinymce ol,.block-library-list .editor-rich-text__tinymce ul{padding-right:1.3em;margin-right:1.3em}.editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more::before{content:"";position:absolute;top:calc(50%);right:0;left:0;border-top:3px dashed #ccd0d4}.editor-visual-editor__block[data-type="core/nextpage"]{max-width:100%}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage::before{content:"";position:absolute;top:calc(50%);right:0;left:0;border-top:3px dashed #ccd0d4}.editor-rich-text__tinymce[data-is-placeholder-visible=true]+.editor-rich-text__tinymce.wp-block-paragraph{padding-left:36px}.wp-block-preformatted pre{white-space:pre-wrap}.editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty=true]::before,.editor-block-list__block[data-type="core/pullquote"][data-align=left] .editor-rich-text p,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty=true]::before,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .editor-rich-text p{font-size:20px}.wp-block-pullquote cite .editor-rich-text__tinymce[data-is-empty=true]::before{font-size:14px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.wp-block-pullquote .editor-rich-text__tinymce[data-is-empty=true]::before{width:100%;right:50%;transform:translateX(50%)}.wp-block-pullquote blockquote>.block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty=true]::before,.wp-block-pullquote blockquote>.editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-right:0;margin-left:0}.wp-block-pullquote.is-style-solid-color blockquote>.editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote{margin:0}.wp-block-quote__citation{font-size:13px}.wp-block-shortcode{display:flex;flex-direction:row;padding:14px;background-color:#f8f9f9;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.wp-block-shortcode label{display:flex;align-items:center;margin-left:8px;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .editor-plain-text{flex-grow:1}.wp-block-shortcode .dashicon{margin-left:8px}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.editor-block-list__block[data-type="core/table"][data-align=center] table,.editor-block-list__block[data-type="core/table"][data-align=left] table,.editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid currentColor}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.wp-block-text-columns .editor-rich-text__tinymce:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{margin-left:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em}
\ No newline at end of file
diff --git a/wp-includes/css/dist/block-library/editor.css b/wp-includes/css/dist/block-library/editor.css
index 052dcf3b6a..23cd694231 100644
--- a/wp-includes/css/dist/block-library/editor.css
+++ b/wp-includes/css/dist/block-library/editor.css
@@ -215,7 +215,7 @@
.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb {
display: none; }
-:not(.components-disabled) > .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit .editor-block-list__layout > * {
+:not(.components-disabled) > .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > * {
pointer-events: all; }
.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty="true"]::before,
@@ -839,6 +839,9 @@ figure.block-library-media-text__media-container {
right: 0;
border-top: 3px dashed #ccd0d4; }
+.editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce.wp-block-paragraph {
+ padding-right: 36px; }
+
.wp-block-preformatted pre {
white-space: pre-wrap; }
diff --git a/wp-includes/css/dist/block-library/editor.min.css b/wp-includes/css/dist/block-library/editor.min.css
index e60b915dca..282e1d4ebb 100644
--- a/wp-includes/css/dist/block-library/editor.min.css
+++ b/wp-includes/css/dist/block-library/editor.min.css
@@ -1 +1 @@
-.block-editor ul.wp-block-archives{padding-left:2.5em}.wp-block-audio{margin:0}.editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.editor-block-list__block[data-type="core/button"][data-align=right]{/*!rtl:ignore*/text-align:right}.wp-block-button{display:inline-block;margin-bottom:0;position:relative}.wp-block-button .editor-rich-text__tinymce.mce-content-body{cursor:text;line-height:24px}.wp-block-button:not(.has-text-color):not(.is-style-outline) .editor-rich-text__tinymce[data-is-placeholder-visible=true]+.editor-rich-text__tinymce{color:#fff}.wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible=true]+.editor-rich-text__tinymce{opacity:.8}.wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible=true]{height:auto}.editor-block-preview__content .wp-block-button{max-width:100%}.editor-block-preview__content .wp-block-button .wp-block-button__link{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.block-library-button__inline-link{background:#fff;display:flex;flex-wrap:wrap;align-items:center;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;line-height:1.4;width:374px}.block-library-button__inline-link .editor-url-input{width:auto}.block-library-button__inline-link .editor-url-input__suggestions{width:302px;z-index:6}.block-library-button__inline-link>.dashicon{width:36px}.block-library-button__inline-link .dashicon{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]::-webkit-input-placeholder{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]::-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .block-library-button__inline-link{margin-left:auto;margin-right:auto}[data-align=right] .block-library-button__inline-link{margin-left:auto;margin-right:0}.block-editor .wp-block-categories ul{padding-left:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-code .editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:0 0;outline:0;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}.editor-block-list__block[data-align=full] .wp-block-columns>.editor-inner-blocks{padding-left:14px;padding-right:14px}@media (min-width:600px){.editor-block-list__block[data-align=full] .wp-block-columns>.editor-inner-blocks{padding-left:60px;padding-right:60px}}.wp-block-columns{display:block}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{display:flex;flex-direction:column;flex:1;padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div>.editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit::before{left:0;right:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-contextual-toolbar{margin-left:-1px}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{margin-left:14px;margin-right:14px}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{flex-basis:50%;flex-grow:0}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(odd){margin-right:32px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(even){margin-left:32px}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-left:32px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:last-child){margin-right:32px}}.wp-block-columns [data-type="core/column"]{pointer-events:none}.wp-block-columns [data-type="core/column"].is-hovered>.editor-block-list__block-edit::before{content:none}.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb{display:none}:not(.components-disabled)>.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .editor-block-list__layout>*{pointer-events:all}.wp-block-cover .editor-rich-text__tinymce[data-is-empty=true]::before,.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty=true]::before{position:inherit}.wp-block-cover .editor-rich-text__tinymce:focus a[data-mce-selected],.wp-block-cover-image .editor-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:none;background:rgba(255,255,255,.3)}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .editor-rich-text__inline-toolbar{justify-content:flex-start}.wp-block-cover-image.has-right-content .editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .editor-rich-text__inline-toolbar{justify-content:flex-end}.wp-block-embed{margin:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file.is-transient{animation:edit-post__loading-fade-animation 1.6s ease-in-out infinite}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-left:1em}.wp-block-freeform.block-library-rich-text__tinymce{overflow:hidden}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.block-library-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.block-library-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.block-library-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.block-library-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.block-library-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:0}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:0;display:block;margin:15px auto;outline:0;cursor:default;border:2px dashed #bababa}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active button,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active i,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover button,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover i{color:#23282d}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn i{font-style:normal}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-toolbar-grp>div{padding:1px 3px}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .editor-block-list__block-edit::before{outline:1px solid #e2e4e7}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"].is-hovered .editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}.block-library-classic__toolbar{width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);padding:0 14px}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty::before{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}@media (min-width:600px){.editor-block-list__block[data-type="core/freeform"] .editor-block-switcher__no-switcher-icon{display:none}.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar{float:right;margin-right:23px;transform:translateY(-13px);top:14px}.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar{border:none;margin-top:3px}}@media (min-width:600px) and (min-width:782px){.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar{margin-top:0}}@media (min-width:600px){.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar::before{content:"";display:block;border-left:1px solid #e2e4e7;margin-top:4px;margin-bottom:4px}.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .components-toolbar{background:0 0;border:none}.editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item{padding-right:36px}}ul.wp-block-gallery li{list-style-type:none}.blocks-gallery-item figure:not(.is-selected):focus{outline:0}.blocks-gallery-item .is-selected,.blocks-gallery-item img:focus{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item .is-selected,body.admin-color-sunrise .blocks-gallery-item img:focus{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item .is-selected,body.admin-color-ocean .blocks-gallery-item img:focus{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item .is-selected,body.admin-color-midnight .blocks-gallery-item img:focus{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item .is-selected,body.admin-color-ectoplasm .blocks-gallery-item img:focus{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item .is-selected,body.admin-color-coffee .blocks-gallery-item img:focus{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item .is-selected,body.admin-color-blue .blocks-gallery-item img:focus{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item .is-selected,body.admin-color-light .blocks-gallery-item img:focus{outline:4px solid #0085ba}.blocks-gallery-item .is-transient img{opacity:.3}.blocks-gallery-item .editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .editor-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .editor-rich-text{right:0;left:0;margin-top:-4px}}.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__tinymce{padding-top:48px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .components-button.block-library-gallery-add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus,.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover{border:1px solid #555d66}.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce a{color:#fff}.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce:focus a[data-mce-selected]{color:rgba(0,0,0,.2)}.block-library-gallery-item__inline-menu{padding:2px;position:absolute;top:-2px;right:-2px;background-color:#0085ba;display:inline-flex;z-index:20}body.admin-color-sunrise .block-library-gallery-item__inline-menu{background-color:#d1864a}body.admin-color-ocean .block-library-gallery-item__inline-menu{background-color:#a3b9a2}body.admin-color-midnight .block-library-gallery-item__inline-menu{background-color:#e14d43}body.admin-color-ectoplasm .block-library-gallery-item__inline-menu{background-color:#a7b656}body.admin-color-coffee .block-library-gallery-item__inline-menu{background-color:#c2a68c}body.admin-color-blue .block-library-gallery-item__inline-menu{background-color:#82b4cb}body.admin-color-light .block-library-gallery-item__inline-menu{background-color:#0085ba}.block-library-gallery-item__inline-menu .components-button{color:#fff}.block-library-gallery-item__inline-menu .components-button:focus,.block-library-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item__remove.components-button:focus{color:inherit}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2){margin-right:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{color:inherit;margin:0}.wp-block-heading h1{font-size:2.44em}.wp-block-heading h2{font-size:1.95em}.wp-block-heading h3{font-size:1.56em}.wp-block-heading h4{font-size:1.25em}.wp-block-heading h5{font-size:1em}.wp-block-heading h6{font-size:.8em}.wp-block-heading h1.editor-rich-text__tinymce,.wp-block-heading h2.editor-rich-text__tinymce,.wp-block-heading h3.editor-rich-text__tinymce{line-height:1.4}.wp-block-heading h4.editor-rich-text__tinymce{line-height:1.5}.wp-block-html .editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.wp-block-html .editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image{margin-left:auto;margin-right:auto}.editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-left:auto;margin-right:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-right:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-left:5px}.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .editor-block-list__block-edit .editor-rich-text,[data-type="core/image"][data-align=left] .editor-block-list__block-edit .editor-rich-text,[data-type="core/image"][data-align=right] .editor-block-list__block-edit .editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .editor-block-list__block-edit figure.is-resized .editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-left:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-left:0}.wp-block-media-text{grid-template-areas:"media-text-media media-text-content" "resizer resizer"}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media" "resizer resizer"}.wp-block-media-text .__resizable_base__{grid-area:resizer}.wp-block-media-text .editor-media-container__resizer{grid-area:media-text-media;align-self:center;width:100%!important}.wp-block-media-text .editor-inner-blocks{word-break:break-word;grid-area:media-text-content;text-align:initial;padding:0 8% 0 8%}.wp-block-media-text>.editor-inner-blocks>.editor-block-list__layout>.editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}.block-library-list .editor-rich-text__tinymce,.block-library-list .editor-rich-text__tinymce ol,.block-library-list .editor-rich-text__tinymce ul{padding-left:1.3em;margin-left:1.3em}.editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more::before{content:"";position:absolute;top:calc(50%);left:0;right:0;border-top:3px dashed #ccd0d4}.editor-visual-editor__block[data-type="core/nextpage"]{max-width:100%}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage::before{content:"";position:absolute;top:calc(50%);left:0;right:0;border-top:3px dashed #ccd0d4}.wp-block-preformatted pre{white-space:pre-wrap}.editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty=true]::before,.editor-block-list__block[data-type="core/pullquote"][data-align=left] .editor-rich-text p,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty=true]::before,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .editor-rich-text p{font-size:20px}.wp-block-pullquote cite .editor-rich-text__tinymce[data-is-empty=true]::before{font-size:14px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.wp-block-pullquote .editor-rich-text__tinymce[data-is-empty=true]::before{width:100%;left:50%;transform:translateX(-50%)}.wp-block-pullquote blockquote>.block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty=true]::before,.wp-block-pullquote blockquote>.editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-left:0;margin-right:0}.wp-block-pullquote.is-style-solid-color blockquote>.editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote{margin:0}.wp-block-quote__citation{font-size:13px}.wp-block-shortcode{display:flex;flex-direction:row;padding:14px;background-color:#f8f9f9;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.wp-block-shortcode label{display:flex;align-items:center;margin-right:8px;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .editor-plain-text{flex-grow:1}.wp-block-shortcode .dashicon{margin-right:8px}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.editor-block-list__block[data-type="core/table"][data-align=center] table,.editor-block-list__block[data-type="core/table"][data-align=left] table,.editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid currentColor}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.wp-block-text-columns .editor-rich-text__tinymce:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{margin-right:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em}
\ No newline at end of file
+.block-editor ul.wp-block-archives{padding-left:2.5em}.wp-block-audio{margin:0}.editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.editor-block-list__block[data-type="core/button"][data-align=right]{/*!rtl:ignore*/text-align:right}.wp-block-button{display:inline-block;margin-bottom:0;position:relative}.wp-block-button .editor-rich-text__tinymce.mce-content-body{cursor:text;line-height:24px}.wp-block-button:not(.has-text-color):not(.is-style-outline) .editor-rich-text__tinymce[data-is-placeholder-visible=true]+.editor-rich-text__tinymce{color:#fff}.wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible=true]+.editor-rich-text__tinymce{opacity:.8}.wp-block-button .editor-rich-text__tinymce[data-is-placeholder-visible=true]{height:auto}.editor-block-preview__content .wp-block-button{max-width:100%}.editor-block-preview__content .wp-block-button .wp-block-button__link{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.block-library-button__inline-link{background:#fff;display:flex;flex-wrap:wrap;align-items:center;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;line-height:1.4;width:374px}.block-library-button__inline-link .editor-url-input{width:auto}.block-library-button__inline-link .editor-url-input__suggestions{width:302px;z-index:6}.block-library-button__inline-link>.dashicon{width:36px}.block-library-button__inline-link .dashicon{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]::-webkit-input-placeholder{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]:-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]::-ms-input-placeholder{color:#8f98a1}.block-library-button__inline-link .editor-url-input input[type=text]::placeholder{color:#8f98a1}[data-align=center] .block-library-button__inline-link{margin-left:auto;margin-right:auto}[data-align=right] .block-library-button__inline-link{margin-left:auto;margin-right:0}.block-editor .wp-block-categories ul{padding-left:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-code .editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:0 0;outline:0;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}.editor-block-list__block[data-align=full] .wp-block-columns>.editor-inner-blocks{padding-left:14px;padding-right:14px}@media (min-width:600px){.editor-block-list__block[data-align=full] .wp-block-columns>.editor-inner-blocks{padding-left:60px;padding-right:60px}}.wp-block-columns{display:block}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{display:flex;flex-direction:column;flex:1;padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div>.editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit::before{left:0;right:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-contextual-toolbar{margin-left:-1px}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{margin-left:14px;margin-right:14px}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{flex-basis:50%;flex-grow:0}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(odd){margin-right:32px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(even){margin-left:32px}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-left:32px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:last-child){margin-right:32px}}.wp-block-columns [data-type="core/column"]{pointer-events:none}.wp-block-columns [data-type="core/column"].is-hovered>.editor-block-list__block-edit::before{content:none}.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb{display:none}:not(.components-disabled)>.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>*{pointer-events:all}.wp-block-cover .editor-rich-text__tinymce[data-is-empty=true]::before,.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty=true]::before{position:inherit}.wp-block-cover .editor-rich-text__tinymce:focus a[data-mce-selected],.wp-block-cover-image .editor-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:none;background:rgba(255,255,255,.3)}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .editor-rich-text__inline-toolbar{justify-content:flex-start}.wp-block-cover-image.has-right-content .editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .editor-rich-text__inline-toolbar{justify-content:flex-end}.wp-block-embed{margin:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file.is-transient{animation:edit-post__loading-fade-animation 1.6s ease-in-out infinite}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-left:1em}.wp-block-freeform.block-library-rich-text__tinymce{overflow:hidden}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce h1{font-size:2em}.wp-block-freeform.block-library-rich-text__tinymce h2{font-size:1.6em}.wp-block-freeform.block-library-rich-text__tinymce h3{font-size:1.4em}.wp-block-freeform.block-library-rich-text__tinymce h4{font-size:1.2em}.wp-block-freeform.block-library-rich-text__tinymce h5{font-size:1.1em}.wp-block-freeform.block-library-rich-text__tinymce h6{font-size:1em}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:0}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:0;display:block;margin:15px auto;outline:0;cursor:default;border:2px dashed #bababa}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active button,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active i,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover button,.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn.mce-active:hover i{color:#23282d}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-btn i{font-style:normal}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .mce-toolbar-grp>div{padding:1px 3px}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"] .editor-block-list__block-edit::before{outline:1px solid #e2e4e7}.editor-block-list__layout .editor-block-list__block[data-type="core/freeform"].is-hovered .editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}.block-library-classic__toolbar{width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);padding:0 14px}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{height:37px;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty::before{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}@media (min-width:600px){.editor-block-list__block[data-type="core/freeform"] .editor-block-switcher__no-switcher-icon{display:none}.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar{float:right;margin-right:23px;transform:translateY(-13px);top:14px}.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar{border:none;margin-top:3px}}@media (min-width:600px) and (min-width:782px){.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar{margin-top:0}}@media (min-width:600px){.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .editor-block-toolbar::before{content:"";display:block;border-left:1px solid #e2e4e7;margin-top:4px;margin-bottom:4px}.editor-block-list__block[data-type="core/freeform"] .editor-block-contextual-toolbar .components-toolbar{background:0 0;border:none}.editor-block-list__block[data-type="core/freeform"] .mce-container.mce-toolbar.mce-stack-layout-item{padding-right:36px}}ul.wp-block-gallery li{list-style-type:none}.blocks-gallery-item figure:not(.is-selected):focus{outline:0}.blocks-gallery-item .is-selected,.blocks-gallery-item img:focus{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item .is-selected,body.admin-color-sunrise .blocks-gallery-item img:focus{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item .is-selected,body.admin-color-ocean .blocks-gallery-item img:focus{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item .is-selected,body.admin-color-midnight .blocks-gallery-item img:focus{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item .is-selected,body.admin-color-ectoplasm .blocks-gallery-item img:focus{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item .is-selected,body.admin-color-coffee .blocks-gallery-item img:focus{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item .is-selected,body.admin-color-blue .blocks-gallery-item img:focus{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item .is-selected,body.admin-color-light .blocks-gallery-item img:focus{outline:4px solid #0085ba}.blocks-gallery-item .is-transient img{opacity:.3}.blocks-gallery-item .editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}.blocks-gallery-item .editor-rich-text figcaption:not([data-is-placeholder-visible=true]){position:relative;overflow:hidden}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .editor-rich-text{right:0;left:0;margin-top:-4px}}.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .editor-rich-text .editor-rich-text__tinymce{padding-top:48px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button,.blocks-gallery-item .components-form-file-upload{width:100%;height:100%}.blocks-gallery-item .components-button.block-library-gallery-add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button .dashicon{margin-top:10px}.blocks-gallery-item .components-button.block-library-gallery-add-item-button:focus,.blocks-gallery-item .components-button.block-library-gallery-add-item-button:hover{border:1px solid #555d66}.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce a{color:#fff}.blocks-gallery-item .editor-rich-text .editor-rich-text__tinymce:focus a[data-mce-selected]{color:rgba(0,0,0,.2)}.block-library-gallery-item__inline-menu{padding:2px;position:absolute;top:-2px;right:-2px;background-color:#0085ba;display:inline-flex;z-index:20}body.admin-color-sunrise .block-library-gallery-item__inline-menu{background-color:#d1864a}body.admin-color-ocean .block-library-gallery-item__inline-menu{background-color:#a3b9a2}body.admin-color-midnight .block-library-gallery-item__inline-menu{background-color:#e14d43}body.admin-color-ectoplasm .block-library-gallery-item__inline-menu{background-color:#a7b656}body.admin-color-coffee .block-library-gallery-item__inline-menu{background-color:#c2a68c}body.admin-color-blue .block-library-gallery-item__inline-menu{background-color:#82b4cb}body.admin-color-light .block-library-gallery-item__inline-menu{background-color:#0085ba}.block-library-gallery-item__inline-menu .components-button{color:#fff}.block-library-gallery-item__inline-menu .components-button:focus,.block-library-gallery-item__inline-menu .components-button:hover{color:#fff}.blocks-gallery-item__remove{padding:0}.blocks-gallery-item__remove.components-button:focus{color:inherit}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2){margin-right:0}.wp-block-heading h1,.wp-block-heading h2,.wp-block-heading h3,.wp-block-heading h4,.wp-block-heading h5,.wp-block-heading h6{color:inherit;margin:0}.wp-block-heading h1{font-size:2.44em}.wp-block-heading h2{font-size:1.95em}.wp-block-heading h3{font-size:1.56em}.wp-block-heading h4{font-size:1.25em}.wp-block-heading h5{font-size:1em}.wp-block-heading h6{font-size:.8em}.wp-block-heading h1.editor-rich-text__tinymce,.wp-block-heading h2.editor-rich-text__tinymce,.wp-block-heading h3.editor-rich-text__tinymce{line-height:1.4}.wp-block-heading h4.editor-rich-text__tinymce{line-height:1.5}.wp-block-html .editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.wp-block-html .editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image{margin-left:auto;margin-right:auto}.editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-left:auto;margin-right:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-right:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-left:5px}.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.editor-block-list__block[data-type="core/image"] .editor-block-toolbar .editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .editor-block-list__block-edit .editor-rich-text,[data-type="core/image"][data-align=left] .editor-block-list__block-edit .editor-rich-text,[data-type="core/image"][data-align=right] .editor-block-list__block-edit .editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .editor-block-list__block-edit figure.is-resized .editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-left:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-left:0}.wp-block-media-text{grid-template-areas:"media-text-media media-text-content" "resizer resizer"}.wp-block-media-text.has-media-on-the-right{grid-template-areas:"media-text-content media-text-media" "resizer resizer"}.wp-block-media-text .__resizable_base__{grid-area:resizer}.wp-block-media-text .editor-media-container__resizer{grid-area:media-text-media;align-self:center;width:100%!important}.wp-block-media-text .editor-inner-blocks{word-break:break-word;grid-area:media-text-content;text-align:initial;padding:0 8% 0 8%}.wp-block-media-text>.editor-inner-blocks>.editor-block-list__layout>.editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}.block-library-list .editor-rich-text__tinymce,.block-library-list .editor-rich-text__tinymce ol,.block-library-list .editor-rich-text__tinymce ul{padding-left:1.3em;margin-left:1.3em}.editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more::before{content:"";position:absolute;top:calc(50%);left:0;right:0;border-top:3px dashed #ccd0d4}.editor-visual-editor__block[data-type="core/nextpage"]{max-width:100%}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage::before{content:"";position:absolute;top:calc(50%);left:0;right:0;border-top:3px dashed #ccd0d4}.editor-rich-text__tinymce[data-is-placeholder-visible=true]+.editor-rich-text__tinymce.wp-block-paragraph{padding-right:36px}.wp-block-preformatted pre{white-space:pre-wrap}.editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty=true]::before,.editor-block-list__block[data-type="core/pullquote"][data-align=left] .editor-rich-text p,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty=true]::before,.editor-block-list__block[data-type="core/pullquote"][data-align=right] .editor-rich-text p{font-size:20px}.wp-block-pullquote cite .editor-rich-text__tinymce[data-is-empty=true]::before{font-size:14px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.wp-block-pullquote .editor-rich-text__tinymce[data-is-empty=true]::before{width:100%;left:50%;transform:translateX(-50%)}.wp-block-pullquote blockquote>.block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty=true]::before,.wp-block-pullquote blockquote>.editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-left:0;margin-right:0}.wp-block-pullquote.is-style-solid-color blockquote>.editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote{margin:0}.wp-block-quote__citation{font-size:13px}.wp-block-shortcode{display:flex;flex-direction:row;padding:14px;background-color:#f8f9f9;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.wp-block-shortcode label{display:flex;align-items:center;margin-right:8px;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .editor-plain-text{flex-grow:1}.wp-block-shortcode .dashicon{margin-right:8px}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.editor-block-list__block[data-type="core/table"][data-align=center] table,.editor-block-list__block[data-type="core/table"][data-align=left] table,.editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid currentColor}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.wp-block-text-columns .editor-rich-text__tinymce:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{margin-right:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em}
\ 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 8ce916cfa1..22064e7654 100644
--- a/wp-includes/css/dist/block-library/style-rtl.css
+++ b/wp-includes/css/dist/block-library/style-rtl.css
@@ -286,7 +286,11 @@
opacity: 1; }
.wp-block-cover-image.components-placeholder,
.wp-block-cover.components-placeholder {
- height: inherit; }
+ background: rgba(139, 139, 150, 0.1);
+ min-height: 200px; }
+ .is-dark-theme .wp-block-cover-image.components-placeholder, .is-dark-theme
+ .wp-block-cover.components-placeholder {
+ background: rgba(255, 255, 255, 0.15); }
[data-align="left"] .wp-block-cover-image,
[data-align="right"] .wp-block-cover-image, .wp-block-cover-image.alignleft, .wp-block-cover-image.alignright, [data-align="left"]
.wp-block-cover,
@@ -296,6 +300,16 @@
.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,
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 ca392bd5ac..f0776e926f 100644
--- a/wp-includes/css/dist/block-library/style-rtl.min.css
+++ b/wp-includes/css/dist/block-library/style-rtl.min.css
@@ -1 +1 @@
-.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-block-audio audio{width:100%;min-width:300px}.editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;position:relative;top:-14px;margin:0 -14px;padding:8px 14px;position:relative;z-index:7}.editor-block-list__layout .editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-left:auto}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-left:8px;white-space:nowrap;font-weight:600}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 5px 0 0}}.editor-block-list__layout .reusable-block-indicator{background:#fff;border-right:1px dashed #e2e4e7;color:#555d66;border-bottom:1px dashed #e2e4e7;top:-14px;height:30px;padding:4px;position:absolute;z-index:1;width:30px;left:-14px}.wp-block-button{color:#fff;margin-bottom:1.5em}.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:23px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;line-height:24px;margin:0;padding:11px 24px;text-align:center;text-decoration:none;white-space:normal;word-break:break-all}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background:0 0;border:2px solid currentcolor}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex:1;margin-bottom:1em;flex-basis:100%;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (min-width:600px){.wp-block-column{flex-basis:50%;flex-grow:0}}@media (min-width:600px){.wp-block-column:nth-child(odd){margin-left:32px}.wp-block-column:nth-child(even){margin-right:32px}.wp-block-column:not(:first-child){margin-right:32px}.wp-block-column:not(:last-child){margin-left:32px}}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:center center;min-height:430px;width:100%;margin:0 0 1.5em 0;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 .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,.wp-block-cover h2,.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image .wp-block-cover-text,.wp-block-cover-image 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 .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,.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{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}}.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.components-placeholder,.wp-block-cover.components-placeholder{height:inherit}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright,[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.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__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}.editor-block-list__block[data-type="core/embed"][data-align=left] .editor-block-list__block-edit,.editor-block-list__block[data-type="core/embed"][data-align=right] .editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.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-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,.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{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-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,.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{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-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,.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{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-6 .wp-block-embed__wrapper::before{padding-top:66.66%}.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}.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0}.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}.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)){.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.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 5px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7) 0,rgba(0,0,0,.3) 60%,transparent)}.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.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)){.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}}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/ 2)}.wp-block-gallery .blocks-gallery-image:nth-of-type(even),.wp-block-gallery .blocks-gallery-item:nth-of-type(even){margin-left:0}.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){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 16px * 2)/ 3);margin-left:16px}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 16px * 3)/ 4);margin-left:16px}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 16px * 4)/ 5);margin-left:16px}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 16px * 5)/ 6);margin-left:16px}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 16px * 6)/ 7);margin-left:16px}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 16px * 7)/ 8);margin-left:16px}.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}.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}.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}.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}.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}.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}.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}.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}}.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.wp-block-gallery .blocks-gallery-item.has-add-item-button{width:100%}.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:305px;width:100%}.wp-block-gallery.aligncenter,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{display:flex}.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.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}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.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.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.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((100% / 2) - 16px)}.wp-block-latest-posts.columns-3 li{width:calc((100% / 3) - 16px)}.wp-block-latest-posts.columns-4 li{width:calc((100% / 4) - 16px)}.wp-block-latest-posts.columns-5 li{width:calc((100% / 5) - 16px)}.wp-block-latest-posts.columns-6 li{width:calc((100% / 6) - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-media-text{display:grid}.wp-block-media-text{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 .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% 0 8%}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}@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"}}p.is-small-text{font-size:14px}p.is-regular-text{font-size:16px}p.is-large-text{font-size:36px}p.is-larger-text{font-size:48px}p.has-drop-cap:not(:focus)::first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-right:0;margin-left:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width: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:0 0}.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-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:0 0;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:#191e23;font-size:20px;letter-spacing:2em;padding-right:2em;font-family:serif}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table.has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes td{border-color:transparent}.wp-block-text-columns{display:flex}.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:calc(100% / 2)}.wp-block-text-columns.columns-3 .wp-block-column{width:calc(100% / 3)}.wp-block-text-columns.columns-4 .wp-block-column{width:calc(100% / 4)}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-right:0;margin-left:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.has-pale-pink-background-color.has-pale-pink-background-color{background-color:#f78da7}.has-vivid-red-background-color.has-vivid-red-background-color{background-color:#cf2e2e}.has-luminous-vivid-orange-background-color.has-luminous-vivid-orange-background-color{background-color:#ff6900}.has-luminous-vivid-amber-background-color.has-luminous-vivid-amber-background-color{background-color:#fcb900}.has-light-green-cyan-background-color.has-light-green-cyan-background-color{background-color:#7bdcb5}.has-vivid-green-cyan-background-color.has-vivid-green-cyan-background-color{background-color:#00d084}.has-pale-cyan-blue-background-color.has-pale-cyan-blue-background-color{background-color:#8ed1fc}.has-vivid-cyan-blue-background-color.has-vivid-cyan-blue-background-color{background-color:#0693e3}.has-very-light-gray-background-color.has-very-light-gray-background-color{background-color:#eee}.has-cyan-bluish-gray-background-color.has-cyan-bluish-gray-background-color{background-color:#abb8c3}.has-very-dark-gray-background-color.has-very-dark-gray-background-color{background-color:#313131}.has-pale-pink-color.has-pale-pink-color{color:#f78da7}.has-vivid-red-color.has-vivid-red-color{color:#cf2e2e}.has-luminous-vivid-orange-color.has-luminous-vivid-orange-color{color:#ff6900}.has-luminous-vivid-amber-color.has-luminous-vivid-amber-color{color:#fcb900}.has-light-green-cyan-color.has-light-green-cyan-color{color:#7bdcb5}.has-vivid-green-cyan-color.has-vivid-green-cyan-color{color:#00d084}.has-pale-cyan-blue-color.has-pale-cyan-blue-color{color:#8ed1fc}.has-vivid-cyan-blue-color.has-vivid-cyan-blue-color{color:#0693e3}.has-very-light-gray-color.has-very-light-gray-color{color:#eee}.has-cyan-bluish-gray-color.has-cyan-bluish-gray-color{color:#abb8c3}.has-very-dark-gray-color.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}
\ No newline at end of file
+.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-block-audio audio{width:100%;min-width:300px}.editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;position:relative;top:-14px;margin:0 -14px;padding:8px 14px;position:relative;z-index:7}.editor-block-list__layout .editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-left:auto}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-left:8px;white-space:nowrap;font-weight:600}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 5px 0 0}}.editor-block-list__layout .reusable-block-indicator{background:#fff;border-right:1px dashed #e2e4e7;color:#555d66;border-bottom:1px dashed #e2e4e7;top:-14px;height:30px;padding:4px;position:absolute;z-index:1;width:30px;left:-14px}.wp-block-button{color:#fff;margin-bottom:1.5em}.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:23px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;line-height:24px;margin:0;padding:11px 24px;text-align:center;text-decoration:none;white-space:normal;word-break:break-all}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background:0 0;border:2px solid currentcolor}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex:1;margin-bottom:1em;flex-basis:100%;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (min-width:600px){.wp-block-column{flex-basis:50%;flex-grow:0}}@media (min-width:600px){.wp-block-column:nth-child(odd){margin-left:32px}.wp-block-column:nth-child(even){margin-right:32px}.wp-block-column:not(:first-child){margin-right:32px}.wp-block-column:not(:last-child){margin-left:32px}}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:center center;min-height:430px;width:100%;margin:0 0 1.5em 0;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 .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,.wp-block-cover h2,.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image .wp-block-cover-text,.wp-block-cover-image 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 .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,.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{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}}.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.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:rgba(255,255,255,.15)}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright,[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.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__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}.editor-block-list__block[data-type="core/embed"][data-align=left] .editor-block-list__block-edit,.editor-block-list__block[data-type="core/embed"][data-align=right] .editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.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-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,.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{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-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,.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{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-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,.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{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-6 .wp-block-embed__wrapper::before{padding-top:66.66%}.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}.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0}.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}.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)){.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.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 5px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7) 0,rgba(0,0,0,.3) 60%,transparent)}.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.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)){.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}}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/ 2)}.wp-block-gallery .blocks-gallery-image:nth-of-type(even),.wp-block-gallery .blocks-gallery-item:nth-of-type(even){margin-left:0}.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){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 16px * 2)/ 3);margin-left:16px}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 16px * 3)/ 4);margin-left:16px}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 16px * 4)/ 5);margin-left:16px}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 16px * 5)/ 6);margin-left:16px}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 16px * 6)/ 7);margin-left:16px}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 16px * 7)/ 8);margin-left:16px}.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}.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}.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}.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}.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}.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}.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}.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}}.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.wp-block-gallery .blocks-gallery-item.has-add-item-button{width:100%}.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:305px;width:100%}.wp-block-gallery.aligncenter,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{display:flex}.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.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}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.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.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.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((100% / 2) - 16px)}.wp-block-latest-posts.columns-3 li{width:calc((100% / 3) - 16px)}.wp-block-latest-posts.columns-4 li{width:calc((100% / 4) - 16px)}.wp-block-latest-posts.columns-5 li{width:calc((100% / 5) - 16px)}.wp-block-latest-posts.columns-6 li{width:calc((100% / 6) - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-media-text{display:grid}.wp-block-media-text{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 .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% 0 8%}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}@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"}}p.is-small-text{font-size:14px}p.is-regular-text{font-size:16px}p.is-large-text{font-size:36px}p.is-larger-text{font-size:48px}p.has-drop-cap:not(:focus)::first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-right:0;margin-left:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width: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:0 0}.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-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:0 0;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:#191e23;font-size:20px;letter-spacing:2em;padding-right:2em;font-family:serif}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table.has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes td{border-color:transparent}.wp-block-text-columns{display:flex}.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:calc(100% / 2)}.wp-block-text-columns.columns-3 .wp-block-column{width:calc(100% / 3)}.wp-block-text-columns.columns-4 .wp-block-column{width:calc(100% / 4)}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-right:0;margin-left:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.has-pale-pink-background-color.has-pale-pink-background-color{background-color:#f78da7}.has-vivid-red-background-color.has-vivid-red-background-color{background-color:#cf2e2e}.has-luminous-vivid-orange-background-color.has-luminous-vivid-orange-background-color{background-color:#ff6900}.has-luminous-vivid-amber-background-color.has-luminous-vivid-amber-background-color{background-color:#fcb900}.has-light-green-cyan-background-color.has-light-green-cyan-background-color{background-color:#7bdcb5}.has-vivid-green-cyan-background-color.has-vivid-green-cyan-background-color{background-color:#00d084}.has-pale-cyan-blue-background-color.has-pale-cyan-blue-background-color{background-color:#8ed1fc}.has-vivid-cyan-blue-background-color.has-vivid-cyan-blue-background-color{background-color:#0693e3}.has-very-light-gray-background-color.has-very-light-gray-background-color{background-color:#eee}.has-cyan-bluish-gray-background-color.has-cyan-bluish-gray-background-color{background-color:#abb8c3}.has-very-dark-gray-background-color.has-very-dark-gray-background-color{background-color:#313131}.has-pale-pink-color.has-pale-pink-color{color:#f78da7}.has-vivid-red-color.has-vivid-red-color{color:#cf2e2e}.has-luminous-vivid-orange-color.has-luminous-vivid-orange-color{color:#ff6900}.has-luminous-vivid-amber-color.has-luminous-vivid-amber-color{color:#fcb900}.has-light-green-cyan-color.has-light-green-cyan-color{color:#7bdcb5}.has-vivid-green-cyan-color.has-vivid-green-cyan-color{color:#00d084}.has-pale-cyan-blue-color.has-pale-cyan-blue-color{color:#8ed1fc}.has-vivid-cyan-blue-color.has-vivid-cyan-blue-color{color:#0693e3}.has-very-light-gray-color.has-very-light-gray-color{color:#eee}.has-cyan-bluish-gray-color.has-cyan-bluish-gray-color{color:#abb8c3}.has-very-dark-gray-color.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}
\ 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 c005bf3f01..07ad74f135 100644
--- a/wp-includes/css/dist/block-library/style.css
+++ b/wp-includes/css/dist/block-library/style.css
@@ -289,7 +289,11 @@
opacity: 1; }
.wp-block-cover-image.components-placeholder,
.wp-block-cover.components-placeholder {
- height: inherit; }
+ background: rgba(139, 139, 150, 0.1);
+ min-height: 200px; }
+ .is-dark-theme .wp-block-cover-image.components-placeholder, .is-dark-theme
+ .wp-block-cover.components-placeholder {
+ background: rgba(255, 255, 255, 0.15); }
[data-align="left"] .wp-block-cover-image,
[data-align="right"] .wp-block-cover-image, .wp-block-cover-image.alignleft, .wp-block-cover-image.alignright, [data-align="left"]
.wp-block-cover,
@@ -299,6 +303,16 @@
.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,
diff --git a/wp-includes/css/dist/block-library/style.min.css b/wp-includes/css/dist/block-library/style.min.css
index 8d9bdf80a6..15a6c5544f 100644
--- a/wp-includes/css/dist/block-library/style.min.css
+++ b/wp-includes/css/dist/block-library/style.min.css
@@ -1 +1 @@
-.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-block-audio audio{width:100%;min-width:300px}.editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;position:relative;top:-14px;margin:0 -14px;padding:8px 14px;position:relative;z-index:7}.editor-block-list__layout .editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-right:auto}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-right:8px;white-space:nowrap;font-weight:600}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 0 0 5px}}.editor-block-list__layout .reusable-block-indicator{background:#fff;border-left:1px dashed #e2e4e7;color:#555d66;border-bottom:1px dashed #e2e4e7;top:-14px;height:30px;padding:4px;position:absolute;z-index:1;width:30px;right:-14px}.wp-block-button{color:#fff;margin-bottom:1.5em}.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:23px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;line-height:24px;margin:0;padding:11px 24px;text-align:center;text-decoration:none;white-space:normal;word-break:break-all}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background:0 0;border:2px solid currentcolor}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex:1;margin-bottom:1em;flex-basis:100%;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (min-width:600px){.wp-block-column{flex-basis:50%;flex-grow:0}}@media (min-width:600px){.wp-block-column:nth-child(odd){margin-right:32px}.wp-block-column:nth-child(even){margin-left:32px}.wp-block-column:not(:first-child){margin-left:32px}.wp-block-column:not(:last-child){margin-right:32px}}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:center center;min-height:430px;width:100%;margin:0 0 1.5em 0;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 .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,.wp-block-cover h2,.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image .wp-block-cover-text,.wp-block-cover-image 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 .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,.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{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}}.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.components-placeholder,.wp-block-cover.components-placeholder{height:inherit}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright,[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.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__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}.editor-block-list__block[data-type="core/embed"][data-align=left] .editor-block-list__block-edit,.editor-block-list__block[data-type="core/embed"][data-align=right] .editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.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-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,.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{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-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,.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{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-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,.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{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-6 .wp-block-embed__wrapper::before{padding-top:66.66%}.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}.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0}.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}.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)){.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.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 5px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7) 0,rgba(0,0,0,.3) 60%,transparent)}.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.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)){.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}}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/ 2)}.wp-block-gallery .blocks-gallery-image:nth-of-type(even),.wp-block-gallery .blocks-gallery-item:nth-of-type(even){margin-right:0}.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){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 16px * 2)/ 3);margin-right:16px}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 16px * 3)/ 4);margin-right:16px}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 16px * 4)/ 5);margin-right:16px}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 16px * 5)/ 6);margin-right:16px}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 16px * 6)/ 7);margin-right:16px}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 16px * 7)/ 8);margin-right:16px}.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}.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}.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}.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}.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}.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}.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}.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}}.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.wp-block-gallery .blocks-gallery-item.has-add-item-button{width:100%}.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:305px;width:100%}.wp-block-gallery.aligncenter,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{display:flex}.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.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}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.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.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.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((100% / 2) - 16px)}.wp-block-latest-posts.columns-3 li{width:calc((100% / 3) - 16px)}.wp-block-latest-posts.columns-4 li{width:calc((100% / 4) - 16px)}.wp-block-latest-posts.columns-5 li{width:calc((100% / 5) - 16px)}.wp-block-latest-posts.columns-6 li{width:calc((100% / 6) - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-media-text{display:grid}.wp-block-media-text{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 .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% 0 8%}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}@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"}}p.is-small-text{font-size:14px}p.is-regular-text{font-size:16px}p.is-large-text{font-size:36px}p.is-larger-text{font-size:48px}p.has-drop-cap:not(:focus)::first-letter{float:left;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em .1em 0 0;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-left:0;margin-right:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width: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:0 0}.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-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:0 0;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:#191e23;font-size:20px;letter-spacing:2em;padding-left:2em;font-family:serif}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table.has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes td{border-color:transparent}.wp-block-text-columns{display:flex}.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:calc(100% / 2)}.wp-block-text-columns.columns-3 .wp-block-column{width:calc(100% / 3)}.wp-block-text-columns.columns-4 .wp-block-column{width:calc(100% / 4)}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-left:0;margin-right:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.has-pale-pink-background-color.has-pale-pink-background-color{background-color:#f78da7}.has-vivid-red-background-color.has-vivid-red-background-color{background-color:#cf2e2e}.has-luminous-vivid-orange-background-color.has-luminous-vivid-orange-background-color{background-color:#ff6900}.has-luminous-vivid-amber-background-color.has-luminous-vivid-amber-background-color{background-color:#fcb900}.has-light-green-cyan-background-color.has-light-green-cyan-background-color{background-color:#7bdcb5}.has-vivid-green-cyan-background-color.has-vivid-green-cyan-background-color{background-color:#00d084}.has-pale-cyan-blue-background-color.has-pale-cyan-blue-background-color{background-color:#8ed1fc}.has-vivid-cyan-blue-background-color.has-vivid-cyan-blue-background-color{background-color:#0693e3}.has-very-light-gray-background-color.has-very-light-gray-background-color{background-color:#eee}.has-cyan-bluish-gray-background-color.has-cyan-bluish-gray-background-color{background-color:#abb8c3}.has-very-dark-gray-background-color.has-very-dark-gray-background-color{background-color:#313131}.has-pale-pink-color.has-pale-pink-color{color:#f78da7}.has-vivid-red-color.has-vivid-red-color{color:#cf2e2e}.has-luminous-vivid-orange-color.has-luminous-vivid-orange-color{color:#ff6900}.has-luminous-vivid-amber-color.has-luminous-vivid-amber-color{color:#fcb900}.has-light-green-cyan-color.has-light-green-cyan-color{color:#7bdcb5}.has-vivid-green-cyan-color.has-vivid-green-cyan-color{color:#00d084}.has-pale-cyan-blue-color.has-pale-cyan-blue-color{color:#8ed1fc}.has-vivid-cyan-blue-color.has-vivid-cyan-blue-color{color:#0693e3}.has-very-light-gray-color.has-very-light-gray-color{color:#eee}.has-cyan-bluish-gray-color.has-cyan-bluish-gray-color{color:#abb8c3}.has-very-dark-gray-color.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}
\ No newline at end of file
+.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.wp-block-audio audio{width:100%;min-width:300px}.editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;position:relative;top:-14px;margin:0 -14px;padding:8px 14px;position:relative;z-index:7}.editor-block-list__layout .editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-right:auto}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-right:8px;white-space:nowrap;font-weight:600}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 0 0 5px}}.editor-block-list__layout .reusable-block-indicator{background:#fff;border-left:1px dashed #e2e4e7;color:#555d66;border-bottom:1px dashed #e2e4e7;top:-14px;height:30px;padding:4px;position:absolute;z-index:1;width:30px;right:-14px}.wp-block-button{color:#fff;margin-bottom:1.5em}.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:23px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;line-height:24px;margin:0;padding:11px 24px;text-align:center;text-decoration:none;white-space:normal;word-break:break-all}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background:0 0;border:2px solid currentcolor}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex:1;margin-bottom:1em;flex-basis:100%;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (min-width:600px){.wp-block-column{flex-basis:50%;flex-grow:0}}@media (min-width:600px){.wp-block-column:nth-child(odd){margin-right:32px}.wp-block-column:nth-child(even){margin-left:32px}.wp-block-column:not(:first-child){margin-left:32px}.wp-block-column:not(:last-child){margin-right:32px}}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:center center;min-height:430px;width:100%;margin:0 0 1.5em 0;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 .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,.wp-block-cover h2,.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image .wp-block-cover-text,.wp-block-cover-image 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 .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,.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{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}}.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.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:rgba(255,255,255,.15)}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright,[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.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__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}.editor-block-list__block[data-type="core/embed"][data-align=left] .editor-block-list__block-edit,.editor-block-list__block[data-type="core/embed"][data-align=right] .editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.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-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,.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{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-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,.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{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-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,.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{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-6 .wp-block-embed__wrapper::before{padding-top:66.66%}.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}.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0}.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}.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)){.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.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 5px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7) 0,rgba(0,0,0,.3) 60%,transparent)}.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.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)){.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}}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/ 2)}.wp-block-gallery .blocks-gallery-image:nth-of-type(even),.wp-block-gallery .blocks-gallery-item:nth-of-type(even){margin-right:0}.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){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 16px * 2)/ 3);margin-right:16px}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 16px * 3)/ 4);margin-right:16px}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 16px * 4)/ 5);margin-right:16px}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 16px * 5)/ 6);margin-right:16px}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 16px * 6)/ 7);margin-right:16px}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 16px * 7)/ 8);margin-right:16px}.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}.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}.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}.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}.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}.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}.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}.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}}.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.wp-block-gallery .blocks-gallery-item.has-add-item-button{width:100%}.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:305px;width:100%}.wp-block-gallery.aligncenter,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{display:flex}.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.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}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.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.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.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((100% / 2) - 16px)}.wp-block-latest-posts.columns-3 li{width:calc((100% / 3) - 16px)}.wp-block-latest-posts.columns-4 li{width:calc((100% / 4) - 16px)}.wp-block-latest-posts.columns-5 li{width:calc((100% / 5) - 16px)}.wp-block-latest-posts.columns-6 li{width:calc((100% / 6) - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-media-text{display:grid}.wp-block-media-text{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 .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% 0 8%}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}@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"}}p.is-small-text{font-size:14px}p.is-regular-text{font-size:16px}p.is-large-text{font-size:36px}p.is-larger-text{font-size:48px}p.has-drop-cap:not(:focus)::first-letter{float:left;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em .1em 0 0;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-left:0;margin-right:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width: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:0 0}.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-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:0 0;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:#191e23;font-size:20px;letter-spacing:2em;padding-left:2em;font-family:serif}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table.has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes td{border-color:transparent}.wp-block-text-columns{display:flex}.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:calc(100% / 2)}.wp-block-text-columns.columns-3 .wp-block-column{width:calc(100% / 3)}.wp-block-text-columns.columns-4 .wp-block-column{width:calc(100% / 4)}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-left:0;margin-right:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center;font-size:13px}.has-pale-pink-background-color.has-pale-pink-background-color{background-color:#f78da7}.has-vivid-red-background-color.has-vivid-red-background-color{background-color:#cf2e2e}.has-luminous-vivid-orange-background-color.has-luminous-vivid-orange-background-color{background-color:#ff6900}.has-luminous-vivid-amber-background-color.has-luminous-vivid-amber-background-color{background-color:#fcb900}.has-light-green-cyan-background-color.has-light-green-cyan-background-color{background-color:#7bdcb5}.has-vivid-green-cyan-background-color.has-vivid-green-cyan-background-color{background-color:#00d084}.has-pale-cyan-blue-background-color.has-pale-cyan-blue-background-color{background-color:#8ed1fc}.has-vivid-cyan-blue-background-color.has-vivid-cyan-blue-background-color{background-color:#0693e3}.has-very-light-gray-background-color.has-very-light-gray-background-color{background-color:#eee}.has-cyan-bluish-gray-background-color.has-cyan-bluish-gray-background-color{background-color:#abb8c3}.has-very-dark-gray-background-color.has-very-dark-gray-background-color{background-color:#313131}.has-pale-pink-color.has-pale-pink-color{color:#f78da7}.has-vivid-red-color.has-vivid-red-color{color:#cf2e2e}.has-luminous-vivid-orange-color.has-luminous-vivid-orange-color{color:#ff6900}.has-luminous-vivid-amber-color.has-luminous-vivid-amber-color{color:#fcb900}.has-light-green-cyan-color.has-light-green-cyan-color{color:#7bdcb5}.has-vivid-green-cyan-color.has-vivid-green-cyan-color{color:#00d084}.has-pale-cyan-blue-color.has-pale-cyan-blue-color{color:#8ed1fc}.has-vivid-cyan-blue-color.has-vivid-cyan-blue-color{color:#0693e3}.has-very-light-gray-color.has-very-light-gray-color{color:#eee}.has-cyan-bluish-gray-color.has-cyan-bluish-gray-color{color:#abb8c3}.has-very-dark-gray-color.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}
\ 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 9283e32922..22948218a2 100644
--- a/wp-includes/css/dist/editor/style-rtl.css
+++ b/wp-includes/css/dist/editor/style-rtl.css
@@ -2292,8 +2292,6 @@ body.admin-color-light .editor-post-text-editor__link{
height: 100%; }
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] > p {
margin-top: 0; }
- .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
- padding-left: 36px; }
.editor-rich-text__tinymce + .editor-rich-text__tinymce {
pointer-events: none; }
.editor-rich-text__tinymce + .editor-rich-text__tinymce,
diff --git a/wp-includes/css/dist/editor/style-rtl.min.css b/wp-includes/css/dist/editor/style-rtl.min.css
index e357df8583..d20a1b3586 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}.editor-block-drop-zone{border:none;border-radius:0}.editor-block-drop-zone .components-drop-zone__content,.editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.editor-block-drop-zone.is-close-to-bottom{background:0 0;border-bottom:3px solid #0085ba}body.admin-color-sunrise .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.editor-block-drop-zone.is-appender.is-close-to-bottom,.editor-block-drop-zone.is-appender.is-close-to-top,.editor-block-drop-zone.is-close-to-top{background:0 0;border-top:3px solid #0085ba;border-bottom:none}body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-sunrise .editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ocean .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-midnight .editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-coffee .editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-blue .editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-light .editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.editor-block-icon.has-colors svg{fill:currentColor}.editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.editor-block-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.editor-block-inspector__card-icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.editor-block-inspector__card-content{flex-grow:1}.editor-block-inspector__card-title{font-weight:500;margin-bottom:5px}.editor-block-inspector__card-description{font-size:13px}.editor-block-inspector__card .editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.editor-block-list__layout .components-draggable__clone .editor-block-contextual-toolbar{display:none!important}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging .editor-block-list__block-edit::before{outline:0}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging>.editor-block-list__block-edit>*{background:#f8f9f9}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging>.editor-block-list__block-edit>*>*{visibility:hidden}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging .editor-block-mover{display:none}.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}@media (min-width:600px){.editor-block-list__layout{padding-right:46px;padding-left:46px}}.editor-block-list__block .editor-block-list__layout{padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px}.editor-block-list__layout .editor-default-block-appender>.editor-default-block-appender__content,.editor-block-list__layout>.editor-block-list__block>.editor-block-list__block-edit,.editor-block-list__layout>.editor-block-list__layout>.editor-block-list__block>.editor-block-list__block-edit{margin-top:32px;margin-bottom:32px}.editor-block-list__layout .editor-block-list__block{position:relative;padding-right:14px;padding-left:14px;overflow-wrap:break-word}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block{padding-right:43px;padding-left:43px}}.editor-block-list__layout .editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px 20px;width:calc(100% - 40px)}.editor-block-list__layout .editor-block-list__block .components-with-notices-ui{margin:0 0 12px 0;width:100%}.editor-block-list__layout .editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.editor-block-list__layout .editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit{position:relative}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit::before{z-index:0;content:"";position:absolute;outline:1px solid transparent;transition:outline .1s linear;pointer-events:none;left:-14px;right:-14px;top:-14px;bottom:-14px}.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit::before{outline:1px solid rgba(145,151,162,.25)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit::before{outline-color:rgba(255,255,255,.3)}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #007cba}body.admin-color-sunrise .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #837425}body.admin-color-ocean .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #5e7d5e}body.admin-color-midnight .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #497b8d}body.admin-color-ectoplasm .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #523f6d}body.admin-color-coffee .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #59524c}body.admin-color-blue .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #417e9b}body.admin-color-light .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #007cba}.editor-block-list__layout .editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}.editor-block-list__layout .editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.editor-block-list__layout .editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .editor-block-list__block{opacity:1}.editor-block-list__layout .editor-block-list__block ::-moz-selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block ::selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::-moz-selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit::before{background:#b3e7fe;mix-blend-mode:multiply;top:-14px;bottom:-14px}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit::before{mix-blend-mode:soft-light}.editor-block-list__layout .editor-block-list__block.has-warning{min-height:36px}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit .editor-warning{pointer-events:all}.editor-block-list__layout .editor-block-list__block.has-warning:not(.is-hovered) .editor-block-list__block-edit::before{outline-color:rgba(145,151,162,.25)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.has-warning:not(.is-hovered) .editor-block-list__block-edit::before{outline-color:rgba(255,255,255,.3)}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit::after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;left:-14px;right:-14px}.editor-block-list__layout .editor-block-list__block.has-warning.is-multi-selected .editor-block-list__block-edit::after{background-color:transparent}.editor-block-list__layout .editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::after{bottom:22px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::after{bottom:-14px}}.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__side-inserter{opacity:0}.editor-block-list__layout .editor-block-list__block .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block .editor-block-list__side-inserter{opacity:1;transition:opacity .2s}.editor-block-list__layout .editor-block-list__block.is-reusable>.editor-block-list__block-edit::before{outline:1px dashed rgba(145,151,162,.25)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-reusable>.editor-block-list__block-edit::before{outline-color:rgba(255,255,255,.3)}.editor-block-list__layout .editor-block-list__block[data-align=left],.editor-block-list__layout .editor-block-list__block[data-align=right]{z-index:20;width:100%;height:0}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit{margin-top:0}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit::before,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit::before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{margin-bottom:1px}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-mobile-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-mobile-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-mover{display:none}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{width:auto;border-bottom:1px solid #e2e4e7;bottom:auto}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar{right:0;left:auto}.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{right:auto;left:0}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{top:14px}}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit{float:left;margin-right:2em}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-toolbar{left:14px;right:auto}}.editor-block-list__layout .editor-block-list__block[data-align=right]>.editor-block-list__block-edit{float:right;margin-left:2em}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-toolbar{right:14px;left:auto}}.editor-block-list__layout .editor-block-list__block[data-align=full],.editor-block-list__layout .editor-block-list__block[data-align=wide]{clear:both;z-index:20}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{top:-44px;bottom:auto;min-height:0;height:auto;width:auto;z-index:inherit}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover::before,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover::before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover .editor-block-mover__control,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover .editor-block-mover__control{float:right}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__breadcrumb,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-list__breadcrumb{left:-1px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{display:none}@media (min-width:1280px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{display:block}}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full] .editor-block-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=wide] .editor-block-toolbar{display:inline-flex}}.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{right:-13px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit>.editor-block-list__breadcrumb{left:0}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]{margin-right:-45px;margin-left:-45px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-right:-44px;margin-left:-44px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit figure{width:100%}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit::before{right:0;left:0;border-right-width:0;border-left-width:0}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{right:1px}.editor-block-list__layout .editor-block-list__block[data-clear=true]{float:none}.editor-block-list__layout .editor-block-list__block .editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.editor-block-list__layout .editor-block-list__block .editor-block-list__layout .editor-inserter-with-shortcuts{display:none}.editor-block-list__layout .editor-block-list__block .editor-block-list__layout .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block .editor-block-list__layout .editor-default-block-appender .editor-inserter{right:auto;left:8px}.editor-block-list__block>.editor-block-mover{position:absolute;width:30px;height:100%;max-height:112px}.editor-block-list__block>.editor-block-mover{top:-15px}@media (min-width:600px){.editor-block-list__block.is-hovered .editor-block-mover,.editor-block-list__block.is-multi-selected .editor-block-mover,.editor-block-list__block.is-selected .editor-block-mover{z-index:80}}.editor-block-list__block>.editor-block-mover{padding-left:2px;right:-30px;display:none}@media (min-width:600px){.editor-block-list__block>.editor-block-mover{display:block}}.editor-block-list__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 #e2e4e7;height:37px;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.editor-block-list__block .editor-block-list__block-mobile-toolbar{display:none}}@media (min-width:600px){.editor-block-list__block .editor-block-list__block-mobile-toolbar{box-shadow:none}}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter{position:relative;right:auto;top:auto;margin:0}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control .dashicon,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle .dashicon{margin:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover{display:flex;margin-left:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-inserter{float:right}.editor-block-list__block[data-align=full] .editor-block-list__block-mobile-toolbar{margin-right:0;margin-left:0}.editor-block-list .editor-inserter{margin:8px;cursor:move;cursor:-webkit-grab;cursor:grab}.editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;right:0;left:0;background:#0085ba}body.admin-color-sunrise .editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .editor-block-list__insertion-point-indicator{background:#0085ba}.editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;right:0;left:0;justify-content:center;opacity:0;transition:opacity .1s linear .1s}@media (min-width:480px){.editor-block-list__insertion-point-inserter{display:flex}}.editor-block-list__insertion-point-inserter .editor-inserter__toggle{margin-top:-4px;border-radius:50%;color:#007cba;background:#fff;height:36px;width:36px}.editor-block-list__insertion-point-inserter .editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.editor-block-list__insertion-point-inserter.is-visible,.editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.editor-block-list__block>.editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:0;left:0}@media (min-width:600px){.editor-block-list__block>.editor-block-list__insertion-point{right:-1px;left:-1px}}.editor-block-list__block[data-align=full]>.editor-block-list__insertion-point{right:0;left:0}.editor-block-list__block .editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:0;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.editor-block-list__block .editor-block-list__block-html-textarea:focus{box-shadow:none}.editor-block-list__block .editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;z-index:21;white-space:nowrap;text-align:right;pointer-events:none;position:absolute;bottom:23px;right:-14px;left:-14px;border-top:1px solid #e2e4e7}.editor-block-list__block .editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.editor-block-list__block .editor-block-contextual-toolbar{border-top:none}.editor-block-list__block .editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px}.editor-block-list__block .editor-block-contextual-toolbar{margin-right:0;margin-left:0}@media (min-width:600px){.editor-block-list__block .editor-block-contextual-toolbar{margin-right:-15px;margin-left:-15px}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar{margin-right:15px}.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{margin-left:15px}.editor-block-list__block .editor-block-contextual-toolbar>*{pointer-events:auto}.editor-block-list__block.is-focus-mode:not(.is-multi-selected)>.editor-block-contextual-toolbar{margin-right:-28px}@media (min-width:600px){.editor-block-list__block .editor-block-contextual-toolbar{bottom:auto;right:auto;left:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-block-list__block .editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar{float:left}.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{float:right}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{transform:translateY(-15px)}.editor-block-contextual-toolbar .editor-block-toolbar{width:100%}@media (min-width:600px){.editor-block-contextual-toolbar .editor-block-toolbar{width:auto;border-left:none;position:absolute;right:0}}.editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:2;left:-14px;top:-15px}.editor-block-list__breadcrumb .components-toolbar{padding:0;border:none;background:0 0;line-height:1;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:11px;padding:4px 4px;background:#007cba;color:#fff}body.admin-color-sunrise .editor-block-list__breadcrumb .components-toolbar{background:#837425}body.admin-color-ocean .editor-block-list__breadcrumb .components-toolbar{background:#5e7d5e}body.admin-color-midnight .editor-block-list__breadcrumb .components-toolbar{background:#497b8d}body.admin-color-ectoplasm .editor-block-list__breadcrumb .components-toolbar{background:#523f6d}body.admin-color-coffee .editor-block-list__breadcrumb .components-toolbar{background:#59524c}body.admin-color-blue .editor-block-list__breadcrumb .components-toolbar{background:#417e9b}body.admin-color-light .editor-block-list__breadcrumb .components-toolbar{background:#007cba}.editor-block-list__block:hover .editor-block-list__breadcrumb .components-toolbar{opacity:0;animation:edit-post__fade-in-animation 60ms ease-out .5s;animation-fill-mode:forwards}[data-align=left] .editor-block-list__breadcrumb,[data-align=right] .editor-block-list__breadcrumb{left:0;top:0}.editor-block-list__descendant-arrow::before{content:"→";display:inline-block;padding:0 4px}.rtl .editor-block-list__descendant-arrow::before{content:"←"}@media (min-width:600px){.editor-block-list__block::before{bottom:0;content:"";right:-28px;position:absolute;left:-28px;top:0}.editor-block-list__block .editor-block-list__block::before{right:0;left:0}.editor-block-list__block[data-align=full]::before{content:none}}.editor-block-list__block .editor-warning{z-index:5;position:relative;margin-left:-15px;margin-right:-15px;margin-bottom:-15px;transform:translateY(-15px);padding:10px 14px}@media (min-width:600px){.editor-block-list__block .editor-warning{padding:10px 14px}}.block-list-appender>.editor-inserter{display:block}.block-list-appender__toggle{display:flex;align-items:center;justify-content:center;padding:16px;outline:1px dashed #8d96a0;width:100%;color:#555d66}.block-list-appender__toggle:hover{outline:1px dashed #555d66}.editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.editor-block-compare{max-height:70%}}.editor-block-compare__wrapper{display:flex;padding-bottom:16px}.editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.editor-block-compare__wrapper>div button{float:left}.editor-block-compare__wrapper .editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px}.editor-block-compare__wrapper .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}.editor-block-compare__wrapper .editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.editor-block-compare__wrapper .editor-block-compare__html span.editor-block-compare__added{background-color:#acf2bd}.editor-block-compare__wrapper .editor-block-compare__html span.editor-block-compare__removed{background-color:#d94f4f}.editor-block-compare__wrapper .editor-block-compare__preview{padding:0;padding-top:14px}.editor-block-compare__wrapper .editor-block-compare__preview p{font-size:12px;margin-top:0}.editor-block-compare__wrapper .editor-block-compare__action{margin-top:14px}.editor-block-compare__wrapper .editor-block-compare__heading{font-size:1em;font-weight:400}.editor-block-mover{min-height:56px;opacity:0}.editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (min-width:600px){.editor-block-list__block:not([data-align=wide]):not([data-align=full]) .editor-block-mover{margin-top:-8px}}.editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:28px;height:24px;color:rgba(14,28,46,.62)}.editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.is-dark-theme .editor-block-mover__control{color:rgba(255,255,255,.65)}.editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(130,148,147,.15)}.is-dark-theme .editor-block-mover__control[aria-disabled=true]{color:rgba(255,255,255,.2)}.editor-block-mover__control-drag-handle{cursor:move;cursor:-webkit-grab;cursor:grab;fill:currentColor;border-radius:4px}.editor-block-mover__control-drag-handle,.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:0 0;color:rgba(10,24,41,.7)}.is-dark-theme .editor-block-mover__control-drag-handle,.is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:rgba(255,255,255,.75)}.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:-webkit-grabbing;cursor:grabbing}.editor-block-mover__description{display:none}@media (min-width:600px){.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default){background:#fff;box-shadow:inset 0 0 0 1px #e2e4e7}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:nth-child(-n+2){margin-bottom:-1px}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:active,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:focus,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:hover{z-index:1}}.editor-block-navigation__container{padding:7px}.editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.editor-block-navigation__list,.editor-block-navigation__paragraph{padding:0;margin:0}.editor-block-navigation__list .editor-block-navigation__list{margin-top:2px;border-right:2px solid #a2aab2;margin-right:1em}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__list{margin-right:1.5em}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__item{position:relative}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__item::before{position:absolute;right:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__item-button{margin-right:.8em;width:calc(100% - .8em)}.editor-block-navigation__list .editor-block-navigation__list>li:last-child{position:relative}.editor-block-navigation__list .editor-block-navigation__list>li:last-child::after{position:absolute;content:"";background:#fff;top:19px;bottom:0;right:-2px;width:2px}.editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:right;color:#40464d;border-radius:4px}.editor-block-navigation__item-button .editor-block-icon{margin-left:6px}.editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none}.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}.editor-block-navigation__item-button.is-selected,.editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.editor-block-preview{display:block}}.editor-block-preview .editor-block-preview__content{padding:14px;border:1px solid #e2e4e7;font-family:"Noto Serif",serif}.editor-block-preview .editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:"Noto Serif",serif}.editor-block-preview .editor-block-preview__content>div section{height:auto}.editor-block-preview .editor-block-preview__content>.reusable-block-indicator{display:none}.editor-block-preview__title{margin-bottom:10px;color:#6c7781}.editor-block-settings-menu__toggle .dashicon{transform:rotate(-90deg)}.editor-block-settings-menu__popover::after,.editor-block-settings-menu__popover::before{margin-right:2px}.editor-block-settings-menu__popover .editor-block-settings-menu__content{padding:7px}.editor-block-settings-menu__popover .editor-block-settings-menu__separator{margin-top:8px;margin-bottom:8px;margin-right:-7px;margin-left:-7px;border-top:1px solid #e2e4e7}.editor-block-settings-menu__popover .editor-block-settings-menu__separator:last-child{display:none}.editor-block-settings-menu__popover .editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.editor-block-settings-menu__popover .editor-block-settings-menu__control{width:100%;justify-content:flex-start;padding:8px;background:0 0;outline:0;border-radius:0;color:#555d66;text-align:right;cursor:pointer;border:none;box-shadow:none}.editor-block-settings-menu__popover .editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none}.editor-block-settings-menu__popover .editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-block-settings-menu__popover .editor-block-settings-menu__control .dashicon{margin-left:5px}.editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:4px}.editor-block-styles__item.is-active{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px;box-shadow:0 0 0 2px #555d66}.editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.editor-block-styles__item:hover{background:#f8f9f9;color:#191e23}.editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);overflow:hidden;padding:0;text-align:initial;border-radius:4px;display:flex;height:60px;background:#fff}.editor-block-styles__item-preview>*{transform:scale(.7);transform-origin:center center;font-family:"Noto Serif",serif}.editor-block-styles__item-preview .editor-block-preview__content{width:100%}.editor-block-styles__item-label{text-align:center;padding:4px 2px}.editor-block-switcher{position:relative;height:36px}.components-icon-button.editor-block-switcher__no-switcher-icon,.components-icon-button.editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.editor-block-switcher__no-switcher-icon .editor-block-icon{margin-left:auto;margin-right:auto}.components-icon-button.editor-block-switcher__toggle{width:auto}.components-icon-button.editor-block-switcher__toggle:active,.components-icon-button.editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:0;box-shadow:none;background:0 0;border:none}.components-icon-button.editor-block-switcher__toggle .editor-block-icon,.components-icon-button.editor-block-switcher__toggle .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)}.components-icon-button.editor-block-switcher__toggle .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 currentColor;margin-right:4px;margin-left:2px}.components-icon-button.editor-block-switcher__toggle .editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-icon,.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-switcher__transform,.components-icon-button.editor-block-switcher__toggle:not(:disabled):hover .editor-block-icon,.components-icon-button.editor-block-switcher__toggle:not(:disabled):hover .editor-block-switcher__transform,.components-icon-button.editor-block-switcher__toggle[aria-expanded=true] .editor-block-icon,.components-icon-button.editor-block-switcher__toggle[aria-expanded=true] .editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-icon,.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-popover:not(.is-mobile).editor-block-switcher__popover .components-popover__content{min-width:320px}@media (min-width:782px){.editor-block-switcher__popover .components-popover__content{position:relative}.editor-block-switcher__popover .components-popover__content .editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px;height:auto}}.editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.editor-block-switcher__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible}.editor-block-switcher__popover .editor-block-styles{margin:0 -3px}.editor-block-switcher__popover .editor-block-types-list{margin:8px -8px -8px}.editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-right:1px solid #e2e4e7}@media (min-width:600px){.editor-block-toolbar{overflow:inherit}}.editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7;border-left:1px solid #e2e4e7}.editor-block-types-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.editor-contrast-checker>.components-notice{margin:0}.editor-default-block-appender{clear:both}.editor-default-block-appender textarea.editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:0 0;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:.2s outline;resize:none;padding:0 14px 0 50px;color:rgba(14,28,46,.62)}.is-dark-theme .editor-default-block-appender textarea.editor-default-block-appender__content{color:rgba(255,255,255,.65)}.editor-default-block-appender .editor-inserter-with-shortcuts{opacity:.5;transition:opacity .2s}.editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:rgba(255,255,255,.75)}.editor-default-block-appender .editor-inserter__toggle:not([aria-expanded=true]){opacity:0}.editor-default-block-appender:hover .editor-inserter-with-shortcuts{opacity:1}.editor-default-block-appender:hover .editor-inserter__toggle{opacity:1}.editor-default-block-appender .components-drop-zone__content-icon{display:none}.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter,.editor-inserter-with-shortcuts{position:absolute;top:0}.editor-block-list__empty-block-inserter .components-icon-button,.editor-default-block-appender .editor-inserter .components-icon-button,.editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-left:12px;padding:0}.editor-block-list__empty-block-inserter .editor-block-icon,.editor-default-block-appender .editor-inserter .editor-block-icon,.editor-inserter-with-shortcuts .editor-block-icon{margin:auto}.editor-block-list__empty-block-inserter .components-icon-button svg,.editor-default-block-appender .editor-inserter .components-icon-button svg,.editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.editor-block-list__empty-block-inserter .editor-inserter__toggle,.editor-default-block-appender .editor-inserter .editor-inserter__toggle,.editor-inserter-with-shortcuts .editor-inserter__toggle{margin-left:0}.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{left:8px}@media (min-width:600px){.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{right:-44px;left:auto}}.editor-block-list__empty-block-inserter:disabled,.editor-default-block-appender .editor-inserter:disabled{display:none}.editor-block-list__empty-block-inserter .editor-inserter__toggle,.editor-default-block-appender .editor-inserter .editor-inserter__toggle{transition:opacity .2s;border-radius:50%;width:28px;height:28px;padding:0}.editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.is-dark-theme .editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:rgba(255,255,255,.75)}.editor-block-list__side-inserter .editor-inserter-with-shortcuts,.editor-default-block-appender .editor-inserter-with-shortcuts{left:14px;display:none;z-index:5}@media (min-width:600px){.editor-block-list__side-inserter .editor-inserter-with-shortcuts,.editor-default-block-appender .editor-inserter-with-shortcuts{left:0;display:flex}}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.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:0 0;border:none;display:flex;align-items:flex-start;color:#23282d;text-align:right}.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;outline-offset:-2px}.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}.editor-error-boundary{max-width:610px;margin:auto;max-width:780px;padding:20px;margin-top:60px;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-inner-blocks.has-overlay::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;z-index:120}.editor-inserter-with-shortcuts{display:flex;align-items:center}.editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.editor-inserter-with-shortcuts__block{margin-left:4px;width:36px;height:36px;padding-top:8px;color:rgba(102,120,134,.35)}.is-dark-theme .editor-inserter-with-shortcuts__block{color:rgba(255,255,255,.4)}.editor-inserter{display:inline-block;background:0 0;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){.editor-inserter{position:relative}}@media (min-width:782px){.editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:0 0;cursor:pointer;border:none;outline:0;transition:color .2s ease}.editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.editor-inserter__menu{width:400px;position:relative}.editor-inserter__menu .editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px}}.editor-inserter__inline-elements{margin-top:-1px}.editor-inserter__menu.is-bottom::after{border-bottom-color:#fff}.components-popover input[type=search].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].editor-inserter__search{font-size:13px}}.components-popover input[type=search].editor-inserter__search:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px 16px}.editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.editor-inserter__results{height:394px}}.editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.editor-inserter__popover .editor-block-types-list{margin:0 -8px}.editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.editor-inserter__manage-reusable-blocks{margin:16px 16px 0 0}.editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.editor-inserter__child-blocks{padding:0 16px}.editor-inserter__parent-block-header{display:flex;align-items:center}.editor-inserter__parent-block-header h2{font-size:13px}.editor-block-types-list__list-item{display:block;width:33.33%;padding:0 4px;margin:0 0 12px}.editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0;align-items:stretch;justify-content:center;cursor:pointer;background:0 0;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all 50ms ease-in-out;position:relative}.editor-block-types-list__item:disabled{opacity:.6;cursor:default}.editor-block-types-list__item:not(:disabled):hover::before{content:"";display:block;background:#f8f9f9;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;left:0;bottom:0;right:0}.editor-block-types-list__item:not(:disabled):hover .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled):hover .editor-block-types-list__item-title{color:currentColor}.editor-block-types-list__item:not(:disabled).is-active,.editor-block-types-list__item:not(:disabled):active,.editor-block-types-list__item:not(:disabled):focus{position:relative;outline:0;color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.editor-block-types-list__item:not(:disabled).is-active .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled).is-active .editor-block-types-list__item-title,.editor-block-types-list__item:not(:disabled):active .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled):active .editor-block-types-list__item-title,.editor-block-types-list__item:not(:disabled):focus .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled):focus .editor-block-types-list__item-title{color:currentColor}.editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all 50ms ease-in-out}.editor-block-types-list__item-icon .editor-block-icon{margin-right:auto;margin-left:auto}.editor-block-types-list__item-icon svg{transition:all .15s ease-out}.editor-block-types-list__item-title{padding:4px 2px 8px}.editor-block-types-list__item-has-children .editor-block-types-list__item-icon{background:#fff;margin-left:3px;margin-bottom:6px;padding:9px 20px 9px;position:relative;top:-2px;right:-2px;box-shadow:0 0 0 1px #e2e4e7}.editor-block-types-list__item-has-children .editor-block-types-list__item-icon-stack{display:block;background:#fff;box-shadow:0 0 0 1px #e2e4e7;width:100%;height:100%;position:absolute;z-index:-1;bottom:-6px;left:-6px;border-radius:4px}.editor-media-placeholder__url-input-container{width:100%}.editor-media-placeholder__url-input-container .editor-media-placeholder__button{margin-bottom:0}.editor-media-placeholder__url-input-form{display:flex}.editor-media-placeholder__url-input-form input[type=url].editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.editor-media-placeholder__url-input-form input[type=url].editor-media-placeholder__url-input-field{width:300px}}.editor-media-placeholder__url-input-submit-button{flex-shrink:1}.editor-media-placeholder__button{margin-bottom:.5rem}.editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.editor-media-placeholder__button:hover{color:#23282d}.components-form-file-upload .editor-media-placeholder__button{margin-left:4px}.editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.editor-multi-selection-inspector__card-content{flex-grow:1}.editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.editor-multi-selection-inspector__card-description{font-size:13px}.editor-multi-selection-inspector__card .editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-page-attributes__order{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-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.editor-panel-color-settings.is-opened .editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .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%}.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{margin-top:1em;margin-left:8px}.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}.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;margin-left:15px}.editor-post-permalink{display:inline-flex;align-items:center;background:#fff;padding:5px;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 rgba(145,151,162,.25);background-clip:padding-box;margin-right:-15px;margin-left:-15px}@media (min-width:600px){.editor-post-permalink{margin-right:-1px;margin-left:-1px}}.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;width:100%;overflow:hidden;position:relative;white-space:nowrap}.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(to left,rgba(255,255,255,0),#fff 90%);top:1px;bottom:1px;left:1px;right:auto;width:20%;height:auto}.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-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{color:#007fac;font-weight:400;padding-right:4px;text-decoration:underline}.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;color:#a2aab2;overflow:hidden}.editor-post-saved-state.is-saving{animation:edit-post__loading-fade-animation .5s infinite}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto}.editor-post-saved-state{width:28px;white-space:nowrap;padding:12px 4px}.editor-post-saved-state .dashicon{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}.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;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #e2e4e7;box-shadow:none;outline:1px solid #e2e4e7;outline-offset:-2px}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:0 0;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:0;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:4px;padding-top:0}.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:0 0;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out;padding:19px 14px;word-break:keep-all;border:1px solid transparent;border-right-width:0;border-left-width:0;font-size:2.441em;font-weight:600}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width: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:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(145,151,162,.25)}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(255,255,255,.3)}.editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#007cba}body.admin-color-sunrise .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#837425}body.admin-color-ocean .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#5e7d5e}body.admin-color-midnight .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#497b8d}body.admin-color-ectoplasm .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#523f6d}body.admin-color-coffee .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#59524c}body.admin-color-blue .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#417e9b}body.admin-color-light .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#007cba}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}.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;position:absolute;top:-34px;right:0;left:0}@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}.editor-format-toolbar{display:flex;flex-shrink:0}.editor-format-toolbar__selection-position{position:absolute;transform:translateX(50%)}.editor-rich-text{position:relative}.editor-rich-text__tinymce{margin:0;position:relative;line-height:1.8}.editor-rich-text__tinymce>p:empty{min-height:28.8px}.editor-rich-text__tinymce>p:first-child{margin-top:0}.editor-rich-text__tinymce:focus{outline:0}.editor-rich-text__tinymce a{color:#007fac}.editor-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .editor-rich-text__tinymce code{background:#67cffd}.editor-rich-text__tinymce:focus a[data-mce-selected],.editor-rich-text__tinymce:focus b[data-mce-selected],.editor-rich-text__tinymce:focus del[data-mce-selected],.editor-rich-text__tinymce:focus em[data-mce-selected],.editor-rich-text__tinymce:focus i[data-mce-selected],.editor-rich-text__tinymce:focus ins[data-mce-selected],.editor-rich-text__tinymce:focus strong[data-mce-selected],.editor-rich-text__tinymce:focus sub[data-mce-selected],.editor-rich-text__tinymce:focus sup[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e8eaeb;background:#e8eaeb;color:#191e23}.editor-rich-text__tinymce:focus a[data-mce-selected]{box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa;color:#006589}.editor-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb;box-shadow:0 0 0 1px #e8eaeb}.editor-rich-text__tinymce img[data-mce-selected]{outline:0}.editor-rich-text__tinymce img::-moz-selection{background:0 0!important}.editor-rich-text__tinymce img::selection{background:0 0!important}.editor-rich-text__tinymce[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0;height:100%}.editor-rich-text__tinymce[data-is-placeholder-visible=true]>p{margin-top:0}.editor-rich-text__tinymce[data-is-placeholder-visible=true]+.editor-rich-text__tinymce{padding-left:36px}.editor-rich-text__tinymce+.editor-rich-text__tinymce{pointer-events:none}.editor-rich-text__tinymce+.editor-rich-text__tinymce,.editor-rich-text__tinymce+.editor-rich-text__tinymce p{opacity:.62}.editor-rich-text__tinymce[data-is-placeholder-visible=true]+figcaption.editor-rich-text__tinymce{opacity:.8}.editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;right:0;left:0;z-index:1}.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)}.editor-skip-to-selected-block{position:absolute;top:-9999em}.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:0;z-index:100000}body.admin-color-sunrise .editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .editor-skip-to-selected-block:focus{color:#c75726}.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__counts{display:flex;flex-wrap:wrap}.table-of-contents__count{width:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781}.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}.components-popover .editor-url-input,.editor-block-list__block .editor-url-input,.editor-url-input{flex-grow:1;position:relative;padding:1px}.components-popover .editor-url-input input[type=text],.editor-block-list__block .editor-url-input input[type=text],.editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0}@media (min-width:600px){.components-popover .editor-url-input input[type=text],.editor-block-list__block .editor-url-input input[type=text],.editor-url-input input[type=text]{width:300px}}.components-popover .editor-url-input input[type=text]::-ms-clear,.editor-block-list__block .editor-url-input input[type=text]::-ms-clear,.editor-url-input input[type=text]::-ms-clear{display:none}.components-popover .editor-url-input .components-spinner,.editor-block-list__block .editor-url-input .components-spinner,.editor-url-input .components-spinner{position:absolute;left:8px;top:9px;margin:0}.editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}.editor-url-input .components-spinner,.editor-url-input__suggestions{display:none}@media (min-width:600px){.editor-url-input .components-spinner,.editor-url-input__suggestions{display:inherit}}.editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;border:none;box-shadow:none}.editor-url-input__suggestion:hover{background:#e2e4e7}.editor-url-input__suggestion.is-selected,.editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:0}body.admin-color-sunrise .editor-url-input__suggestion.is-selected,body.admin-color-sunrise .editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .editor-url-input__suggestion.is-selected,body.admin-color-ocean .editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .editor-url-input__suggestion.is-selected,body.admin-color-midnight .editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .editor-url-input__suggestion.is-selected,body.admin-color-coffee .editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .editor-url-input__suggestion.is-selected,body.admin-color-blue .editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .editor-url-input__suggestion.is-selected,body.admin-color-light .editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.editor-url-input__button{position:inherit}.editor-url-input__button .editor-url-input__back{margin-left:4px;overflow:visible}.editor-url-input__button .editor-url-input__back::after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#e2e4e7}.editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.editor-url-popover__row{display:flex}.editor-url-popover__row>:not(.editor-url-popover__settings-toggle){flex-grow:1}.editor-url-popover__settings-toggle{flex-shrink:0;width:36px;height:36px}.editor-url-popover__settings-toggle .dashicon{transform:rotate(-90deg)}.editor-url-popover__settings{padding:7px 8px;border-top:1px solid #e2e4e7;padding-top:8px}.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 .editor-warning{background-color:transparent}.editor-warning .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}.editor-warning .editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;width:100%}.editor-warning .editor-warning__actions{display:flex}.editor-warning .editor-warning__action{margin:0 0 0 6px}.editor-warning__secondary{margin:3px -4px 0 0}.editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.editor-warning__secondary{margin-right:4px}.editor-warning__secondary .components-icon-button{padding:8px 4px}}.editor-warning__secondary .components-button svg{transform:rotate(-90deg)}.editor-writing-flow{height:100%;display:flex;flex-direction:column}.editor-writing-flow__click-redirect{flex-basis:100%;cursor:text}
\ 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}.editor-block-drop-zone{border:none;border-radius:0}.editor-block-drop-zone .components-drop-zone__content,.editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.editor-block-drop-zone.is-close-to-bottom{background:0 0;border-bottom:3px solid #0085ba}body.admin-color-sunrise .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.editor-block-drop-zone.is-appender.is-close-to-bottom,.editor-block-drop-zone.is-appender.is-close-to-top,.editor-block-drop-zone.is-close-to-top{background:0 0;border-top:3px solid #0085ba;border-bottom:none}body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-sunrise .editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ocean .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-midnight .editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-coffee .editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-blue .editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-light .editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.editor-block-icon.has-colors svg{fill:currentColor}.editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.editor-block-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.editor-block-inspector__card-icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.editor-block-inspector__card-content{flex-grow:1}.editor-block-inspector__card-title{font-weight:500;margin-bottom:5px}.editor-block-inspector__card-description{font-size:13px}.editor-block-inspector__card .editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.editor-block-list__layout .components-draggable__clone .editor-block-contextual-toolbar{display:none!important}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging .editor-block-list__block-edit::before{outline:0}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging>.editor-block-list__block-edit>*{background:#f8f9f9}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging>.editor-block-list__block-edit>*>*{visibility:hidden}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging .editor-block-mover{display:none}.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}@media (min-width:600px){.editor-block-list__layout{padding-right:46px;padding-left:46px}}.editor-block-list__block .editor-block-list__layout{padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px}.editor-block-list__layout .editor-default-block-appender>.editor-default-block-appender__content,.editor-block-list__layout>.editor-block-list__block>.editor-block-list__block-edit,.editor-block-list__layout>.editor-block-list__layout>.editor-block-list__block>.editor-block-list__block-edit{margin-top:32px;margin-bottom:32px}.editor-block-list__layout .editor-block-list__block{position:relative;padding-right:14px;padding-left:14px;overflow-wrap:break-word}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block{padding-right:43px;padding-left:43px}}.editor-block-list__layout .editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px 20px;width:calc(100% - 40px)}.editor-block-list__layout .editor-block-list__block .components-with-notices-ui{margin:0 0 12px 0;width:100%}.editor-block-list__layout .editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.editor-block-list__layout .editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit{position:relative}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit::before{z-index:0;content:"";position:absolute;outline:1px solid transparent;transition:outline .1s linear;pointer-events:none;left:-14px;right:-14px;top:-14px;bottom:-14px}.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit::before{outline:1px solid rgba(145,151,162,.25)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit::before{outline-color:rgba(255,255,255,.3)}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #007cba}body.admin-color-sunrise .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #837425}body.admin-color-ocean .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #5e7d5e}body.admin-color-midnight .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #497b8d}body.admin-color-ectoplasm .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #523f6d}body.admin-color-coffee .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #59524c}body.admin-color-blue .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #417e9b}body.admin-color-light .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #007cba}.editor-block-list__layout .editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}.editor-block-list__layout .editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.editor-block-list__layout .editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .editor-block-list__block{opacity:1}.editor-block-list__layout .editor-block-list__block ::-moz-selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block ::selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::-moz-selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit::before{background:#b3e7fe;mix-blend-mode:multiply;top:-14px;bottom:-14px}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit::before{mix-blend-mode:soft-light}.editor-block-list__layout .editor-block-list__block.has-warning{min-height:36px}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit .editor-warning{pointer-events:all}.editor-block-list__layout .editor-block-list__block.has-warning:not(.is-hovered) .editor-block-list__block-edit::before{outline-color:rgba(145,151,162,.25)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.has-warning:not(.is-hovered) .editor-block-list__block-edit::before{outline-color:rgba(255,255,255,.3)}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit::after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;left:-14px;right:-14px}.editor-block-list__layout .editor-block-list__block.has-warning.is-multi-selected .editor-block-list__block-edit::after{background-color:transparent}.editor-block-list__layout .editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::after{bottom:22px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::after{bottom:-14px}}.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__side-inserter{opacity:0}.editor-block-list__layout .editor-block-list__block .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block .editor-block-list__side-inserter{opacity:1;transition:opacity .2s}.editor-block-list__layout .editor-block-list__block.is-reusable>.editor-block-list__block-edit::before{outline:1px dashed rgba(145,151,162,.25)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-reusable>.editor-block-list__block-edit::before{outline-color:rgba(255,255,255,.3)}.editor-block-list__layout .editor-block-list__block[data-align=left],.editor-block-list__layout .editor-block-list__block[data-align=right]{z-index:20;width:100%;height:0}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit{margin-top:0}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit::before,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit::before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{margin-bottom:1px}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-mobile-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-mobile-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-mover{display:none}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{width:auto;border-bottom:1px solid #e2e4e7;bottom:auto}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar{right:0;left:auto}.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{right:auto;left:0}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{top:14px}}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit{float:left;margin-right:2em}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-toolbar{left:14px;right:auto}}.editor-block-list__layout .editor-block-list__block[data-align=right]>.editor-block-list__block-edit{float:right;margin-left:2em}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-toolbar{right:14px;left:auto}}.editor-block-list__layout .editor-block-list__block[data-align=full],.editor-block-list__layout .editor-block-list__block[data-align=wide]{clear:both;z-index:20}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{top:-44px;bottom:auto;min-height:0;height:auto;width:auto;z-index:inherit}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover::before,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover::before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover .editor-block-mover__control,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover .editor-block-mover__control{float:right}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__breadcrumb,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-list__breadcrumb{left:-1px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{display:none}@media (min-width:1280px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{display:block}}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full] .editor-block-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=wide] .editor-block-toolbar{display:inline-flex}}.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{right:-13px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit>.editor-block-list__breadcrumb{left:0}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]{margin-right:-45px;margin-left:-45px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-right:-44px;margin-left:-44px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit figure{width:100%}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit::before{right:0;left:0;border-right-width:0;border-left-width:0}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{right:1px}.editor-block-list__layout .editor-block-list__block[data-clear=true]{float:none}.editor-block-list__layout .editor-block-list__block .editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.editor-block-list__layout .editor-block-list__block .editor-block-list__layout .editor-inserter-with-shortcuts{display:none}.editor-block-list__layout .editor-block-list__block .editor-block-list__layout .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block .editor-block-list__layout .editor-default-block-appender .editor-inserter{right:auto;left:8px}.editor-block-list__block>.editor-block-mover{position:absolute;width:30px;height:100%;max-height:112px}.editor-block-list__block>.editor-block-mover{top:-15px}@media (min-width:600px){.editor-block-list__block.is-hovered .editor-block-mover,.editor-block-list__block.is-multi-selected .editor-block-mover,.editor-block-list__block.is-selected .editor-block-mover{z-index:80}}.editor-block-list__block>.editor-block-mover{padding-left:2px;right:-30px;display:none}@media (min-width:600px){.editor-block-list__block>.editor-block-mover{display:block}}.editor-block-list__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 #e2e4e7;height:37px;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.editor-block-list__block .editor-block-list__block-mobile-toolbar{display:none}}@media (min-width:600px){.editor-block-list__block .editor-block-list__block-mobile-toolbar{box-shadow:none}}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter{position:relative;right:auto;top:auto;margin:0}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control .dashicon,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle .dashicon{margin:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover{display:flex;margin-left:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-inserter{float:right}.editor-block-list__block[data-align=full] .editor-block-list__block-mobile-toolbar{margin-right:0;margin-left:0}.editor-block-list .editor-inserter{margin:8px;cursor:move;cursor:-webkit-grab;cursor:grab}.editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;right:0;left:0;background:#0085ba}body.admin-color-sunrise .editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .editor-block-list__insertion-point-indicator{background:#0085ba}.editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;right:0;left:0;justify-content:center;opacity:0;transition:opacity .1s linear .1s}@media (min-width:480px){.editor-block-list__insertion-point-inserter{display:flex}}.editor-block-list__insertion-point-inserter .editor-inserter__toggle{margin-top:-4px;border-radius:50%;color:#007cba;background:#fff;height:36px;width:36px}.editor-block-list__insertion-point-inserter .editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.editor-block-list__insertion-point-inserter.is-visible,.editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.editor-block-list__block>.editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:0;left:0}@media (min-width:600px){.editor-block-list__block>.editor-block-list__insertion-point{right:-1px;left:-1px}}.editor-block-list__block[data-align=full]>.editor-block-list__insertion-point{right:0;left:0}.editor-block-list__block .editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:0;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.editor-block-list__block .editor-block-list__block-html-textarea:focus{box-shadow:none}.editor-block-list__block .editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;z-index:21;white-space:nowrap;text-align:right;pointer-events:none;position:absolute;bottom:23px;right:-14px;left:-14px;border-top:1px solid #e2e4e7}.editor-block-list__block .editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.editor-block-list__block .editor-block-contextual-toolbar{border-top:none}.editor-block-list__block .editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px}.editor-block-list__block .editor-block-contextual-toolbar{margin-right:0;margin-left:0}@media (min-width:600px){.editor-block-list__block .editor-block-contextual-toolbar{margin-right:-15px;margin-left:-15px}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar{margin-right:15px}.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{margin-left:15px}.editor-block-list__block .editor-block-contextual-toolbar>*{pointer-events:auto}.editor-block-list__block.is-focus-mode:not(.is-multi-selected)>.editor-block-contextual-toolbar{margin-right:-28px}@media (min-width:600px){.editor-block-list__block .editor-block-contextual-toolbar{bottom:auto;right:auto;left:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-block-list__block .editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar{float:left}.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{float:right}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{transform:translateY(-15px)}.editor-block-contextual-toolbar .editor-block-toolbar{width:100%}@media (min-width:600px){.editor-block-contextual-toolbar .editor-block-toolbar{width:auto;border-left:none;position:absolute;right:0}}.editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:2;left:-14px;top:-15px}.editor-block-list__breadcrumb .components-toolbar{padding:0;border:none;background:0 0;line-height:1;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:11px;padding:4px 4px;background:#007cba;color:#fff}body.admin-color-sunrise .editor-block-list__breadcrumb .components-toolbar{background:#837425}body.admin-color-ocean .editor-block-list__breadcrumb .components-toolbar{background:#5e7d5e}body.admin-color-midnight .editor-block-list__breadcrumb .components-toolbar{background:#497b8d}body.admin-color-ectoplasm .editor-block-list__breadcrumb .components-toolbar{background:#523f6d}body.admin-color-coffee .editor-block-list__breadcrumb .components-toolbar{background:#59524c}body.admin-color-blue .editor-block-list__breadcrumb .components-toolbar{background:#417e9b}body.admin-color-light .editor-block-list__breadcrumb .components-toolbar{background:#007cba}.editor-block-list__block:hover .editor-block-list__breadcrumb .components-toolbar{opacity:0;animation:edit-post__fade-in-animation 60ms ease-out .5s;animation-fill-mode:forwards}[data-align=left] .editor-block-list__breadcrumb,[data-align=right] .editor-block-list__breadcrumb{left:0;top:0}.editor-block-list__descendant-arrow::before{content:"→";display:inline-block;padding:0 4px}.rtl .editor-block-list__descendant-arrow::before{content:"←"}@media (min-width:600px){.editor-block-list__block::before{bottom:0;content:"";right:-28px;position:absolute;left:-28px;top:0}.editor-block-list__block .editor-block-list__block::before{right:0;left:0}.editor-block-list__block[data-align=full]::before{content:none}}.editor-block-list__block .editor-warning{z-index:5;position:relative;margin-left:-15px;margin-right:-15px;margin-bottom:-15px;transform:translateY(-15px);padding:10px 14px}@media (min-width:600px){.editor-block-list__block .editor-warning{padding:10px 14px}}.block-list-appender>.editor-inserter{display:block}.block-list-appender__toggle{display:flex;align-items:center;justify-content:center;padding:16px;outline:1px dashed #8d96a0;width:100%;color:#555d66}.block-list-appender__toggle:hover{outline:1px dashed #555d66}.editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.editor-block-compare{max-height:70%}}.editor-block-compare__wrapper{display:flex;padding-bottom:16px}.editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.editor-block-compare__wrapper>div button{float:left}.editor-block-compare__wrapper .editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px}.editor-block-compare__wrapper .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}.editor-block-compare__wrapper .editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.editor-block-compare__wrapper .editor-block-compare__html span.editor-block-compare__added{background-color:#acf2bd}.editor-block-compare__wrapper .editor-block-compare__html span.editor-block-compare__removed{background-color:#d94f4f}.editor-block-compare__wrapper .editor-block-compare__preview{padding:0;padding-top:14px}.editor-block-compare__wrapper .editor-block-compare__preview p{font-size:12px;margin-top:0}.editor-block-compare__wrapper .editor-block-compare__action{margin-top:14px}.editor-block-compare__wrapper .editor-block-compare__heading{font-size:1em;font-weight:400}.editor-block-mover{min-height:56px;opacity:0}.editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (min-width:600px){.editor-block-list__block:not([data-align=wide]):not([data-align=full]) .editor-block-mover{margin-top:-8px}}.editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:28px;height:24px;color:rgba(14,28,46,.62)}.editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.is-dark-theme .editor-block-mover__control{color:rgba(255,255,255,.65)}.editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(130,148,147,.15)}.is-dark-theme .editor-block-mover__control[aria-disabled=true]{color:rgba(255,255,255,.2)}.editor-block-mover__control-drag-handle{cursor:move;cursor:-webkit-grab;cursor:grab;fill:currentColor;border-radius:4px}.editor-block-mover__control-drag-handle,.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:0 0;color:rgba(10,24,41,.7)}.is-dark-theme .editor-block-mover__control-drag-handle,.is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:rgba(255,255,255,.75)}.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:-webkit-grabbing;cursor:grabbing}.editor-block-mover__description{display:none}@media (min-width:600px){.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default){background:#fff;box-shadow:inset 0 0 0 1px #e2e4e7}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:nth-child(-n+2){margin-bottom:-1px}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:active,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:focus,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:hover{z-index:1}}.editor-block-navigation__container{padding:7px}.editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.editor-block-navigation__list,.editor-block-navigation__paragraph{padding:0;margin:0}.editor-block-navigation__list .editor-block-navigation__list{margin-top:2px;border-right:2px solid #a2aab2;margin-right:1em}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__list{margin-right:1.5em}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__item{position:relative}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__item::before{position:absolute;right:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__item-button{margin-right:.8em;width:calc(100% - .8em)}.editor-block-navigation__list .editor-block-navigation__list>li:last-child{position:relative}.editor-block-navigation__list .editor-block-navigation__list>li:last-child::after{position:absolute;content:"";background:#fff;top:19px;bottom:0;right:-2px;width:2px}.editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:right;color:#40464d;border-radius:4px}.editor-block-navigation__item-button .editor-block-icon{margin-left:6px}.editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none}.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}.editor-block-navigation__item-button.is-selected,.editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.editor-block-preview{display:block}}.editor-block-preview .editor-block-preview__content{padding:14px;border:1px solid #e2e4e7;font-family:"Noto Serif",serif}.editor-block-preview .editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:"Noto Serif",serif}.editor-block-preview .editor-block-preview__content>div section{height:auto}.editor-block-preview .editor-block-preview__content>.reusable-block-indicator{display:none}.editor-block-preview__title{margin-bottom:10px;color:#6c7781}.editor-block-settings-menu__toggle .dashicon{transform:rotate(-90deg)}.editor-block-settings-menu__popover::after,.editor-block-settings-menu__popover::before{margin-right:2px}.editor-block-settings-menu__popover .editor-block-settings-menu__content{padding:7px}.editor-block-settings-menu__popover .editor-block-settings-menu__separator{margin-top:8px;margin-bottom:8px;margin-right:-7px;margin-left:-7px;border-top:1px solid #e2e4e7}.editor-block-settings-menu__popover .editor-block-settings-menu__separator:last-child{display:none}.editor-block-settings-menu__popover .editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.editor-block-settings-menu__popover .editor-block-settings-menu__control{width:100%;justify-content:flex-start;padding:8px;background:0 0;outline:0;border-radius:0;color:#555d66;text-align:right;cursor:pointer;border:none;box-shadow:none}.editor-block-settings-menu__popover .editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none}.editor-block-settings-menu__popover .editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-block-settings-menu__popover .editor-block-settings-menu__control .dashicon{margin-left:5px}.editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:4px}.editor-block-styles__item.is-active{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px;box-shadow:0 0 0 2px #555d66}.editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.editor-block-styles__item:hover{background:#f8f9f9;color:#191e23}.editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);overflow:hidden;padding:0;text-align:initial;border-radius:4px;display:flex;height:60px;background:#fff}.editor-block-styles__item-preview>*{transform:scale(.7);transform-origin:center center;font-family:"Noto Serif",serif}.editor-block-styles__item-preview .editor-block-preview__content{width:100%}.editor-block-styles__item-label{text-align:center;padding:4px 2px}.editor-block-switcher{position:relative;height:36px}.components-icon-button.editor-block-switcher__no-switcher-icon,.components-icon-button.editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.editor-block-switcher__no-switcher-icon .editor-block-icon{margin-left:auto;margin-right:auto}.components-icon-button.editor-block-switcher__toggle{width:auto}.components-icon-button.editor-block-switcher__toggle:active,.components-icon-button.editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:0;box-shadow:none;background:0 0;border:none}.components-icon-button.editor-block-switcher__toggle .editor-block-icon,.components-icon-button.editor-block-switcher__toggle .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)}.components-icon-button.editor-block-switcher__toggle .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 currentColor;margin-right:4px;margin-left:2px}.components-icon-button.editor-block-switcher__toggle .editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-icon,.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-switcher__transform,.components-icon-button.editor-block-switcher__toggle:not(:disabled):hover .editor-block-icon,.components-icon-button.editor-block-switcher__toggle:not(:disabled):hover .editor-block-switcher__transform,.components-icon-button.editor-block-switcher__toggle[aria-expanded=true] .editor-block-icon,.components-icon-button.editor-block-switcher__toggle[aria-expanded=true] .editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-icon,.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-popover:not(.is-mobile).editor-block-switcher__popover .components-popover__content{min-width:320px}@media (min-width:782px){.editor-block-switcher__popover .components-popover__content{position:relative}.editor-block-switcher__popover .components-popover__content .editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px;height:auto}}.editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.editor-block-switcher__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible}.editor-block-switcher__popover .editor-block-styles{margin:0 -3px}.editor-block-switcher__popover .editor-block-types-list{margin:8px -8px -8px}.editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-right:1px solid #e2e4e7}@media (min-width:600px){.editor-block-toolbar{overflow:inherit}}.editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7;border-left:1px solid #e2e4e7}.editor-block-types-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.editor-contrast-checker>.components-notice{margin:0}.editor-default-block-appender{clear:both}.editor-default-block-appender textarea.editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:0 0;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:.2s outline;resize:none;padding:0 14px 0 50px;color:rgba(14,28,46,.62)}.is-dark-theme .editor-default-block-appender textarea.editor-default-block-appender__content{color:rgba(255,255,255,.65)}.editor-default-block-appender .editor-inserter-with-shortcuts{opacity:.5;transition:opacity .2s}.editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:rgba(255,255,255,.75)}.editor-default-block-appender .editor-inserter__toggle:not([aria-expanded=true]){opacity:0}.editor-default-block-appender:hover .editor-inserter-with-shortcuts{opacity:1}.editor-default-block-appender:hover .editor-inserter__toggle{opacity:1}.editor-default-block-appender .components-drop-zone__content-icon{display:none}.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter,.editor-inserter-with-shortcuts{position:absolute;top:0}.editor-block-list__empty-block-inserter .components-icon-button,.editor-default-block-appender .editor-inserter .components-icon-button,.editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-left:12px;padding:0}.editor-block-list__empty-block-inserter .editor-block-icon,.editor-default-block-appender .editor-inserter .editor-block-icon,.editor-inserter-with-shortcuts .editor-block-icon{margin:auto}.editor-block-list__empty-block-inserter .components-icon-button svg,.editor-default-block-appender .editor-inserter .components-icon-button svg,.editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.editor-block-list__empty-block-inserter .editor-inserter__toggle,.editor-default-block-appender .editor-inserter .editor-inserter__toggle,.editor-inserter-with-shortcuts .editor-inserter__toggle{margin-left:0}.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{left:8px}@media (min-width:600px){.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{right:-44px;left:auto}}.editor-block-list__empty-block-inserter:disabled,.editor-default-block-appender .editor-inserter:disabled{display:none}.editor-block-list__empty-block-inserter .editor-inserter__toggle,.editor-default-block-appender .editor-inserter .editor-inserter__toggle{transition:opacity .2s;border-radius:50%;width:28px;height:28px;padding:0}.editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.is-dark-theme .editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:rgba(255,255,255,.75)}.editor-block-list__side-inserter .editor-inserter-with-shortcuts,.editor-default-block-appender .editor-inserter-with-shortcuts{left:14px;display:none;z-index:5}@media (min-width:600px){.editor-block-list__side-inserter .editor-inserter-with-shortcuts,.editor-default-block-appender .editor-inserter-with-shortcuts{left:0;display:flex}}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.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:0 0;border:none;display:flex;align-items:flex-start;color:#23282d;text-align:right}.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;outline-offset:-2px}.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}.editor-error-boundary{max-width:610px;margin:auto;max-width:780px;padding:20px;margin-top:60px;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-inner-blocks.has-overlay::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;z-index:120}.editor-inserter-with-shortcuts{display:flex;align-items:center}.editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.editor-inserter-with-shortcuts__block{margin-left:4px;width:36px;height:36px;padding-top:8px;color:rgba(102,120,134,.35)}.is-dark-theme .editor-inserter-with-shortcuts__block{color:rgba(255,255,255,.4)}.editor-inserter{display:inline-block;background:0 0;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){.editor-inserter{position:relative}}@media (min-width:782px){.editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:0 0;cursor:pointer;border:none;outline:0;transition:color .2s ease}.editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.editor-inserter__menu{width:400px;position:relative}.editor-inserter__menu .editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px}}.editor-inserter__inline-elements{margin-top:-1px}.editor-inserter__menu.is-bottom::after{border-bottom-color:#fff}.components-popover input[type=search].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].editor-inserter__search{font-size:13px}}.components-popover input[type=search].editor-inserter__search:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px 16px}.editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.editor-inserter__results{height:394px}}.editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.editor-inserter__popover .editor-block-types-list{margin:0 -8px}.editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.editor-inserter__manage-reusable-blocks{margin:16px 16px 0 0}.editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.editor-inserter__child-blocks{padding:0 16px}.editor-inserter__parent-block-header{display:flex;align-items:center}.editor-inserter__parent-block-header h2{font-size:13px}.editor-block-types-list__list-item{display:block;width:33.33%;padding:0 4px;margin:0 0 12px}.editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0;align-items:stretch;justify-content:center;cursor:pointer;background:0 0;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all 50ms ease-in-out;position:relative}.editor-block-types-list__item:disabled{opacity:.6;cursor:default}.editor-block-types-list__item:not(:disabled):hover::before{content:"";display:block;background:#f8f9f9;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;left:0;bottom:0;right:0}.editor-block-types-list__item:not(:disabled):hover .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled):hover .editor-block-types-list__item-title{color:currentColor}.editor-block-types-list__item:not(:disabled).is-active,.editor-block-types-list__item:not(:disabled):active,.editor-block-types-list__item:not(:disabled):focus{position:relative;outline:0;color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.editor-block-types-list__item:not(:disabled).is-active .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled).is-active .editor-block-types-list__item-title,.editor-block-types-list__item:not(:disabled):active .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled):active .editor-block-types-list__item-title,.editor-block-types-list__item:not(:disabled):focus .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled):focus .editor-block-types-list__item-title{color:currentColor}.editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all 50ms ease-in-out}.editor-block-types-list__item-icon .editor-block-icon{margin-right:auto;margin-left:auto}.editor-block-types-list__item-icon svg{transition:all .15s ease-out}.editor-block-types-list__item-title{padding:4px 2px 8px}.editor-block-types-list__item-has-children .editor-block-types-list__item-icon{background:#fff;margin-left:3px;margin-bottom:6px;padding:9px 20px 9px;position:relative;top:-2px;right:-2px;box-shadow:0 0 0 1px #e2e4e7}.editor-block-types-list__item-has-children .editor-block-types-list__item-icon-stack{display:block;background:#fff;box-shadow:0 0 0 1px #e2e4e7;width:100%;height:100%;position:absolute;z-index:-1;bottom:-6px;left:-6px;border-radius:4px}.editor-media-placeholder__url-input-container{width:100%}.editor-media-placeholder__url-input-container .editor-media-placeholder__button{margin-bottom:0}.editor-media-placeholder__url-input-form{display:flex}.editor-media-placeholder__url-input-form input[type=url].editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.editor-media-placeholder__url-input-form input[type=url].editor-media-placeholder__url-input-field{width:300px}}.editor-media-placeholder__url-input-submit-button{flex-shrink:1}.editor-media-placeholder__button{margin-bottom:.5rem}.editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.editor-media-placeholder__button:hover{color:#23282d}.components-form-file-upload .editor-media-placeholder__button{margin-left:4px}.editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.editor-multi-selection-inspector__card-content{flex-grow:1}.editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.editor-multi-selection-inspector__card-description{font-size:13px}.editor-multi-selection-inspector__card .editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-page-attributes__order{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-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.editor-panel-color-settings.is-opened .editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .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%}.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{margin-top:1em;margin-left:8px}.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}.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;margin-left:15px}.editor-post-permalink{display:inline-flex;align-items:center;background:#fff;padding:5px;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 rgba(145,151,162,.25);background-clip:padding-box;margin-right:-15px;margin-left:-15px}@media (min-width:600px){.editor-post-permalink{margin-right:-1px;margin-left:-1px}}.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;width:100%;overflow:hidden;position:relative;white-space:nowrap}.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(to left,rgba(255,255,255,0),#fff 90%);top:1px;bottom:1px;left:1px;right:auto;width:20%;height:auto}.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-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{color:#007fac;font-weight:400;padding-right:4px;text-decoration:underline}.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;color:#a2aab2;overflow:hidden}.editor-post-saved-state.is-saving{animation:edit-post__loading-fade-animation .5s infinite}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto}.editor-post-saved-state{width:28px;white-space:nowrap;padding:12px 4px}.editor-post-saved-state .dashicon{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}.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;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #e2e4e7;box-shadow:none;outline:1px solid #e2e4e7;outline-offset:-2px}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:0 0;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:0;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:4px;padding-top:0}.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:0 0;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out;padding:19px 14px;word-break:keep-all;border:1px solid transparent;border-right-width:0;border-left-width:0;font-size:2.441em;font-weight:600}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width: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:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(145,151,162,.25)}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(255,255,255,.3)}.editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#007cba}body.admin-color-sunrise .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#837425}body.admin-color-ocean .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#5e7d5e}body.admin-color-midnight .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#497b8d}body.admin-color-ectoplasm .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#523f6d}body.admin-color-coffee .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#59524c}body.admin-color-blue .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#417e9b}body.admin-color-light .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#007cba}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}.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;position:absolute;top:-34px;right:0;left:0}@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}.editor-format-toolbar{display:flex;flex-shrink:0}.editor-format-toolbar__selection-position{position:absolute;transform:translateX(50%)}.editor-rich-text{position:relative}.editor-rich-text__tinymce{margin:0;position:relative;line-height:1.8}.editor-rich-text__tinymce>p:empty{min-height:28.8px}.editor-rich-text__tinymce>p:first-child{margin-top:0}.editor-rich-text__tinymce:focus{outline:0}.editor-rich-text__tinymce a{color:#007fac}.editor-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .editor-rich-text__tinymce code{background:#67cffd}.editor-rich-text__tinymce:focus a[data-mce-selected],.editor-rich-text__tinymce:focus b[data-mce-selected],.editor-rich-text__tinymce:focus del[data-mce-selected],.editor-rich-text__tinymce:focus em[data-mce-selected],.editor-rich-text__tinymce:focus i[data-mce-selected],.editor-rich-text__tinymce:focus ins[data-mce-selected],.editor-rich-text__tinymce:focus strong[data-mce-selected],.editor-rich-text__tinymce:focus sub[data-mce-selected],.editor-rich-text__tinymce:focus sup[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e8eaeb;background:#e8eaeb;color:#191e23}.editor-rich-text__tinymce:focus a[data-mce-selected]{box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa;color:#006589}.editor-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb;box-shadow:0 0 0 1px #e8eaeb}.editor-rich-text__tinymce img[data-mce-selected]{outline:0}.editor-rich-text__tinymce img::-moz-selection{background:0 0!important}.editor-rich-text__tinymce img::selection{background:0 0!important}.editor-rich-text__tinymce[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0;height:100%}.editor-rich-text__tinymce[data-is-placeholder-visible=true]>p{margin-top:0}.editor-rich-text__tinymce+.editor-rich-text__tinymce{pointer-events:none}.editor-rich-text__tinymce+.editor-rich-text__tinymce,.editor-rich-text__tinymce+.editor-rich-text__tinymce p{opacity:.62}.editor-rich-text__tinymce[data-is-placeholder-visible=true]+figcaption.editor-rich-text__tinymce{opacity:.8}.editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;right:0;left:0;z-index:1}.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)}.editor-skip-to-selected-block{position:absolute;top:-9999em}.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:0;z-index:100000}body.admin-color-sunrise .editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .editor-skip-to-selected-block:focus{color:#c75726}.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__counts{display:flex;flex-wrap:wrap}.table-of-contents__count{width:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781}.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}.components-popover .editor-url-input,.editor-block-list__block .editor-url-input,.editor-url-input{flex-grow:1;position:relative;padding:1px}.components-popover .editor-url-input input[type=text],.editor-block-list__block .editor-url-input input[type=text],.editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0}@media (min-width:600px){.components-popover .editor-url-input input[type=text],.editor-block-list__block .editor-url-input input[type=text],.editor-url-input input[type=text]{width:300px}}.components-popover .editor-url-input input[type=text]::-ms-clear,.editor-block-list__block .editor-url-input input[type=text]::-ms-clear,.editor-url-input input[type=text]::-ms-clear{display:none}.components-popover .editor-url-input .components-spinner,.editor-block-list__block .editor-url-input .components-spinner,.editor-url-input .components-spinner{position:absolute;left:8px;top:9px;margin:0}.editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}.editor-url-input .components-spinner,.editor-url-input__suggestions{display:none}@media (min-width:600px){.editor-url-input .components-spinner,.editor-url-input__suggestions{display:inherit}}.editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;border:none;box-shadow:none}.editor-url-input__suggestion:hover{background:#e2e4e7}.editor-url-input__suggestion.is-selected,.editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:0}body.admin-color-sunrise .editor-url-input__suggestion.is-selected,body.admin-color-sunrise .editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .editor-url-input__suggestion.is-selected,body.admin-color-ocean .editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .editor-url-input__suggestion.is-selected,body.admin-color-midnight .editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .editor-url-input__suggestion.is-selected,body.admin-color-coffee .editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .editor-url-input__suggestion.is-selected,body.admin-color-blue .editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .editor-url-input__suggestion.is-selected,body.admin-color-light .editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.editor-url-input__button{position:inherit}.editor-url-input__button .editor-url-input__back{margin-left:4px;overflow:visible}.editor-url-input__button .editor-url-input__back::after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#e2e4e7}.editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.editor-url-popover__row{display:flex}.editor-url-popover__row>:not(.editor-url-popover__settings-toggle){flex-grow:1}.editor-url-popover__settings-toggle{flex-shrink:0;width:36px;height:36px}.editor-url-popover__settings-toggle .dashicon{transform:rotate(-90deg)}.editor-url-popover__settings{padding:7px 8px;border-top:1px solid #e2e4e7;padding-top:8px}.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 .editor-warning{background-color:transparent}.editor-warning .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}.editor-warning .editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;width:100%}.editor-warning .editor-warning__actions{display:flex}.editor-warning .editor-warning__action{margin:0 0 0 6px}.editor-warning__secondary{margin:3px -4px 0 0}.editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.editor-warning__secondary{margin-right:4px}.editor-warning__secondary .components-icon-button{padding:8px 4px}}.editor-warning__secondary .components-button svg{transform:rotate(-90deg)}.editor-writing-flow{height:100%;display:flex;flex-direction:column}.editor-writing-flow__click-redirect{flex-basis:100%;cursor:text}
\ 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 1e68c63a4e..f69f4f1626 100644
--- a/wp-includes/css/dist/editor/style.css
+++ b/wp-includes/css/dist/editor/style.css
@@ -2304,8 +2304,6 @@ body.admin-color-light .editor-post-text-editor__link{
height: 100%; }
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] > p {
margin-top: 0; }
- .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
- padding-right: 36px; }
.editor-rich-text__tinymce + .editor-rich-text__tinymce {
pointer-events: none; }
.editor-rich-text__tinymce + .editor-rich-text__tinymce,
diff --git a/wp-includes/css/dist/editor/style.min.css b/wp-includes/css/dist/editor/style.min.css
index 50d128e941..74d1dc0877 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}.editor-block-drop-zone{border:none;border-radius:0}.editor-block-drop-zone .components-drop-zone__content,.editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.editor-block-drop-zone.is-close-to-bottom{background:0 0;border-bottom:3px solid #0085ba}body.admin-color-sunrise .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.editor-block-drop-zone.is-appender.is-close-to-bottom,.editor-block-drop-zone.is-appender.is-close-to-top,.editor-block-drop-zone.is-close-to-top{background:0 0;border-top:3px solid #0085ba;border-bottom:none}body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-sunrise .editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ocean .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-midnight .editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-coffee .editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-blue .editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-light .editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.editor-block-icon.has-colors svg{fill:currentColor}.editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.editor-block-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.editor-block-inspector__card-icon{border:1px solid #ccd0d4;padding:7px;margin-right:10px;height:36px;width:36px}.editor-block-inspector__card-content{flex-grow:1}.editor-block-inspector__card-title{font-weight:500;margin-bottom:5px}.editor-block-inspector__card-description{font-size:13px}.editor-block-inspector__card .editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.editor-block-list__layout .components-draggable__clone .editor-block-contextual-toolbar{display:none!important}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging .editor-block-list__block-edit::before{outline:0}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging>.editor-block-list__block-edit>*{background:#f8f9f9}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging>.editor-block-list__block-edit>*>*{visibility:hidden}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging .editor-block-mover{display:none}.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}@media (min-width:600px){.editor-block-list__layout{padding-left:46px;padding-right:46px}}.editor-block-list__block .editor-block-list__layout{padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px}.editor-block-list__layout .editor-default-block-appender>.editor-default-block-appender__content,.editor-block-list__layout>.editor-block-list__block>.editor-block-list__block-edit,.editor-block-list__layout>.editor-block-list__layout>.editor-block-list__block>.editor-block-list__block-edit{margin-top:32px;margin-bottom:32px}.editor-block-list__layout .editor-block-list__block{position:relative;padding-left:14px;padding-right:14px;overflow-wrap:break-word}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block{padding-left:43px;padding-right:43px}}.editor-block-list__layout .editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px 20px;width:calc(100% - 40px)}.editor-block-list__layout .editor-block-list__block .components-with-notices-ui{margin:0 0 12px 0;width:100%}.editor-block-list__layout .editor-block-list__block .components-with-notices-ui .components-notice{margin-left:0;margin-right:0}.editor-block-list__layout .editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit{position:relative}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit::before{z-index:0;content:"";position:absolute;outline:1px solid transparent;transition:outline .1s linear;pointer-events:none;right:-14px;left:-14px;top:-14px;bottom:-14px}.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit::before{outline:1px solid rgba(145,151,162,.25)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit::before{outline-color:rgba(255,255,255,.3)}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #007cba}body.admin-color-sunrise .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #837425}body.admin-color-ocean .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #5e7d5e}body.admin-color-midnight .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #497b8d}body.admin-color-ectoplasm .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #523f6d}body.admin-color-coffee .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #59524c}body.admin-color-blue .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #417e9b}body.admin-color-light .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #007cba}.editor-block-list__layout .editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}.editor-block-list__layout .editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.editor-block-list__layout .editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .editor-block-list__block{opacity:1}.editor-block-list__layout .editor-block-list__block ::-moz-selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block ::selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::-moz-selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit::before{background:#b3e7fe;mix-blend-mode:multiply;top:-14px;bottom:-14px}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit::before{mix-blend-mode:soft-light}.editor-block-list__layout .editor-block-list__block.has-warning{min-height:36px}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit .editor-warning{pointer-events:all}.editor-block-list__layout .editor-block-list__block.has-warning:not(.is-hovered) .editor-block-list__block-edit::before{outline-color:rgba(145,151,162,.25)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.has-warning:not(.is-hovered) .editor-block-list__block-edit::before{outline-color:rgba(255,255,255,.3)}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit::after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;right:-14px;left:-14px}.editor-block-list__layout .editor-block-list__block.has-warning.is-multi-selected .editor-block-list__block-edit::after{background-color:transparent}.editor-block-list__layout .editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::after{bottom:22px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::after{bottom:-14px}}.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__side-inserter{opacity:0}.editor-block-list__layout .editor-block-list__block .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block .editor-block-list__side-inserter{opacity:1;transition:opacity .2s}.editor-block-list__layout .editor-block-list__block.is-reusable>.editor-block-list__block-edit::before{outline:1px dashed rgba(145,151,162,.25)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-reusable>.editor-block-list__block-edit::before{outline-color:rgba(255,255,255,.3)}.editor-block-list__layout .editor-block-list__block[data-align=left],.editor-block-list__layout .editor-block-list__block[data-align=right]{z-index:20;width:100%;height:0}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit{margin-top:0}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit::before,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit::before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{margin-bottom:1px}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-mobile-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-mobile-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-mover{display:none}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{width:auto;border-bottom:1px solid #e2e4e7;bottom:auto}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar{left:0;right:auto}.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{left:auto;right:0}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{top:14px}}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit{/*!rtl:begin:ignore*/float:left;margin-right:2em/*!rtl:end:ignore*/}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-toolbar{/*!rtl:begin:ignore*/left:14px;right:auto/*!rtl:end:ignore*/}}.editor-block-list__layout .editor-block-list__block[data-align=right]>.editor-block-list__block-edit{/*!rtl:begin:ignore*/float:right;margin-left:2em/*!rtl:end:ignore*/}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-toolbar{/*!rtl:begin:ignore*/right:14px;left:auto/*!rtl:end:ignore*/}}.editor-block-list__layout .editor-block-list__block[data-align=full],.editor-block-list__layout .editor-block-list__block[data-align=wide]{clear:both;z-index:20}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{top:-44px;bottom:auto;min-height:0;height:auto;width:auto;z-index:inherit}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover::before,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover::before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover .editor-block-mover__control,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover .editor-block-mover__control{float:left}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__breadcrumb,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-list__breadcrumb{right:-1px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{display:none}@media (min-width:1280px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{display:block}}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full] .editor-block-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=wide] .editor-block-toolbar{display:inline-flex}}.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{left:-13px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit>.editor-block-list__breadcrumb{right:0}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]{margin-left:-45px;margin-right:-45px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-left:-44px;margin-right:-44px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit figure{width:100%}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit::before{left:0;right:0;border-left-width:0;border-right-width:0}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{left:1px}.editor-block-list__layout .editor-block-list__block[data-clear=true]{float:none}.editor-block-list__layout .editor-block-list__block .editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.editor-block-list__layout .editor-block-list__block .editor-block-list__layout .editor-inserter-with-shortcuts{display:none}.editor-block-list__layout .editor-block-list__block .editor-block-list__layout .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block .editor-block-list__layout .editor-default-block-appender .editor-inserter{left:auto;right:8px}.editor-block-list__block>.editor-block-mover{position:absolute;width:30px;height:100%;max-height:112px}.editor-block-list__block>.editor-block-mover{top:-15px}@media (min-width:600px){.editor-block-list__block.is-hovered .editor-block-mover,.editor-block-list__block.is-multi-selected .editor-block-mover,.editor-block-list__block.is-selected .editor-block-mover{z-index:80}}.editor-block-list__block>.editor-block-mover{padding-right:2px;left:-30px;display:none}@media (min-width:600px){.editor-block-list__block>.editor-block-mover{display:block}}.editor-block-list__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 #e2e4e7;height:37px;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.editor-block-list__block .editor-block-list__block-mobile-toolbar{display:none}}@media (min-width:600px){.editor-block-list__block .editor-block-list__block-mobile-toolbar{box-shadow:none}}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter{position:relative;left:auto;top:auto;margin:0}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control .dashicon,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle .dashicon{margin:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover{display:flex;margin-right:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-inserter{float:left}.editor-block-list__block[data-align=full] .editor-block-list__block-mobile-toolbar{margin-left:0;margin-right:0}.editor-block-list .editor-inserter{margin:8px;cursor:move;cursor:-webkit-grab;cursor:grab}.editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;left:0;right:0;background:#0085ba}body.admin-color-sunrise .editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .editor-block-list__insertion-point-indicator{background:#0085ba}.editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;left:0;right:0;justify-content:center;opacity:0;transition:opacity .1s linear .1s}@media (min-width:480px){.editor-block-list__insertion-point-inserter{display:flex}}.editor-block-list__insertion-point-inserter .editor-inserter__toggle{margin-top:-4px;border-radius:50%;color:#007cba;background:#fff;height:36px;width:36px}.editor-block-list__insertion-point-inserter .editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.editor-block-list__insertion-point-inserter.is-visible,.editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.editor-block-list__block>.editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:0;right:0}@media (min-width:600px){.editor-block-list__block>.editor-block-list__insertion-point{left:-1px;right:-1px}}.editor-block-list__block[data-align=full]>.editor-block-list__insertion-point{left:0;right:0}.editor-block-list__block .editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:0;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.editor-block-list__block .editor-block-list__block-html-textarea:focus{box-shadow:none}.editor-block-list__block .editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;z-index:21;white-space:nowrap;text-align:left;pointer-events:none;position:absolute;bottom:23px;left:-14px;right:-14px;border-top:1px solid #e2e4e7}.editor-block-list__block .editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.editor-block-list__block .editor-block-contextual-toolbar{border-top:none}.editor-block-list__block .editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px}.editor-block-list__block .editor-block-contextual-toolbar{margin-left:0;margin-right:0}@media (min-width:600px){.editor-block-list__block .editor-block-contextual-toolbar{margin-left:-15px;margin-right:-15px}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar{margin-right:15px}.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{margin-left:15px}.editor-block-list__block .editor-block-contextual-toolbar>*{pointer-events:auto}.editor-block-list__block.is-focus-mode:not(.is-multi-selected)>.editor-block-contextual-toolbar{margin-left:-28px}@media (min-width:600px){.editor-block-list__block .editor-block-contextual-toolbar{bottom:auto;left:auto;right:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-block-list__block .editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar{float:left}.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{float:right}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{transform:translateY(-15px)}.editor-block-contextual-toolbar .editor-block-toolbar{width:100%}@media (min-width:600px){.editor-block-contextual-toolbar .editor-block-toolbar{width:auto;border-right:none;position:absolute;left:0}}.editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:2;right:-14px;top:-15px}.editor-block-list__breadcrumb .components-toolbar{padding:0;border:none;background:0 0;line-height:1;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:11px;padding:4px 4px;background:#007cba;color:#fff}body.admin-color-sunrise .editor-block-list__breadcrumb .components-toolbar{background:#837425}body.admin-color-ocean .editor-block-list__breadcrumb .components-toolbar{background:#5e7d5e}body.admin-color-midnight .editor-block-list__breadcrumb .components-toolbar{background:#497b8d}body.admin-color-ectoplasm .editor-block-list__breadcrumb .components-toolbar{background:#523f6d}body.admin-color-coffee .editor-block-list__breadcrumb .components-toolbar{background:#59524c}body.admin-color-blue .editor-block-list__breadcrumb .components-toolbar{background:#417e9b}body.admin-color-light .editor-block-list__breadcrumb .components-toolbar{background:#007cba}.editor-block-list__block:hover .editor-block-list__breadcrumb .components-toolbar{opacity:0;animation:edit-post__fade-in-animation 60ms ease-out .5s;animation-fill-mode:forwards}[data-align=left] .editor-block-list__breadcrumb,[data-align=right] .editor-block-list__breadcrumb{right:0;top:0}.editor-block-list__descendant-arrow::before{content:"→";display:inline-block;padding:0 4px}.rtl .editor-block-list__descendant-arrow::before{content:"←"}@media (min-width:600px){.editor-block-list__block::before{bottom:0;content:"";left:-28px;position:absolute;right:-28px;top:0}.editor-block-list__block .editor-block-list__block::before{left:0;right:0}.editor-block-list__block[data-align=full]::before{content:none}}.editor-block-list__block .editor-warning{z-index:5;position:relative;margin-right:-15px;margin-left:-15px;margin-bottom:-15px;transform:translateY(-15px);padding:10px 14px}@media (min-width:600px){.editor-block-list__block .editor-warning{padding:10px 14px}}.block-list-appender>.editor-inserter{display:block}.block-list-appender__toggle{display:flex;align-items:center;justify-content:center;padding:16px;outline:1px dashed #8d96a0;width:100%;color:#555d66}.block-list-appender__toggle:hover{outline:1px dashed #555d66}.editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.editor-block-compare{max-height:70%}}.editor-block-compare__wrapper{display:flex;padding-bottom:16px}.editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.editor-block-compare__wrapper>div button{float:right}.editor-block-compare__wrapper .editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px}.editor-block-compare__wrapper .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}.editor-block-compare__wrapper .editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.editor-block-compare__wrapper .editor-block-compare__html span.editor-block-compare__added{background-color:#acf2bd}.editor-block-compare__wrapper .editor-block-compare__html span.editor-block-compare__removed{background-color:#d94f4f}.editor-block-compare__wrapper .editor-block-compare__preview{padding:0;padding-top:14px}.editor-block-compare__wrapper .editor-block-compare__preview p{font-size:12px;margin-top:0}.editor-block-compare__wrapper .editor-block-compare__action{margin-top:14px}.editor-block-compare__wrapper .editor-block-compare__heading{font-size:1em;font-weight:400}.editor-block-mover{min-height:56px;opacity:0}.editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (min-width:600px){.editor-block-list__block:not([data-align=wide]):not([data-align=full]) .editor-block-mover{margin-top:-8px}}.editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:28px;height:24px;color:rgba(14,28,46,.62)}.editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.is-dark-theme .editor-block-mover__control{color:rgba(255,255,255,.65)}.editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(130,148,147,.15)}.is-dark-theme .editor-block-mover__control[aria-disabled=true]{color:rgba(255,255,255,.2)}.editor-block-mover__control-drag-handle{cursor:move;cursor:-webkit-grab;cursor:grab;fill:currentColor;border-radius:4px}.editor-block-mover__control-drag-handle,.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:0 0;color:rgba(10,24,41,.7)}.is-dark-theme .editor-block-mover__control-drag-handle,.is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:rgba(255,255,255,.75)}.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:-webkit-grabbing;cursor:grabbing}.editor-block-mover__description{display:none}@media (min-width:600px){.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default){background:#fff;box-shadow:inset 0 0 0 1px #e2e4e7}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:nth-child(-n+2){margin-bottom:-1px}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:active,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:focus,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:hover{z-index:1}}.editor-block-navigation__container{padding:7px}.editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.editor-block-navigation__list,.editor-block-navigation__paragraph{padding:0;margin:0}.editor-block-navigation__list .editor-block-navigation__list{margin-top:2px;border-left:2px solid #a2aab2;margin-left:1em}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__list{margin-left:1.5em}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__item{position:relative}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__item::before{position:absolute;left:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__item-button{margin-left:.8em;width:calc(100% - .8em)}.editor-block-navigation__list .editor-block-navigation__list>li:last-child{position:relative}.editor-block-navigation__list .editor-block-navigation__list>li:last-child::after{position:absolute;content:"";background:#fff;top:19px;bottom:0;left:-2px;width:2px}.editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:left;color:#40464d;border-radius:4px}.editor-block-navigation__item-button .editor-block-icon{margin-right:6px}.editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none}.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}.editor-block-navigation__item-button.is-selected,.editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.editor-block-preview{display:block}}.editor-block-preview .editor-block-preview__content{padding:14px;border:1px solid #e2e4e7;font-family:"Noto Serif",serif}.editor-block-preview .editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:"Noto Serif",serif}.editor-block-preview .editor-block-preview__content>div section{height:auto}.editor-block-preview .editor-block-preview__content>.reusable-block-indicator{display:none}.editor-block-preview__title{margin-bottom:10px;color:#6c7781}.editor-block-settings-menu__toggle .dashicon{transform:rotate(90deg)}.editor-block-settings-menu__popover::after,.editor-block-settings-menu__popover::before{margin-left:2px}.editor-block-settings-menu__popover .editor-block-settings-menu__content{padding:7px}.editor-block-settings-menu__popover .editor-block-settings-menu__separator{margin-top:8px;margin-bottom:8px;margin-left:-7px;margin-right:-7px;border-top:1px solid #e2e4e7}.editor-block-settings-menu__popover .editor-block-settings-menu__separator:last-child{display:none}.editor-block-settings-menu__popover .editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.editor-block-settings-menu__popover .editor-block-settings-menu__control{width:100%;justify-content:flex-start;padding:8px;background:0 0;outline:0;border-radius:0;color:#555d66;text-align:left;cursor:pointer;border:none;box-shadow:none}.editor-block-settings-menu__popover .editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none}.editor-block-settings-menu__popover .editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-block-settings-menu__popover .editor-block-settings-menu__control .dashicon{margin-right:5px}.editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:4px}.editor-block-styles__item.is-active{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px;box-shadow:0 0 0 2px #555d66}.editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.editor-block-styles__item:hover{background:#f8f9f9;color:#191e23}.editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);overflow:hidden;padding:0;text-align:initial;border-radius:4px;display:flex;height:60px;background:#fff}.editor-block-styles__item-preview>*{transform:scale(.7);transform-origin:center center;font-family:"Noto Serif",serif}.editor-block-styles__item-preview .editor-block-preview__content{width:100%}.editor-block-styles__item-label{text-align:center;padding:4px 2px}.editor-block-switcher{position:relative;height:36px}.components-icon-button.editor-block-switcher__no-switcher-icon,.components-icon-button.editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.editor-block-switcher__no-switcher-icon .editor-block-icon{margin-right:auto;margin-left:auto}.components-icon-button.editor-block-switcher__toggle{width:auto}.components-icon-button.editor-block-switcher__toggle:active,.components-icon-button.editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:0;box-shadow:none;background:0 0;border:none}.components-icon-button.editor-block-switcher__toggle .editor-block-icon,.components-icon-button.editor-block-switcher__toggle .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)}.components-icon-button.editor-block-switcher__toggle .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 currentColor;margin-left:4px;margin-right:2px}.components-icon-button.editor-block-switcher__toggle .editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-icon,.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-switcher__transform,.components-icon-button.editor-block-switcher__toggle:not(:disabled):hover .editor-block-icon,.components-icon-button.editor-block-switcher__toggle:not(:disabled):hover .editor-block-switcher__transform,.components-icon-button.editor-block-switcher__toggle[aria-expanded=true] .editor-block-icon,.components-icon-button.editor-block-switcher__toggle[aria-expanded=true] .editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-icon,.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-popover:not(.is-mobile).editor-block-switcher__popover .components-popover__content{min-width:320px}@media (min-width:782px){.editor-block-switcher__popover .components-popover__content{position:relative}.editor-block-switcher__popover .components-popover__content .editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px;height:auto}}.editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.editor-block-switcher__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible}.editor-block-switcher__popover .editor-block-styles{margin:0 -3px}.editor-block-switcher__popover .editor-block-types-list{margin:8px -8px -8px}.editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-left:1px solid #e2e4e7}@media (min-width:600px){.editor-block-toolbar{overflow:inherit}}.editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7;border-right:1px solid #e2e4e7}.editor-block-types-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.editor-contrast-checker>.components-notice{margin:0}.editor-default-block-appender{clear:both}.editor-default-block-appender textarea.editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:0 0;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:.2s outline;resize:none;padding:0 50px 0 14px;color:rgba(14,28,46,.62)}.is-dark-theme .editor-default-block-appender textarea.editor-default-block-appender__content{color:rgba(255,255,255,.65)}.editor-default-block-appender .editor-inserter-with-shortcuts{opacity:.5;transition:opacity .2s}.editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:rgba(255,255,255,.75)}.editor-default-block-appender .editor-inserter__toggle:not([aria-expanded=true]){opacity:0}.editor-default-block-appender:hover .editor-inserter-with-shortcuts{opacity:1}.editor-default-block-appender:hover .editor-inserter__toggle{opacity:1}.editor-default-block-appender .components-drop-zone__content-icon{display:none}.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter,.editor-inserter-with-shortcuts{position:absolute;top:0}.editor-block-list__empty-block-inserter .components-icon-button,.editor-default-block-appender .editor-inserter .components-icon-button,.editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-right:12px;padding:0}.editor-block-list__empty-block-inserter .editor-block-icon,.editor-default-block-appender .editor-inserter .editor-block-icon,.editor-inserter-with-shortcuts .editor-block-icon{margin:auto}.editor-block-list__empty-block-inserter .components-icon-button svg,.editor-default-block-appender .editor-inserter .components-icon-button svg,.editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.editor-block-list__empty-block-inserter .editor-inserter__toggle,.editor-default-block-appender .editor-inserter .editor-inserter__toggle,.editor-inserter-with-shortcuts .editor-inserter__toggle{margin-right:0}.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{right:8px}@media (min-width:600px){.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{left:-44px;right:auto}}.editor-block-list__empty-block-inserter:disabled,.editor-default-block-appender .editor-inserter:disabled{display:none}.editor-block-list__empty-block-inserter .editor-inserter__toggle,.editor-default-block-appender .editor-inserter .editor-inserter__toggle{transition:opacity .2s;border-radius:50%;width:28px;height:28px;padding:0}.editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.is-dark-theme .editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:rgba(255,255,255,.75)}.editor-block-list__side-inserter .editor-inserter-with-shortcuts,.editor-default-block-appender .editor-inserter-with-shortcuts{right:14px;display:none;z-index:5}@media (min-width:600px){.editor-block-list__side-inserter .editor-inserter-with-shortcuts,.editor-default-block-appender .editor-inserter-with-shortcuts{right:0;display:flex}}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.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:0 0;border:none;display:flex;align-items:flex-start;color:#23282d;text-align:left}.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;outline-offset:-2px}.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}.editor-error-boundary{max-width:610px;margin:auto;max-width:780px;padding:20px;margin-top:60px;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-inner-blocks.has-overlay::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:120}.editor-inserter-with-shortcuts{display:flex;align-items:center}.editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.editor-inserter-with-shortcuts__block{margin-right:4px;width:36px;height:36px;padding-top:8px;color:rgba(102,120,134,.35)}.is-dark-theme .editor-inserter-with-shortcuts__block{color:rgba(255,255,255,.4)}.editor-inserter{display:inline-block;background:0 0;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){.editor-inserter{position:relative}}@media (min-width:782px){.editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:0 0;cursor:pointer;border:none;outline:0;transition:color .2s ease}.editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.editor-inserter__menu{width:400px;position:relative}.editor-inserter__menu .editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px}}.editor-inserter__inline-elements{margin-top:-1px}.editor-inserter__menu.is-bottom::after{border-bottom-color:#fff}.components-popover input[type=search].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].editor-inserter__search{font-size:13px}}.components-popover input[type=search].editor-inserter__search:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px 16px}.editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.editor-inserter__results{height:394px}}.editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.editor-inserter__popover .editor-block-types-list{margin:0 -8px}.editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.editor-inserter__manage-reusable-blocks{margin:16px 0 0 16px}.editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.editor-inserter__child-blocks{padding:0 16px}.editor-inserter__parent-block-header{display:flex;align-items:center}.editor-inserter__parent-block-header h2{font-size:13px}.editor-block-types-list__list-item{display:block;width:33.33%;padding:0 4px;margin:0 0 12px}.editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0;align-items:stretch;justify-content:center;cursor:pointer;background:0 0;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all 50ms ease-in-out;position:relative}.editor-block-types-list__item:disabled{opacity:.6;cursor:default}.editor-block-types-list__item:not(:disabled):hover::before{content:"";display:block;background:#f8f9f9;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;right:0;bottom:0;left:0}.editor-block-types-list__item:not(:disabled):hover .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled):hover .editor-block-types-list__item-title{color:currentColor}.editor-block-types-list__item:not(:disabled).is-active,.editor-block-types-list__item:not(:disabled):active,.editor-block-types-list__item:not(:disabled):focus{position:relative;outline:0;color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.editor-block-types-list__item:not(:disabled).is-active .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled).is-active .editor-block-types-list__item-title,.editor-block-types-list__item:not(:disabled):active .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled):active .editor-block-types-list__item-title,.editor-block-types-list__item:not(:disabled):focus .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled):focus .editor-block-types-list__item-title{color:currentColor}.editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all 50ms ease-in-out}.editor-block-types-list__item-icon .editor-block-icon{margin-left:auto;margin-right:auto}.editor-block-types-list__item-icon svg{transition:all .15s ease-out}.editor-block-types-list__item-title{padding:4px 2px 8px}.editor-block-types-list__item-has-children .editor-block-types-list__item-icon{background:#fff;margin-right:3px;margin-bottom:6px;padding:9px 20px 9px;position:relative;top:-2px;left:-2px;box-shadow:0 0 0 1px #e2e4e7}.editor-block-types-list__item-has-children .editor-block-types-list__item-icon-stack{display:block;background:#fff;box-shadow:0 0 0 1px #e2e4e7;width:100%;height:100%;position:absolute;z-index:-1;bottom:-6px;right:-6px;border-radius:4px}.editor-media-placeholder__url-input-container{width:100%}.editor-media-placeholder__url-input-container .editor-media-placeholder__button{margin-bottom:0}.editor-media-placeholder__url-input-form{display:flex}.editor-media-placeholder__url-input-form input[type=url].editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.editor-media-placeholder__url-input-form input[type=url].editor-media-placeholder__url-input-field{width:300px}}.editor-media-placeholder__url-input-submit-button{flex-shrink:1}.editor-media-placeholder__button{margin-bottom:.5rem}.editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.editor-media-placeholder__button:hover{color:#23282d}.components-form-file-upload .editor-media-placeholder__button{margin-right:4px}.editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.editor-multi-selection-inspector__card-content{flex-grow:1}.editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.editor-multi-selection-inspector__card-description{font-size:13px}.editor-multi-selection-inspector__card .editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-page-attributes__order{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-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.editor-panel-color-settings.is-opened .editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .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%}.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{margin-top:1em;margin-right:8px}.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}.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;margin-right:15px}.editor-post-permalink{display:inline-flex;align-items:center;background:#fff;padding:5px;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 rgba(145,151,162,.25);background-clip:padding-box;margin-left:-15px;margin-right:-15px}@media (min-width:600px){.editor-post-permalink{margin-left:-1px;margin-right:-1px}}.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;width:100%;overflow:hidden;position:relative;white-space:nowrap}.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(to right,rgba(255,255,255,0),#fff 90%);top:1px;bottom:1px;right:1px;left:auto;width:20%;height:auto}.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-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{color:#007fac;font-weight:400;padding-left:4px;text-decoration:underline}.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;color:#a2aab2;overflow:hidden}.editor-post-saved-state.is-saving{animation:edit-post__loading-fade-animation .5s infinite}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto}.editor-post-saved-state{width:28px;white-space:nowrap;padding:12px 4px}.editor-post-saved-state .dashicon{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}.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;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #e2e4e7;box-shadow:none;outline:1px solid #e2e4e7;outline-offset:-2px}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:0 0;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:0;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:4px;padding-top:0}.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:0 0;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out;padding:19px 14px;word-break:keep-all;border:1px solid transparent;border-left-width:0;border-right-width:0;font-size:2.441em;font-weight:600}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width: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:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(145,151,162,.25)}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(255,255,255,.3)}.editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#007cba}body.admin-color-sunrise .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#837425}body.admin-color-ocean .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#5e7d5e}body.admin-color-midnight .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#497b8d}body.admin-color-ectoplasm .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#523f6d}body.admin-color-coffee .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#59524c}body.admin-color-blue .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#417e9b}body.admin-color-light .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#007cba}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}.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;position:absolute;top:-34px;left:0;right:0}@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}.editor-format-toolbar{display:flex;flex-shrink:0}.editor-format-toolbar__selection-position{position:absolute;transform:translateX(-50%)}.editor-rich-text{position:relative}.editor-rich-text__tinymce{margin:0;position:relative;line-height:1.8}.editor-rich-text__tinymce>p:empty{min-height:28.8px}.editor-rich-text__tinymce>p:first-child{margin-top:0}.editor-rich-text__tinymce:focus{outline:0}.editor-rich-text__tinymce a{color:#007fac}.editor-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .editor-rich-text__tinymce code{background:#67cffd}.editor-rich-text__tinymce:focus a[data-mce-selected],.editor-rich-text__tinymce:focus b[data-mce-selected],.editor-rich-text__tinymce:focus del[data-mce-selected],.editor-rich-text__tinymce:focus em[data-mce-selected],.editor-rich-text__tinymce:focus i[data-mce-selected],.editor-rich-text__tinymce:focus ins[data-mce-selected],.editor-rich-text__tinymce:focus strong[data-mce-selected],.editor-rich-text__tinymce:focus sub[data-mce-selected],.editor-rich-text__tinymce:focus sup[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e8eaeb;background:#e8eaeb;color:#191e23}.editor-rich-text__tinymce:focus a[data-mce-selected]{box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa;color:#006589}.editor-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb;box-shadow:0 0 0 1px #e8eaeb}.editor-rich-text__tinymce img[data-mce-selected]{outline:0}.editor-rich-text__tinymce img::-moz-selection{background:0 0!important}.editor-rich-text__tinymce img::selection{background:0 0!important}.editor-rich-text__tinymce[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0;height:100%}.editor-rich-text__tinymce[data-is-placeholder-visible=true]>p{margin-top:0}.editor-rich-text__tinymce[data-is-placeholder-visible=true]+.editor-rich-text__tinymce{padding-right:36px}.editor-rich-text__tinymce+.editor-rich-text__tinymce{pointer-events:none}.editor-rich-text__tinymce+.editor-rich-text__tinymce,.editor-rich-text__tinymce+.editor-rich-text__tinymce p{opacity:.62}.editor-rich-text__tinymce[data-is-placeholder-visible=true]+figcaption.editor-rich-text__tinymce{opacity:.8}.editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;left:0;right:0;z-index:1}.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)}.editor-skip-to-selected-block{position:absolute;top:-9999em}.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:0;z-index:100000}body.admin-color-sunrise .editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .editor-skip-to-selected-block:focus{color:#c75726}.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__counts{display:flex;flex-wrap:wrap}.table-of-contents__count{width:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781}.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}.components-popover .editor-url-input,.editor-block-list__block .editor-url-input,.editor-url-input{flex-grow:1;position:relative;padding:1px}.components-popover .editor-url-input input[type=text],.editor-block-list__block .editor-url-input input[type=text],.editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0}@media (min-width:600px){.components-popover .editor-url-input input[type=text],.editor-block-list__block .editor-url-input input[type=text],.editor-url-input input[type=text]{width:300px}}.components-popover .editor-url-input input[type=text]::-ms-clear,.editor-block-list__block .editor-url-input input[type=text]::-ms-clear,.editor-url-input input[type=text]::-ms-clear{display:none}.components-popover .editor-url-input .components-spinner,.editor-block-list__block .editor-url-input .components-spinner,.editor-url-input .components-spinner{position:absolute;right:8px;top:9px;margin:0}.editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}.editor-url-input .components-spinner,.editor-url-input__suggestions{display:none}@media (min-width:600px){.editor-url-input .components-spinner,.editor-url-input__suggestions{display:inherit}}.editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;border:none;box-shadow:none}.editor-url-input__suggestion:hover{background:#e2e4e7}.editor-url-input__suggestion.is-selected,.editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:0}body.admin-color-sunrise .editor-url-input__suggestion.is-selected,body.admin-color-sunrise .editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .editor-url-input__suggestion.is-selected,body.admin-color-ocean .editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .editor-url-input__suggestion.is-selected,body.admin-color-midnight .editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .editor-url-input__suggestion.is-selected,body.admin-color-coffee .editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .editor-url-input__suggestion.is-selected,body.admin-color-blue .editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .editor-url-input__suggestion.is-selected,body.admin-color-light .editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.editor-url-input__button{position:inherit}.editor-url-input__button .editor-url-input__back{margin-right:4px;overflow:visible}.editor-url-input__button .editor-url-input__back::after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#e2e4e7}.editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.editor-url-popover__row{display:flex}.editor-url-popover__row>:not(.editor-url-popover__settings-toggle){flex-grow:1}.editor-url-popover__settings-toggle{flex-shrink:0;width:36px;height:36px}.editor-url-popover__settings-toggle .dashicon{transform:rotate(90deg)}.editor-url-popover__settings{padding:7px 8px;border-top:1px solid #e2e4e7;padding-top:8px}.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 .editor-warning{background-color:transparent}.editor-warning .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}.editor-warning .editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;width:100%}.editor-warning .editor-warning__actions{display:flex}.editor-warning .editor-warning__action{margin:0 6px 0 0}.editor-warning__secondary{margin:3px 0 0 -4px}.editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.editor-warning__secondary{margin-left:4px}.editor-warning__secondary .components-icon-button{padding:8px 4px}}.editor-warning__secondary .components-button svg{transform:rotate(90deg)}.editor-writing-flow{height:100%;display:flex;flex-direction:column}.editor-writing-flow__click-redirect{flex-basis:100%;cursor:text}
\ 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}.editor-block-drop-zone{border:none;border-radius:0}.editor-block-drop-zone .components-drop-zone__content,.editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.editor-block-drop-zone.is-close-to-bottom{background:0 0;border-bottom:3px solid #0085ba}body.admin-color-sunrise .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.editor-block-drop-zone.is-appender.is-close-to-bottom,.editor-block-drop-zone.is-appender.is-close-to-top,.editor-block-drop-zone.is-close-to-top{background:0 0;border-top:3px solid #0085ba;border-bottom:none}body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-sunrise .editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ocean .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-midnight .editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-coffee .editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-blue .editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-light .editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.editor-block-icon.has-colors svg{fill:currentColor}.editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.editor-block-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.editor-block-inspector__card-icon{border:1px solid #ccd0d4;padding:7px;margin-right:10px;height:36px;width:36px}.editor-block-inspector__card-content{flex-grow:1}.editor-block-inspector__card-title{font-weight:500;margin-bottom:5px}.editor-block-inspector__card-description{font-size:13px}.editor-block-inspector__card .editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.editor-block-list__layout .components-draggable__clone .editor-block-contextual-toolbar{display:none!important}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging .editor-block-list__block-edit::before{outline:0}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging>.editor-block-list__block-edit>*{background:#f8f9f9}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging>.editor-block-list__block-edit>*>*{visibility:hidden}.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block.is-selected.is-dragging .editor-block-mover{display:none}.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}@media (min-width:600px){.editor-block-list__layout{padding-left:46px;padding-right:46px}}.editor-block-list__block .editor-block-list__layout{padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px}.editor-block-list__layout .editor-default-block-appender>.editor-default-block-appender__content,.editor-block-list__layout>.editor-block-list__block>.editor-block-list__block-edit,.editor-block-list__layout>.editor-block-list__layout>.editor-block-list__block>.editor-block-list__block-edit{margin-top:32px;margin-bottom:32px}.editor-block-list__layout .editor-block-list__block{position:relative;padding-left:14px;padding-right:14px;overflow-wrap:break-word}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block{padding-left:43px;padding-right:43px}}.editor-block-list__layout .editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px 20px;width:calc(100% - 40px)}.editor-block-list__layout .editor-block-list__block .components-with-notices-ui{margin:0 0 12px 0;width:100%}.editor-block-list__layout .editor-block-list__block .components-with-notices-ui .components-notice{margin-left:0;margin-right:0}.editor-block-list__layout .editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit{position:relative}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit::before{z-index:0;content:"";position:absolute;outline:1px solid transparent;transition:outline .1s linear;pointer-events:none;right:-14px;left:-14px;top:-14px;bottom:-14px}.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit::before{outline:1px solid rgba(145,151,162,.25)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit::before{outline-color:rgba(255,255,255,.3)}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #007cba}body.admin-color-sunrise .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #837425}body.admin-color-ocean .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #5e7d5e}body.admin-color-midnight .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #497b8d}body.admin-color-ectoplasm .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #523f6d}body.admin-color-coffee .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #59524c}body.admin-color-blue .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #417e9b}body.admin-color-light .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-list__block-edit::before{outline:1px solid #007cba}.editor-block-list__layout .editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}.editor-block-list__layout .editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.editor-block-list__layout .editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .editor-block-list__block{opacity:1}.editor-block-list__layout .editor-block-list__block ::-moz-selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block ::selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::-moz-selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit::before{background:#b3e7fe;mix-blend-mode:multiply;top:-14px;bottom:-14px}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit::before{mix-blend-mode:soft-light}.editor-block-list__layout .editor-block-list__block.has-warning{min-height:36px}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit .editor-warning{pointer-events:all}.editor-block-list__layout .editor-block-list__block.has-warning:not(.is-hovered) .editor-block-list__block-edit::before{outline-color:rgba(145,151,162,.25)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.has-warning:not(.is-hovered) .editor-block-list__block-edit::before{outline-color:rgba(255,255,255,.3)}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit::after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;right:-14px;left:-14px}.editor-block-list__layout .editor-block-list__block.has-warning.is-multi-selected .editor-block-list__block-edit::after{background-color:transparent}.editor-block-list__layout .editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::after{bottom:22px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::after{bottom:-14px}}.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__side-inserter{opacity:0}.editor-block-list__layout .editor-block-list__block .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block .editor-block-list__side-inserter{opacity:1;transition:opacity .2s}.editor-block-list__layout .editor-block-list__block.is-reusable>.editor-block-list__block-edit::before{outline:1px dashed rgba(145,151,162,.25)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-reusable>.editor-block-list__block-edit::before{outline-color:rgba(255,255,255,.3)}.editor-block-list__layout .editor-block-list__block[data-align=left],.editor-block-list__layout .editor-block-list__block[data-align=right]{z-index:20;width:100%;height:0}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit{margin-top:0}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit::before,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit::before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{margin-bottom:1px}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-mobile-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-mobile-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-mover{display:none}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{width:auto;border-bottom:1px solid #e2e4e7;bottom:auto}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar{left:0;right:auto}.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{left:auto;right:0}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{top:14px}}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit{/*!rtl:begin:ignore*/float:left;margin-right:2em/*!rtl:end:ignore*/}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-toolbar{/*!rtl:begin:ignore*/left:14px;right:auto/*!rtl:end:ignore*/}}.editor-block-list__layout .editor-block-list__block[data-align=right]>.editor-block-list__block-edit{/*!rtl:begin:ignore*/float:right;margin-left:2em/*!rtl:end:ignore*/}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-toolbar{/*!rtl:begin:ignore*/right:14px;left:auto/*!rtl:end:ignore*/}}.editor-block-list__layout .editor-block-list__block[data-align=full],.editor-block-list__layout .editor-block-list__block[data-align=wide]{clear:both;z-index:20}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{top:-44px;bottom:auto;min-height:0;height:auto;width:auto;z-index:inherit}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover::before,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover::before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover .editor-block-mover__control,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover .editor-block-mover__control{float:left}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__breadcrumb,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-list__breadcrumb{right:-1px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{display:none}@media (min-width:1280px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{display:block}}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full] .editor-block-toolbar,.editor-block-list__layout .editor-block-list__block[data-align=wide] .editor-block-toolbar{display:inline-flex}}.editor-block-list__layout .editor-block-list__block[data-align=wide]>.editor-block-mover{left:-13px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit>.editor-block-list__breadcrumb{right:0}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]{margin-left:-45px;margin-right:-45px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-left:-44px;margin-right:-44px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit figure{width:100%}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit::before{left:0;right:0;border-left-width:0;border-right-width:0}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{left:1px}.editor-block-list__layout .editor-block-list__block[data-clear=true]{float:none}.editor-block-list__layout .editor-block-list__block .editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.editor-block-list__layout .editor-block-list__block .editor-block-list__layout .editor-inserter-with-shortcuts{display:none}.editor-block-list__layout .editor-block-list__block .editor-block-list__layout .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block .editor-block-list__layout .editor-default-block-appender .editor-inserter{left:auto;right:8px}.editor-block-list__block>.editor-block-mover{position:absolute;width:30px;height:100%;max-height:112px}.editor-block-list__block>.editor-block-mover{top:-15px}@media (min-width:600px){.editor-block-list__block.is-hovered .editor-block-mover,.editor-block-list__block.is-multi-selected .editor-block-mover,.editor-block-list__block.is-selected .editor-block-mover{z-index:80}}.editor-block-list__block>.editor-block-mover{padding-right:2px;left:-30px;display:none}@media (min-width:600px){.editor-block-list__block>.editor-block-mover{display:block}}.editor-block-list__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 #e2e4e7;height:37px;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.editor-block-list__block .editor-block-list__block-mobile-toolbar{display:none}}@media (min-width:600px){.editor-block-list__block .editor-block-list__block-mobile-toolbar{box-shadow:none}}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter{position:relative;left:auto;top:auto;margin:0}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control .dashicon,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle .dashicon{margin:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover{display:flex;margin-right:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-inserter{float:left}.editor-block-list__block[data-align=full] .editor-block-list__block-mobile-toolbar{margin-left:0;margin-right:0}.editor-block-list .editor-inserter{margin:8px;cursor:move;cursor:-webkit-grab;cursor:grab}.editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;left:0;right:0;background:#0085ba}body.admin-color-sunrise .editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .editor-block-list__insertion-point-indicator{background:#0085ba}.editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;left:0;right:0;justify-content:center;opacity:0;transition:opacity .1s linear .1s}@media (min-width:480px){.editor-block-list__insertion-point-inserter{display:flex}}.editor-block-list__insertion-point-inserter .editor-inserter__toggle{margin-top:-4px;border-radius:50%;color:#007cba;background:#fff;height:36px;width:36px}.editor-block-list__insertion-point-inserter .editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.editor-block-list__insertion-point-inserter.is-visible,.editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.editor-block-list__insertion-point>.editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.editor-block-list__block>.editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:0;right:0}@media (min-width:600px){.editor-block-list__block>.editor-block-list__insertion-point{left:-1px;right:-1px}}.editor-block-list__block[data-align=full]>.editor-block-list__insertion-point{left:0;right:0}.editor-block-list__block .editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:0;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.editor-block-list__block .editor-block-list__block-html-textarea:focus{box-shadow:none}.editor-block-list__block .editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;z-index:21;white-space:nowrap;text-align:left;pointer-events:none;position:absolute;bottom:23px;left:-14px;right:-14px;border-top:1px solid #e2e4e7}.editor-block-list__block .editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.editor-block-list__block .editor-block-contextual-toolbar{border-top:none}.editor-block-list__block .editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px}.editor-block-list__block .editor-block-contextual-toolbar{margin-left:0;margin-right:0}@media (min-width:600px){.editor-block-list__block .editor-block-contextual-toolbar{margin-left:-15px;margin-right:-15px}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar{margin-right:15px}.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{margin-left:15px}.editor-block-list__block .editor-block-contextual-toolbar>*{pointer-events:auto}.editor-block-list__block.is-focus-mode:not(.is-multi-selected)>.editor-block-contextual-toolbar{margin-left:-28px}@media (min-width:600px){.editor-block-list__block .editor-block-contextual-toolbar{bottom:auto;left:auto;right:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-block-list__block .editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar{float:left}.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{float:right}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar{transform:translateY(-15px)}.editor-block-contextual-toolbar .editor-block-toolbar{width:100%}@media (min-width:600px){.editor-block-contextual-toolbar .editor-block-toolbar{width:auto;border-right:none;position:absolute;left:0}}.editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:2;right:-14px;top:-15px}.editor-block-list__breadcrumb .components-toolbar{padding:0;border:none;background:0 0;line-height:1;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:11px;padding:4px 4px;background:#007cba;color:#fff}body.admin-color-sunrise .editor-block-list__breadcrumb .components-toolbar{background:#837425}body.admin-color-ocean .editor-block-list__breadcrumb .components-toolbar{background:#5e7d5e}body.admin-color-midnight .editor-block-list__breadcrumb .components-toolbar{background:#497b8d}body.admin-color-ectoplasm .editor-block-list__breadcrumb .components-toolbar{background:#523f6d}body.admin-color-coffee .editor-block-list__breadcrumb .components-toolbar{background:#59524c}body.admin-color-blue .editor-block-list__breadcrumb .components-toolbar{background:#417e9b}body.admin-color-light .editor-block-list__breadcrumb .components-toolbar{background:#007cba}.editor-block-list__block:hover .editor-block-list__breadcrumb .components-toolbar{opacity:0;animation:edit-post__fade-in-animation 60ms ease-out .5s;animation-fill-mode:forwards}[data-align=left] .editor-block-list__breadcrumb,[data-align=right] .editor-block-list__breadcrumb{right:0;top:0}.editor-block-list__descendant-arrow::before{content:"→";display:inline-block;padding:0 4px}.rtl .editor-block-list__descendant-arrow::before{content:"←"}@media (min-width:600px){.editor-block-list__block::before{bottom:0;content:"";left:-28px;position:absolute;right:-28px;top:0}.editor-block-list__block .editor-block-list__block::before{left:0;right:0}.editor-block-list__block[data-align=full]::before{content:none}}.editor-block-list__block .editor-warning{z-index:5;position:relative;margin-right:-15px;margin-left:-15px;margin-bottom:-15px;transform:translateY(-15px);padding:10px 14px}@media (min-width:600px){.editor-block-list__block .editor-warning{padding:10px 14px}}.block-list-appender>.editor-inserter{display:block}.block-list-appender__toggle{display:flex;align-items:center;justify-content:center;padding:16px;outline:1px dashed #8d96a0;width:100%;color:#555d66}.block-list-appender__toggle:hover{outline:1px dashed #555d66}.editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.editor-block-compare{max-height:70%}}.editor-block-compare__wrapper{display:flex;padding-bottom:16px}.editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.editor-block-compare__wrapper>div button{float:right}.editor-block-compare__wrapper .editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px}.editor-block-compare__wrapper .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}.editor-block-compare__wrapper .editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.editor-block-compare__wrapper .editor-block-compare__html span.editor-block-compare__added{background-color:#acf2bd}.editor-block-compare__wrapper .editor-block-compare__html span.editor-block-compare__removed{background-color:#d94f4f}.editor-block-compare__wrapper .editor-block-compare__preview{padding:0;padding-top:14px}.editor-block-compare__wrapper .editor-block-compare__preview p{font-size:12px;margin-top:0}.editor-block-compare__wrapper .editor-block-compare__action{margin-top:14px}.editor-block-compare__wrapper .editor-block-compare__heading{font-size:1em;font-weight:400}.editor-block-mover{min-height:56px;opacity:0}.editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (min-width:600px){.editor-block-list__block:not([data-align=wide]):not([data-align=full]) .editor-block-mover{margin-top:-8px}}.editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:28px;height:24px;color:rgba(14,28,46,.62)}.editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.is-dark-theme .editor-block-mover__control{color:rgba(255,255,255,.65)}.editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(130,148,147,.15)}.is-dark-theme .editor-block-mover__control[aria-disabled=true]{color:rgba(255,255,255,.2)}.editor-block-mover__control-drag-handle{cursor:move;cursor:-webkit-grab;cursor:grab;fill:currentColor;border-radius:4px}.editor-block-mover__control-drag-handle,.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:0 0;color:rgba(10,24,41,.7)}.is-dark-theme .editor-block-mover__control-drag-handle,.is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.is-dark-theme .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:rgba(255,255,255,.75)}.editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:-webkit-grabbing;cursor:grabbing}.editor-block-mover__description{display:none}@media (min-width:600px){.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default){background:#fff;box-shadow:inset 0 0 0 1px #e2e4e7}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):nth-child(-n+2),.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:nth-child(-n+2){margin-bottom:-1px}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:active,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:focus,.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:hover{z-index:1}}.editor-block-navigation__container{padding:7px}.editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.editor-block-navigation__list,.editor-block-navigation__paragraph{padding:0;margin:0}.editor-block-navigation__list .editor-block-navigation__list{margin-top:2px;border-left:2px solid #a2aab2;margin-left:1em}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__list{margin-left:1.5em}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__item{position:relative}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__item::before{position:absolute;left:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.editor-block-navigation__list .editor-block-navigation__list .editor-block-navigation__item-button{margin-left:.8em;width:calc(100% - .8em)}.editor-block-navigation__list .editor-block-navigation__list>li:last-child{position:relative}.editor-block-navigation__list .editor-block-navigation__list>li:last-child::after{position:absolute;content:"";background:#fff;top:19px;bottom:0;left:-2px;width:2px}.editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:left;color:#40464d;border-radius:4px}.editor-block-navigation__item-button .editor-block-icon{margin-right:6px}.editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none}.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}.editor-block-navigation__item-button.is-selected,.editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.editor-block-preview{display:block}}.editor-block-preview .editor-block-preview__content{padding:14px;border:1px solid #e2e4e7;font-family:"Noto Serif",serif}.editor-block-preview .editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:"Noto Serif",serif}.editor-block-preview .editor-block-preview__content>div section{height:auto}.editor-block-preview .editor-block-preview__content>.reusable-block-indicator{display:none}.editor-block-preview__title{margin-bottom:10px;color:#6c7781}.editor-block-settings-menu__toggle .dashicon{transform:rotate(90deg)}.editor-block-settings-menu__popover::after,.editor-block-settings-menu__popover::before{margin-left:2px}.editor-block-settings-menu__popover .editor-block-settings-menu__content{padding:7px}.editor-block-settings-menu__popover .editor-block-settings-menu__separator{margin-top:8px;margin-bottom:8px;margin-left:-7px;margin-right:-7px;border-top:1px solid #e2e4e7}.editor-block-settings-menu__popover .editor-block-settings-menu__separator:last-child{display:none}.editor-block-settings-menu__popover .editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.editor-block-settings-menu__popover .editor-block-settings-menu__control{width:100%;justify-content:flex-start;padding:8px;background:0 0;outline:0;border-radius:0;color:#555d66;text-align:left;cursor:pointer;border:none;box-shadow:none}.editor-block-settings-menu__popover .editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none}.editor-block-settings-menu__popover .editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-block-settings-menu__popover .editor-block-settings-menu__control .dashicon{margin-right:5px}.editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:4px}.editor-block-styles__item.is-active{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px;box-shadow:0 0 0 2px #555d66}.editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.editor-block-styles__item:hover{background:#f8f9f9;color:#191e23}.editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);overflow:hidden;padding:0;text-align:initial;border-radius:4px;display:flex;height:60px;background:#fff}.editor-block-styles__item-preview>*{transform:scale(.7);transform-origin:center center;font-family:"Noto Serif",serif}.editor-block-styles__item-preview .editor-block-preview__content{width:100%}.editor-block-styles__item-label{text-align:center;padding:4px 2px}.editor-block-switcher{position:relative;height:36px}.components-icon-button.editor-block-switcher__no-switcher-icon,.components-icon-button.editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.editor-block-switcher__no-switcher-icon .editor-block-icon{margin-right:auto;margin-left:auto}.components-icon-button.editor-block-switcher__toggle{width:auto}.components-icon-button.editor-block-switcher__toggle:active,.components-icon-button.editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:0;box-shadow:none;background:0 0;border:none}.components-icon-button.editor-block-switcher__toggle .editor-block-icon,.components-icon-button.editor-block-switcher__toggle .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)}.components-icon-button.editor-block-switcher__toggle .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 currentColor;margin-left:4px;margin-right:2px}.components-icon-button.editor-block-switcher__toggle .editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-icon,.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-switcher__transform,.components-icon-button.editor-block-switcher__toggle:not(:disabled):hover .editor-block-icon,.components-icon-button.editor-block-switcher__toggle:not(:disabled):hover .editor-block-switcher__transform,.components-icon-button.editor-block-switcher__toggle[aria-expanded=true] .editor-block-icon,.components-icon-button.editor-block-switcher__toggle[aria-expanded=true] .editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-icon,.components-icon-button.editor-block-switcher__toggle:not(:disabled):focus .editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-popover:not(.is-mobile).editor-block-switcher__popover .components-popover__content{min-width:320px}@media (min-width:782px){.editor-block-switcher__popover .components-popover__content{position:relative}.editor-block-switcher__popover .components-popover__content .editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px;height:auto}}.editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.editor-block-switcher__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible}.editor-block-switcher__popover .editor-block-styles{margin:0 -3px}.editor-block-switcher__popover .editor-block-types-list{margin:8px -8px -8px}.editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-left:1px solid #e2e4e7}@media (min-width:600px){.editor-block-toolbar{overflow:inherit}}.editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7;border-right:1px solid #e2e4e7}.editor-block-types-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.editor-contrast-checker>.components-notice{margin:0}.editor-default-block-appender{clear:both}.editor-default-block-appender textarea.editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:0 0;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:.2s outline;resize:none;padding:0 50px 0 14px;color:rgba(14,28,46,.62)}.is-dark-theme .editor-default-block-appender textarea.editor-default-block-appender__content{color:rgba(255,255,255,.65)}.editor-default-block-appender .editor-inserter-with-shortcuts{opacity:.5;transition:opacity .2s}.editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:rgba(255,255,255,.75)}.editor-default-block-appender .editor-inserter__toggle:not([aria-expanded=true]){opacity:0}.editor-default-block-appender:hover .editor-inserter-with-shortcuts{opacity:1}.editor-default-block-appender:hover .editor-inserter__toggle{opacity:1}.editor-default-block-appender .components-drop-zone__content-icon{display:none}.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter,.editor-inserter-with-shortcuts{position:absolute;top:0}.editor-block-list__empty-block-inserter .components-icon-button,.editor-default-block-appender .editor-inserter .components-icon-button,.editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-right:12px;padding:0}.editor-block-list__empty-block-inserter .editor-block-icon,.editor-default-block-appender .editor-inserter .editor-block-icon,.editor-inserter-with-shortcuts .editor-block-icon{margin:auto}.editor-block-list__empty-block-inserter .components-icon-button svg,.editor-default-block-appender .editor-inserter .components-icon-button svg,.editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.editor-block-list__empty-block-inserter .editor-inserter__toggle,.editor-default-block-appender .editor-inserter .editor-inserter__toggle,.editor-inserter-with-shortcuts .editor-inserter__toggle{margin-right:0}.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{right:8px}@media (min-width:600px){.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{left:-44px;right:auto}}.editor-block-list__empty-block-inserter:disabled,.editor-default-block-appender .editor-inserter:disabled{display:none}.editor-block-list__empty-block-inserter .editor-inserter__toggle,.editor-default-block-appender .editor-inserter .editor-inserter__toggle{transition:opacity .2s;border-radius:50%;width:28px;height:28px;padding:0}.editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.is-dark-theme .editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:rgba(255,255,255,.75)}.editor-block-list__side-inserter .editor-inserter-with-shortcuts,.editor-default-block-appender .editor-inserter-with-shortcuts{right:14px;display:none;z-index:5}@media (min-width:600px){.editor-block-list__side-inserter .editor-inserter-with-shortcuts,.editor-default-block-appender .editor-inserter-with-shortcuts{right:0;display:flex}}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.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:0 0;border:none;display:flex;align-items:flex-start;color:#23282d;text-align:left}.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;outline-offset:-2px}.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}.editor-error-boundary{max-width:610px;margin:auto;max-width:780px;padding:20px;margin-top:60px;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-inner-blocks.has-overlay::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:120}.editor-inserter-with-shortcuts{display:flex;align-items:center}.editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.editor-inserter-with-shortcuts__block{margin-right:4px;width:36px;height:36px;padding-top:8px;color:rgba(102,120,134,.35)}.is-dark-theme .editor-inserter-with-shortcuts__block{color:rgba(255,255,255,.4)}.editor-inserter{display:inline-block;background:0 0;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){.editor-inserter{position:relative}}@media (min-width:782px){.editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:0 0;cursor:pointer;border:none;outline:0;transition:color .2s ease}.editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.editor-inserter__menu{width:400px;position:relative}.editor-inserter__menu .editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px}}.editor-inserter__inline-elements{margin-top:-1px}.editor-inserter__menu.is-bottom::after{border-bottom-color:#fff}.components-popover input[type=search].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].editor-inserter__search{font-size:13px}}.components-popover input[type=search].editor-inserter__search:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px 16px}.editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.editor-inserter__results{height:394px}}.editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.editor-inserter__popover .editor-block-types-list{margin:0 -8px}.editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.editor-inserter__manage-reusable-blocks{margin:16px 0 0 16px}.editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.editor-inserter__child-blocks{padding:0 16px}.editor-inserter__parent-block-header{display:flex;align-items:center}.editor-inserter__parent-block-header h2{font-size:13px}.editor-block-types-list__list-item{display:block;width:33.33%;padding:0 4px;margin:0 0 12px}.editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0;align-items:stretch;justify-content:center;cursor:pointer;background:0 0;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all 50ms ease-in-out;position:relative}.editor-block-types-list__item:disabled{opacity:.6;cursor:default}.editor-block-types-list__item:not(:disabled):hover::before{content:"";display:block;background:#f8f9f9;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;right:0;bottom:0;left:0}.editor-block-types-list__item:not(:disabled):hover .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled):hover .editor-block-types-list__item-title{color:currentColor}.editor-block-types-list__item:not(:disabled).is-active,.editor-block-types-list__item:not(:disabled):active,.editor-block-types-list__item:not(:disabled):focus{position:relative;outline:0;color:#191e23;box-shadow:0 0 0 2px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.editor-block-types-list__item:not(:disabled).is-active .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled).is-active .editor-block-types-list__item-title,.editor-block-types-list__item:not(:disabled):active .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled):active .editor-block-types-list__item-title,.editor-block-types-list__item:not(:disabled):focus .editor-block-types-list__item-icon,.editor-block-types-list__item:not(:disabled):focus .editor-block-types-list__item-title{color:currentColor}.editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all 50ms ease-in-out}.editor-block-types-list__item-icon .editor-block-icon{margin-left:auto;margin-right:auto}.editor-block-types-list__item-icon svg{transition:all .15s ease-out}.editor-block-types-list__item-title{padding:4px 2px 8px}.editor-block-types-list__item-has-children .editor-block-types-list__item-icon{background:#fff;margin-right:3px;margin-bottom:6px;padding:9px 20px 9px;position:relative;top:-2px;left:-2px;box-shadow:0 0 0 1px #e2e4e7}.editor-block-types-list__item-has-children .editor-block-types-list__item-icon-stack{display:block;background:#fff;box-shadow:0 0 0 1px #e2e4e7;width:100%;height:100%;position:absolute;z-index:-1;bottom:-6px;right:-6px;border-radius:4px}.editor-media-placeholder__url-input-container{width:100%}.editor-media-placeholder__url-input-container .editor-media-placeholder__button{margin-bottom:0}.editor-media-placeholder__url-input-form{display:flex}.editor-media-placeholder__url-input-form input[type=url].editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.editor-media-placeholder__url-input-form input[type=url].editor-media-placeholder__url-input-field{width:300px}}.editor-media-placeholder__url-input-submit-button{flex-shrink:1}.editor-media-placeholder__button{margin-bottom:.5rem}.editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.editor-media-placeholder__button:hover{color:#23282d}.components-form-file-upload .editor-media-placeholder__button{margin-right:4px}.editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.editor-multi-selection-inspector__card-content{flex-grow:1}.editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.editor-multi-selection-inspector__card-description{font-size:13px}.editor-multi-selection-inspector__card .editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-page-attributes__order{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-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.editor-panel-color-settings.is-opened .editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .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%}.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{margin-top:1em;margin-right:8px}.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}.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;margin-right:15px}.editor-post-permalink{display:inline-flex;align-items:center;background:#fff;padding:5px;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 rgba(145,151,162,.25);background-clip:padding-box;margin-left:-15px;margin-right:-15px}@media (min-width:600px){.editor-post-permalink{margin-left:-1px;margin-right:-1px}}.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;width:100%;overflow:hidden;position:relative;white-space:nowrap}.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(to right,rgba(255,255,255,0),#fff 90%);top:1px;bottom:1px;right:1px;left:auto;width:20%;height:auto}.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-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{color:#007fac;font-weight:400;padding-left:4px;text-decoration:underline}.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;color:#a2aab2;overflow:hidden}.editor-post-saved-state.is-saving{animation:edit-post__loading-fade-animation .5s infinite}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto}.editor-post-saved-state{width:28px;white-space:nowrap;padding:12px 4px}.editor-post-saved-state .dashicon{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}.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;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #e2e4e7;box-shadow:none;outline:1px solid #e2e4e7;outline-offset:-2px}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:0 0;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:0;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:4px;padding-top:0}.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:0 0;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out;padding:19px 14px;word-break:keep-all;border:1px solid transparent;border-left-width:0;border-right-width:0;font-size:2.441em;font-weight:600}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width: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:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(145,151,162,.25)}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(255,255,255,.3)}.editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#007cba}body.admin-color-sunrise .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#837425}body.admin-color-ocean .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#5e7d5e}body.admin-color-midnight .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#497b8d}body.admin-color-ectoplasm .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#523f6d}body.admin-color-coffee .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#59524c}body.admin-color-blue .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#417e9b}body.admin-color-light .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar) .editor-post-title__input:hover{border-color:#007cba}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}.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;position:absolute;top:-34px;left:0;right:0}@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}.editor-format-toolbar{display:flex;flex-shrink:0}.editor-format-toolbar__selection-position{position:absolute;transform:translateX(-50%)}.editor-rich-text{position:relative}.editor-rich-text__tinymce{margin:0;position:relative;line-height:1.8}.editor-rich-text__tinymce>p:empty{min-height:28.8px}.editor-rich-text__tinymce>p:first-child{margin-top:0}.editor-rich-text__tinymce:focus{outline:0}.editor-rich-text__tinymce a{color:#007fac}.editor-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .editor-rich-text__tinymce code{background:#67cffd}.editor-rich-text__tinymce:focus a[data-mce-selected],.editor-rich-text__tinymce:focus b[data-mce-selected],.editor-rich-text__tinymce:focus del[data-mce-selected],.editor-rich-text__tinymce:focus em[data-mce-selected],.editor-rich-text__tinymce:focus i[data-mce-selected],.editor-rich-text__tinymce:focus ins[data-mce-selected],.editor-rich-text__tinymce:focus strong[data-mce-selected],.editor-rich-text__tinymce:focus sub[data-mce-selected],.editor-rich-text__tinymce:focus sup[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e8eaeb;background:#e8eaeb;color:#191e23}.editor-rich-text__tinymce:focus a[data-mce-selected]{box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa;color:#006589}.editor-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb;box-shadow:0 0 0 1px #e8eaeb}.editor-rich-text__tinymce img[data-mce-selected]{outline:0}.editor-rich-text__tinymce img::-moz-selection{background:0 0!important}.editor-rich-text__tinymce img::selection{background:0 0!important}.editor-rich-text__tinymce[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0;height:100%}.editor-rich-text__tinymce[data-is-placeholder-visible=true]>p{margin-top:0}.editor-rich-text__tinymce+.editor-rich-text__tinymce{pointer-events:none}.editor-rich-text__tinymce+.editor-rich-text__tinymce,.editor-rich-text__tinymce+.editor-rich-text__tinymce p{opacity:.62}.editor-rich-text__tinymce[data-is-placeholder-visible=true]+figcaption.editor-rich-text__tinymce{opacity:.8}.editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;left:0;right:0;z-index:1}.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)}.editor-skip-to-selected-block{position:absolute;top:-9999em}.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:0;z-index:100000}body.admin-color-sunrise .editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .editor-skip-to-selected-block:focus{color:#c75726}.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__counts{display:flex;flex-wrap:wrap}.table-of-contents__count{width:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781}.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}.components-popover .editor-url-input,.editor-block-list__block .editor-url-input,.editor-url-input{flex-grow:1;position:relative;padding:1px}.components-popover .editor-url-input input[type=text],.editor-block-list__block .editor-url-input input[type=text],.editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0}@media (min-width:600px){.components-popover .editor-url-input input[type=text],.editor-block-list__block .editor-url-input input[type=text],.editor-url-input input[type=text]{width:300px}}.components-popover .editor-url-input input[type=text]::-ms-clear,.editor-block-list__block .editor-url-input input[type=text]::-ms-clear,.editor-url-input input[type=text]::-ms-clear{display:none}.components-popover .editor-url-input .components-spinner,.editor-block-list__block .editor-url-input .components-spinner,.editor-url-input .components-spinner{position:absolute;right:8px;top:9px;margin:0}.editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}.editor-url-input .components-spinner,.editor-url-input__suggestions{display:none}@media (min-width:600px){.editor-url-input .components-spinner,.editor-url-input__suggestions{display:inherit}}.editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;border:none;box-shadow:none}.editor-url-input__suggestion:hover{background:#e2e4e7}.editor-url-input__suggestion.is-selected,.editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:0}body.admin-color-sunrise .editor-url-input__suggestion.is-selected,body.admin-color-sunrise .editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .editor-url-input__suggestion.is-selected,body.admin-color-ocean .editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .editor-url-input__suggestion.is-selected,body.admin-color-midnight .editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .editor-url-input__suggestion.is-selected,body.admin-color-coffee .editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .editor-url-input__suggestion.is-selected,body.admin-color-blue .editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .editor-url-input__suggestion.is-selected,body.admin-color-light .editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.editor-url-input__button{position:inherit}.editor-url-input__button .editor-url-input__back{margin-right:4px;overflow:visible}.editor-url-input__button .editor-url-input__back::after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#e2e4e7}.editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.editor-url-popover__row{display:flex}.editor-url-popover__row>:not(.editor-url-popover__settings-toggle){flex-grow:1}.editor-url-popover__settings-toggle{flex-shrink:0;width:36px;height:36px}.editor-url-popover__settings-toggle .dashicon{transform:rotate(90deg)}.editor-url-popover__settings{padding:7px 8px;border-top:1px solid #e2e4e7;padding-top:8px}.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 .editor-warning{background-color:transparent}.editor-warning .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}.editor-warning .editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:center;width:100%}.editor-warning .editor-warning__actions{display:flex}.editor-warning .editor-warning__action{margin:0 6px 0 0}.editor-warning__secondary{margin:3px 0 0 -4px}.editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.editor-warning__secondary{margin-left:4px}.editor-warning__secondary .components-icon-button{padding:8px 4px}}.editor-warning__secondary .components-button svg{transform:rotate(90deg)}.editor-writing-flow{height:100%;display:flex;flex-direction:column}.editor-writing-flow__click-redirect{flex-basis:100%;cursor:text}
\ 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 24ace7f22c..22ea56d3ae 100644
--- a/wp-includes/js/dist/block-library.js
+++ b/wp-includes/js/dist/block-library.js
@@ -9335,7 +9335,8 @@ var media_text_settings = {
keywords: [Object(external_this_wp_i18n_["__"])('image'), Object(external_this_wp_i18n_["__"])('video')],
attributes: media_text_blockAttributes,
supports: {
- align: ['wide', 'full']
+ align: ['wide', 'full'],
+ html: false
},
transforms: {
from: [{
diff --git a/wp-includes/js/dist/block-library.min.js b/wp-includes/js/dist/block-library.min.js
index ffcb7d9e56..438add866a 100644
--- a/wp-includes/js/dist/block-library.min.js
+++ b/wp-includes/js/dist/block-library.min.js
@@ -9,7 +9,7 @@ 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={}.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})},24:function(e,t){!function(){e.exports=this.wp.url}()},25:function(e,t,n){"use strict";var r=n(35);var o=n(36);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})},29: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})},3: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})},30:function(e,t){!function(){e.exports=this.wp.apiFetch}()},305:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"name",function(){return be}),n.d(r,"settings",function(){return me});var o={};n.r(o),n.d(o,"name",function(){return $e}),n.d(o,"settings",function(){return Je});var a={};n.r(a),n.d(a,"getLevelFromHeadingNodeName",function(){return tt}),n.d(a,"name",function(){return at}),n.d(a,"settings",function(){return ct});var c={};n.r(c),n.d(c,"name",function(){return st}),n.d(c,"settings",function(){return ut});var i={};n.r(i),n.d(i,"name",function(){return yt}),n.d(i,"settings",function(){return wt});var l={};n.r(l),n.d(l,"name",function(){return Ct}),n.d(l,"settings",function(){return Et});var s={};n.r(s),n.d(s,"name",function(){return Tt}),n.d(s,"settings",function(){return Nt});var u={};n.r(u),n.d(u,"name",function(){return Lt}),n.d(u,"settings",function(){return zt});var b={};n.r(b),n.d(b,"name",function(){return Ft}),n.d(b,"settings",function(){return Vt});var m={};n.r(m),n.d(m,"name",function(){return Ut}),n.d(m,"settings",function(){return Wt});var d={};n.r(d),n.d(d,"name",function(){return Qt}),n.d(d,"settings",function(){return Yt});var h={};n.r(h),n.d(h,"name",function(){return Zt}),n.d(h,"settings",function(){return Jt});var p={};n.r(p),n.d(p,"name",function(){return tn}),n.d(p,"settings",function(){return rn});var g={};n.r(g),n.d(g,"name",function(){return On}),n.d(g,"settings",function(){return fn}),n.d(g,"common",function(){return jn}),n.d(g,"others",function(){return vn});var O={};n.r(O),n.d(O,"name",function(){return En}),n.d(O,"settings",function(){return _n});var f={};n.r(f),n.d(f,"name",function(){return xn}),n.d(f,"settings",function(){return Sn});var j={};n.r(j),n.d(j,"name",function(){return Pn}),n.d(j,"settings",function(){return Mn});var v={};n.r(v),n.d(v,"name",function(){return Hn}),n.d(v,"settings",function(){return Dn});var y={};n.r(y),n.d(y,"name",function(){return $n}),n.d(y,"settings",function(){return Qn});var k={};n.r(k),n.d(k,"name",function(){return Xn}),n.d(k,"settings",function(){return er});var w={};n.r(w),n.d(w,"name",function(){return nr}),n.d(w,"settings",function(){return rr});var C={};n.r(C),n.d(C,"name",function(){return ar}),n.d(C,"settings",function(){return cr});var E={};n.r(E),n.d(E,"name",function(){return ir}),n.d(E,"settings",function(){return lr});var _={};n.r(_),n.d(_,"name",function(){return sr}),n.d(_,"settings",function(){return ur});var x={};n.r(x),n.d(x,"name",function(){return pr}),n.d(x,"settings",function(){return gr});var S={};n.r(S),n.d(S,"name",function(){return kr}),n.d(S,"settings",function(){return wr});var T={};n.r(T),n.d(T,"name",function(){return Cr}),n.d(T,"settings",function(){return Er});var N={};n.r(N),n.d(N,"name",function(){return xr}),n.d(N,"settings",function(){return Sr});var R={};n.r(R),n.d(R,"name",function(){return Tr}),n.d(R,"settings",function(){return Nr});var B={};n.r(B),n.d(B,"name",function(){return Ar}),n.d(B,"settings",function(){return Ir});var A={};n.r(A),n.d(A,"name",function(){return Hr}),n.d(A,"settings",function(){return Dr});var I={};n.r(I),n.d(I,"name",function(){return Fr}),n.d(I,"settings",function(){return Vr});var P={};n.r(P),n.d(P,"name",function(){return Ur}),n.d(P,"settings",function(){return Wr});var L={};n.r(L),n.d(L,"name",function(){return qr}),n.d(L,"settings",function(){return Gr});var M={};n.r(M),n.d(M,"name",function(){return Zr}),n.d(M,"settings",function(){return Jr});var z={};n.r(z),n.d(z,"name",function(){return eo}),n.d(z,"settings",function(){return to});var H=n(19),D=(n(79),n(11)),F=n(15),V=n(8),U=n(0),W=n(16),q=n.n(W),G=n(2),K=n(1),$=n(6),Q=n(4),Y=n(18),Z=n(10),J=n(9),X=n(12),ee=n(13),te=n(14),ne=n(3),re=n(7),oe=n(5),ae=window.getComputedStyle,ce=Object(Q.withFallbackStyles)(function(e,t){var n=t.attributes,r=n.textColor,o=n.backgroundColor,a=n.fontSize,c=n.customFontSize,i=e.querySelector('[contenteditable="true"]'),l=i?ae(i):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:a||c||!l?void 0:parseInt(l.fontSize)||void 0}}),ie=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onReplace=e.onReplace.bind(Object(ne.a)(Object(ne.a)(e))),e.toggleDropCap=e.toggleDropCap.bind(Object(ne.a)(Object(ne.a)(e))),e.splitBlock=e.splitBlock.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"onReplace",value:function(e){var t=this.props,n=t.attributes,r=t.onReplace;r(e.map(function(e,t){return 0===t&&"core/paragraph"===e.name?Object(V.a)({},e,{attributes:Object(V.a)({},n,e.attributes)}):e}))}},{key:"toggleDropCap",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({dropCap:!t.dropCap})}},{key:"getDropCapHelp",value:function(e){return e?Object(K.__)("Showing large initial letter."):Object(K.__)("Toggle to show a large initial letter.")}},{key:"splitBlock",value:function(e,t){for(var n=this.props,r=n.attributes,o=n.insertBlocksAfter,a=n.setAttributes,c=n.onReplace,i=arguments.length,l=new Array(i>2?i-2:0),s=2;s1&&void 0!==arguments[1]?arguments[1]:[]).some(function(t){return e.match(t)})},ze=function(e){return Object(G.includes)(e,'class="wp-embedded-content" data-secret')},He=function(e,t){var n=e.preview,r=e.name,o=e.attributes.url;if(o){var a=function(e){for(var t=Object(H.a)(Re).concat(Object(H.a)(Be)),n=0;n1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var r={"wp-has-aspect-ratio":!1},o=0;o=u.ratio)return Le()(t,(s={},Object(F.a)(s,u.className,n),Object(F.a)(s,"wp-has-aspect-ratio",n),s))}return t}var Fe=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(ne.a)(Object(ne.a)(e))),e.calculateSize=e.calculateSize.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.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=G.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=this.container.clientWidth,t=this.image.width>e,n=this.image.height/this.image.width,r=t?e:this.image.width,o=t?e*n:this.image.height;this.setState({width:r,height:o})}},{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(U.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(U.Component),Ve=Object(re.withGlobalEvents)({resize:"calculateSize"})(Fe),Ue=["image"],We=function(e){var t=Object(G.pick)(e,["alt","id","link","caption"]);return t.url=Object(G.get)(e,["sizes","large","url"])||Object(G.get)(e,["media_details","sizes","large","source_url"])||e.url,t},qe=function(e,t){return!e&&Object(de.isBlobURL)(t)},Ge=function(e){function t(e){var n,r=e.attributes;return Object(Z.a)(this,t),(n=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).updateAlt=n.updateAlt.bind(Object(ne.a)(Object(ne.a)(n))),n.updateAlignment=n.updateAlignment.bind(Object(ne.a)(Object(ne.a)(n))),n.onFocusCaption=n.onFocusCaption.bind(Object(ne.a)(Object(ne.a)(n))),n.onImageClick=n.onImageClick.bind(Object(ne.a)(Object(ne.a)(n))),n.onSelectImage=n.onSelectImage.bind(Object(ne.a)(Object(ne.a)(n))),n.onSelectURL=n.onSelectURL.bind(Object(ne.a)(Object(ne.a)(n))),n.updateImageURL=n.updateImageURL.bind(Object(ne.a)(Object(ne.a)(n))),n.updateWidth=n.updateWidth.bind(Object(ne.a)(Object(ne.a)(n))),n.updateHeight=n.updateHeight.bind(Object(ne.a)(Object(ne.a)(n))),n.updateDimensions=n.updateDimensions.bind(Object(ne.a)(Object(ne.a)(n))),n.onSetCustomHref=n.onSetCustomHref.bind(Object(ne.a)(Object(ne.a)(n))),n.onSetLinkClass=n.onSetLinkClass.bind(Object(ne.a)(Object(ne.a)(n))),n.onSetLinkRel=n.onSetLinkRel.bind(Object(ne.a)(Object(ne.a)(n))),n.onSetLinkDestination=n.onSetLinkDestination.bind(Object(ne.a)(Object(ne.a)(n))),n.onSetNewTab=n.onSetNewTab.bind(Object(ne.a)(Object(ne.a)(n))),n.getFilename=n.getFilename.bind(Object(ne.a)(Object(ne.a)(n))),n.toggleIsEditing=n.toggleIsEditing.bind(Object(ne.a)(Object(ne.a)(n))),n.onUploadError=n.onUploadError.bind(Object(ne.a)(Object(ne.a)(n))),n.onImageError=n.onImageError.bind(Object(ne.a)(Object(ne.a)(n))),n.state={captionFocused:!1,isEditing:!r.url},n}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=t.id,o=t.url,a=void 0===o?"":o;if(qe(r,a)){var c=Object(de.getBlobByURL)(a);c&&Object($.mediaUpload)({filesList:[c],onFileChange:function(e){var t=Object(he.a)(e,1)[0];n(We(t))},allowedTypes:Ue})}}},{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;qe(n,o)&&!qe(c,l)&&Object(de.revokeBlobURL)(l),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onUploadError",value:function(e){this.props.noticeOperations.createErrorNotice(e),this.setState({isEditing:!0})}},{key:"onSelectImage",value:function(e){e&&e.url?(this.setState({isEditing:!1}),this.props.setAttributes(Object(V.a)({},We(e),{width:void 0,height:void 0}))):this.props.setAttributes({url:void 0,alt:void 0,id:void 0,caption:void 0})}},{key:"onSetLinkDestination",value:function(e){var t;t="none"===e?void 0:"media"===e?this.props.image&&this.props.image.source_url||this.props.attributes.url:"attachment"===e?this.props.image&&this.props.image.link:this.props.attributes.href,this.props.setAttributes({linkDestination:e,href:t})}},{key:"onSelectURL",value:function(e){e!==this.props.attributes.url&&this.props.setAttributes({url:e,id:void 0}),this.setState({isEditing:!1})}},{key:"onImageError",value:function(e){var t=He({attributes:{url:e}});void 0!==t&&this.props.onReplace(t)}},{key:"onSetCustomHref",value:function(e){this.props.setAttributes({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(V.a)({},t,{align:e}))}},{key:"updateImageURL",value:function(e){this.props.setAttributes({url:e,width:void 0,height:void 0})}},{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(pe.getPath)(e);if(t)return Object(G.last)(t.split("/"))}},{key:"getLinkDestinationOptions",value:function(){return[{value:"none",label:Object(K.__)("None")},{value:"media",label:Object(K.__)("Media File")},{value:"attachment",label:Object(K.__)("Attachment Page")},{value:"custom",label:Object(K.__)("Custom URL")}]}},{key:"toggleIsEditing",value:function(){this.setState({isEditing:!this.state.isEditing})}},{key:"getImageSizeOptions",value:function(){var e=this.props,t=e.imageSizes,n=e.image;return Object(G.compact)(Object(G.map)(t,function(e){var t=e.name,r=e.slug,o=Object(G.get)(n,["media_details","sizes",r,"source_url"]);return o?{value:o,label:t}:null}))}},{key:"render",value:function(){var e,t=this,n=this.state.isEditing,r=this.props,o=r.attributes,a=r.setAttributes,c=r.isLargeViewport,i=r.isSelected,l=r.className,s=r.maxWidth,u=r.noticeUI,b=r.toggleSelection,m=r.isRTL,d=o.url,h=o.alt,p=o.caption,g=o.align,O=o.id,f=o.href,j=o.rel,v=o.linkClass,y=o.linkDestination,k=o.width,w=o.height,C=o.linkTarget,E=function(e,t){return t&&!e&&!Object(de.isBlobURL)(t)}(O,d),_=this.getImageSizeOptions();d&&(e=E?Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)(Q.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(K.__)("Edit image"),onClick:this.toggleIsEditing,icon:"edit"})):Object(U.createElement)($.MediaUploadCheck,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)($.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:Ue,value:O,render:function(e){var t=e.open;return Object(U.createElement)(Q.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit image"),icon:"edit",onClick:t})}}))));var x=Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:g,onChange:this.updateAlignment}),e);if(n){var S=E?d:void 0;return Object(U.createElement)(U.Fragment,null,x,Object(U.createElement)($.MediaPlaceholder,{icon:"format-image",className:l,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,notices:u,onError:this.onUploadError,accept:"image/*",allowedTypes:Ue,value:{id:O,src:S}}))}var T=q()(l,{"is-transient":Object(de.isBlobURL)(d),"is-resized":!!k||!!w,"is-focused":i}),N=-1===["wide","full"].indexOf(g)&&c,R="custom"!==y,B=function(e,n){return Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Image Settings")},Object(U.createElement)(Q.TextareaControl,{label:Object(K.__)("Alt Text (Alternative Text)"),value:h,onChange:t.updateAlt,help:Object(K.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}),!Object(G.isEmpty)(_)&&Object(U.createElement)(Q.SelectControl,{label:Object(K.__)("Image Size"),value:d,options:_,onChange:t.updateImageURL}),N&&Object(U.createElement)("div",{className:"block-library-image__dimensions"},Object(U.createElement)("p",{className:"block-library-image__dimensions__row"},Object(K.__)("Image Dimensions")),Object(U.createElement)("div",{className:"block-library-image__dimensions__row"},Object(U.createElement)(Q.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(K.__)("Width"),value:void 0!==k?k:"",placeholder:e,min:1,onChange:t.updateWidth}),Object(U.createElement)(Q.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(K.__)("Height"),value:void 0!==w?w:"",placeholder:n,min:1,onChange:t.updateHeight})),Object(U.createElement)("div",{className:"block-library-image__dimensions__row"},Object(U.createElement)(Q.ButtonGroup,{"aria-label":Object(K.__)("Image Size")},[25,50,75,100].map(function(r){var o=Math.round(e*(r/100)),a=Math.round(n*(r/100)),c=k===o&&w===a;return Object(U.createElement)(Q.Button,{key:r,isSmall:!0,isPrimary:c,"aria-pressed":c,onClick:t.updateDimensions(o,a)},r,"%")})),Object(U.createElement)(Q.Button,{isSmall:!0,onClick:t.updateDimensions()},Object(K.__)("Reset"))))),Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Link Settings")},Object(U.createElement)(Q.SelectControl,{label:Object(K.__)("Link To"),value:y,options:t.getLinkDestinationOptions(),onChange:t.onSetLinkDestination}),"none"!==y&&Object(U.createElement)(U.Fragment,null,Object(U.createElement)(Q.TextControl,{label:Object(K.__)("Link URL"),value:f||"",onChange:t.onSetCustomHref,placeholder:R?void 0:"https://",disabled:R}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Open in New Tab"),onChange:t.onSetNewTab,checked:"_blank"===C}),Object(U.createElement)(Q.TextControl,{label:Object(K.__)("Link CSS Class"),value:v||"",onChange:t.onSetLinkClass}),Object(U.createElement)(Q.TextControl,{label:Object(K.__)("Link Rel"),value:j||"",onChange:t.onSetLinkRel}))))};return Object(U.createElement)(U.Fragment,null,x,Object(U.createElement)("figure",{className:T},Object(U.createElement)(Ve,{src:d,dirtynessTrigger:g},function(e){var n,r=e.imageWidthWithinContainer,o=e.imageHeightWithinContainer,c=e.imageWidth,i=e.imageHeight,l=t.getFilename(d);n=h||(l?Object(K.sprintf)(Object(K.__)("This image has an empty alt attribute; its file name is %s"),l):Object(K.__)("This image has an empty alt attribute"));var u=Object(U.createElement)(U.Fragment,null,Object(U.createElement)("img",{src:d,alt:n,onClick:t.onImageClick,onError:function(){return t.onImageError(d)}}),Object(de.isBlobURL)(d)&&Object(U.createElement)(Q.Spinner,null));if(!N||!r)return Object(U.createElement)(U.Fragment,null,B(c,i),Object(U.createElement)("div",{style:{width:k,height:w}},u));var p=k||r,O=w||o,f=c/i,j=c a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},Ye={img:{attributes:["src","alt"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}},Ze={figure:{require:["img"],children:Object(V.a)({},Ye,{a:{attributes:["href","rel","target"],children:Ye},figcaption:{children:Object(D.getPhrasingContentSchema)()}})}},Je={title:Object(K.__)("Image"),description:Object(K.__)("Insert an image to make a visual statement."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.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(U.createElement)(Q.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),category:"common",keywords:["img",Object(K.__)("photo")],attributes:Qe,transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("img")},schema:Ze,transform:function(e){var t=e.className+" "+e.querySelector("img").className,n=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),r=n?n[1]:void 0,o=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),a=o?Number(o[1]):void 0,c=e.querySelector("a"),i=c&&c.href?"custom":void 0,l=c&&c.href?c.href:void 0,s=c&&c.rel?c.rel:void 0,u=c&&c.className?c.className:void 0,b=Object(D.getBlockAttributes)("core/image",e.outerHTML,{align:r,id:a,linkDestination:i,href:l,rel:s,linkClass:u});return Object(D.createBlock)("core/image",b)}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){var t=e[0];return Object(D.createBlock)("core/image",{url:Object(de.createBlobURL)(t)})}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{shortcode:function(e,t){return t.shortcode.content.replace(/\s*
]*>\s/,"")}},href:{type:"string",source:"attribute",attribute:"href",selector:"a"},rel:{type:"string",source:"attribute",attribute:"rel",selector:"a"},linkClass:{type:"string",source:"attribute",attribute:"class",selector:"a"},id:{type:"number",shortcode:function(e){var t=e.named.id;if(t)return parseInt(t.replace("attachment_",""),10)}},align:{type:"string",shortcode:function(e){var t=e.named.align;return(void 0===t?"alignnone":t).replace("align","")}}}}]},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:Ke,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.rel,s=n.linkClass,u=n.width,b=n.height,m=n.id,d=n.linkTarget,h=q()((t={},Object(F.a)(t,"align".concat(c),c),Object(F.a)(t,"is-resized",u||b),t)),p=Object(U.createElement)("img",{src:r,alt:o,className:m?"wp-image-".concat(m):null,width:u,height:b}),g=Object(U.createElement)(U.Fragment,null,i?Object(U.createElement)("a",{className:s,href:i,target:d,rel:l},p):p,!$.RichText.isEmpty(a)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:a}));return"left"===c||"right"===c||"center"===c?Object(U.createElement)("div",null,Object(U.createElement)("figure",{className:h},g)):Object(U.createElement)("figure",{className:h},g)},deprecated:[{attributes:Qe,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.width,s=n.height,u=n.id,b=q()((t={},Object(F.a)(t,"align".concat(c),c),Object(F.a)(t,"is-resized",l||s),t)),m=Object(U.createElement)("img",{src:r,alt:o,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(U.createElement)("figure",{className:b},i?Object(U.createElement)("a",{href:i},m):m,!$.RichText.isEmpty(a)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:a}))}},{attributes:Qe,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=t.id,u=Object(U.createElement)("img",{src:n,alt:r,className:s?"wp-image-".concat(s):null,width:i,height:l});return Object(U.createElement)("figure",{className:a?"align".concat(a):null},c?Object(U.createElement)("a",{href:c},u):u,!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:Qe,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=i||l?{width:i,height:l}:{},u=Object(U.createElement)("img",Object(Y.a)({src:n,alt:r},s)),b={};return i?b={width:i}:"left"!==a&&"right"!==a||(b={maxWidth:"50%"}),Object(U.createElement)("figure",{className:a?"align".concat(a):null,style:b},c?Object(U.createElement)("a",{href:c},u):u,!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))}}]},Xe=n(21),et=function(e){function t(){return Object(Z.a)(this,t),Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))}return Object(te.a)(t,e),Object(J.a)(t,[{key:"createLevelControl",value:function(e,t,n){return{icon:"heading",title:Object(K.sprintf)(Object(K.__)("Heading %d"),e),isActive:e===t,onClick:function(){return n(e)},subscript:String(e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.minLevel,r=t.maxLevel,o=t.selectedLevel,a=t.onChange;return Object(U.createElement)(Q.Toolbar,{controls:Object(G.range)(n,r).map(function(t){return e.createLevelControl(t,o,a)})})}}]),t}(U.Component);function tt(e){return Number(e.substr(1))}var nt,rt={className:!1,anchor:!0},ot={content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},align:{type:"string"},placeholder:{type:"string"}},at="core/heading",ct={title:Object(K.__)("Heading"),description:Object(K.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.Path,{d:"M5 4v3h5.5v12h3V7H19V4z"}),Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"})),category:"common",keywords:[Object(K.__)("title"),Object(K.__)("subtitle")],supports:rt,attributes:ot,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(D.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:{h1:{children:Object(D.getPhrasingContentSchema)()},h2:{children:Object(D.getPhrasingContentSchema)()},h3:{children:Object(D.getPhrasingContentSchema)()},h4:{children:Object(D.getPhrasingContentSchema)()},h5:{children:Object(D.getPhrasingContentSchema)()},h6:{children:Object(D.getPhrasingContentSchema)()}},transform:function(e){return Object(D.createBlock)("core/heading",Object(V.a)({},Object(D.getBlockAttributes)("core/heading",e.outerHTML),{level:tt(e.nodeName)}))}}].concat(Object(H.a)([2,3,4,5,6].map(function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(D.createBlock)("core/heading",{level:e,content:t})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(D.createBlock)("core/paragraph",{content:t})}}]},deprecated:[{supports:rt,attributes:Object(V.a)({},Object(G.omit)(ot,["level"]),{nodeName:{type:"string",source:"property",selector:"h1,h2,h3,h4,h5,h6",property:"nodeName",default:"H2"}}),migrate:function(e){var t=e.nodeName,n=Object(Xe.a)(e,["nodeName"]);return Object(V.a)({},n,{level:tt(t)})},save:function(e){var t=e.attributes,n=t.align,r=t.nodeName,o=t.content;return Object(U.createElement)($.RichText.Content,{tagName:r.toLowerCase(),style:{textAlign:n},value:o})}}],merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.insertBlocksAfter,a=e.onReplace,c=e.className,i=t.align,l=t.content,s=t.level,u=t.placeholder,b="h"+s;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)(et,{minLevel:2,maxLevel:5,selectedLevel:s,onChange:function(e){return n({level:e})}})),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Heading Settings")},Object(U.createElement)("p",null,Object(K.__)("Level")),Object(U.createElement)(et,{minLevel:1,maxLevel:7,selectedLevel:s,onChange:function(e){return n({level:e})}}),Object(U.createElement)("p",null,Object(K.__)("Text Alignment")),Object(U.createElement)($.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}}))),Object(U.createElement)($.RichText,{identifier:"content",wrapperClassName:"wp-block-heading",tagName:b,value:l,onChange:function(e){return n({content:e})},onMerge:r,unstableOnSplit:o?function(e,t){n({content:e});for(var r=arguments.length,a=new Array(r>2?r-2:0),c=2;c".concat(t,"
")})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(D.createBlock)("core/quote",{value:t,citation:n})}},{type:"prefix",prefix:">",transform:function(e){return Object(D.createBlock)("core/quote",{value:"".concat(e,"
")})}},{type:"raw",isMatch:function(e){return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(function(e){return"P"===e.nodeName})},schema:{blockquote:{children:{p:{children:Object(D.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(H.a)(Object(it.split)(Object(it.create)({html:t,multilineTag:"p"}),"\u2028").map(function(e){return Object(D.createBlock)("core/paragraph",{content:Object(it.toHTMLString)({value:e})})}))),n&&""!==n&&r.push(Object(D.createBlock)("core/paragraph",{content:n})),0===r.length?Object(D.createBlock)("core/paragraph",{content:""}):r}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=Object(Xe.a)(e,["value","citation"]);if(""===t)return Object(D.createBlock)("core/heading",{content:n});var o=Object(it.split)(Object(it.create)({html:t,multilineTag:"p"}),"\u2028"),a=o.slice(1);return[Object(D.createBlock)("core/heading",{content:Object(it.toHTMLString)({value:o[0]})}),Object(D.createBlock)("core/quote",Object(V.a)({},r,{citation:n,value:Object(it.toHTMLString)({value:a.length?Object(it.join)(o.slice(1),"\u2028"):Object(it.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(D.createBlock)("core/pullquote",{value:t,citation:n})}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=t.align,l=t.value,s=t.citation;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}})),Object(U.createElement)("blockquote",{className:c,style:{textAlign:i}},Object(U.createElement)($.RichText,{identifier:"value",multiline:!0,value:l,onChange:function(e){return n({value:e})},onMerge:o,onRemove:function(e){var t=!s||0===s.length;!e&&t&&a([])},placeholder:Object(K.__)("Write quote…")}),(!$.RichText.isEmpty(s)||r)&&Object(U.createElement)($.RichText,{identifier:"citation",value:s,onChange:function(e){return n({citation:e})},placeholder:Object(K.__)("Write citation…"),className:"wp-block-quote__citation"})))},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation;return Object(U.createElement)("blockquote",{style:{textAlign:n||null}},Object(U.createElement)($.RichText.Content,{multiline:!0,value:r}),!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"cite",value:o}))},merge:function(e,t){var n=t.value,r=t.citation;return n&&""!==n?Object(V.a)({},e,{value:e.value+n,citation:e.citation+r}):Object(V.a)({},e,{citation:e.citation+r})},deprecated:[{attributes:Object(V.a)({},lt,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?Object(V.a)({},Object(G.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(U.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},Object(U.createElement)($.RichText.Content,{multiline:!0,value:r}),!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(V.a)({},lt,{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(U.createElement)("blockquote",{className:"blocks-quote-style-".concat(a),style:{textAlign:n||null}},Object(U.createElement)($.RichText.Content,{multiline:!0,value:r}),!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"footer",value:o}))}}]},bt=n(17),mt=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onImageClick=e.onImageClick.bind(Object(ne.a)(Object(ne.a)(e))),e.onSelectCaption=e.onSelectCaption.bind(Object(ne.a)(Object(ne.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(ne.a)(Object(ne.a)(e))),e.bindContainer=e.bindContainer.bind(Object(ne.a)(Object(ne.a)(e))),e.state={captionSelected:!1},e}return Object(te.a)(t,e),Object(J.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:"onImageClick",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onKeyDown",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[bt.BACKSPACE,bt.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isSelected,r=t.image,o=t.url;r&&!o&&this.props.setAttributes({url:r.source_url,alt:r.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,n=t.url,r=t.alt,o=t.id,a=t.linkTo,c=t.link,i=t.isSelected,l=t.caption,s=t.onRemove,u=t.setAttributes,b=t["aria-label"];switch(a){case"media":e=n;break;case"attachment":e=c}var m=Object(U.createElement)(U.Fragment,null,Object(U.createElement)("img",{src:n,alt:r,"data-id":o,onClick:this.onImageClick,tabIndex:"0",onKeyDown:this.onImageClick,"aria-label":b}),Object(de.isBlobURL)(n)&&Object(U.createElement)(Q.Spinner,null)),d=q()({"is-selected":i,"is-transient":Object(de.isBlobURL)(n)});return Object(U.createElement)("figure",{className:d,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},i&&Object(U.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(U.createElement)(Q.IconButton,{icon:"no-alt",onClick:s,className:"blocks-gallery-item__remove",label:Object(K.__)("Remove Image")})),e?Object(U.createElement)("a",{href:e},m):m,!$.RichText.isEmpty(l)||i?Object(U.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(K.__)("Write caption…"),value:l,isSelected:this.state.captionSelected,onChange:function(e){return u({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}):null)}}]),t}(U.Component),dt=Object(oe.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(mt),ht=[{value:"attachment",label:Object(K.__)("Attachment Page")},{value:"media",label:Object(K.__)("Media File")},{value:"none",label:Object(K.__)("None")}],pt=["image"];function gt(e){return Math.min(3,e.images.length)}var Ot=function(e){var t=Object(G.pick)(e,["alt","id","link","caption"]);return t.url=Object(G.get)(e,["sizes","large","url"])||Object(G.get)(e,["media_details","sizes","large","source_url"])||e.url,t},ft=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(ne.a)(Object(ne.a)(e))),e.onSelectImages=e.onSelectImages.bind(Object(ne.a)(Object(ne.a)(e))),e.setLinkTo=e.setLinkTo.bind(Object(ne.a)(Object(ne.a)(e))),e.setColumnsNumber=e.setColumnsNumber.bind(Object(ne.a)(Object(ne.a)(e))),e.toggleImageCrop=e.toggleImageCrop.bind(Object(ne.a)(Object(ne.a)(e))),e.onRemoveImage=e.onRemoveImage.bind(Object(ne.a)(Object(ne.a)(e))),e.setImageAttributes=e.setImageAttributes.bind(Object(ne.a)(Object(ne.a)(e))),e.addFiles=e.addFiles.bind(Object(ne.a)(Object(ne.a)(e))),e.uploadFromFiles=e.uploadFromFiles.bind(Object(ne.a)(Object(ne.a)(e))),e.setAttributes=e.setAttributes.bind(Object(ne.a)(Object(ne.a)(e))),e.state={selectedImage:null},e}return Object(te.a)(t,e),Object(J.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(V.a)({},e,{ids:Object(G.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:"onRemoveImage",value:function(e){var t=this;return function(){var n=Object(G.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:"onSelectImages",value:function(e){this.setAttributes({images:e.map(function(e){return Ot(e)})})}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(K.__)("Thumbnails are cropped to align."):Object(K.__)("Thumbnails are not cropped.")}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,r=this.setAttributes;n[e]&&r({images:Object(H.a)(n.slice(0,e)).concat([Object(V.a)({},n[e],t)],Object(H.a)(n.slice(e+1)))})}},{key:"uploadFromFiles",value:function(e){this.addFiles(e.target.files)}},{key:"addFiles",value:function(e){var t=this.props.attributes.images||[],n=this.props.noticeOperations,r=this.setAttributes;Object($.mediaUpload)({allowedTypes:pt,filesList:e,onFileChange:function(e){var n=e.map(function(e){return Ot(e)});r({images:t.concat(n)})},onError:n.createErrorNotice})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.isSelected,o=t.className,a=t.noticeOperations,c=t.noticeUI,i=n.images,l=n.columns,s=void 0===l?gt(n):l,u=n.align,b=n.imageCrop,m=n.linkTo,d=Object(U.createElement)(Q.DropZone,{onFilesDrop:this.addFiles}),h=Object(U.createElement)($.BlockControls,null,!!i.length&&Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)($.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:pt,multiple:!0,gallery:!0,value:i.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(U.createElement)(Q.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit Gallery"),icon:"edit",onClick:t})}})));return 0===i.length?Object(U.createElement)(U.Fragment,null,h,Object(U.createElement)($.MediaPlaceholder,{icon:"format-gallery",className:o,labels:{title:Object(K.__)("Gallery"),instructions:Object(K.__)("Drag images, upload new ones or select files from your library.")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:pt,multiple:!0,notices:c,onError:a.createErrorNotice})):Object(U.createElement)(U.Fragment,null,h,Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Gallery Settings")},i.length>1&&Object(U.createElement)(Q.RangeControl,{label:Object(K.__)("Columns"),value:s,onChange:this.setColumnsNumber,min:1,max:Math.min(8,i.length)}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Crop Images"),checked:!!b,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),Object(U.createElement)(Q.SelectControl,{label:Object(K.__)("Link To"),value:m,onChange:this.setLinkTo,options:ht}))),c,Object(U.createElement)("ul",{className:"".concat(o," align").concat(u," columns-").concat(s," ").concat(b?"is-cropped":"")},d,i.map(function(t,n){var o=Object(K.__)(Object(K.sprintf)("image %1$d of %2$d in gallery",n+1,i.length));return Object(U.createElement)("li",{className:"blocks-gallery-item",key:t.id||t.url},Object(U.createElement)(dt,{url:t.url,alt:t.alt,id:t.id,isSelected:r&&e.state.selectedImage===n,onRemove:e.onRemoveImage(n),onSelect:e.onSelectImage(n),setAttributes:function(t){return e.setImageAttributes(n,t)},caption:t.caption,"aria-label":o}))}),r&&Object(U.createElement)("li",{className:"blocks-gallery-item has-add-item-button"},Object(U.createElement)(Q.FormFileUpload,{multiple:!0,isLarge:!0,className:"block-library-gallery-add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(K.__)("Upload an image")))))}}]),t}(U.Component),jt=Object(Q.withNotices)(ft),vt={images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},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:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},yt="core/gallery",kt=function(e){return e?e.split(",").map(function(e){return parseInt(e,10)}):[]},wt={title:Object(K.__)("Gallery"),description:Object(K.__)("Display multiple images in a rich gallery."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M20 4v12H8V4h12m0-2H8L6 4v12l2 2h12l2-2V4l-2-2z"}),Object(U.createElement)(Q.Path,{d:"M12 12l1 2 3-3 3 4H9z"}),Object(U.createElement)(Q.Path,{d:"M2 6v14l2 2h14v-2H4V6H2z"}))),category:"common",keywords:[Object(K.__)("images"),Object(K.__)("photos")],attributes:vt,supports:{align:!0},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=Object(G.filter)(e,function(e){var t=e.id,n=e.url;return t&&n});return t.length>0?Object(D.createBlock)("core/gallery",{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}),ids:t.map(function(e){return e.id})}):Object(D.createBlock)("core/gallery")}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return kt(t).map(function(e){return{id:e}})}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return kt(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(G.every)(e,function(e){return 0===e.type.indexOf("image/")})},transform:function(e,t){var n=Object(D.createBlock)("core/gallery",{images:e.map(function(e){return Ot({url:Object(de.createBlobURL)(e)})})});return Object($.mediaUpload)({filesList:e,onFileChange:function(e){var r=e.map(Ot);t(n.clientId,{ids:Object(G.map)(r,"id"),images:r})},allowedTypes:["image"]}),n}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){var t=e.id,n=e.url,r=e.alt,o=e.caption;return Object(D.createBlock)("core/image",{id:t,url:n,alt:r,caption:o})}):Object(D.createBlock)("core/image")}}]},edit:jt,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?gt(t):r,a=t.imageCrop,c=t.linkTo;return Object(U.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(U.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(U.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(U.createElement)("figure",null,t?Object(U.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:e.caption})))}))},deprecated:[{attributes:vt,isEligible:function(e){var t=e.images,n=e.ids;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(G.some)(t,function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]}))},migrate:function(e){return Object(V.a)({},e,{ids:Object(G.map)(e.images,function(e){var t=e.id;return t?parseInt(t,10):null})})},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?gt(t):r,a=t.imageCrop,c=t.linkTo;return Object(U.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(U.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(U.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(U.createElement)("figure",null,t?Object(U.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:vt,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?gt(t):r,a=t.imageCrop,c=t.linkTo;return Object(U.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(U.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return Object(U.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(U.createElement)("figure",null,t?Object(U.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:Object(V.a)({},vt,{images:Object(V.a)({},vt.images,{selector:"div.wp-block-gallery figure.blocks-gallery-image img"}),align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?gt(t):r,a=t.align,c=t.imageCrop,i=t.linkTo;return Object(U.createElement)("div",{className:"align".concat(a," 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(U.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(U.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(U.createElement)("a",{href:t},n):n)}))}}]};var Ct="core/archives",Et={title:Object(K.__)("Archives"),description:Object(K.__)("Display a monthly archive of your posts."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M7 11h2v2H7v-2zm14-5v14l-2 2H5l-2-2V6l2-2h1V2h2v2h8V2h2v2h1l2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),category:"widgets",supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right"].includes(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=t.align,o=t.showPostCounts,a=t.displayAsDropdown;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Archives Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Display as Dropdown"),checked:a,onChange:function(){return n({displayAsDropdown:!a})}}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Show Post Counts"),checked:o,onChange:function(){return n({showPostCounts:!o})}}))),Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:r,onChange:function(e){n({align:e})},controls:["left","center","right"]})),Object(U.createElement)(Q.Disabled,null,Object(U.createElement)($.ServerSideRender,{block:"core/archives",attributes:t})))},save:function(){return null}},_t=["audio"],xt=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.toggleAttribute=e.toggleAttribute.bind(Object(ne.a)(Object(ne.a)(e))),e.onSelectURL=e.onSelectURL.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=t.setAttributes,a=n.id,c=n.src,i=void 0===c?"":c;if(!a&&Object(de.isBlobURL)(i)){var l=Object(de.getBlobByURL)(i);l&&Object($.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(he.a)(e,1)[0],n=t.id,r=t.url;o({id:n,src:r})},onError:function(t){o({src:void 0,id:void 0}),e.setState({editing:!0}),r.createErrorNotice(t)},allowedTypes:_t})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(F.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=He({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src,i=this.props,l=i.setAttributes,s=i.isSelected,u=i.className,b=i.noticeOperations,m=i.noticeUI,d=function(){e.setState({editing:!0})};return this.state.editing?Object(U.createElement)($.MediaPlaceholder,{icon:"media-audio",className:u,onSelect:function(t){if(!t||!t.url)return l({src:void 0,id:void 0}),void d();l({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:_t,value:this.props.attributes,notices:m,onError:b.createErrorNotice}):Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)(Q.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(K.__)("Edit audio"),onClick:d,icon:"edit"}))),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Audio Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:o}),Object(U.createElement)(Q.SelectControl,{label:Object(K.__)("Preload"),value:void 0!==a?a:"none",onChange:function(e){return l({preload:"none"!==e?e:void 0})},options:[{value:"auto",label:Object(K.__)("Auto")},{value:"metadata",label:Object(K.__)("Metadata")},{value:"none",label:Object(K.__)("None")}]}))),Object(U.createElement)("figure",{className:u},Object(U.createElement)(Q.Disabled,null,Object(U.createElement)("audio",{controls:"controls",src:c})),(!$.RichText.isEmpty(r)||s)&&Object(U.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(K.__)("Write caption…"),value:r,onChange:function(e){return l({caption:e})},inlineToolbar:!0})))}}]),t}(U.Component),St=Object(Q.withNotices)(xt),Tt="core/audio",Nt={title:Object(K.__)("Audio"),description:Object(K.__)("Embed a simple audio player."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.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"})),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"}},transforms:{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(D.createBlock)("core/audio",{src:Object(de.createBlobURL)(t)})}}]},supports:{align:!0},edit:St,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src;return Object(U.createElement)("figure",null,Object(U.createElement)("audio",{controls:"controls",src:c,autoPlay:n,loop:o,preload:a}),!$.RichText.isEmpty(r)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:r}))}},Rt=window.getComputedStyle,Bt=Object(Q.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:Rt(e).backgroundColor,fallbackTextColor:a||!c?void 0:Rt(c).color}}),At=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.backgroundColor,o=t.textColor,a=t.setBackgroundColor,c=t.setTextColor,i=t.fallbackBackgroundColor,l=t.fallbackTextColor,s=t.setAttributes,u=t.isSelected,b=t.className,m=n.text,d=n.url,h=n.title;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)("div",{className:b,title:h,ref:this.bindRef},Object(U.createElement)($.RichText,{placeholder:Object(K.__)("Add text…"),value:m,onChange:function(e){return s({text:e})},formattingControls:["bold","italic","strikethrough"],className:q()("wp-block-button__link",(e={"has-background":r.color},Object(F.a)(e,r.class,r.class),Object(F.a)(e,"has-text-color",o.color),Object(F.a)(e,o.class,o.class),e)),style:{backgroundColor:r.color,color:o.color},keepPlaceholderOnFocus:!0}),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)($.PanelColorSettings,{title:Object(K.__)("Color Settings"),colorSettings:[{value:r.color,onChange:a,label:Object(K.__)("Background Color")},{value:o.color,onChange:c,label:Object(K.__)("Text Color")}]},Object(U.createElement)($.ContrastChecker,{isLargeText:!1,textColor:o.color,backgroundColor:r.color,fallbackBackgroundColor:i,fallbackTextColor:l})))),u&&Object(U.createElement)("form",{className:"block-library-button__inline-link",onSubmit:function(e){return e.preventDefault()}},Object(U.createElement)(Q.Dashicon,{icon:"admin-links"}),Object(U.createElement)($.URLInput,{value:d,onChange:function(e){return s({url:e})}}),Object(U.createElement)(Q.IconButton,{icon:"editor-break",label:Object(K.__)("Apply"),type:"submit"})))}}]),t}(U.Component),It=Object(re.compose)([Object($.withColors)("backgroundColor",{textColor:"color"}),Bt])(At),Pt={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"}},Lt="core/button",Mt=function(e){return Object(G.omit)(Object(V.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},zt={title:Object(K.__)("Button"),description:Object(K.__)("Prompt visitors to take action with a custom button."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M19 6H5L3 8v8l2 2h14l2-2V8l-2-2zm0 10H5V8h14v8z"}))),category:"layout",attributes:Pt,supports:{align:!0,alignWide:!1},styles:[{name:"default",label:Object(K._x)("Rounded","block style"),isDefault:!0},{name:"outline",label:Object(K.__)("Outline")},{name:"squared",label:Object(K._x)("Squared","block style")}],edit:It,save:function(e){var t,n=e.attributes,r=n.url,o=n.text,a=n.title,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=Object($.getColorClassName)("color",i),b=Object($.getColorClassName)("background-color",c),m=q()("wp-block-button__link",(t={"has-text-color":i||s},Object(F.a)(t,u,u),Object(F.a)(t,"has-background",c||l),Object(F.a)(t,b,b),t)),d={backgroundColor:b?void 0:l,color:u?void 0:s};return Object(U.createElement)("div",null,Object(U.createElement)($.RichText.Content,{tagName:"a",className:m,href:r,title:a,style:d,value:o}))},deprecated:[{attributes:Object(V.a)({},Object(G.pick)(Pt,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c={backgroundColor:t.color,color:t.textColor};return Object(U.createElement)("div",{className:"align".concat(a)},Object(U.createElement)($.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:c,value:r}))},migrate:Mt},{attributes:Object(V.a)({},Object(G.pick)(Pt,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c=t.color,i=t.textColor;return Object(U.createElement)("div",{className:"align".concat(a),style:{backgroundColor:c}},Object(U.createElement)($.RichText.Content,{tagName:"a",href:n,title:o,style:{color:i},value:r}))},migrate:Mt}]},Ht=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(ne.a)(Object(ne.a)(e))),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(ne.a)(Object(ne.a)(e))),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.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){var t=this.props.className;return"".concat(t,"__list ").concat(t,"__list-level-").concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(G.unescape)(e.name).trim():Object(K.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object(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"},this.renderCategoryName(e)),a&&Object(U.createElement)("span",{className:"".concat(this.props.className,"__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,n=t.showHierarchy,r=t.instanceId,o=t.className,a=n?0:null,c=this.getCategories(a),i="blocks-category-select-".concat(r);return Object(U.createElement)(U.Fragment,null,Object(U.createElement)("label",{htmlFor:i,className:"screen-reader-text"},Object(K.__)("Categories")),Object(U.createElement)("select",{id:i,className:"".concat(o,"__dropdown")},c.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(G.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.setAttributes,r=e.isRequesting,o=t.align,a=t.displayAsDropdown,c=t.showHierarchy,i=t.showPostCounts,l=Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Categories Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Display as Dropdown"),checked:a,onChange:this.toggleDisplayAsDropdown}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Show Hierarchy"),checked:c,onChange:this.toggleShowHierarchy}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Show Post Counts"),checked:i,onChange:this.toggleShowPostCounts})));return r?Object(U.createElement)(U.Fragment,null,l,Object(U.createElement)(Q.Placeholder,{icon:"admin-post",label:Object(K.__)("Categories")},Object(U.createElement)(Q.Spinner,null))):Object(U.createElement)(U.Fragment,null,l,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:o,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),Object(U.createElement)("div",{className:this.props.className},a?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(U.Component),Dt=Object(re.compose)(Object(oe.withSelect)(function(e){var t=e("core").getEntityRecords,n=e("core/data").isResolving,r={per_page:-1};return{categories:t("taxonomy","category",r),isRequesting:n("core","getEntityRecords",["taxonomy","category",r])}}),re.withInstanceId)(Ht),Ft="core/categories",Vt={title:Object(K.__)("Categories"),description:Object(K.__)("Display a list of all categories."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object(U.createElement)(Q.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)(Q.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"})),category:"widgets",attributes:{align:{type:"string"},displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right","full"].includes(t))return{"data-align":t}},edit:Dt,save:function(){return null}};var Ut="core/code",Wt={title:Object(K.__)("Code"),description:Object(K.__)("Display code snippets that respect your spacing and tabs."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.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"})),category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}},supports:{html:!1},transforms:{from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(D.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":{}}}}}}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className;return Object(U.createElement)("div",{className:r},Object(U.createElement)($.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(K.__)("Write code…"),"aria-label":Object(K.__)("Code")}))},save:function(e){var t=e.attributes;return Object(U.createElement)("pre",null,Object(U.createElement)("code",null,t.content))}},qt=n(41),Gt=["core/column"],Kt=n.n(qt)()(function(e){return Object(G.times)(e,function(){return["core/column"]})});function $t(e){var t,n=$t.doc;n||(n=document.implementation.createHTMLDocument(""),$t.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 Qt="core/columns",Yt={title:Object(K.__)("Columns"),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M21 4H3L2 5v14l1 1h18l1-1V5l-1-1zM8 18H4V6h4v12zm6 0h-4V6h4v12zm6 0h-4V6h4v12z"}))),category:"layout",attributes:{columns:{type:"number",default:2}},description:Object(K.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},deprecated:[{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!==$t(e.originalContent)})},migrate:function(e,t){return[e,t.reduce(function(e,t){var n=$t(t.originalContent);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e},[]).map(function(e){return Object(D.createBlock)("core/column",{},e)})]},save:function(e){var t=e.attributes.columns;return Object(U.createElement)("div",{className:"has-".concat(t,"-columns")},Object(U.createElement)($.InnerBlocks.Content,null))}}],edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.columns,a=q()(r,"has-".concat(o,"-columns"));return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,null,Object(U.createElement)(Q.RangeControl,{label:Object(K.__)("Columns"),value:o,onChange:function(e){n({columns:e})},min:2,max:6}))),Object(U.createElement)("div",{className:a},Object(U.createElement)($.InnerBlocks,{template:Kt(o),templateLock:"all",allowedBlocks:Gt})))},save:function(e){var t=e.attributes.columns;return Object(U.createElement)("div",{className:"has-".concat(t,"-columns")},Object(U.createElement)($.InnerBlocks.Content,null))}},Zt="core/column",Jt={title:Object(K.__)("Column"),parent:["core/columns"],icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.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"})),description:Object(K.__)("A single column within a columns block."),category:"common",supports:{inserter:!1,reusable:!1,html:!1},edit:function(){return Object(U.createElement)($.InnerBlocks,{templateLock:!1})},save:function(){return Object(U.createElement)("div",null,Object(U.createElement)($.InnerBlocks.Content,null))}},Xt=["left","center","right","wide","full"],en={title:{type:"string",source:"html",selector:"p"},url:{type:"string"},align:{type:"string"},contentAlign:{type:"string",default:"center"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"}},tn="core/cover",nn=["image","video"],rn={title:Object(K.__)("Cover"),description:Object(K.__)("Add an image or video with a text overlay — great for headers."),icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.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(U.createElement)(Q.Path,{d:"M0 0h24v24H0z",fill:"none"})),category:"common",attributes:en,transforms:{from:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(D.createBlock)("core/cover",{title:t})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object(D.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(D.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:"video"})}}],to:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.title;return Object(D.createBlock)("core/heading",{content:t})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType;return!e.url||"image"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(D.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||"video"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(D.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]},getEditWrapperProps:function(e){var t=e.align;if(-1!==Xt.indexOf(t))return{"data-align":t}},edit:Object(re.compose)([Object($.withColors)({overlayColor:"background-color"}),Q.withNotices])(function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.className,a=e.noticeOperations,c=e.noticeUI,i=e.overlayColor,l=e.setOverlayColor,s=t.align,u=t.backgroundType,b=t.contentAlign,m=t.dimRatio,d=t.hasParallax,h=t.id,p=t.title,g=t.url,O=function(e){if(e&&e.url){var t;if(e.media_type)t="image"===e.media_type?"image":"video";else{if("image"!==e.type&&"video"!==e.type)return;t=e.type}n({url:e.url,id:e.id,backgroundType:t})}else n({url:void 0,id:void 0})},f=function(e){return n({title:e})},j=Object(V.a)({},"image"===u?an(g):{},{backgroundColor:i.color}),v=q()(o,"center"!==b&&"has-".concat(b,"-content"),on(m),{"has-background-dim":0!==m,"has-parallax":d}),y=Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:s,onChange:function(e){return n({align:e})}}),!!g&&Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.AlignmentToolbar,{value:b,onChange:function(e){n({contentAlign:e})}}),Object(U.createElement)($.MediaUploadCheck,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)($.MediaUpload,{onSelect:O,allowedTypes:nn,value:h,render:function(e){var t=e.open;return Object(U.createElement)(Q.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit media"),icon:"edit",onClick:t})}}))))),!!g&&Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Cover Settings")},"image"===u&&Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Fixed Background"),checked:d,onChange:function(){return n({hasParallax:!d})}}),Object(U.createElement)($.PanelColorSettings,{title:Object(K.__)("Overlay"),initialOpen:!0,colorSettings:[{value:i.color,onChange:l,label:Object(K.__)("Overlay Color")}]},Object(U.createElement)(Q.RangeControl,{label:Object(K.__)("Background Opacity"),value:m,onChange:function(e){return n({dimRatio:e})},min:0,max:100,step:10})))));if(!g){var k=!$.RichText.isEmpty(p),w=k?void 0:"format-image",C=k?Object(U.createElement)($.RichText,{tagName:"h2",value:p,onChange:f,inlineToolbar:!0}):Object(K.__)("Cover");return Object(U.createElement)(U.Fragment,null,y,Object(U.createElement)($.MediaPlaceholder,{icon:w,className:o,labels:{title:C,instructions:Object(K.__)("Drag an image or a video, upload a new one or select a file from your library.")},onSelect:O,accept:"image/*,video/*",allowedTypes:nn,notices:c,onError:a.createErrorNotice}))}return Object(U.createElement)(U.Fragment,null,y,Object(U.createElement)("div",{"data-url":g,style:j,className:v},"video"===u&&Object(U.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:g}),(!$.RichText.isEmpty(p)||r)&&Object(U.createElement)($.RichText,{tagName:"p",className:"wp-block-cover-text",placeholder:Object(K.__)("Write title…"),value:p,onChange:f,inlineToolbar:!0})))}),save:function(e){var t=e.attributes,n=t.align,r=t.backgroundType,o=t.contentAlign,a=t.customOverlayColor,c=t.dimRatio,i=t.hasParallax,l=t.overlayColor,s=t.title,u=t.url,b=Object($.getColorClassName)("background-color",l),m="image"===r?an(u):{};b||(m.backgroundColor=a);var d=q()(on(c),b,Object(F.a)({"has-background-dim":0!==c,"has-parallax":i},"has-".concat(o,"-content"),"center"!==o),n?"align".concat(n):null);return Object(U.createElement)("div",{className:d,style:m},"video"===r&&u&&Object(U.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!$.RichText.isEmpty(s)&&Object(U.createElement)($.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},deprecated:[{attributes:Object(V.a)({},en),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=t.contentAlign,l=t.overlayColor,s=t.customOverlayColor,u=Object($.getColorClassName)("background-color",l),b=an(n);u||(b.backgroundColor=s);var m=q()("wp-block-cover-image",on(a),u,Object(F.a)({"has-background-dim":0!==a,"has-parallax":o},"has-".concat(i,"-content"),"center"!==i),c?"align".concat(c):null);return Object(U.createElement)("div",{className:m,style:b},!$.RichText.isEmpty(r)&&Object(U.createElement)($.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:r}))}},{attributes:Object(V.a)({},en,{title:{type:"string",source:"html",selector:"h2"}}),save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=an(n),l=q()(on(a),{"has-background-dim":0!==a,"has-parallax":o},c?"align".concat(c):null);return Object(U.createElement)("section",{className:l,style:i},Object(U.createElement)($.RichText.Content,{tagName:"h2",value:r}))}}]};function on(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}function an(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}var cn=function(e){var t=e.blockSupportsResponsive,n=e.showEditButton,r=e.themeSupportsResponsive,o=e.allowResponsive,a=e.getResponsiveHelp,c=e.toggleResponsive,i=e.switchBackToURLInput;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)(Q.Toolbar,null,n&&Object(U.createElement)(Q.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit URL"),icon:"edit",onClick:i}))),r&&t&&Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Media Settings"),className:"blocks-responsive"},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Resize for smaller devices"),checked:o,help:a,onChange:c}))))},ln=function(){return Object(U.createElement)("div",{className:"wp-block-embed is-loading"},Object(U.createElement)(Q.Spinner,null),Object(U.createElement)("p",null,Object(K.__)("Embedding…")))},sn=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,c=e.cannotEmbed;return Object(U.createElement)(Q.Placeholder,{icon:Object(U.createElement)($.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed"},Object(U.createElement)("form",{onSubmit:o},Object(U.createElement)("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:Object(K.__)("Enter URL to embed here…"),onChange:a}),Object(U.createElement)(Q.Button,{isLarge:!0,type:"submit"},Object(K._x)("Embed","button label")),c&&Object(U.createElement)("p",{className:"components-placeholder__error"},Object(K.__)("Sorry, we could not embed that content."))))},un=n(75),bn=window.FocusEvent,mn=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(ne.a)(Object(ne.a)(e))),e.node=Object(U.createRef)(),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new bn("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object(U.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),t}(U.Component),dn=Object(re.withGlobalEvents)({blur:"checkFocus"})(mn),hn=function(e){var t=e.preview,n=e.url,r=e.type,o=e.caption,a=e.onCaptionChange,c=e.isSelected,i=e.className,l=e.icon,s=e.label,u=t.scripts,b="photo"===r?function(e){var t=Object(U.createElement)("p",null,Object(U.createElement)("img",{src:e.thumbnail_url,alt:e.title,width:"100%"}));return Object(U.renderToString)(t)}(t):t.html,m=Object(un.parse)(n),d=Object(G.includes)(Ae,m.host.replace(/^www\./,"")),h=Object(K.sprintf)(Object(K.__)("Embedded content from %s"),m.host),p=Le()(r,i,"wp-block-embed__wrapper"),g="wp-embed"===r?Object(U.createElement)(dn,{html:b}):Object(U.createElement)("div",{className:"wp-block-embed__wrapper"},Object(U.createElement)(Q.SandBox,{html:b,scripts:u,title:h,type:p}));return Object(U.createElement)("figure",{className:Le()(i,"wp-block-embed",{"is-type-video":"video"===r})},d?Object(U.createElement)(Q.Placeholder,{icon:Object(U.createElement)($.BlockIcon,{icon:l,showColors:!0}),label:s},Object(U.createElement)("p",{className:"components-placeholder__error"},Object(U.createElement)("a",{href:n},n)),Object(U.createElement)("p",{className:"components-placeholder__error"},Object(K.__)("Previews for this are unavailable in the editor, sorry!"))):g,(!$.RichText.isEmpty(o)||c)&&Object(U.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(K.__)("Write caption…"),value:o,onChange:a,inlineToolbar:!0}))};var pn={url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0}};function gn(e){var t=e.title,n=e.description,r=e.icon,o=e.category,a=void 0===o?"embed":o,c=e.transforms,i=e.keywords,l=void 0===i?[]:i,s=e.supports,u=void 0===s?{}:s,b=e.responsive,m=void 0===b||b,d=n||Object(K.sprintf)(Object(K.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),t),h=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r){function o(){var e;return Object(Z.a)(this,o),(e=Object(X.a)(this,Object(ee.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(ne.a)(Object(ne.a)(e))),e.setUrl=e.setUrl.bind(Object(ne.a)(Object(ne.a)(e))),e.getAttributesFromPreview=e.getAttributesFromPreview.bind(Object(ne.a)(Object(ne.a)(e))),e.setAttributesFromPreview=e.setAttributesFromPreview.bind(Object(ne.a)(Object(ne.a)(e))),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(ne.a)(Object(ne.a)(e))),e.toggleResponsive=e.toggleResponsive.bind(Object(ne.a)(Object(ne.a)(e))),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(ne.a)(Object(ne.a)(e))),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(te.a)(o,r),Object(J.a)(o,[{key:"handleIncomingPreview",value:function(){var e=this.props.attributes.allowResponsive;this.setAttributesFromPreview();var t=He(this.props,this.getAttributesFromPreview(this.props.preview,e));t&&this.props.onReplace(t)}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,n=void 0!==e.preview,r=this.props.preview&&this.props.attributes.url!==e.attributes.url,o=this.props.attributes.url!==e.attributes.url;if(t&&!n||r||o){if(this.props.cannotEmbed)return;this.handleIncomingPreview()}}},{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:"getAttributesFromPreview",value:function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o={},a=t.type,c=void 0===a?"rich":a,i=t.html,l=t.provider_name,s=Object(G.kebabCase)(Object(G.toLower)(""!==l?l:e));return ze(i)&&(c="wp-embed"),(i||"photo"===c)&&(o.type=c,o.providerNameSlug=s),o.className=De(i,this.props.attributes.className,n&&r),o}},{key:"setAttributesFromPreview",value:function(){var e=this.props,t=e.setAttributes,n=e.preview,r=this.props.attributes.allowResponsive;t(this.getAttributesFromPreview(n,r))}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"getResponsiveHelp",value:function(e){return e?Object(K.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(K.__)("This embed may not preserve its aspect ratio when the browser is resized.")}},{key:"toggleResponsive",value:function(){var e=this.props.attributes,t=e.allowResponsive,r=e.className,o=this.props.preview.html,a=!t;this.props.setAttributes({allowResponsive:a,className:De(o,r,n&&a)})}},{key:"render",value:function(){var r=this,o=this.state,a=o.url,c=o.editingURL,i=this.props.attributes,l=i.caption,s=i.type,u=i.allowResponsive,b=this.props,m=b.fetching,d=b.setAttributes,h=b.isSelected,p=b.className,g=b.preview,O=b.cannotEmbed,f=b.themeSupportsResponsive;if(m)return Object(U.createElement)(ln,null);var j=Object(K.sprintf)(Object(K.__)("%s URL"),e);return!g||O||c?Object(U.createElement)(sn,{icon:t,label:j,onSubmit:this.setUrl,value:a,cannotEmbed:O,onChange:function(e){return r.setState({url:e.target.value})}}):Object(U.createElement)(U.Fragment,null,Object(U.createElement)(cn,{showEditButton:g&&!O,themeSupportsResponsive:f,blockSupportsResponsive:n,allowResponsive:u,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object(U.createElement)(hn,{preview:g,className:p,url:a,type:s,caption:l,onCaptionChange:function(e){return d({caption:e})},isSelected:h,icon:t,label:j}))}}]),o}(U.Component)}(t,r,m);return{title:t,description:d,icon:r,category:a,keywords:l,attributes:pn,supports:Object(V.a)({align:!0},u),transforms:c,edit:Object(re.compose)(Object(oe.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}}))(h),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Le()("wp-block-embed",(t={},Object(F.a)(t,"is-type-".concat(a),a),Object(F.a)(t,"is-provider-".concat(c),c),t));return Object(U.createElement)("figure",{className:i},Object(U.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(r,"\n")),!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))},deprecated:[{attributes:pn,save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Le()("wp-block-embed",(t={},Object(F.a)(t,"is-type-".concat(a),a),Object(F.a)(t,"is-provider-".concat(c),c),t));return Object(U.createElement)("figure",{className:i},"\n".concat(r,"\n"),!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))}}]}}var On="core/embed",fn=gn({title:Object(K._x)("Embed","block title"),description:Object(K.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:Oe,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(D.createBlock)("core/embed",{url:e.textContent.trim()})}}]}}),jn=Re.map(function(e){return Object(V.a)({},e,{settings:gn(e.settings)})}),vn=Be.map(function(e){return Object(V.a)({},e,{settings:gn(e.settings)})});function yn(e){return e?Object(K.__)("The download button is visible."):Object(K.__)("The download button is hidden.")}function kn(e){var t=e.hrefs,n=e.openInNewWindow,r=e.showDownloadButton,o=e.changeLinkDestinationOption,a=e.changeOpenInNewWindow,c=e.changeShowDownloadButton,i=t.href,l=t.textLinkHref,s=t.attachmentPage,u=[{value:i,label:Object(K.__)("URL")}];return s&&(u=[{value:i,label:Object(K.__)("Media File")},{value:s,label:Object(K.__)("Attachment Page")}]),Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Text Link Settings")},Object(U.createElement)(Q.SelectControl,{label:Object(K.__)("Link To"),value:l,options:u,onChange:o}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Open in New Tab"),checked:n,onChange:a})),Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Download Button Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Show Download Button"),help:yn,checked:r,onChange:c}))))}var wn=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(ne.a)(Object(ne.a)(e))),e.confirmCopyURL=e.confirmCopyURL.bind(Object(ne.a)(Object(ne.a)(e))),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(ne.a)(Object(ne.a)(e))),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(ne.a)(Object(ne.a)(e))),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(ne.a)(Object(ne.a)(e))),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(ne.a)(Object(ne.a)(e))),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=n.href;if(Object(de.isBlobURL)(o)){var a=Object(de.getBlobByURL)(o);Object($.mediaUpload)({filesList:[a],onFileChange:function(t){var n=Object(he.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),r.createErrorNotice(t)}}),Object(de.revokeBlobURL)(o)}}},{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:"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.props,t=e.className,n=e.isSelected,r=e.attributes,o=e.setAttributes,a=e.noticeUI,c=e.noticeOperations,i=e.media,l=r.fileName,s=r.href,u=r.textLinkHref,b=r.textLinkTarget,m=r.showDownloadButton,d=r.downloadButtonText,h=r.id,p=this.state,g=p.hasError,O=p.showCopyConfirmation,f=i&&i.link;if(!s||g)return Object(U.createElement)($.MediaPlaceholder,{icon:"media-default",labels:{title:Object(K.__)("File"),instructions:Object(K.__)("Drag a file, upload a new one or select a file from your library.")},onSelect:this.onSelectFile,notices:a,onError:c.createErrorNotice,accept:"*"});var j=q()(t,{"is-transient":Object(de.isBlobURL)(s)});return Object(U.createElement)(U.Fragment,null,Object(U.createElement)(kn,Object(Y.a)({hrefs:{href:s,textLinkHref:u,attachmentPage:f}},{openInNewWindow:!!b,showDownloadButton:m,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.MediaUploadCheck,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)($.MediaUpload,{onSelect:this.onSelectFile,value:h,render:function(e){var t=e.open;return Object(U.createElement)(Q.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit file"),onClick:t,icon:"edit"})}})))),Object(U.createElement)("div",{className:j},Object(U.createElement)("div",{className:"".concat(t,"__content-wrapper")},Object(U.createElement)($.RichText,{wrapperClassName:"".concat(t,"__textlink"),tagName:"div",value:l,placeholder:Object(K.__)("Write file name…"),keepPlaceholderOnFocus:!0,formattingControls:[],onChange:function(e){return o({fileName:e})}}),m&&Object(U.createElement)("div",{className:"".concat(t,"__button-richtext-wrapper")},Object(U.createElement)($.RichText,{tagName:"div",className:"".concat(t,"__button"),value:d,formattingControls:[],placeholder:Object(K.__)("Add text…"),keepPlaceholderOnFocus:!0,onChange:function(e){return o({downloadButtonText:e})}}))),n&&Object(U.createElement)(Q.ClipboardButton,{isDefault:!0,text:s,className:"".concat(t,"__copy-url-button"),onCopy:this.confirmCopyURL,onFinishCopy:this.resetCopyConfirmation},O?Object(K.__)("Copied!"):Object(K.__)("Copy URL"))))}}]),t}(U.Component),Cn=Object(re.compose)([Object(oe.withSelect)(function(e,t){var n=e("core").getMedia,r=t.attributes.id;return{media:void 0===r?void 0:n(r)}}),Q.withNotices])(wn),En="core/file",_n={title:Object(K.__)("File"),description:Object(K.__)("Add a link to a downloadable file."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.Path,{d:"M9 6l2 2h9v10H4V6h5m1-2H4L2 6v12l2 2h16l2-2V8l-2-2h-8l-2-2z"})),category:"common",keywords:[Object(K.__)("document"),Object(K.__)("pdf")],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]",default:Object(K._x)("Download","button label")}},supports:{align:!0},transforms:{from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.map(function(e){var n=Object(de.createBlobURL)(e);t.push(Object(D.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(D.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(D.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(D.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(oe.select)("core").getMedia)(t);return!!n&&Object(G.includes)(n.mime_type,"audio")},transform:function(e){return Object(D.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(oe.select)("core").getMedia)(t);return!!n&&Object(G.includes)(n.mime_type,"video")},transform:function(e){return Object(D.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(oe.select)("core").getMedia)(t);return!!n&&Object(G.includes)(n.mime_type,"image")},transform:function(e){return Object(D.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},edit:Cn,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(U.createElement)("div",null,!$.RichText.isEmpty(r)&&Object(U.createElement)("a",{href:o,target:a,rel:!!a&&"noreferrer noopener"},Object(U.createElement)($.RichText.Content,{value:r})),c&&Object(U.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(U.createElement)($.RichText.Content,{value:i})))}},xn="core/html",Sn={title:Object(K.__)("Custom HTML"),description:Object(K.__)("Add custom HTML code and preview it as you edit."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.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"})),category:"formatting",keywords:[Object(K.__)("embed")],supports:{customClassName:!1,className:!1,html:!1},attributes:{content:{type:"string",source:"html"}},transforms:{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(D.getPhrasingContentSchema)()}}}}}]},edit:Object(re.withState)({isPreview:!1})(function(e){var t=e.attributes,n=e.setAttributes,r=e.setState,o=e.isPreview;return Object(U.createElement)("div",{className:"wp-block-html"},Object(U.createElement)($.BlockControls,null,Object(U.createElement)("div",{className:"components-toolbar"},Object(U.createElement)("button",{className:"components-tab-button ".concat(o?"":"is-active"),onClick:function(){return r({isPreview:!1})}},Object(U.createElement)("span",null,"HTML")),Object(U.createElement)("button",{className:"components-tab-button ".concat(o?"is-active":""),onClick:function(){return r({isPreview:!0})}},Object(U.createElement)("span",null,Object(K.__)("Preview"))))),Object(U.createElement)(Q.Disabled.Consumer,null,function(e){return o||e?Object(U.createElement)(Q.SandBox,{html:t.content}):Object(U.createElement)($.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(K.__)("Write HTML…"),"aria-label":Object(K.__)("HTML")})}))}),save:function(e){var t=e.attributes;return Object(U.createElement)(U.RawHTML,null,t.content)}},Tn=["image","video"],Nn=function(e){function t(){return Object(Z.a)(this,t),Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))}return Object(te.a)(t,e),Object(J.a)(t,[{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return Object(U.createElement)($.BlockControls,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)($.MediaUpload,{onSelect:n,allowedTypes:Tn,value:t,render:function(e){var t=e.open;return Object(U.createElement)(Q.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit Media"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.className;return Object(U.createElement)(U.Fragment,null,this.renderToolbarEditButton(),Object(U.createElement)("figure",{className:r},Object(U.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object(U.createElement)(U.Fragment,null,this.renderToolbarEditButton(),Object(U.createElement)("figure",{className:n},Object(U.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className;return Object(U.createElement)($.MediaPlaceholder,{icon:"format-image",labels:{title:Object(K.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:Tn})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,n=e.mediaUrl,r=e.mediaType,o=e.mediaWidth,a=e.commitWidthChange,c=e.onWidthChange;if(r&&n){var i={right:"left"===t,left:"right"===t},l=null;switch(r){case"image":l=this.renderImage();break;case"video":l=this.renderVideo()}return Object(U.createElement)(Q.ResizableBox,{className:"editor-media-container__resizer",size:{width:o+"%"},minWidth:"10%",maxWidth:"100%",enable:i,onResize:function(e,t,n){c(parseInt(n.style.width))},onResizeStop:function(e,t,n){a(parseInt(n.style.width))},axis:"x"},l)}return this.renderPlaceholder()}}]),t}(U.Component),Rn=["core/button","core/paragraph","core/heading","core/list"],Bn=[["core/paragraph",{fontSize:"large",placeholder:"Content…"}]],An=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(ne.a)(Object(ne.a)(e))),e.onWidthChange=e.onWidthChange.bind(Object(ne.a)(Object(ne.a)(e))),e.commitWidthChange=e.commitWidthChange.bind(Object(ne.a)(Object(ne.a)(e))),e.state={mediaWidth:null},e}return Object(te.a)(t,e),Object(J.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(G.get)(e,["sizes","large","url"])||Object(G.get)(e,["media_details","sizes","large","source_url"])),r({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:n||e.url})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:e})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:e}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props.attributes,t=e.mediaAlt,n=e.mediaId,r=e.mediaPosition,o=e.mediaType,a=e.mediaUrl,c=e.mediaWidth;return Object(U.createElement)(Nn,Object(Y.a)({className:"block-library-media-text__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:t,mediaId:n,mediaType:o,mediaUrl:a,mediaPosition:r,mediaWidth:c}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.className,o=t.backgroundColor,a=t.isSelected,c=t.setAttributes,i=t.setBackgroundColor,l=n.isStackedOnMobile,s=n.mediaAlt,u=n.mediaPosition,b=n.mediaType,m=n.mediaWidth,d=this.state.mediaWidth,h=q()(r,(e={"has-media-on-the-right":"right"===u,"is-selected":a},Object(F.a)(e,o.class,o.class),Object(F.a)(e,"is-stacked-on-mobile",l),e)),p="".concat(d||m,"%"),g={gridTemplateColumns:"right"===u?"auto ".concat(p):"".concat(p," auto"),backgroundColor:o.color},O=[{value:o.color,onChange:i,label:Object(K.__)("Background Color")}],f=[{icon:"align-pull-left",title:Object(K.__)("Show media on left"),isActive:"left"===u,onClick:function(){return c({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(K.__)("Show media on right"),isActive:"right"===u,onClick:function(){return c({mediaPosition:"right"})}}],j=Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Media & Text Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Stack on mobile"),checked:l,onChange:function(){return c({isStackedOnMobile:!l})}}),"image"===b&&Object(U.createElement)(Q.TextareaControl,{label:Object(K.__)("Alt Text (Alternative Text)"),value:s,onChange:function(e){c({mediaAlt:e})},help:Object(K.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}));return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.InspectorControls,null,j,Object(U.createElement)($.PanelColorSettings,{title:Object(K.__)("Color Settings"),initialOpen:!1,colorSettings:O})),Object(U.createElement)($.BlockControls,null,Object(U.createElement)(Q.Toolbar,{controls:f})),Object(U.createElement)("div",{className:h,style:g},this.renderMediaArea(),Object(U.createElement)($.InnerBlocks,{allowedBlocks:Rn,template:Bn,templateInsertUpdatesSelection:!1})))}}]),t}(U.Component),In=Object($.withColors)("backgroundColor")(An),Pn="core/media-text",Ln={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}},Mn={title:Object(K.__)("Media & Text"),description:Object(K.__)("Set media and words side-by-side for a richer layout."),icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"})),category:"layout",keywords:[Object(K.__)("image"),Object(K.__)("video")],attributes:Ln,supports:{align:["wide","full"]},transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object(D.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(D.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(D.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(D.createBlock)("core/video",{id:t,src:n})}}]},edit:In,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m=r.mediaId,d={image:function(){return Object(U.createElement)("img",{src:u,alt:i,className:m&&"image"===s?"wp-image-".concat(m):null})},video:function(){return Object(U.createElement)("video",{controls:!0,src:u})}},h=Object($.getColorClassName)("background-color",o),p=q()((t={"has-media-on-the-right":"right"===l},Object(F.a)(t,h,h),Object(F.a)(t,"is-stacked-on-mobile",c),t));50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var g={backgroundColor:h?void 0:a,gridTemplateColumns:n};return Object(U.createElement)("div",{className:p,style:g},Object(U.createElement)("figure",{className:"wp-block-media-text__media"},(d[s]||G.noop)()),Object(U.createElement)("div",{className:"wp-block-media-text__content"},Object(U.createElement)($.InnerBlocks.Content,null)))},deprecated:[{attributes:Ln,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m={image:function(){return Object(U.createElement)("img",{src:u,alt:i})},video:function(){return Object(U.createElement)("video",{controls:!0,src:u})}},d=Object($.getColorClassName)("background-color",o),h=q()((t={"has-media-on-the-right":"right"===l},Object(F.a)(t,d,d),Object(F.a)(t,"is-stacked-on-mobile",c),t));50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var p={backgroundColor:d?void 0:a,gridTemplateColumns:n};return Object(U.createElement)("div",{className:h,style:p},Object(U.createElement)("figure",{className:"wp-block-media-text__media"},(m[s]||G.noop)()),Object(U.createElement)("div",{className:"wp-block-media-text__content"},Object(U.createElement)($.InnerBlocks.Content,null)))}}]},zn=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).setAlignment=e.setAlignment.bind(Object(ne.a)(Object(ne.a)(e))),e.setCommentsToShow=e.setCommentsToShow.bind(Object(ne.a)(Object(ne.a)(e))),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(F.a)({},e,!n))}}},{key:"setAlignment",value:function(e){this.props.setAttributes({align:e})}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.commentsToShow,r=e.displayAvatar,o=e.displayDate,a=e.displayExcerpt;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:t,onChange:this.setAlignment})),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Latest Comments Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Display Avatar"),checked:r,onChange:this.toggleDisplayAvatar}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Display Date"),checked:o,onChange:this.toggleDisplayDate}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Display Excerpt"),checked:a,onChange:this.toggleDisplayExcerpt}),Object(U.createElement)(Q.RangeControl,{label:Object(K.__)("Number of Comments"),value:n,onChange:this.setCommentsToShow,min:1,max:100}))),Object(U.createElement)(Q.Disabled,null,Object(U.createElement)($.ServerSideRender,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(U.Component),Hn="core/latest-comments",Dn={title:Object(K.__)("Latest Comments"),description:Object(K.__)("Display a list of your most recent comments."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M22 4l-2-2H4L2 4v12l2 2h14l4 4V4zm-2 0v13l-1-1H4V4h16z"}),Object(U.createElement)(Q.Path,{d:"M6 12h12v2H6zM6 9h12v2H6zM6 6h12v2H6z"}))),category:"widgets",keywords:[Object(K.__)("recent comments")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right","wide","full"].includes(t))return{"data-align":t}},edit:zn,save:function(){return null}},Fn=n(30),Vn=n.n(Fn),Un=n(46),Wn=n(49),qn={per_page:-1},Gn=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).state={categoriesList:[]},e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentWillMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=Vn()({path:Object(pe.addQueryArgs)("/wp/v2/categories",qn)}).then(function(t){e.isStillMounted&&e.setState({categoriesList:t})}).catch(function(){e.isStillMounted&&e.setState({categoriesList:[]})})}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.latestPosts,a=this.state.categoriesList,c=n.displayPostDate,i=n.align,l=n.postLayout,s=n.columns,u=n.order,b=n.orderBy,m=n.categories,d=n.postsToShow,h=Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Latest Posts Settings")},Object(U.createElement)(Q.QueryControls,Object(Y.a)({order:u,orderBy:b},{numberOfItems:d,categoriesList:a,selectedCategoryId:m,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onCategoryChange:function(e){return r({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return r({postsToShow:e})}})),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Display post date"),checked:c,onChange:this.toggleDisplayPostDate}),"grid"===l&&Object(U.createElement)(Q.RangeControl,{label:Object(K.__)("Columns"),value:s,onChange:function(e){return r({columns:e})},min:2,max:p?Math.min(6,o.length):6}))),p=Array.isArray(o)&&o.length;if(!p)return Object(U.createElement)(U.Fragment,null,h,Object(U.createElement)(Q.Placeholder,{icon:"admin-post",label:Object(K.__)("Latest Posts")},Array.isArray(o)?Object(K.__)("No posts found."):Object(U.createElement)(Q.Spinner,null)));var g=o.length>d?o.slice(0,d):o,O=[{icon:"list-view",title:Object(K.__)("List View"),onClick:function(){return r({postLayout:"list"})},isActive:"list"===l},{icon:"grid-view",title:Object(K.__)("Grid View"),onClick:function(){return r({postLayout:"grid"})},isActive:"grid"===l}],f=Object(Un.__experimentalGetSettings)().formats.date;return Object(U.createElement)(U.Fragment,null,h,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:i,onChange:function(e){r({align:e})},controls:["center","wide","full"]}),Object(U.createElement)(Q.Toolbar,{controls:O})),Object(U.createElement)("ul",{className:q()(this.props.className,Object(F.a)({"is-grid":"grid"===l,"has-dates":c},"columns-".concat(s),"grid"===l))},g.map(function(t,n){return Object(U.createElement)("li",{key:n},Object(U.createElement)("a",{href:t.link,target:"_blank"},Object(Wn.decodeEntities)(t.title.rendered.trim())||Object(K.__)("(Untitled)")),c&&t.date_gmt&&Object(U.createElement)("time",{dateTime:Object(Un.format)("c",t.date_gmt),className:"".concat(e.props.className,"__post-date")},Object(Un.dateI18n)(f,t.date_gmt)))})))}}]),t}(U.Component),Kn=Object(oe.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(G.pickBy)({categories:c,order:o,orderby:a,per_page:r},function(e){return!Object(G.isUndefined)(e)}))}})(Gn),$n="core/latest-posts",Qn={title:Object(K.__)("Latest Posts"),description:Object(K.__)("Display a list of your most recent posts."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(U.createElement)(Q.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(U.createElement)(Q.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(U.createElement)(Q.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(U.createElement)(Q.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"})),category:"widgets",keywords:[Object(K.__)("recent posts")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:Kn,save:function(){return null}},Yn=Object(V.a)({},Object(D.getPhrasingContentSchema)(),{ul:{},ol:{attributes:["type"]}});["ul","ol"].forEach(function(e){Yn[e].children={li:{children:Yn}}});var Zn={className:!1},Jn={ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",default:""}},Xn="core/list",er={title:Object(K.__)("List"),description:Object(K.__)("Create a bulleted or numbered list."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.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"}))),category:"common",keywords:[Object(K.__)("bullet list"),Object(K.__)("ordered list"),Object(K.__)("numbered list")],attributes:Jn,supports:Zn,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(D.createBlock)("core/list",{values:Object(it.toHTMLString)({value:Object(it.join)(e.map(function(e){var t=e.content;return Object(it.replace)(Object(it.create)({html:t}),/\n/g,it.LINE_SEPARATOR)}),it.LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(D.createBlock)("core/list",{values:Object(it.toHTMLString)({value:Object(it.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:{ol:Yn.ol,ul:Yn.ul},transform:function(e){return Object(D.createBlock)("core/list",Object(V.a)({},Object(D.getBlockAttributes)("core/list",e.outerHTML),{ordered:"OL"===e.nodeName}))}}].concat(Object(H.a)(["*","-"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(D.createBlock)("core/list",{values:"".concat(e,"")})}}})),Object(H.a)(["1.","1)"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(D.createBlock)("core/list",{ordered:!0,values:"".concat(e,"")})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(it.split)(Object(it.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),it.LINE_SEPARATOR).map(function(e){return Object(D.createBlock)("core/paragraph",{content:Object(it.toHTMLString)({value:e})})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(D.createBlock)("core/quote",{value:Object(it.toHTMLString)({value:Object(it.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]},deprecated:[{supports:Zn,attributes:Object(V.a)({},Object(G.omit)(Jn,["ordered"]),{nodeName:{type:"string",source:"property",selector:"ol,ul",property:"nodeName",default:"UL"}}),migrate:function(e){var t=e.nodeName,n=Object(Xe.a)(e,["nodeName"]);return Object(V.a)({},n,{ordered:"OL"===t})},save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(U.createElement)($.RichText.Content,{tagName:n.toLowerCase(),value:r})}}],merge:function(e,t){var n=t.values;return n&&""!==n?Object(V.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.insertBlocksAfter,r=e.setAttributes,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=t.ordered,l=t.values;return Object(U.createElement)($.RichText,{identifier:"values",multiline:"li",tagName:i?"ol":"ul",onChange:function(e){return r({values:e})},value:l,wrapperClassName:"block-library-list",className:c,placeholder:Object(K.__)("Write list…"),onMerge:o,unstableOnSplit:n?function(e,t){for(var o=arguments.length,a=new Array(o>2?o-2:0),c=2;c"!==t&&a.push(Object(D.createBlock)("core/list",{ordered:i,values:t})),r({values:e}),n(a)}:void 0,onRemove:function(){return a([])},onTagNameChange:function(e){return r({ordered:"ol"===e})}})},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=n?"ol":"ul";return Object(U.createElement)($.RichText.Content,{tagName:o,value:r,multiline:"li"})}};var tr=Object(oe.withDispatch)(function(e,t){var n=t.clientId,r=t.attributes,o=e("core/editor").replaceBlock;return{convertToHTML:function(){o(n,Object(D.createBlock)("core/html",{content:r.originalUndelimitedContent}))}}})(function(e){var t,n=e.attributes,r=e.convertToHTML,o=n.originalName,a=n.originalUndelimitedContent,c=!!a,i=Object(D.getBlockType)("core/html"),l=[];return c&&i?(t=Object(K.sprintf)(Object(K.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'),o),l.push(Object(U.createElement)(Q.Button,{key:"convert",onClick:r,isLarge:!0,isPrimary:!0},Object(K.__)("Keep as HTML")))):t=Object(K.sprintf)(Object(K.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),o),Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.Warning,{actions:l},t),Object(U.createElement)(U.RawHTML,null,a))}),nr="core/missing",rr={name:nr,category:"common",title:Object(K.__)("Unrecognized Block"),description:Object(K.__)("Your site doesn’t include support for this block."),supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1},attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}},edit:tr,save:function(e){var t=e.attributes;return Object(U.createElement)(U.RawHTML,null,t.originalContent)}},or=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(ne.a)(Object(ne.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(ne.a)(Object(ne.a)(e))),e.state={defaultText:Object(K.__)("Read more")},e}return Object(te.a)(t,e),Object(J.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===bt.ENTER&&n([Object(D.createBlock)(Object(D.getDefaultBlockName)())])}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,r=this.props.setAttributes,o=this.state.defaultText,a=void 0!==t?t:o,c=a.length+1;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,null,Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)('Hide the teaser before the "More" tag'),checked:!!n,onChange:function(){return r({noTeaser:!n})}}))),Object(U.createElement)("div",{className:"wp-block-more"},Object(U.createElement)("input",{type:"text",value:a,size:c,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}(U.Component),ar="core/more",cr={title:Object(K._x)("More","block name"),description:Object(K.__)("Mark the excerpt of this content. Content before this block will be shown in the excerpt on your archives page."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"}))),category:"layout",supports:{customClassName:!1,className:!1,html:!1,multiple:!1},attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},transforms:{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(D.createBlock)("core/more",o)}}]},edit:or,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(G.compact)([o,a]).join("\n"))}};var ir="core/nextpage",lr={title:Object(K.__)("Page Break"),description:Object(K.__)("Separate your content into a multi-page experience."),icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M9 12h6v-2H9zm-7 0h5v-2H2zm15 0h5v-2h-5zm3 2v2l-6 6H6a2 2 0 0 1-2-2v-6h2v6h6v-4a2 2 0 0 1 2-2h6zM4 8V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4h-2V4H6v4z"}))),category:"layout",keywords:[Object(K.__)("next page"),Object(K.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},attributes:{},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(D.createBlock)("core/nextpage",{})}}]},edit:function(){return Object(U.createElement)("div",{className:"wp-block-nextpage"},Object(U.createElement)("span",null,Object(K.__)("Page break")))},save:function(){return Object(U.createElement)(U.RawHTML,null,"\x3c!--nextpage--\x3e")}},sr="core/preformatted",ur={title:Object(K.__)("Preformatted"),description:Object(K.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.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(U.createElement)(Q.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object(U.createElement)(Q.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"10",y:"10",width:"8",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""}},transforms:{from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(D.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(D.getPhrasingContentSchema)()}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(D.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.mergeBlocks,r=e.setAttributes,o=e.className,a=t.content;return Object(U.createElement)($.RichText,{tagName:"pre",value:a,onChange:function(e){r({content:e})},placeholder:Object(K.__)("Write preformatted text…"),wrapperClassName:o,onMerge:n})},save:function(e){var t=e.attributes.content;return Object(U.createElement)($.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}},br="is-style-".concat("solid-color"),mr=function(e){function t(e){var n;return Object(Z.a)(this,t),(n=Object(X.a)(this,Object(ee.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(ne.a)(Object(ne.a)(n))),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(ne.a)(Object(ne.a)(n))),n}return Object(te.a)(t,e),Object(J.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,o=t.setTextColor,a=t.setMainColor,c=t.className,i=Object(G.includes)(c,br),l=!r.color||this.wasTextColorAutomaticallyComputed,s=i&&l&&e;a(e),s&&(this.wasTextColorAutomaticallyComputed=!0,o(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,r=e.textColor,o=e.setAttributes,a=e.isSelected,c=e.className,i=t.value,l=t.citation,s=Object(G.includes)(c,br),u=s?{backgroundColor:n.color}:{borderColor:n.color},b={color:r.color},m=r.color?q()("has-text-color",Object(F.a)({},r.class,r.class)):void 0;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)("figure",{style:u,className:q()(c,Object(F.a)({},n.class,s&&n.class))},Object(U.createElement)("blockquote",{style:b,className:m},Object(U.createElement)($.RichText,{multiline:!0,value:i,onChange:function(e){return o({value:e})},placeholder:Object(K.__)("Write quote…"),wrapperClassName:"block-library-pullquote__content"}),(!$.RichText.isEmpty(l)||a)&&Object(U.createElement)($.RichText,{value:l,placeholder:Object(K.__)("Write citation…"),onChange:function(e){return o({citation:e})},className:"wp-block-pullquote__citation"}))),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)($.PanelColorSettings,{title:Object(K.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(K.__)("Main Color")},{value:r.color,onChange:this.pullQuoteTextColorSetter,label:Object(K.__)("Text Color")}]},s&&Object(U.createElement)($.ContrastChecker,Object(Y.a)({textColor:r.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}(U.Component),dr=Object($.withColors)({mainColor:"background-color",textColor:"color"})(mr),hr={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"}},pr="core/pullquote",gr={title:Object(K.__)("Pullquote"),description:Object(K.__)("Give special visual emphasis to a quote from your text."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object(U.createElement)(Q.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(U.createElement)(Q.Polygon,{points:"21 4 2 4 2 6 21 6"})),category:"formatting",attributes:hr,styles:[{name:"default",label:Object(K._x)("Regular","block style"),isDefault:!0},{name:"solid-color",label:Object(K.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:dr,save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className;if(Object(G.includes)(u,br))(t=Object($.getColorClassName)("background-color",o))||(n={backgroundColor:a});else if(a)n={borderColor:a};else if(o){var b=Object(G.get)(Object(oe.select)("core/editor").getEditorSettings(),["colors"],[]);n={borderColor:Object($.getColorObjectByAttributeValues)(b,o).color}}var m=Object($.getColorClassName)("color",c),d=c||i?q()("has-text-color",Object(F.a)({},m,m)):void 0,h=m?void 0:{color:i};return Object(U.createElement)("figure",{className:t,style:n},Object(U.createElement)("blockquote",{className:d,style:h},Object(U.createElement)($.RichText.Content,{value:l,multiline:!0}),!$.RichText.isEmpty(s)&&Object(U.createElement)($.RichText.Content,{tagName:"cite",value:s})))},deprecated:[{attributes:Object(V.a)({},hr),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object(U.createElement)("blockquote",null,Object(U.createElement)($.RichText.Content,{value:n,multiline:!0}),!$.RichText.isEmpty(r)&&Object(U.createElement)($.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(V.a)({},hr,{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(U.createElement)("blockquote",{className:"align".concat(o)},Object(U.createElement)($.RichText.Content,{value:n,multiline:!0}),!$.RichText.isEmpty(r)&&Object(U.createElement)($.RichText.Content,{tagName:"footer",value:r}))}}]},Or=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).titleField=Object(U.createRef)(),e.editButton=Object(U.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(ne.a)(Object(ne.a)(e))),e.handleTitleChange=e.handleTitleChange.bind(Object(ne.a)(Object(ne.a)(e))),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.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===bt.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,r=e.isSaving,o=e.onEdit,a=e.instanceId;return Object(U.createElement)(U.Fragment,null,!t&&!r&&Object(U.createElement)("div",{className:"reusable-block-edit-panel"},Object(U.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object(U.createElement)(Q.Button,{ref:this.editButton,isLarge:!0,className:"reusable-block-edit-panel__button",onClick:o},Object(K.__)("Edit"))),(t||r)&&Object(U.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(U.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(a),className:"reusable-block-edit-panel__label"},Object(K.__)("Name:")),Object(U.createElement)("input",{ref:this.titleField,type:"text",disabled:r,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(a)}),Object(U.createElement)(Q.Button,{type:"submit",isLarge:!0,isBusy:r,disabled:!n||r,className:"reusable-block-edit-panel__button"},Object(K.__)("Save"))))}}]),t}(U.Component),fr=Object(re.withInstanceId)(Or);var jr=function(e){var t=e.title,n=Object(K.sprintf)(Object(K.__)("Reusable Block: %s"),t);return Object(U.createElement)(Q.Tooltip,{text:n},Object(U.createElement)("span",{className:"reusable-block-indicator"},Object(U.createElement)(Q.Dashicon,{icon:"controls-repeat"})))},vr=function(e){function t(e){var n,r=e.reusableBlock;return Object(Z.a)(this,t),(n=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(ne.a)(Object(ne.a)(n))),n.stopEditing=n.stopEditing.bind(Object(ne.a)(Object(ne.a)(n))),n.setAttributes=n.setAttributes.bind(Object(ne.a)(Object(ne.a)(n))),n.setTitle=n.setTitle.bind(Object(ne.a)(Object(ne.a)(n))),n.save=n.save.bind(Object(ne.a)(Object(ne.a)(n))),r&&r.isTemporary?n.state={isEditing:!0,title:r.title,changedAttributes:{}}:n.state={isEditing:!1,title:null,changedAttributes:null},n}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,changedAttributes:{}})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,changedAttributes:null})}},{key:"setAttributes",value:function(e){this.setState(function(t){if(null!==t.changedAttributes)return{changedAttributes:Object(V.a)({},t.changedAttributes,e)}})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.reusableBlock,n=e.onUpdateTitle,r=e.updateAttributes,o=e.block,a=e.onSave,c=this.state,i=c.title,l=c.changedAttributes;i!==t.title&&n(i),r(o.clientId,l),a(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.reusableBlock,r=e.block,o=e.isFetching,a=e.isSaving,c=this.state,i=c.isEditing,l=c.title,s=c.changedAttributes;if(!n&&o)return Object(U.createElement)(Q.Placeholder,null,Object(U.createElement)(Q.Spinner,null));if(!n||!r)return Object(U.createElement)(Q.Placeholder,null,Object(K.__)("Block has been deleted or is unavailable."));var u=Object(U.createElement)($.BlockEdit,Object(Y.a)({},this.props,{isSelected:i&&t,clientId:r.clientId,name:r.name,attributes:Object(V.a)({},r.attributes,s),setAttributes:i?this.setAttributes:G.noop}));return i||(u=Object(U.createElement)(Q.Disabled,null,u)),Object(U.createElement)(U.Fragment,null,(t||i)&&Object(U.createElement)(fr,{isEditing:i,title:null!==l?l:n.title,isSaving:a&&!n.isTemporary,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),!t&&!i&&Object(U.createElement)(jr,{title:n.title}),u)}}]),t}(U.Component),yr=Object(re.compose)([Object(oe.withSelect)(function(e,t){var n=e("core/editor"),r=n.__experimentalGetReusableBlock,o=n.__experimentalIsFetchingReusableBlock,a=n.__experimentalIsSavingReusableBlock,c=n.getBlock,i=t.attributes.ref,l=r(i);return{reusableBlock:l,isFetching:o(i),isSaving:a(i),block:l?c(l.clientId):null}}),Object(oe.withDispatch)(function(e,t){var n=e("core/editor"),r=n.__experimentalFetchReusableBlocks,o=n.updateBlockAttributes,a=n.__experimentalUpdateReusableBlockTitle,c=n.__experimentalSaveReusableBlock,i=t.attributes.ref;return{fetchReusableBlock:Object(G.partial)(r,i),updateAttributes:o,onUpdateTitle:Object(G.partial)(a,i),onSave:Object(G.partial)(c,i)}})])(vr),kr="core/block",wr={title:Object(K.__)("Reusable Block"),category:"reusable",description:Object(K.__)("Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used."),attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},edit:yr,save:function(){return null}},Cr="core/separator",Er={title:Object(K.__)("Separator"),description:Object(K.__)("Create a break between ideas or sections with a horizontal separator."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.Path,{d:"M19 13H5v-2h14v2z"})),category:"layout",keywords:[Object(K.__)("horizontal-line"),"hr",Object(K.__)("divider")],styles:[{name:"default",label:Object(K.__)("Short Line"),isDefault:!0},{name:"wide",label:Object(K.__)("Wide Line")},{name:"dots",label:Object(K.__)("Dots")}],transforms:{from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(D.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},edit:function(e){var t=e.className;return Object(U.createElement)("hr",{className:t})},save:function(){return Object(U.createElement)("hr",null)}},_r=n(57),xr="core/shortcode",Sr={title:Object(K.__)("Shortcode"),description:Object(K.__)("Insert additional custom elements with a WordPress shortcode."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.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"})),category:"widgets",attributes:{text:{type:"string",source:"text"}},transforms:{from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(_r.removep)(Object(_r.autop)(n))}}},priority:20}]},supports:{customClassName:!1,className:!1,html:!1},edit:Object(re.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,r=e.instanceId,o="blocks-shortcode-input-".concat(r);return Object(U.createElement)("div",{className:"wp-block-shortcode"},Object(U.createElement)("label",{htmlFor:o},Object(U.createElement)(Q.Dashicon,{icon:"shortcode"}),Object(K.__)("Shortcode")),Object(U.createElement)($.PlainText,{className:"input-control",id:o,value:t.text,placeholder:Object(K.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))}),save:function(e){var t=e.attributes;return Object(U.createElement)(U.RawHTML,null,t.text)}},Tr="core/spacer",Nr={title:Object(K.__)("Spacer"),description:Object(K.__)("Add white space between blocks and customize its height."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"}))),category:"layout",attributes:{height:{type:"number",default:100}},edit:Object(re.withInstanceId)(function(e){var t=e.attributes,n=e.isSelected,r=e.setAttributes,o=e.toggleSelection,a=e.instanceId,c=t.height,i="block-spacer-height-input-".concat(a);return Object(U.createElement)(U.Fragment,null,Object(U.createElement)(Q.ResizableBox,{className:q()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:c},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:function(e,t,n,a){r({height:parseInt(c+a.height,10)}),o(!0)},onResizeStart:function(){o(!1)}}),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Spacer Settings")},Object(U.createElement)(Q.BaseControl,{label:Object(K.__)("Height in pixels"),id:i},Object(U.createElement)("input",{type:"number",id:i,onChange:function(e){r({height:parseInt(e.target.value,10)})},value:c,min:"20",step:"10"})))))}),save:function(e){var t=e.attributes;return Object(U.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}},Rr=n(65),Br=n.n(Rr),Ar="core/subhead",Ir={title:Object(K.__)("Subheading (deprecated)"),description:Object(K.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),category:"common",supports:{inserter:!1,multiple:!1},attributes:{content:{type:"string",source:"html",selector:"p"},align:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(D.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.align,a=t.content,c=t.placeholder;return Br()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.AlignmentToolbar,{value:o,onChange:function(e){n({align:e})}})),Object(U.createElement)($.RichText,{tagName:"p",value:a,onChange:function(e){n({content:e})},style:{textAlign:o},className:r,placeholder:c||Object(K.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,r=t.content;return Object(U.createElement)($.RichText.Content,{tagName:"p",style:{textAlign:n},value:r})}};var Pr=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onCreateTable=e.onCreateTable.bind(Object(ne.a)(Object(ne.a)(e))),e.onChangeFixedLayout=e.onChangeFixedLayout.bind(Object(ne.a)(Object(ne.a)(e))),e.onChange=e.onChange.bind(Object(ne.a)(Object(ne.a)(e))),e.onChangeInitialColumnCount=e.onChangeInitialColumnCount.bind(Object(ne.a)(Object(ne.a)(e))),e.onChangeInitialRowCount=e.onChangeInitialRowCount.bind(Object(ne.a)(Object(ne.a)(e))),e.renderSection=e.renderSection.bind(Object(ne.a)(Object(ne.a)(e))),e.getTableControls=e.getTableControls.bind(Object(ne.a)(Object(ne.a)(e))),e.onInsertRow=e.onInsertRow.bind(Object(ne.a)(Object(ne.a)(e))),e.onInsertRowBefore=e.onInsertRowBefore.bind(Object(ne.a)(Object(ne.a)(e))),e.onInsertRowAfter=e.onInsertRowAfter.bind(Object(ne.a)(Object(ne.a)(e))),e.onDeleteRow=e.onDeleteRow.bind(Object(ne.a)(Object(ne.a)(e))),e.onInsertColumn=e.onInsertColumn.bind(Object(ne.a)(Object(ne.a)(e))),e.onInsertColumnBefore=e.onInsertColumnBefore.bind(Object(ne.a)(Object(ne.a)(e))),e.onInsertColumnAfter=e.onInsertColumnAfter.bind(Object(ne.a)(Object(ne.a)(e))),e.onDeleteColumn=e.onDeleteColumn.bind(Object(ne.a)(Object(ne.a)(e))),e.state={initialRowCount:2,initialColumnCount:2,selectedCell:null},e}return Object(te.a)(t,e),Object(J.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=this.props.setAttributes,n=this.state,r=n.initialRowCount,o=n.initialColumnCount;t(function(e){var t=e.rowCount,n=e.columnCount;return{body:Object(G.times)(t,function(){return{cells:Object(G.times)(n,function(){return{content:"",tag:"td"}})}})}}({rowCount:r=parseInt(r,10)||2,columnCount:o=parseInt(o,10)||2}))}},{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)(function(e,t){var n=t.section,r=t.rowIndex,o=t.columnIndex,a=t.content;return Object(F.a)({},n,e[n].map(function(e,t){return t!==r?e:{cells:e.cells.map(function(e,t){return t!==o?e:Object(V.a)({},e,{content:a})})}}))}(r,{section:t.section,rowIndex:t.rowIndex,columnIndex:t.columnIndex,content:e}))}}},{key:"onInsertRow",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.rowIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.rowIndex,o=e[n][0].cells.length;return Object(F.a)({},n,Object(H.a)(e[n].slice(0,r)).concat([{cells:Object(G.times)(o,function(){return{content:"",tag:"td"}})}],Object(H.a)(e[n].slice(r))))}(r,{section: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.section,a=e.rowIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.rowIndex;return Object(F.a)({},n,e[n].filter(function(e,t){return t!==r}))}(n,{section: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.section,c=t.columnIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.columnIndex;return Object(F.a)({},n,e[n].map(function(e){return{cells:Object(H.a)(e.cells.slice(0,r)).concat([{content:"",tag:"td"}],Object(H.a)(e.cells.slice(r)))}}))}(r,{section:a,columnIndex:c+e}))}}},{key:"onInsertColumnBefore",value:function(){this.onInsertColumn(0)}},{key:"onInsertColumnAfter",value:function(){this.onInsertColumn(1)}},{key:"onDeleteColumn",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.columnIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.columnIndex;return Object(F.a)({},n,e[n].map(function(e){return{cells:e.cells.filter(function(e,t){return t!==r})}}).filter(function(e){return e.cells.length}))}(n,{section:o,columnIndex:a}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:e})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(K.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(K.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(K.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(K.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(K.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(K.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.type,r=e.rows;if(!r.length)return null;var o="t".concat(n),a=this.state.selectedCell;return Object(U.createElement)(o,null,r.map(function(e,r){var o=e.cells;return Object(U.createElement)("tr",{key:r},o.map(function(e,o){var c=e.content,i=e.tag,l=a&&n===a.section&&r===a.rowIndex&&o===a.columnIndex,s={section:n,rowIndex:r,columnIndex:o},u=q()({"is-selected":l});return Object(U.createElement)(i,{key:o,className:u},Object(U.createElement)($.RichText,{className:"wp-block-table__cell-content",value:c,onChange:t.onChange,unstableOnFocus:t.createOnFocus(s)}))}))}))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=this.state,o=r.initialRowCount,a=r.initialColumnCount,c=t.hasFixedLayout,i=t.head,l=t.body,s=t.foot,u=!i.length&&!l.length&&!s.length,b=this.renderSection;if(u)return Object(U.createElement)("form",{onSubmit:this.onCreateTable},Object(U.createElement)(Q.TextControl,{type:"number",label:Object(K.__)("Column Count"),value:a,onChange:this.onChangeInitialColumnCount,min:"1"}),Object(U.createElement)(Q.TextControl,{type:"number",label:Object(K.__)("Row Count"),value:o,onChange:this.onChangeInitialRowCount,min:"1"}),Object(U.createElement)(Q.Button,{isPrimary:!0,type:"submit"},Object(K.__)("Create")));var m=q()(n,{"has-fixed-layout":c});return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)(Q.DropdownMenu,{icon:"editor-table",label:Object(K.__)("Edit Table"),controls:this.getTableControls()}))),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Table Settings"),className:"blocks-table-settings"},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Fixed width table cells"),checked:!!c,onChange:this.onChangeFixedLayout}))),Object(U.createElement)("table",{className:m},Object(U.createElement)(b,{type:"head",rows:i}),Object(U.createElement)(b,{type:"body",rows:l}),Object(U.createElement)(b,{type:"foot",rows:s})))}}]),t}(U.Component),Lr={tr:{children:{th:{children:Object(D.getPhrasingContentSchema)()},td:{children:Object(D.getPhrasingContentSchema)()}}}},Mr={table:{children:{thead:{children:Lr},tfoot:{children:Lr},tbody:{children:Lr}}}};function zr(e){return{type:"array",default:[],source:"query",selector:"t".concat(e," tr"),query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"}}}}}}var Hr="core/table",Dr={title:Object(K.__)("Table"),description:Object(K.__)("Insert a table — perfect for sharing charts and data."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M20 3H5L3 5v14l2 2h15l2-2V5l-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}))),category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},head:zr("head"),body:zr("body"),foot:zr("foot")},styles:[{name:"regular",label:Object(K._x)("Regular","block style"),isDefault:!0},{name:"stripes",label:Object(K.__)("Stripes")}],supports:{align:!0},transforms:{from:[{type:"raw",selector:"table",schema:Mr}]},edit:Pr,save:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,o=t.body,a=t.foot;if(!r.length&&!o.length&&!a.length)return null;var c=q()({"has-fixed-layout":n}),i=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object(U.createElement)(r,null,n.map(function(e,t){var n=e.cells;return Object(U.createElement)("tr",{key:t},n.map(function(e,t){var n=e.content,r=e.tag;return Object(U.createElement)($.RichText.Content,{tagName:r,value:n,key:t})}))}))};return Object(U.createElement)("table",{className:c},Object(U.createElement)(i,{type:"head",rows:r}),Object(U.createElement)(i,{type:"body",rows:o}),Object(U.createElement)(i,{type:"foot",rows:a}))}},Fr="core/template",Vr={title:Object(K.__)("Reusable Template"),category:"reusable",description:Object(K.__)("Template block used as a container."),icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.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"}))),supports:{customClassName:!1,html:!1,inserter:!1},edit:function(){return Object(U.createElement)($.InnerBlocks,null)},save:function(){return Object(U.createElement)($.InnerBlocks.Content,null)}},Ur="core/text-columns",Wr={supports:{inserter:!1},title:Object(K.__)("Text Columns (deprecated)"),description:Object(K.__)("This block is deprecated. Please use the Columns block instead."),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"}},transforms:{to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object(D.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(D.createBlock)("core/column",{},[Object(D.createBlock)("core/paragraph",{content:t})])}))}}]},getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.width,a=t.content,c=t.columns;return Br()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:o,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,null,Object(U.createElement)(Q.RangeControl,{label:Object(K.__)("Columns"),value:c,onChange:function(e){return n({columns:e})},min:2,max:4}))),Object(U.createElement)("div",{className:"".concat(r," align").concat(o," columns-").concat(c)},Object(G.times)(c,function(e){return Object(U.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(U.createElement)($.RichText,{tagName:"p",value:Object(G.get)(a,[e,"children"]),onChange:function(t){n({content:Object(H.a)(a.slice(0,e)).concat([{children:t}],Object(H.a)(a.slice(e+1)))})},placeholder:Object(K.__)("New Column")}))})))},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return Object(U.createElement)("div",{className:"align".concat(n," columns-").concat(o)},Object(G.times)(o,function(e){return Object(U.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(U.createElement)($.RichText.Content,{tagName:"p",value:Object(G.get)(r,[e,"children"])}))}))}},qr="core/verse",Gr={title:Object(K.__)("Verse"),description:Object(K.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.Path,{d:"M3 17v4h4l11-11-4-4L3 17zm3 2H5v-1l9-9 1 1-9 9zM21 6l-3-3h-1l-2 2 4 4 2-2V6z"})),category:"formatting",keywords:[Object(K.__)("poetry")],attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},transforms:{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)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.mergeBlocks,a=t.textAlign,c=t.content;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.AlignmentToolbar,{value:a,onChange:function(e){n({textAlign:e})}})),Object(U.createElement)($.RichText,{tagName:"pre",value:c,onChange:function(e){n({content:e})},style:{textAlign:a},placeholder:Object(K.__)("Write…"),wrapperClassName:r,onMerge:o}))},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content;return Object(U.createElement)($.RichText.Content,{tagName:"pre",style:{textAlign:n},value:r})},merge:function(e,t){return{content:e.content+t.content}}},Kr=["video"],$r=["image"],Qr=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object(U.createRef)(),e.posterImageButton=Object(U.createRef)(),e.toggleAttribute=e.toggleAttribute.bind(Object(ne.a)(Object(ne.a)(e))),e.onSelectURL=e.onSelectURL.bind(Object(ne.a)(Object(ne.a)(e))),e.onSelectPoster=e.onSelectPoster.bind(Object(ne.a)(Object(ne.a)(e))),e.onRemovePoster=e.onRemovePoster.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=t.setAttributes,a=n.id,c=n.src,i=void 0===c?"":c;if(!a&&Object(de.isBlobURL)(i)){var l=Object(de.getBlobByURL)(i);l&&Object($.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(he.a)(e,1)[0].url;o({src:t})},onError:function(t){e.setState({editing:!0}),r.createErrorNotice(t)},allowedTypes:Kr})}}},{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(F.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=He({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:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,r=t.caption,o=t.controls,a=t.loop,c=t.muted,i=t.poster,l=t.preload,s=t.src,u=this.props,b=u.setAttributes,m=u.isSelected,d=u.className,h=u.noticeOperations,p=u.noticeUI,g=function(){e.setState({editing:!0})};return this.state.editing?Object(U.createElement)($.MediaPlaceholder,{icon:"media-video",className:d,onSelect:function(t){if(!t||!t.url)return b({src:void 0,id:void 0}),void g();b({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:Kr,value:this.props.attributes,notices:p,onError:h.createErrorNotice}):Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)(Q.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(K.__)("Edit video"),onClick:g,icon:"edit"}))),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Video Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:a}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Muted"),onChange:this.toggleAttribute("muted"),checked:c}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Playback Controls"),onChange:this.toggleAttribute("controls"),checked:o}),Object(U.createElement)(Q.SelectControl,{label:Object(K.__)("Preload"),value:l,onChange:function(e){return b({preload:e})},options:[{value:"auto",label:Object(K.__)("Auto")},{value:"metadata",label:Object(K.__)("Metadata")},{value:"none",label:Object(K.__)("None")}]}),Object(U.createElement)($.MediaUploadCheck,null,Object(U.createElement)(Q.BaseControl,{className:"editor-video-poster-control",label:Object(K.__)("Poster Image")},Object(U.createElement)($.MediaUpload,{title:Object(K.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:$r,render:function(t){var n=t.open;return Object(U.createElement)(Q.Button,{isDefault:!0,onClick:n,ref:e.posterImageButton},e.props.attributes.poster?Object(K.__)("Replace image"):Object(K.__)("Select Poster Image"))}}),!!this.props.attributes.poster&&Object(U.createElement)(Q.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(K.__)("Remove Poster Image")))))),Object(U.createElement)("figure",{className:d},Object(U.createElement)(Q.Disabled,null,Object(U.createElement)("video",{controls:o,poster:i,src:s,ref:this.videoPlayer})),(!$.RichText.isEmpty(r)||m)&&Object(U.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(K.__)("Write caption…"),value:r,onChange:function(e){return b({caption:e})},inlineToolbar:!0})))}}]),t}(U.Component),Yr=Object(Q.withNotices)(Qr),Zr="core/video",Jr={title:Object(K.__)("Video"),description:Object(K.__)("Embed a video from your media library or upload a new one."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.Path,{d:"M4 6l2 4h14v8H4V6m18-2h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4L2 6v12l2 2h16l2-2V4z"})),keywords:[Object(K.__)("movie")],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"}},transforms:{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(D.createBlock)("core/video",{src:Object(de.createBlobURL)(t)})}}]},supports:{align:!0},edit:Yr,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;return Object(U.createElement)("figure",null,s&&Object(U.createElement)("video",{autoPlay:n,controls:o,loop:a,muted:c,poster:i,preload:"metadata"!==l?l:void 0,src:s}),!$.RichText.isEmpty(r)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:r}))}};var Xr=function(e){function t(e){var n;return Object(Z.a)(this,t),(n=Object(X.a)(this,Object(ee.a)(t).call(this,e))).initialize=n.initialize.bind(Object(ne.a)(Object(ne.a)(n))),n.onSetup=n.onSetup.bind(Object(ne.a)(Object(ne.a)(n))),n.focus=n.focus.bind(Object(ne.a)(Object(ne.a)(n))),n}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentDidMount",value:function(){var e=window.wpEditorL10n.tinymce,t=e.baseURL,n=e.suffix;window.tinymce.EditorManager.overrideDefaults({base_url:t,suffix:n}),"complete"===document.readyState?this.initialize():window.addEventListener("DOMContentLoaded",this.initialize)}},{key:"componentWillUnmount",value:function(){window.addEventListener("DOMContentLoaded",this.initialize),wp.oldEditor.remove("editor-".concat(this.props.clientId))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.clientId,r=t.attributes.content,o=window.tinymce.get("editor-".concat(n));e.attributes.content!==r&&o.setContent(r||"")}},{key:"initialize",value:function(){var e=this.props.clientId,t=window.wpEditorL10n.tinymce.settings;wp.oldEditor.initialize("editor-".concat(e),{tinymce:Object(V.a)({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-".concat(e),setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t=this,n=this.props,r=n.attributes.content,o=n.setAttributes,a=this.ref;this.editor=e,r&&e.on("loadContent",function(){return e.setContent(r)}),e.on("blur",function(){return o({content:e.getContent()}),!1}),e.on("keydown",function(n){n.keyCode!==bt.BACKSPACE&&n.keyCode!==bt.DELETE||!function(e){var t=e.getBody();return!(t.childNodes.length>1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(t.props.onReplace([]),n.preventDefault(),n.stopImmediatePropagation()),n.altKey&&n.keyCode===bt.F10&&n.stopPropagation()}),e.addButton("kitchensink",{tooltip:Object(K._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(a,"has-advanced-toolbar",t)}}),e.on("init",function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(a,"has-advanced-toolbar")}),e.addButton("wp_add_media",{tooltip:Object(K.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",function(){var e=t.editor.getBody();document.activeElement===e&&(e.blur(),t.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(U.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),ref:function(t){return e.ref=t},className:"block-library-classic__toolbar",onClick:this.focus,"data-placeholder":Object(K.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(U.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}(U.Component),eo="core/freeform",to={title:Object(K._x)("Classic","block title"),description:Object(K.__)("Use the classic WordPress editor."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.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(U.createElement)(Q.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(U.createElement)(Q.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"17",y:"8",width:"2",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,reusable:!1},edit:Xr,save:function(e){var t=e.attributes.content;return Object(U.createElement)(U.RawHTML,null,t)}};n.d(t,"registerCoreBlocks",function(){return no});var no=function(){[r,o,a,i,k,c,N,l,s,u,b,m,d,h,p,g].concat(Object(H.a)(jn),Object(H.a)(vn),[O,window.wp&&window.wp.oldEditor?z:null,f,j,v,y,w,C,E,_,x,T,S,R,B,A,I,P,L,M]).forEach(function(e){if(e){var t=e.name,n=e.settings;Object(D.registerBlockType)(t,n)}}),Object(D.setDefaultBlockName)(be),window.wp&&window.wp.oldEditor&&Object(D.setFreeformContentHandlerName)(eo),Object(D.setUnregisteredTypeHandlerName)(nr)}},32:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return r})},33:function(e,t){!function(){e.exports=this.wp.blob}()},35:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return r})},36: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})},37:function(e,t){!function(){e.exports=this.wp.viewport}()},4:function(e,t){!function(){e.exports=this.wp.components}()},41: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;c=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})},24:function(e,t){!function(){e.exports=this.wp.url}()},25:function(e,t,n){"use strict";var r=n(35);var o=n(36);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})},29: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})},3: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})},30:function(e,t){!function(){e.exports=this.wp.apiFetch}()},305:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"name",function(){return be}),n.d(r,"settings",function(){return me});var o={};n.r(o),n.d(o,"name",function(){return $e}),n.d(o,"settings",function(){return Je});var a={};n.r(a),n.d(a,"getLevelFromHeadingNodeName",function(){return tt}),n.d(a,"name",function(){return at}),n.d(a,"settings",function(){return ct});var c={};n.r(c),n.d(c,"name",function(){return st}),n.d(c,"settings",function(){return ut});var i={};n.r(i),n.d(i,"name",function(){return yt}),n.d(i,"settings",function(){return wt});var l={};n.r(l),n.d(l,"name",function(){return Ct}),n.d(l,"settings",function(){return Et});var s={};n.r(s),n.d(s,"name",function(){return Tt}),n.d(s,"settings",function(){return Nt});var u={};n.r(u),n.d(u,"name",function(){return Lt}),n.d(u,"settings",function(){return zt});var b={};n.r(b),n.d(b,"name",function(){return Ft}),n.d(b,"settings",function(){return Vt});var m={};n.r(m),n.d(m,"name",function(){return Ut}),n.d(m,"settings",function(){return Wt});var d={};n.r(d),n.d(d,"name",function(){return Qt}),n.d(d,"settings",function(){return Yt});var h={};n.r(h),n.d(h,"name",function(){return Zt}),n.d(h,"settings",function(){return Jt});var p={};n.r(p),n.d(p,"name",function(){return tn}),n.d(p,"settings",function(){return rn});var g={};n.r(g),n.d(g,"name",function(){return On}),n.d(g,"settings",function(){return fn}),n.d(g,"common",function(){return jn}),n.d(g,"others",function(){return vn});var O={};n.r(O),n.d(O,"name",function(){return En}),n.d(O,"settings",function(){return _n});var f={};n.r(f),n.d(f,"name",function(){return xn}),n.d(f,"settings",function(){return Sn});var j={};n.r(j),n.d(j,"name",function(){return Pn}),n.d(j,"settings",function(){return Mn});var v={};n.r(v),n.d(v,"name",function(){return Hn}),n.d(v,"settings",function(){return Dn});var y={};n.r(y),n.d(y,"name",function(){return $n}),n.d(y,"settings",function(){return Qn});var k={};n.r(k),n.d(k,"name",function(){return Xn}),n.d(k,"settings",function(){return er});var w={};n.r(w),n.d(w,"name",function(){return nr}),n.d(w,"settings",function(){return rr});var C={};n.r(C),n.d(C,"name",function(){return ar}),n.d(C,"settings",function(){return cr});var E={};n.r(E),n.d(E,"name",function(){return ir}),n.d(E,"settings",function(){return lr});var _={};n.r(_),n.d(_,"name",function(){return sr}),n.d(_,"settings",function(){return ur});var x={};n.r(x),n.d(x,"name",function(){return pr}),n.d(x,"settings",function(){return gr});var S={};n.r(S),n.d(S,"name",function(){return kr}),n.d(S,"settings",function(){return wr});var T={};n.r(T),n.d(T,"name",function(){return Cr}),n.d(T,"settings",function(){return Er});var N={};n.r(N),n.d(N,"name",function(){return xr}),n.d(N,"settings",function(){return Sr});var R={};n.r(R),n.d(R,"name",function(){return Tr}),n.d(R,"settings",function(){return Nr});var B={};n.r(B),n.d(B,"name",function(){return Ar}),n.d(B,"settings",function(){return Ir});var A={};n.r(A),n.d(A,"name",function(){return Hr}),n.d(A,"settings",function(){return Dr});var I={};n.r(I),n.d(I,"name",function(){return Fr}),n.d(I,"settings",function(){return Vr});var P={};n.r(P),n.d(P,"name",function(){return Ur}),n.d(P,"settings",function(){return Wr});var L={};n.r(L),n.d(L,"name",function(){return qr}),n.d(L,"settings",function(){return Gr});var M={};n.r(M),n.d(M,"name",function(){return Zr}),n.d(M,"settings",function(){return Jr});var z={};n.r(z),n.d(z,"name",function(){return eo}),n.d(z,"settings",function(){return to});var H=n(19),D=(n(79),n(11)),F=n(15),V=n(8),U=n(0),W=n(16),q=n.n(W),G=n(2),K=n(1),$=n(6),Q=n(4),Y=n(18),Z=n(10),J=n(9),X=n(12),ee=n(13),te=n(14),ne=n(3),re=n(7),oe=n(5),ae=window.getComputedStyle,ce=Object(Q.withFallbackStyles)(function(e,t){var n=t.attributes,r=n.textColor,o=n.backgroundColor,a=n.fontSize,c=n.customFontSize,i=e.querySelector('[contenteditable="true"]'),l=i?ae(i):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:a||c||!l?void 0:parseInt(l.fontSize)||void 0}}),ie=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onReplace=e.onReplace.bind(Object(ne.a)(Object(ne.a)(e))),e.toggleDropCap=e.toggleDropCap.bind(Object(ne.a)(Object(ne.a)(e))),e.splitBlock=e.splitBlock.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"onReplace",value:function(e){var t=this.props,n=t.attributes,r=t.onReplace;r(e.map(function(e,t){return 0===t&&"core/paragraph"===e.name?Object(V.a)({},e,{attributes:Object(V.a)({},n,e.attributes)}):e}))}},{key:"toggleDropCap",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({dropCap:!t.dropCap})}},{key:"getDropCapHelp",value:function(e){return e?Object(K.__)("Showing large initial letter."):Object(K.__)("Toggle to show a large initial letter.")}},{key:"splitBlock",value:function(e,t){for(var n=this.props,r=n.attributes,o=n.insertBlocksAfter,a=n.setAttributes,c=n.onReplace,i=arguments.length,l=new Array(i>2?i-2:0),s=2;s1&&void 0!==arguments[1]?arguments[1]:[]).some(function(t){return e.match(t)})},ze=function(e){return Object(G.includes)(e,'class="wp-embedded-content" data-secret')},He=function(e,t){var n=e.preview,r=e.name,o=e.attributes.url;if(o){var a=function(e){for(var t=Object(H.a)(Re).concat(Object(H.a)(Be)),n=0;n1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var r={"wp-has-aspect-ratio":!1},o=0;o=u.ratio)return Le()(t,(s={},Object(F.a)(s,u.className,n),Object(F.a)(s,"wp-has-aspect-ratio",n),s))}return t}var Fe=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(ne.a)(Object(ne.a)(e))),e.calculateSize=e.calculateSize.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.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=G.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=this.container.clientWidth,t=this.image.width>e,n=this.image.height/this.image.width,r=t?e:this.image.width,o=t?e*n:this.image.height;this.setState({width:r,height:o})}},{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(U.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(U.Component),Ve=Object(re.withGlobalEvents)({resize:"calculateSize"})(Fe),Ue=["image"],We=function(e){var t=Object(G.pick)(e,["alt","id","link","caption"]);return t.url=Object(G.get)(e,["sizes","large","url"])||Object(G.get)(e,["media_details","sizes","large","source_url"])||e.url,t},qe=function(e,t){return!e&&Object(de.isBlobURL)(t)},Ge=function(e){function t(e){var n,r=e.attributes;return Object(Z.a)(this,t),(n=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).updateAlt=n.updateAlt.bind(Object(ne.a)(Object(ne.a)(n))),n.updateAlignment=n.updateAlignment.bind(Object(ne.a)(Object(ne.a)(n))),n.onFocusCaption=n.onFocusCaption.bind(Object(ne.a)(Object(ne.a)(n))),n.onImageClick=n.onImageClick.bind(Object(ne.a)(Object(ne.a)(n))),n.onSelectImage=n.onSelectImage.bind(Object(ne.a)(Object(ne.a)(n))),n.onSelectURL=n.onSelectURL.bind(Object(ne.a)(Object(ne.a)(n))),n.updateImageURL=n.updateImageURL.bind(Object(ne.a)(Object(ne.a)(n))),n.updateWidth=n.updateWidth.bind(Object(ne.a)(Object(ne.a)(n))),n.updateHeight=n.updateHeight.bind(Object(ne.a)(Object(ne.a)(n))),n.updateDimensions=n.updateDimensions.bind(Object(ne.a)(Object(ne.a)(n))),n.onSetCustomHref=n.onSetCustomHref.bind(Object(ne.a)(Object(ne.a)(n))),n.onSetLinkClass=n.onSetLinkClass.bind(Object(ne.a)(Object(ne.a)(n))),n.onSetLinkRel=n.onSetLinkRel.bind(Object(ne.a)(Object(ne.a)(n))),n.onSetLinkDestination=n.onSetLinkDestination.bind(Object(ne.a)(Object(ne.a)(n))),n.onSetNewTab=n.onSetNewTab.bind(Object(ne.a)(Object(ne.a)(n))),n.getFilename=n.getFilename.bind(Object(ne.a)(Object(ne.a)(n))),n.toggleIsEditing=n.toggleIsEditing.bind(Object(ne.a)(Object(ne.a)(n))),n.onUploadError=n.onUploadError.bind(Object(ne.a)(Object(ne.a)(n))),n.onImageError=n.onImageError.bind(Object(ne.a)(Object(ne.a)(n))),n.state={captionFocused:!1,isEditing:!r.url},n}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=t.id,o=t.url,a=void 0===o?"":o;if(qe(r,a)){var c=Object(de.getBlobByURL)(a);c&&Object($.mediaUpload)({filesList:[c],onFileChange:function(e){var t=Object(he.a)(e,1)[0];n(We(t))},allowedTypes:Ue})}}},{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;qe(n,o)&&!qe(c,l)&&Object(de.revokeBlobURL)(l),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onUploadError",value:function(e){this.props.noticeOperations.createErrorNotice(e),this.setState({isEditing:!0})}},{key:"onSelectImage",value:function(e){e&&e.url?(this.setState({isEditing:!1}),this.props.setAttributes(Object(V.a)({},We(e),{width:void 0,height:void 0}))):this.props.setAttributes({url:void 0,alt:void 0,id:void 0,caption:void 0})}},{key:"onSetLinkDestination",value:function(e){var t;t="none"===e?void 0:"media"===e?this.props.image&&this.props.image.source_url||this.props.attributes.url:"attachment"===e?this.props.image&&this.props.image.link:this.props.attributes.href,this.props.setAttributes({linkDestination:e,href:t})}},{key:"onSelectURL",value:function(e){e!==this.props.attributes.url&&this.props.setAttributes({url:e,id:void 0}),this.setState({isEditing:!1})}},{key:"onImageError",value:function(e){var t=He({attributes:{url:e}});void 0!==t&&this.props.onReplace(t)}},{key:"onSetCustomHref",value:function(e){this.props.setAttributes({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(V.a)({},t,{align:e}))}},{key:"updateImageURL",value:function(e){this.props.setAttributes({url:e,width:void 0,height:void 0})}},{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(pe.getPath)(e);if(t)return Object(G.last)(t.split("/"))}},{key:"getLinkDestinationOptions",value:function(){return[{value:"none",label:Object(K.__)("None")},{value:"media",label:Object(K.__)("Media File")},{value:"attachment",label:Object(K.__)("Attachment Page")},{value:"custom",label:Object(K.__)("Custom URL")}]}},{key:"toggleIsEditing",value:function(){this.setState({isEditing:!this.state.isEditing})}},{key:"getImageSizeOptions",value:function(){var e=this.props,t=e.imageSizes,n=e.image;return Object(G.compact)(Object(G.map)(t,function(e){var t=e.name,r=e.slug,o=Object(G.get)(n,["media_details","sizes",r,"source_url"]);return o?{value:o,label:t}:null}))}},{key:"render",value:function(){var e,t=this,n=this.state.isEditing,r=this.props,o=r.attributes,a=r.setAttributes,c=r.isLargeViewport,i=r.isSelected,l=r.className,s=r.maxWidth,u=r.noticeUI,b=r.toggleSelection,m=r.isRTL,d=o.url,h=o.alt,p=o.caption,g=o.align,O=o.id,f=o.href,j=o.rel,v=o.linkClass,y=o.linkDestination,k=o.width,w=o.height,C=o.linkTarget,E=function(e,t){return t&&!e&&!Object(de.isBlobURL)(t)}(O,d),_=this.getImageSizeOptions();d&&(e=E?Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)(Q.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(K.__)("Edit image"),onClick:this.toggleIsEditing,icon:"edit"})):Object(U.createElement)($.MediaUploadCheck,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)($.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:Ue,value:O,render:function(e){var t=e.open;return Object(U.createElement)(Q.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit image"),icon:"edit",onClick:t})}}))));var x=Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:g,onChange:this.updateAlignment}),e);if(n){var S=E?d:void 0;return Object(U.createElement)(U.Fragment,null,x,Object(U.createElement)($.MediaPlaceholder,{icon:"format-image",className:l,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,notices:u,onError:this.onUploadError,accept:"image/*",allowedTypes:Ue,value:{id:O,src:S}}))}var T=q()(l,{"is-transient":Object(de.isBlobURL)(d),"is-resized":!!k||!!w,"is-focused":i}),N=-1===["wide","full"].indexOf(g)&&c,R="custom"!==y,B=function(e,n){return Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Image Settings")},Object(U.createElement)(Q.TextareaControl,{label:Object(K.__)("Alt Text (Alternative Text)"),value:h,onChange:t.updateAlt,help:Object(K.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}),!Object(G.isEmpty)(_)&&Object(U.createElement)(Q.SelectControl,{label:Object(K.__)("Image Size"),value:d,options:_,onChange:t.updateImageURL}),N&&Object(U.createElement)("div",{className:"block-library-image__dimensions"},Object(U.createElement)("p",{className:"block-library-image__dimensions__row"},Object(K.__)("Image Dimensions")),Object(U.createElement)("div",{className:"block-library-image__dimensions__row"},Object(U.createElement)(Q.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(K.__)("Width"),value:void 0!==k?k:"",placeholder:e,min:1,onChange:t.updateWidth}),Object(U.createElement)(Q.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(K.__)("Height"),value:void 0!==w?w:"",placeholder:n,min:1,onChange:t.updateHeight})),Object(U.createElement)("div",{className:"block-library-image__dimensions__row"},Object(U.createElement)(Q.ButtonGroup,{"aria-label":Object(K.__)("Image Size")},[25,50,75,100].map(function(r){var o=Math.round(e*(r/100)),a=Math.round(n*(r/100)),c=k===o&&w===a;return Object(U.createElement)(Q.Button,{key:r,isSmall:!0,isPrimary:c,"aria-pressed":c,onClick:t.updateDimensions(o,a)},r,"%")})),Object(U.createElement)(Q.Button,{isSmall:!0,onClick:t.updateDimensions()},Object(K.__)("Reset"))))),Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Link Settings")},Object(U.createElement)(Q.SelectControl,{label:Object(K.__)("Link To"),value:y,options:t.getLinkDestinationOptions(),onChange:t.onSetLinkDestination}),"none"!==y&&Object(U.createElement)(U.Fragment,null,Object(U.createElement)(Q.TextControl,{label:Object(K.__)("Link URL"),value:f||"",onChange:t.onSetCustomHref,placeholder:R?void 0:"https://",disabled:R}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Open in New Tab"),onChange:t.onSetNewTab,checked:"_blank"===C}),Object(U.createElement)(Q.TextControl,{label:Object(K.__)("Link CSS Class"),value:v||"",onChange:t.onSetLinkClass}),Object(U.createElement)(Q.TextControl,{label:Object(K.__)("Link Rel"),value:j||"",onChange:t.onSetLinkRel}))))};return Object(U.createElement)(U.Fragment,null,x,Object(U.createElement)("figure",{className:T},Object(U.createElement)(Ve,{src:d,dirtynessTrigger:g},function(e){var n,r=e.imageWidthWithinContainer,o=e.imageHeightWithinContainer,c=e.imageWidth,i=e.imageHeight,l=t.getFilename(d);n=h||(l?Object(K.sprintf)(Object(K.__)("This image has an empty alt attribute; its file name is %s"),l):Object(K.__)("This image has an empty alt attribute"));var u=Object(U.createElement)(U.Fragment,null,Object(U.createElement)("img",{src:d,alt:n,onClick:t.onImageClick,onError:function(){return t.onImageError(d)}}),Object(de.isBlobURL)(d)&&Object(U.createElement)(Q.Spinner,null));if(!N||!r)return Object(U.createElement)(U.Fragment,null,B(c,i),Object(U.createElement)("div",{style:{width:k,height:w}},u));var p=k||r,O=w||o,f=c/i,j=c a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},Ye={img:{attributes:["src","alt"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}},Ze={figure:{require:["img"],children:Object(V.a)({},Ye,{a:{attributes:["href","rel","target"],children:Ye},figcaption:{children:Object(D.getPhrasingContentSchema)()}})}},Je={title:Object(K.__)("Image"),description:Object(K.__)("Insert an image to make a visual statement."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.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(U.createElement)(Q.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),category:"common",keywords:["img",Object(K.__)("photo")],attributes:Qe,transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("img")},schema:Ze,transform:function(e){var t=e.className+" "+e.querySelector("img").className,n=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),r=n?n[1]:void 0,o=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),a=o?Number(o[1]):void 0,c=e.querySelector("a"),i=c&&c.href?"custom":void 0,l=c&&c.href?c.href:void 0,s=c&&c.rel?c.rel:void 0,u=c&&c.className?c.className:void 0,b=Object(D.getBlockAttributes)("core/image",e.outerHTML,{align:r,id:a,linkDestination:i,href:l,rel:s,linkClass:u});return Object(D.createBlock)("core/image",b)}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){var t=e[0];return Object(D.createBlock)("core/image",{url:Object(de.createBlobURL)(t)})}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{shortcode:function(e,t){return t.shortcode.content.replace(/\s*
]*>\s/,"")}},href:{type:"string",source:"attribute",attribute:"href",selector:"a"},rel:{type:"string",source:"attribute",attribute:"rel",selector:"a"},linkClass:{type:"string",source:"attribute",attribute:"class",selector:"a"},id:{type:"number",shortcode:function(e){var t=e.named.id;if(t)return parseInt(t.replace("attachment_",""),10)}},align:{type:"string",shortcode:function(e){var t=e.named.align;return(void 0===t?"alignnone":t).replace("align","")}}}}]},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:Ke,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.rel,s=n.linkClass,u=n.width,b=n.height,m=n.id,d=n.linkTarget,h=q()((t={},Object(F.a)(t,"align".concat(c),c),Object(F.a)(t,"is-resized",u||b),t)),p=Object(U.createElement)("img",{src:r,alt:o,className:m?"wp-image-".concat(m):null,width:u,height:b}),g=Object(U.createElement)(U.Fragment,null,i?Object(U.createElement)("a",{className:s,href:i,target:d,rel:l},p):p,!$.RichText.isEmpty(a)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:a}));return"left"===c||"right"===c||"center"===c?Object(U.createElement)("div",null,Object(U.createElement)("figure",{className:h},g)):Object(U.createElement)("figure",{className:h},g)},deprecated:[{attributes:Qe,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.width,s=n.height,u=n.id,b=q()((t={},Object(F.a)(t,"align".concat(c),c),Object(F.a)(t,"is-resized",l||s),t)),m=Object(U.createElement)("img",{src:r,alt:o,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(U.createElement)("figure",{className:b},i?Object(U.createElement)("a",{href:i},m):m,!$.RichText.isEmpty(a)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:a}))}},{attributes:Qe,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=t.id,u=Object(U.createElement)("img",{src:n,alt:r,className:s?"wp-image-".concat(s):null,width:i,height:l});return Object(U.createElement)("figure",{className:a?"align".concat(a):null},c?Object(U.createElement)("a",{href:c},u):u,!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:Qe,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=i||l?{width:i,height:l}:{},u=Object(U.createElement)("img",Object(Y.a)({src:n,alt:r},s)),b={};return i?b={width:i}:"left"!==a&&"right"!==a||(b={maxWidth:"50%"}),Object(U.createElement)("figure",{className:a?"align".concat(a):null,style:b},c?Object(U.createElement)("a",{href:c},u):u,!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))}}]},Xe=n(21),et=function(e){function t(){return Object(Z.a)(this,t),Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))}return Object(te.a)(t,e),Object(J.a)(t,[{key:"createLevelControl",value:function(e,t,n){return{icon:"heading",title:Object(K.sprintf)(Object(K.__)("Heading %d"),e),isActive:e===t,onClick:function(){return n(e)},subscript:String(e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.minLevel,r=t.maxLevel,o=t.selectedLevel,a=t.onChange;return Object(U.createElement)(Q.Toolbar,{controls:Object(G.range)(n,r).map(function(t){return e.createLevelControl(t,o,a)})})}}]),t}(U.Component);function tt(e){return Number(e.substr(1))}var nt,rt={className:!1,anchor:!0},ot={content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},align:{type:"string"},placeholder:{type:"string"}},at="core/heading",ct={title:Object(K.__)("Heading"),description:Object(K.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.Path,{d:"M5 4v3h5.5v12h3V7H19V4z"}),Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"})),category:"common",keywords:[Object(K.__)("title"),Object(K.__)("subtitle")],supports:rt,attributes:ot,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(D.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:{h1:{children:Object(D.getPhrasingContentSchema)()},h2:{children:Object(D.getPhrasingContentSchema)()},h3:{children:Object(D.getPhrasingContentSchema)()},h4:{children:Object(D.getPhrasingContentSchema)()},h5:{children:Object(D.getPhrasingContentSchema)()},h6:{children:Object(D.getPhrasingContentSchema)()}},transform:function(e){return Object(D.createBlock)("core/heading",Object(V.a)({},Object(D.getBlockAttributes)("core/heading",e.outerHTML),{level:tt(e.nodeName)}))}}].concat(Object(H.a)([2,3,4,5,6].map(function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(D.createBlock)("core/heading",{level:e,content:t})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(D.createBlock)("core/paragraph",{content:t})}}]},deprecated:[{supports:rt,attributes:Object(V.a)({},Object(G.omit)(ot,["level"]),{nodeName:{type:"string",source:"property",selector:"h1,h2,h3,h4,h5,h6",property:"nodeName",default:"H2"}}),migrate:function(e){var t=e.nodeName,n=Object(Xe.a)(e,["nodeName"]);return Object(V.a)({},n,{level:tt(t)})},save:function(e){var t=e.attributes,n=t.align,r=t.nodeName,o=t.content;return Object(U.createElement)($.RichText.Content,{tagName:r.toLowerCase(),style:{textAlign:n},value:o})}}],merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.insertBlocksAfter,a=e.onReplace,c=e.className,i=t.align,l=t.content,s=t.level,u=t.placeholder,b="h"+s;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)(et,{minLevel:2,maxLevel:5,selectedLevel:s,onChange:function(e){return n({level:e})}})),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Heading Settings")},Object(U.createElement)("p",null,Object(K.__)("Level")),Object(U.createElement)(et,{minLevel:1,maxLevel:7,selectedLevel:s,onChange:function(e){return n({level:e})}}),Object(U.createElement)("p",null,Object(K.__)("Text Alignment")),Object(U.createElement)($.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}}))),Object(U.createElement)($.RichText,{identifier:"content",wrapperClassName:"wp-block-heading",tagName:b,value:l,onChange:function(e){return n({content:e})},onMerge:r,unstableOnSplit:o?function(e,t){n({content:e});for(var r=arguments.length,a=new Array(r>2?r-2:0),c=2;c".concat(t,"")})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(D.createBlock)("core/quote",{value:t,citation:n})}},{type:"prefix",prefix:">",transform:function(e){return Object(D.createBlock)("core/quote",{value:"".concat(e,"
")})}},{type:"raw",isMatch:function(e){return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(function(e){return"P"===e.nodeName})},schema:{blockquote:{children:{p:{children:Object(D.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(H.a)(Object(it.split)(Object(it.create)({html:t,multilineTag:"p"}),"\u2028").map(function(e){return Object(D.createBlock)("core/paragraph",{content:Object(it.toHTMLString)({value:e})})}))),n&&""!==n&&r.push(Object(D.createBlock)("core/paragraph",{content:n})),0===r.length?Object(D.createBlock)("core/paragraph",{content:""}):r}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=Object(Xe.a)(e,["value","citation"]);if(""===t)return Object(D.createBlock)("core/heading",{content:n});var o=Object(it.split)(Object(it.create)({html:t,multilineTag:"p"}),"\u2028"),a=o.slice(1);return[Object(D.createBlock)("core/heading",{content:Object(it.toHTMLString)({value:o[0]})}),Object(D.createBlock)("core/quote",Object(V.a)({},r,{citation:n,value:Object(it.toHTMLString)({value:a.length?Object(it.join)(o.slice(1),"\u2028"):Object(it.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(D.createBlock)("core/pullquote",{value:t,citation:n})}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=t.align,l=t.value,s=t.citation;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}})),Object(U.createElement)("blockquote",{className:c,style:{textAlign:i}},Object(U.createElement)($.RichText,{identifier:"value",multiline:!0,value:l,onChange:function(e){return n({value:e})},onMerge:o,onRemove:function(e){var t=!s||0===s.length;!e&&t&&a([])},placeholder:Object(K.__)("Write quote…")}),(!$.RichText.isEmpty(s)||r)&&Object(U.createElement)($.RichText,{identifier:"citation",value:s,onChange:function(e){return n({citation:e})},placeholder:Object(K.__)("Write citation…"),className:"wp-block-quote__citation"})))},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation;return Object(U.createElement)("blockquote",{style:{textAlign:n||null}},Object(U.createElement)($.RichText.Content,{multiline:!0,value:r}),!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"cite",value:o}))},merge:function(e,t){var n=t.value,r=t.citation;return n&&""!==n?Object(V.a)({},e,{value:e.value+n,citation:e.citation+r}):Object(V.a)({},e,{citation:e.citation+r})},deprecated:[{attributes:Object(V.a)({},lt,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?Object(V.a)({},Object(G.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(U.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},Object(U.createElement)($.RichText.Content,{multiline:!0,value:r}),!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(V.a)({},lt,{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(U.createElement)("blockquote",{className:"blocks-quote-style-".concat(a),style:{textAlign:n||null}},Object(U.createElement)($.RichText.Content,{multiline:!0,value:r}),!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"footer",value:o}))}}]},bt=n(17),mt=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onImageClick=e.onImageClick.bind(Object(ne.a)(Object(ne.a)(e))),e.onSelectCaption=e.onSelectCaption.bind(Object(ne.a)(Object(ne.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(ne.a)(Object(ne.a)(e))),e.bindContainer=e.bindContainer.bind(Object(ne.a)(Object(ne.a)(e))),e.state={captionSelected:!1},e}return Object(te.a)(t,e),Object(J.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:"onImageClick",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onKeyDown",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[bt.BACKSPACE,bt.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isSelected,r=t.image,o=t.url;r&&!o&&this.props.setAttributes({url:r.source_url,alt:r.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,n=t.url,r=t.alt,o=t.id,a=t.linkTo,c=t.link,i=t.isSelected,l=t.caption,s=t.onRemove,u=t.setAttributes,b=t["aria-label"];switch(a){case"media":e=n;break;case"attachment":e=c}var m=Object(U.createElement)(U.Fragment,null,Object(U.createElement)("img",{src:n,alt:r,"data-id":o,onClick:this.onImageClick,tabIndex:"0",onKeyDown:this.onImageClick,"aria-label":b}),Object(de.isBlobURL)(n)&&Object(U.createElement)(Q.Spinner,null)),d=q()({"is-selected":i,"is-transient":Object(de.isBlobURL)(n)});return Object(U.createElement)("figure",{className:d,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},i&&Object(U.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(U.createElement)(Q.IconButton,{icon:"no-alt",onClick:s,className:"blocks-gallery-item__remove",label:Object(K.__)("Remove Image")})),e?Object(U.createElement)("a",{href:e},m):m,!$.RichText.isEmpty(l)||i?Object(U.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(K.__)("Write caption…"),value:l,isSelected:this.state.captionSelected,onChange:function(e){return u({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}):null)}}]),t}(U.Component),dt=Object(oe.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(mt),ht=[{value:"attachment",label:Object(K.__)("Attachment Page")},{value:"media",label:Object(K.__)("Media File")},{value:"none",label:Object(K.__)("None")}],pt=["image"];function gt(e){return Math.min(3,e.images.length)}var Ot=function(e){var t=Object(G.pick)(e,["alt","id","link","caption"]);return t.url=Object(G.get)(e,["sizes","large","url"])||Object(G.get)(e,["media_details","sizes","large","source_url"])||e.url,t},ft=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(ne.a)(Object(ne.a)(e))),e.onSelectImages=e.onSelectImages.bind(Object(ne.a)(Object(ne.a)(e))),e.setLinkTo=e.setLinkTo.bind(Object(ne.a)(Object(ne.a)(e))),e.setColumnsNumber=e.setColumnsNumber.bind(Object(ne.a)(Object(ne.a)(e))),e.toggleImageCrop=e.toggleImageCrop.bind(Object(ne.a)(Object(ne.a)(e))),e.onRemoveImage=e.onRemoveImage.bind(Object(ne.a)(Object(ne.a)(e))),e.setImageAttributes=e.setImageAttributes.bind(Object(ne.a)(Object(ne.a)(e))),e.addFiles=e.addFiles.bind(Object(ne.a)(Object(ne.a)(e))),e.uploadFromFiles=e.uploadFromFiles.bind(Object(ne.a)(Object(ne.a)(e))),e.setAttributes=e.setAttributes.bind(Object(ne.a)(Object(ne.a)(e))),e.state={selectedImage:null},e}return Object(te.a)(t,e),Object(J.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(V.a)({},e,{ids:Object(G.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:"onRemoveImage",value:function(e){var t=this;return function(){var n=Object(G.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:"onSelectImages",value:function(e){this.setAttributes({images:e.map(function(e){return Ot(e)})})}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(K.__)("Thumbnails are cropped to align."):Object(K.__)("Thumbnails are not cropped.")}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,r=this.setAttributes;n[e]&&r({images:Object(H.a)(n.slice(0,e)).concat([Object(V.a)({},n[e],t)],Object(H.a)(n.slice(e+1)))})}},{key:"uploadFromFiles",value:function(e){this.addFiles(e.target.files)}},{key:"addFiles",value:function(e){var t=this.props.attributes.images||[],n=this.props.noticeOperations,r=this.setAttributes;Object($.mediaUpload)({allowedTypes:pt,filesList:e,onFileChange:function(e){var n=e.map(function(e){return Ot(e)});r({images:t.concat(n)})},onError:n.createErrorNotice})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.isSelected,o=t.className,a=t.noticeOperations,c=t.noticeUI,i=n.images,l=n.columns,s=void 0===l?gt(n):l,u=n.align,b=n.imageCrop,m=n.linkTo,d=Object(U.createElement)(Q.DropZone,{onFilesDrop:this.addFiles}),h=Object(U.createElement)($.BlockControls,null,!!i.length&&Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)($.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:pt,multiple:!0,gallery:!0,value:i.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(U.createElement)(Q.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit Gallery"),icon:"edit",onClick:t})}})));return 0===i.length?Object(U.createElement)(U.Fragment,null,h,Object(U.createElement)($.MediaPlaceholder,{icon:"format-gallery",className:o,labels:{title:Object(K.__)("Gallery"),instructions:Object(K.__)("Drag images, upload new ones or select files from your library.")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:pt,multiple:!0,notices:c,onError:a.createErrorNotice})):Object(U.createElement)(U.Fragment,null,h,Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Gallery Settings")},i.length>1&&Object(U.createElement)(Q.RangeControl,{label:Object(K.__)("Columns"),value:s,onChange:this.setColumnsNumber,min:1,max:Math.min(8,i.length)}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Crop Images"),checked:!!b,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),Object(U.createElement)(Q.SelectControl,{label:Object(K.__)("Link To"),value:m,onChange:this.setLinkTo,options:ht}))),c,Object(U.createElement)("ul",{className:"".concat(o," align").concat(u," columns-").concat(s," ").concat(b?"is-cropped":"")},d,i.map(function(t,n){var o=Object(K.__)(Object(K.sprintf)("image %1$d of %2$d in gallery",n+1,i.length));return Object(U.createElement)("li",{className:"blocks-gallery-item",key:t.id||t.url},Object(U.createElement)(dt,{url:t.url,alt:t.alt,id:t.id,isSelected:r&&e.state.selectedImage===n,onRemove:e.onRemoveImage(n),onSelect:e.onSelectImage(n),setAttributes:function(t){return e.setImageAttributes(n,t)},caption:t.caption,"aria-label":o}))}),r&&Object(U.createElement)("li",{className:"blocks-gallery-item has-add-item-button"},Object(U.createElement)(Q.FormFileUpload,{multiple:!0,isLarge:!0,className:"block-library-gallery-add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(K.__)("Upload an image")))))}}]),t}(U.Component),jt=Object(Q.withNotices)(ft),vt={images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},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:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},yt="core/gallery",kt=function(e){return e?e.split(",").map(function(e){return parseInt(e,10)}):[]},wt={title:Object(K.__)("Gallery"),description:Object(K.__)("Display multiple images in a rich gallery."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M20 4v12H8V4h12m0-2H8L6 4v12l2 2h12l2-2V4l-2-2z"}),Object(U.createElement)(Q.Path,{d:"M12 12l1 2 3-3 3 4H9z"}),Object(U.createElement)(Q.Path,{d:"M2 6v14l2 2h14v-2H4V6H2z"}))),category:"common",keywords:[Object(K.__)("images"),Object(K.__)("photos")],attributes:vt,supports:{align:!0},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=Object(G.filter)(e,function(e){var t=e.id,n=e.url;return t&&n});return t.length>0?Object(D.createBlock)("core/gallery",{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}),ids:t.map(function(e){return e.id})}):Object(D.createBlock)("core/gallery")}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return kt(t).map(function(e){return{id:e}})}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return kt(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(G.every)(e,function(e){return 0===e.type.indexOf("image/")})},transform:function(e,t){var n=Object(D.createBlock)("core/gallery",{images:e.map(function(e){return Ot({url:Object(de.createBlobURL)(e)})})});return Object($.mediaUpload)({filesList:e,onFileChange:function(e){var r=e.map(Ot);t(n.clientId,{ids:Object(G.map)(r,"id"),images:r})},allowedTypes:["image"]}),n}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){var t=e.id,n=e.url,r=e.alt,o=e.caption;return Object(D.createBlock)("core/image",{id:t,url:n,alt:r,caption:o})}):Object(D.createBlock)("core/image")}}]},edit:jt,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?gt(t):r,a=t.imageCrop,c=t.linkTo;return Object(U.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(U.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(U.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(U.createElement)("figure",null,t?Object(U.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:e.caption})))}))},deprecated:[{attributes:vt,isEligible:function(e){var t=e.images,n=e.ids;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(G.some)(t,function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]}))},migrate:function(e){return Object(V.a)({},e,{ids:Object(G.map)(e.images,function(e){var t=e.id;return t?parseInt(t,10):null})})},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?gt(t):r,a=t.imageCrop,c=t.linkTo;return Object(U.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(U.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(U.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(U.createElement)("figure",null,t?Object(U.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:vt,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?gt(t):r,a=t.imageCrop,c=t.linkTo;return Object(U.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(U.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return Object(U.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(U.createElement)("figure",null,t?Object(U.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:Object(V.a)({},vt,{images:Object(V.a)({},vt.images,{selector:"div.wp-block-gallery figure.blocks-gallery-image img"}),align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?gt(t):r,a=t.align,c=t.imageCrop,i=t.linkTo;return Object(U.createElement)("div",{className:"align".concat(a," 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(U.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(U.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(U.createElement)("a",{href:t},n):n)}))}}]};var Ct="core/archives",Et={title:Object(K.__)("Archives"),description:Object(K.__)("Display a monthly archive of your posts."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M7 11h2v2H7v-2zm14-5v14l-2 2H5l-2-2V6l2-2h1V2h2v2h8V2h2v2h1l2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),category:"widgets",supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right"].includes(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=t.align,o=t.showPostCounts,a=t.displayAsDropdown;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Archives Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Display as Dropdown"),checked:a,onChange:function(){return n({displayAsDropdown:!a})}}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Show Post Counts"),checked:o,onChange:function(){return n({showPostCounts:!o})}}))),Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:r,onChange:function(e){n({align:e})},controls:["left","center","right"]})),Object(U.createElement)(Q.Disabled,null,Object(U.createElement)($.ServerSideRender,{block:"core/archives",attributes:t})))},save:function(){return null}},_t=["audio"],xt=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.toggleAttribute=e.toggleAttribute.bind(Object(ne.a)(Object(ne.a)(e))),e.onSelectURL=e.onSelectURL.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=t.setAttributes,a=n.id,c=n.src,i=void 0===c?"":c;if(!a&&Object(de.isBlobURL)(i)){var l=Object(de.getBlobByURL)(i);l&&Object($.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(he.a)(e,1)[0],n=t.id,r=t.url;o({id:n,src:r})},onError:function(t){o({src:void 0,id:void 0}),e.setState({editing:!0}),r.createErrorNotice(t)},allowedTypes:_t})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(F.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=He({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src,i=this.props,l=i.setAttributes,s=i.isSelected,u=i.className,b=i.noticeOperations,m=i.noticeUI,d=function(){e.setState({editing:!0})};return this.state.editing?Object(U.createElement)($.MediaPlaceholder,{icon:"media-audio",className:u,onSelect:function(t){if(!t||!t.url)return l({src:void 0,id:void 0}),void d();l({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:_t,value:this.props.attributes,notices:m,onError:b.createErrorNotice}):Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)(Q.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(K.__)("Edit audio"),onClick:d,icon:"edit"}))),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Audio Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:o}),Object(U.createElement)(Q.SelectControl,{label:Object(K.__)("Preload"),value:void 0!==a?a:"none",onChange:function(e){return l({preload:"none"!==e?e:void 0})},options:[{value:"auto",label:Object(K.__)("Auto")},{value:"metadata",label:Object(K.__)("Metadata")},{value:"none",label:Object(K.__)("None")}]}))),Object(U.createElement)("figure",{className:u},Object(U.createElement)(Q.Disabled,null,Object(U.createElement)("audio",{controls:"controls",src:c})),(!$.RichText.isEmpty(r)||s)&&Object(U.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(K.__)("Write caption…"),value:r,onChange:function(e){return l({caption:e})},inlineToolbar:!0})))}}]),t}(U.Component),St=Object(Q.withNotices)(xt),Tt="core/audio",Nt={title:Object(K.__)("Audio"),description:Object(K.__)("Embed a simple audio player."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.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"})),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"}},transforms:{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(D.createBlock)("core/audio",{src:Object(de.createBlobURL)(t)})}}]},supports:{align:!0},edit:St,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src;return Object(U.createElement)("figure",null,Object(U.createElement)("audio",{controls:"controls",src:c,autoPlay:n,loop:o,preload:a}),!$.RichText.isEmpty(r)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:r}))}},Rt=window.getComputedStyle,Bt=Object(Q.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:Rt(e).backgroundColor,fallbackTextColor:a||!c?void 0:Rt(c).color}}),At=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.backgroundColor,o=t.textColor,a=t.setBackgroundColor,c=t.setTextColor,i=t.fallbackBackgroundColor,l=t.fallbackTextColor,s=t.setAttributes,u=t.isSelected,b=t.className,m=n.text,d=n.url,h=n.title;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)("div",{className:b,title:h,ref:this.bindRef},Object(U.createElement)($.RichText,{placeholder:Object(K.__)("Add text…"),value:m,onChange:function(e){return s({text:e})},formattingControls:["bold","italic","strikethrough"],className:q()("wp-block-button__link",(e={"has-background":r.color},Object(F.a)(e,r.class,r.class),Object(F.a)(e,"has-text-color",o.color),Object(F.a)(e,o.class,o.class),e)),style:{backgroundColor:r.color,color:o.color},keepPlaceholderOnFocus:!0}),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)($.PanelColorSettings,{title:Object(K.__)("Color Settings"),colorSettings:[{value:r.color,onChange:a,label:Object(K.__)("Background Color")},{value:o.color,onChange:c,label:Object(K.__)("Text Color")}]},Object(U.createElement)($.ContrastChecker,{isLargeText:!1,textColor:o.color,backgroundColor:r.color,fallbackBackgroundColor:i,fallbackTextColor:l})))),u&&Object(U.createElement)("form",{className:"block-library-button__inline-link",onSubmit:function(e){return e.preventDefault()}},Object(U.createElement)(Q.Dashicon,{icon:"admin-links"}),Object(U.createElement)($.URLInput,{value:d,onChange:function(e){return s({url:e})}}),Object(U.createElement)(Q.IconButton,{icon:"editor-break",label:Object(K.__)("Apply"),type:"submit"})))}}]),t}(U.Component),It=Object(re.compose)([Object($.withColors)("backgroundColor",{textColor:"color"}),Bt])(At),Pt={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"}},Lt="core/button",Mt=function(e){return Object(G.omit)(Object(V.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},zt={title:Object(K.__)("Button"),description:Object(K.__)("Prompt visitors to take action with a custom button."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M19 6H5L3 8v8l2 2h14l2-2V8l-2-2zm0 10H5V8h14v8z"}))),category:"layout",attributes:Pt,supports:{align:!0,alignWide:!1},styles:[{name:"default",label:Object(K._x)("Rounded","block style"),isDefault:!0},{name:"outline",label:Object(K.__)("Outline")},{name:"squared",label:Object(K._x)("Squared","block style")}],edit:It,save:function(e){var t,n=e.attributes,r=n.url,o=n.text,a=n.title,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=Object($.getColorClassName)("color",i),b=Object($.getColorClassName)("background-color",c),m=q()("wp-block-button__link",(t={"has-text-color":i||s},Object(F.a)(t,u,u),Object(F.a)(t,"has-background",c||l),Object(F.a)(t,b,b),t)),d={backgroundColor:b?void 0:l,color:u?void 0:s};return Object(U.createElement)("div",null,Object(U.createElement)($.RichText.Content,{tagName:"a",className:m,href:r,title:a,style:d,value:o}))},deprecated:[{attributes:Object(V.a)({},Object(G.pick)(Pt,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c={backgroundColor:t.color,color:t.textColor};return Object(U.createElement)("div",{className:"align".concat(a)},Object(U.createElement)($.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:c,value:r}))},migrate:Mt},{attributes:Object(V.a)({},Object(G.pick)(Pt,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c=t.color,i=t.textColor;return Object(U.createElement)("div",{className:"align".concat(a),style:{backgroundColor:c}},Object(U.createElement)($.RichText.Content,{tagName:"a",href:n,title:o,style:{color:i},value:r}))},migrate:Mt}]},Ht=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(ne.a)(Object(ne.a)(e))),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(ne.a)(Object(ne.a)(e))),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.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){var t=this.props.className;return"".concat(t,"__list ").concat(t,"__list-level-").concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(G.unescape)(e.name).trim():Object(K.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object(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"},this.renderCategoryName(e)),a&&Object(U.createElement)("span",{className:"".concat(this.props.className,"__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,n=t.showHierarchy,r=t.instanceId,o=t.className,a=n?0:null,c=this.getCategories(a),i="blocks-category-select-".concat(r);return Object(U.createElement)(U.Fragment,null,Object(U.createElement)("label",{htmlFor:i,className:"screen-reader-text"},Object(K.__)("Categories")),Object(U.createElement)("select",{id:i,className:"".concat(o,"__dropdown")},c.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(G.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.setAttributes,r=e.isRequesting,o=t.align,a=t.displayAsDropdown,c=t.showHierarchy,i=t.showPostCounts,l=Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Categories Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Display as Dropdown"),checked:a,onChange:this.toggleDisplayAsDropdown}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Show Hierarchy"),checked:c,onChange:this.toggleShowHierarchy}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Show Post Counts"),checked:i,onChange:this.toggleShowPostCounts})));return r?Object(U.createElement)(U.Fragment,null,l,Object(U.createElement)(Q.Placeholder,{icon:"admin-post",label:Object(K.__)("Categories")},Object(U.createElement)(Q.Spinner,null))):Object(U.createElement)(U.Fragment,null,l,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:o,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),Object(U.createElement)("div",{className:this.props.className},a?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(U.Component),Dt=Object(re.compose)(Object(oe.withSelect)(function(e){var t=e("core").getEntityRecords,n=e("core/data").isResolving,r={per_page:-1};return{categories:t("taxonomy","category",r),isRequesting:n("core","getEntityRecords",["taxonomy","category",r])}}),re.withInstanceId)(Ht),Ft="core/categories",Vt={title:Object(K.__)("Categories"),description:Object(K.__)("Display a list of all categories."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object(U.createElement)(Q.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)(Q.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"})),category:"widgets",attributes:{align:{type:"string"},displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right","full"].includes(t))return{"data-align":t}},edit:Dt,save:function(){return null}};var Ut="core/code",Wt={title:Object(K.__)("Code"),description:Object(K.__)("Display code snippets that respect your spacing and tabs."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.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"})),category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}},supports:{html:!1},transforms:{from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(D.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":{}}}}}}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className;return Object(U.createElement)("div",{className:r},Object(U.createElement)($.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(K.__)("Write code…"),"aria-label":Object(K.__)("Code")}))},save:function(e){var t=e.attributes;return Object(U.createElement)("pre",null,Object(U.createElement)("code",null,t.content))}},qt=n(41),Gt=["core/column"],Kt=n.n(qt)()(function(e){return Object(G.times)(e,function(){return["core/column"]})});function $t(e){var t,n=$t.doc;n||(n=document.implementation.createHTMLDocument(""),$t.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 Qt="core/columns",Yt={title:Object(K.__)("Columns"),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M21 4H3L2 5v14l1 1h18l1-1V5l-1-1zM8 18H4V6h4v12zm6 0h-4V6h4v12zm6 0h-4V6h4v12z"}))),category:"layout",attributes:{columns:{type:"number",default:2}},description:Object(K.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},deprecated:[{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!==$t(e.originalContent)})},migrate:function(e,t){return[e,t.reduce(function(e,t){var n=$t(t.originalContent);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e},[]).map(function(e){return Object(D.createBlock)("core/column",{},e)})]},save:function(e){var t=e.attributes.columns;return Object(U.createElement)("div",{className:"has-".concat(t,"-columns")},Object(U.createElement)($.InnerBlocks.Content,null))}}],edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.columns,a=q()(r,"has-".concat(o,"-columns"));return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,null,Object(U.createElement)(Q.RangeControl,{label:Object(K.__)("Columns"),value:o,onChange:function(e){n({columns:e})},min:2,max:6}))),Object(U.createElement)("div",{className:a},Object(U.createElement)($.InnerBlocks,{template:Kt(o),templateLock:"all",allowedBlocks:Gt})))},save:function(e){var t=e.attributes.columns;return Object(U.createElement)("div",{className:"has-".concat(t,"-columns")},Object(U.createElement)($.InnerBlocks.Content,null))}},Zt="core/column",Jt={title:Object(K.__)("Column"),parent:["core/columns"],icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.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"})),description:Object(K.__)("A single column within a columns block."),category:"common",supports:{inserter:!1,reusable:!1,html:!1},edit:function(){return Object(U.createElement)($.InnerBlocks,{templateLock:!1})},save:function(){return Object(U.createElement)("div",null,Object(U.createElement)($.InnerBlocks.Content,null))}},Xt=["left","center","right","wide","full"],en={title:{type:"string",source:"html",selector:"p"},url:{type:"string"},align:{type:"string"},contentAlign:{type:"string",default:"center"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"}},tn="core/cover",nn=["image","video"],rn={title:Object(K.__)("Cover"),description:Object(K.__)("Add an image or video with a text overlay — great for headers."),icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.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(U.createElement)(Q.Path,{d:"M0 0h24v24H0z",fill:"none"})),category:"common",attributes:en,transforms:{from:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(D.createBlock)("core/cover",{title:t})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object(D.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(D.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:"video"})}}],to:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.title;return Object(D.createBlock)("core/heading",{content:t})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType;return!e.url||"image"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(D.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||"video"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(D.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]},getEditWrapperProps:function(e){var t=e.align;if(-1!==Xt.indexOf(t))return{"data-align":t}},edit:Object(re.compose)([Object($.withColors)({overlayColor:"background-color"}),Q.withNotices])(function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.className,a=e.noticeOperations,c=e.noticeUI,i=e.overlayColor,l=e.setOverlayColor,s=t.align,u=t.backgroundType,b=t.contentAlign,m=t.dimRatio,d=t.hasParallax,h=t.id,p=t.title,g=t.url,O=function(e){if(e&&e.url){var t;if(e.media_type)t="image"===e.media_type?"image":"video";else{if("image"!==e.type&&"video"!==e.type)return;t=e.type}n({url:e.url,id:e.id,backgroundType:t})}else n({url:void 0,id:void 0})},f=function(e){return n({title:e})},j=Object(V.a)({},"image"===u?an(g):{},{backgroundColor:i.color}),v=q()(o,"center"!==b&&"has-".concat(b,"-content"),on(m),{"has-background-dim":0!==m,"has-parallax":d}),y=Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:s,onChange:function(e){return n({align:e})}}),!!g&&Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.AlignmentToolbar,{value:b,onChange:function(e){n({contentAlign:e})}}),Object(U.createElement)($.MediaUploadCheck,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)($.MediaUpload,{onSelect:O,allowedTypes:nn,value:h,render:function(e){var t=e.open;return Object(U.createElement)(Q.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit media"),icon:"edit",onClick:t})}}))))),!!g&&Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Cover Settings")},"image"===u&&Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Fixed Background"),checked:d,onChange:function(){return n({hasParallax:!d})}}),Object(U.createElement)($.PanelColorSettings,{title:Object(K.__)("Overlay"),initialOpen:!0,colorSettings:[{value:i.color,onChange:l,label:Object(K.__)("Overlay Color")}]},Object(U.createElement)(Q.RangeControl,{label:Object(K.__)("Background Opacity"),value:m,onChange:function(e){return n({dimRatio:e})},min:0,max:100,step:10})))));if(!g){var k=!$.RichText.isEmpty(p),w=k?void 0:"format-image",C=k?Object(U.createElement)($.RichText,{tagName:"h2",value:p,onChange:f,inlineToolbar:!0}):Object(K.__)("Cover");return Object(U.createElement)(U.Fragment,null,y,Object(U.createElement)($.MediaPlaceholder,{icon:w,className:o,labels:{title:C,instructions:Object(K.__)("Drag an image or a video, upload a new one or select a file from your library.")},onSelect:O,accept:"image/*,video/*",allowedTypes:nn,notices:c,onError:a.createErrorNotice}))}return Object(U.createElement)(U.Fragment,null,y,Object(U.createElement)("div",{"data-url":g,style:j,className:v},"video"===u&&Object(U.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:g}),(!$.RichText.isEmpty(p)||r)&&Object(U.createElement)($.RichText,{tagName:"p",className:"wp-block-cover-text",placeholder:Object(K.__)("Write title…"),value:p,onChange:f,inlineToolbar:!0})))}),save:function(e){var t=e.attributes,n=t.align,r=t.backgroundType,o=t.contentAlign,a=t.customOverlayColor,c=t.dimRatio,i=t.hasParallax,l=t.overlayColor,s=t.title,u=t.url,b=Object($.getColorClassName)("background-color",l),m="image"===r?an(u):{};b||(m.backgroundColor=a);var d=q()(on(c),b,Object(F.a)({"has-background-dim":0!==c,"has-parallax":i},"has-".concat(o,"-content"),"center"!==o),n?"align".concat(n):null);return Object(U.createElement)("div",{className:d,style:m},"video"===r&&u&&Object(U.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!$.RichText.isEmpty(s)&&Object(U.createElement)($.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},deprecated:[{attributes:Object(V.a)({},en),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=t.contentAlign,l=t.overlayColor,s=t.customOverlayColor,u=Object($.getColorClassName)("background-color",l),b=an(n);u||(b.backgroundColor=s);var m=q()("wp-block-cover-image",on(a),u,Object(F.a)({"has-background-dim":0!==a,"has-parallax":o},"has-".concat(i,"-content"),"center"!==i),c?"align".concat(c):null);return Object(U.createElement)("div",{className:m,style:b},!$.RichText.isEmpty(r)&&Object(U.createElement)($.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:r}))}},{attributes:Object(V.a)({},en,{title:{type:"string",source:"html",selector:"h2"}}),save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=an(n),l=q()(on(a),{"has-background-dim":0!==a,"has-parallax":o},c?"align".concat(c):null);return Object(U.createElement)("section",{className:l,style:i},Object(U.createElement)($.RichText.Content,{tagName:"h2",value:r}))}}]};function on(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}function an(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}var cn=function(e){var t=e.blockSupportsResponsive,n=e.showEditButton,r=e.themeSupportsResponsive,o=e.allowResponsive,a=e.getResponsiveHelp,c=e.toggleResponsive,i=e.switchBackToURLInput;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)(Q.Toolbar,null,n&&Object(U.createElement)(Q.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit URL"),icon:"edit",onClick:i}))),r&&t&&Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Media Settings"),className:"blocks-responsive"},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Resize for smaller devices"),checked:o,help:a,onChange:c}))))},ln=function(){return Object(U.createElement)("div",{className:"wp-block-embed is-loading"},Object(U.createElement)(Q.Spinner,null),Object(U.createElement)("p",null,Object(K.__)("Embedding…")))},sn=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,c=e.cannotEmbed;return Object(U.createElement)(Q.Placeholder,{icon:Object(U.createElement)($.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed"},Object(U.createElement)("form",{onSubmit:o},Object(U.createElement)("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:Object(K.__)("Enter URL to embed here…"),onChange:a}),Object(U.createElement)(Q.Button,{isLarge:!0,type:"submit"},Object(K._x)("Embed","button label")),c&&Object(U.createElement)("p",{className:"components-placeholder__error"},Object(K.__)("Sorry, we could not embed that content."))))},un=n(75),bn=window.FocusEvent,mn=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(ne.a)(Object(ne.a)(e))),e.node=Object(U.createRef)(),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new bn("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object(U.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),t}(U.Component),dn=Object(re.withGlobalEvents)({blur:"checkFocus"})(mn),hn=function(e){var t=e.preview,n=e.url,r=e.type,o=e.caption,a=e.onCaptionChange,c=e.isSelected,i=e.className,l=e.icon,s=e.label,u=t.scripts,b="photo"===r?function(e){var t=Object(U.createElement)("p",null,Object(U.createElement)("img",{src:e.thumbnail_url,alt:e.title,width:"100%"}));return Object(U.renderToString)(t)}(t):t.html,m=Object(un.parse)(n),d=Object(G.includes)(Ae,m.host.replace(/^www\./,"")),h=Object(K.sprintf)(Object(K.__)("Embedded content from %s"),m.host),p=Le()(r,i,"wp-block-embed__wrapper"),g="wp-embed"===r?Object(U.createElement)(dn,{html:b}):Object(U.createElement)("div",{className:"wp-block-embed__wrapper"},Object(U.createElement)(Q.SandBox,{html:b,scripts:u,title:h,type:p}));return Object(U.createElement)("figure",{className:Le()(i,"wp-block-embed",{"is-type-video":"video"===r})},d?Object(U.createElement)(Q.Placeholder,{icon:Object(U.createElement)($.BlockIcon,{icon:l,showColors:!0}),label:s},Object(U.createElement)("p",{className:"components-placeholder__error"},Object(U.createElement)("a",{href:n},n)),Object(U.createElement)("p",{className:"components-placeholder__error"},Object(K.__)("Previews for this are unavailable in the editor, sorry!"))):g,(!$.RichText.isEmpty(o)||c)&&Object(U.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(K.__)("Write caption…"),value:o,onChange:a,inlineToolbar:!0}))};var pn={url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0}};function gn(e){var t=e.title,n=e.description,r=e.icon,o=e.category,a=void 0===o?"embed":o,c=e.transforms,i=e.keywords,l=void 0===i?[]:i,s=e.supports,u=void 0===s?{}:s,b=e.responsive,m=void 0===b||b,d=n||Object(K.sprintf)(Object(K.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),t),h=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r){function o(){var e;return Object(Z.a)(this,o),(e=Object(X.a)(this,Object(ee.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(ne.a)(Object(ne.a)(e))),e.setUrl=e.setUrl.bind(Object(ne.a)(Object(ne.a)(e))),e.getAttributesFromPreview=e.getAttributesFromPreview.bind(Object(ne.a)(Object(ne.a)(e))),e.setAttributesFromPreview=e.setAttributesFromPreview.bind(Object(ne.a)(Object(ne.a)(e))),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(ne.a)(Object(ne.a)(e))),e.toggleResponsive=e.toggleResponsive.bind(Object(ne.a)(Object(ne.a)(e))),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(ne.a)(Object(ne.a)(e))),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(te.a)(o,r),Object(J.a)(o,[{key:"handleIncomingPreview",value:function(){var e=this.props.attributes.allowResponsive;this.setAttributesFromPreview();var t=He(this.props,this.getAttributesFromPreview(this.props.preview,e));t&&this.props.onReplace(t)}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,n=void 0!==e.preview,r=this.props.preview&&this.props.attributes.url!==e.attributes.url,o=this.props.attributes.url!==e.attributes.url;if(t&&!n||r||o){if(this.props.cannotEmbed)return;this.handleIncomingPreview()}}},{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:"getAttributesFromPreview",value:function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o={},a=t.type,c=void 0===a?"rich":a,i=t.html,l=t.provider_name,s=Object(G.kebabCase)(Object(G.toLower)(""!==l?l:e));return ze(i)&&(c="wp-embed"),(i||"photo"===c)&&(o.type=c,o.providerNameSlug=s),o.className=De(i,this.props.attributes.className,n&&r),o}},{key:"setAttributesFromPreview",value:function(){var e=this.props,t=e.setAttributes,n=e.preview,r=this.props.attributes.allowResponsive;t(this.getAttributesFromPreview(n,r))}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"getResponsiveHelp",value:function(e){return e?Object(K.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(K.__)("This embed may not preserve its aspect ratio when the browser is resized.")}},{key:"toggleResponsive",value:function(){var e=this.props.attributes,t=e.allowResponsive,r=e.className,o=this.props.preview.html,a=!t;this.props.setAttributes({allowResponsive:a,className:De(o,r,n&&a)})}},{key:"render",value:function(){var r=this,o=this.state,a=o.url,c=o.editingURL,i=this.props.attributes,l=i.caption,s=i.type,u=i.allowResponsive,b=this.props,m=b.fetching,d=b.setAttributes,h=b.isSelected,p=b.className,g=b.preview,O=b.cannotEmbed,f=b.themeSupportsResponsive;if(m)return Object(U.createElement)(ln,null);var j=Object(K.sprintf)(Object(K.__)("%s URL"),e);return!g||O||c?Object(U.createElement)(sn,{icon:t,label:j,onSubmit:this.setUrl,value:a,cannotEmbed:O,onChange:function(e){return r.setState({url:e.target.value})}}):Object(U.createElement)(U.Fragment,null,Object(U.createElement)(cn,{showEditButton:g&&!O,themeSupportsResponsive:f,blockSupportsResponsive:n,allowResponsive:u,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object(U.createElement)(hn,{preview:g,className:p,url:a,type:s,caption:l,onCaptionChange:function(e){return d({caption:e})},isSelected:h,icon:t,label:j}))}}]),o}(U.Component)}(t,r,m);return{title:t,description:d,icon:r,category:a,keywords:l,attributes:pn,supports:Object(V.a)({align:!0},u),transforms:c,edit:Object(re.compose)(Object(oe.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}}))(h),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Le()("wp-block-embed",(t={},Object(F.a)(t,"is-type-".concat(a),a),Object(F.a)(t,"is-provider-".concat(c),c),t));return Object(U.createElement)("figure",{className:i},Object(U.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(r,"\n")),!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))},deprecated:[{attributes:pn,save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Le()("wp-block-embed",(t={},Object(F.a)(t,"is-type-".concat(a),a),Object(F.a)(t,"is-provider-".concat(c),c),t));return Object(U.createElement)("figure",{className:i},"\n".concat(r,"\n"),!$.RichText.isEmpty(o)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))}}]}}var On="core/embed",fn=gn({title:Object(K._x)("Embed","block title"),description:Object(K.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:Oe,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(D.createBlock)("core/embed",{url:e.textContent.trim()})}}]}}),jn=Re.map(function(e){return Object(V.a)({},e,{settings:gn(e.settings)})}),vn=Be.map(function(e){return Object(V.a)({},e,{settings:gn(e.settings)})});function yn(e){return e?Object(K.__)("The download button is visible."):Object(K.__)("The download button is hidden.")}function kn(e){var t=e.hrefs,n=e.openInNewWindow,r=e.showDownloadButton,o=e.changeLinkDestinationOption,a=e.changeOpenInNewWindow,c=e.changeShowDownloadButton,i=t.href,l=t.textLinkHref,s=t.attachmentPage,u=[{value:i,label:Object(K.__)("URL")}];return s&&(u=[{value:i,label:Object(K.__)("Media File")},{value:s,label:Object(K.__)("Attachment Page")}]),Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Text Link Settings")},Object(U.createElement)(Q.SelectControl,{label:Object(K.__)("Link To"),value:l,options:u,onChange:o}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Open in New Tab"),checked:n,onChange:a})),Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Download Button Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Show Download Button"),help:yn,checked:r,onChange:c}))))}var wn=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(ne.a)(Object(ne.a)(e))),e.confirmCopyURL=e.confirmCopyURL.bind(Object(ne.a)(Object(ne.a)(e))),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(ne.a)(Object(ne.a)(e))),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(ne.a)(Object(ne.a)(e))),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(ne.a)(Object(ne.a)(e))),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(ne.a)(Object(ne.a)(e))),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=n.href;if(Object(de.isBlobURL)(o)){var a=Object(de.getBlobByURL)(o);Object($.mediaUpload)({filesList:[a],onFileChange:function(t){var n=Object(he.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),r.createErrorNotice(t)}}),Object(de.revokeBlobURL)(o)}}},{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:"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.props,t=e.className,n=e.isSelected,r=e.attributes,o=e.setAttributes,a=e.noticeUI,c=e.noticeOperations,i=e.media,l=r.fileName,s=r.href,u=r.textLinkHref,b=r.textLinkTarget,m=r.showDownloadButton,d=r.downloadButtonText,h=r.id,p=this.state,g=p.hasError,O=p.showCopyConfirmation,f=i&&i.link;if(!s||g)return Object(U.createElement)($.MediaPlaceholder,{icon:"media-default",labels:{title:Object(K.__)("File"),instructions:Object(K.__)("Drag a file, upload a new one or select a file from your library.")},onSelect:this.onSelectFile,notices:a,onError:c.createErrorNotice,accept:"*"});var j=q()(t,{"is-transient":Object(de.isBlobURL)(s)});return Object(U.createElement)(U.Fragment,null,Object(U.createElement)(kn,Object(Y.a)({hrefs:{href:s,textLinkHref:u,attachmentPage:f}},{openInNewWindow:!!b,showDownloadButton:m,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.MediaUploadCheck,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)($.MediaUpload,{onSelect:this.onSelectFile,value:h,render:function(e){var t=e.open;return Object(U.createElement)(Q.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit file"),onClick:t,icon:"edit"})}})))),Object(U.createElement)("div",{className:j},Object(U.createElement)("div",{className:"".concat(t,"__content-wrapper")},Object(U.createElement)($.RichText,{wrapperClassName:"".concat(t,"__textlink"),tagName:"div",value:l,placeholder:Object(K.__)("Write file name…"),keepPlaceholderOnFocus:!0,formattingControls:[],onChange:function(e){return o({fileName:e})}}),m&&Object(U.createElement)("div",{className:"".concat(t,"__button-richtext-wrapper")},Object(U.createElement)($.RichText,{tagName:"div",className:"".concat(t,"__button"),value:d,formattingControls:[],placeholder:Object(K.__)("Add text…"),keepPlaceholderOnFocus:!0,onChange:function(e){return o({downloadButtonText:e})}}))),n&&Object(U.createElement)(Q.ClipboardButton,{isDefault:!0,text:s,className:"".concat(t,"__copy-url-button"),onCopy:this.confirmCopyURL,onFinishCopy:this.resetCopyConfirmation},O?Object(K.__)("Copied!"):Object(K.__)("Copy URL"))))}}]),t}(U.Component),Cn=Object(re.compose)([Object(oe.withSelect)(function(e,t){var n=e("core").getMedia,r=t.attributes.id;return{media:void 0===r?void 0:n(r)}}),Q.withNotices])(wn),En="core/file",_n={title:Object(K.__)("File"),description:Object(K.__)("Add a link to a downloadable file."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.Path,{d:"M9 6l2 2h9v10H4V6h5m1-2H4L2 6v12l2 2h16l2-2V8l-2-2h-8l-2-2z"})),category:"common",keywords:[Object(K.__)("document"),Object(K.__)("pdf")],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]",default:Object(K._x)("Download","button label")}},supports:{align:!0},transforms:{from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.map(function(e){var n=Object(de.createBlobURL)(e);t.push(Object(D.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(D.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(D.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(D.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(oe.select)("core").getMedia)(t);return!!n&&Object(G.includes)(n.mime_type,"audio")},transform:function(e){return Object(D.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(oe.select)("core").getMedia)(t);return!!n&&Object(G.includes)(n.mime_type,"video")},transform:function(e){return Object(D.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(oe.select)("core").getMedia)(t);return!!n&&Object(G.includes)(n.mime_type,"image")},transform:function(e){return Object(D.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},edit:Cn,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(U.createElement)("div",null,!$.RichText.isEmpty(r)&&Object(U.createElement)("a",{href:o,target:a,rel:!!a&&"noreferrer noopener"},Object(U.createElement)($.RichText.Content,{value:r})),c&&Object(U.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(U.createElement)($.RichText.Content,{value:i})))}},xn="core/html",Sn={title:Object(K.__)("Custom HTML"),description:Object(K.__)("Add custom HTML code and preview it as you edit."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.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"})),category:"formatting",keywords:[Object(K.__)("embed")],supports:{customClassName:!1,className:!1,html:!1},attributes:{content:{type:"string",source:"html"}},transforms:{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(D.getPhrasingContentSchema)()}}}}}]},edit:Object(re.withState)({isPreview:!1})(function(e){var t=e.attributes,n=e.setAttributes,r=e.setState,o=e.isPreview;return Object(U.createElement)("div",{className:"wp-block-html"},Object(U.createElement)($.BlockControls,null,Object(U.createElement)("div",{className:"components-toolbar"},Object(U.createElement)("button",{className:"components-tab-button ".concat(o?"":"is-active"),onClick:function(){return r({isPreview:!1})}},Object(U.createElement)("span",null,"HTML")),Object(U.createElement)("button",{className:"components-tab-button ".concat(o?"is-active":""),onClick:function(){return r({isPreview:!0})}},Object(U.createElement)("span",null,Object(K.__)("Preview"))))),Object(U.createElement)(Q.Disabled.Consumer,null,function(e){return o||e?Object(U.createElement)(Q.SandBox,{html:t.content}):Object(U.createElement)($.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(K.__)("Write HTML…"),"aria-label":Object(K.__)("HTML")})}))}),save:function(e){var t=e.attributes;return Object(U.createElement)(U.RawHTML,null,t.content)}},Tn=["image","video"],Nn=function(e){function t(){return Object(Z.a)(this,t),Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))}return Object(te.a)(t,e),Object(J.a)(t,[{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return Object(U.createElement)($.BlockControls,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)($.MediaUpload,{onSelect:n,allowedTypes:Tn,value:t,render:function(e){var t=e.open;return Object(U.createElement)(Q.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit Media"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.className;return Object(U.createElement)(U.Fragment,null,this.renderToolbarEditButton(),Object(U.createElement)("figure",{className:r},Object(U.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object(U.createElement)(U.Fragment,null,this.renderToolbarEditButton(),Object(U.createElement)("figure",{className:n},Object(U.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className;return Object(U.createElement)($.MediaPlaceholder,{icon:"format-image",labels:{title:Object(K.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:Tn})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,n=e.mediaUrl,r=e.mediaType,o=e.mediaWidth,a=e.commitWidthChange,c=e.onWidthChange;if(r&&n){var i={right:"left"===t,left:"right"===t},l=null;switch(r){case"image":l=this.renderImage();break;case"video":l=this.renderVideo()}return Object(U.createElement)(Q.ResizableBox,{className:"editor-media-container__resizer",size:{width:o+"%"},minWidth:"10%",maxWidth:"100%",enable:i,onResize:function(e,t,n){c(parseInt(n.style.width))},onResizeStop:function(e,t,n){a(parseInt(n.style.width))},axis:"x"},l)}return this.renderPlaceholder()}}]),t}(U.Component),Rn=["core/button","core/paragraph","core/heading","core/list"],Bn=[["core/paragraph",{fontSize:"large",placeholder:"Content…"}]],An=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(ne.a)(Object(ne.a)(e))),e.onWidthChange=e.onWidthChange.bind(Object(ne.a)(Object(ne.a)(e))),e.commitWidthChange=e.commitWidthChange.bind(Object(ne.a)(Object(ne.a)(e))),e.state={mediaWidth:null},e}return Object(te.a)(t,e),Object(J.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(G.get)(e,["sizes","large","url"])||Object(G.get)(e,["media_details","sizes","large","source_url"])),r({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:n||e.url})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:e})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:e}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props.attributes,t=e.mediaAlt,n=e.mediaId,r=e.mediaPosition,o=e.mediaType,a=e.mediaUrl,c=e.mediaWidth;return Object(U.createElement)(Nn,Object(Y.a)({className:"block-library-media-text__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:t,mediaId:n,mediaType:o,mediaUrl:a,mediaPosition:r,mediaWidth:c}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.className,o=t.backgroundColor,a=t.isSelected,c=t.setAttributes,i=t.setBackgroundColor,l=n.isStackedOnMobile,s=n.mediaAlt,u=n.mediaPosition,b=n.mediaType,m=n.mediaWidth,d=this.state.mediaWidth,h=q()(r,(e={"has-media-on-the-right":"right"===u,"is-selected":a},Object(F.a)(e,o.class,o.class),Object(F.a)(e,"is-stacked-on-mobile",l),e)),p="".concat(d||m,"%"),g={gridTemplateColumns:"right"===u?"auto ".concat(p):"".concat(p," auto"),backgroundColor:o.color},O=[{value:o.color,onChange:i,label:Object(K.__)("Background Color")}],f=[{icon:"align-pull-left",title:Object(K.__)("Show media on left"),isActive:"left"===u,onClick:function(){return c({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(K.__)("Show media on right"),isActive:"right"===u,onClick:function(){return c({mediaPosition:"right"})}}],j=Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Media & Text Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Stack on mobile"),checked:l,onChange:function(){return c({isStackedOnMobile:!l})}}),"image"===b&&Object(U.createElement)(Q.TextareaControl,{label:Object(K.__)("Alt Text (Alternative Text)"),value:s,onChange:function(e){c({mediaAlt:e})},help:Object(K.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}));return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.InspectorControls,null,j,Object(U.createElement)($.PanelColorSettings,{title:Object(K.__)("Color Settings"),initialOpen:!1,colorSettings:O})),Object(U.createElement)($.BlockControls,null,Object(U.createElement)(Q.Toolbar,{controls:f})),Object(U.createElement)("div",{className:h,style:g},this.renderMediaArea(),Object(U.createElement)($.InnerBlocks,{allowedBlocks:Rn,template:Bn,templateInsertUpdatesSelection:!1})))}}]),t}(U.Component),In=Object($.withColors)("backgroundColor")(An),Pn="core/media-text",Ln={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}},Mn={title:Object(K.__)("Media & Text"),description:Object(K.__)("Set media and words side-by-side for a richer layout."),icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"})),category:"layout",keywords:[Object(K.__)("image"),Object(K.__)("video")],attributes:Ln,supports:{align:["wide","full"],html:!1},transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object(D.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(D.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(D.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(D.createBlock)("core/video",{id:t,src:n})}}]},edit:In,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m=r.mediaId,d={image:function(){return Object(U.createElement)("img",{src:u,alt:i,className:m&&"image"===s?"wp-image-".concat(m):null})},video:function(){return Object(U.createElement)("video",{controls:!0,src:u})}},h=Object($.getColorClassName)("background-color",o),p=q()((t={"has-media-on-the-right":"right"===l},Object(F.a)(t,h,h),Object(F.a)(t,"is-stacked-on-mobile",c),t));50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var g={backgroundColor:h?void 0:a,gridTemplateColumns:n};return Object(U.createElement)("div",{className:p,style:g},Object(U.createElement)("figure",{className:"wp-block-media-text__media"},(d[s]||G.noop)()),Object(U.createElement)("div",{className:"wp-block-media-text__content"},Object(U.createElement)($.InnerBlocks.Content,null)))},deprecated:[{attributes:Ln,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m={image:function(){return Object(U.createElement)("img",{src:u,alt:i})},video:function(){return Object(U.createElement)("video",{controls:!0,src:u})}},d=Object($.getColorClassName)("background-color",o),h=q()((t={"has-media-on-the-right":"right"===l},Object(F.a)(t,d,d),Object(F.a)(t,"is-stacked-on-mobile",c),t));50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var p={backgroundColor:d?void 0:a,gridTemplateColumns:n};return Object(U.createElement)("div",{className:h,style:p},Object(U.createElement)("figure",{className:"wp-block-media-text__media"},(m[s]||G.noop)()),Object(U.createElement)("div",{className:"wp-block-media-text__content"},Object(U.createElement)($.InnerBlocks.Content,null)))}}]},zn=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).setAlignment=e.setAlignment.bind(Object(ne.a)(Object(ne.a)(e))),e.setCommentsToShow=e.setCommentsToShow.bind(Object(ne.a)(Object(ne.a)(e))),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(F.a)({},e,!n))}}},{key:"setAlignment",value:function(e){this.props.setAttributes({align:e})}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.commentsToShow,r=e.displayAvatar,o=e.displayDate,a=e.displayExcerpt;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:t,onChange:this.setAlignment})),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Latest Comments Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Display Avatar"),checked:r,onChange:this.toggleDisplayAvatar}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Display Date"),checked:o,onChange:this.toggleDisplayDate}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Display Excerpt"),checked:a,onChange:this.toggleDisplayExcerpt}),Object(U.createElement)(Q.RangeControl,{label:Object(K.__)("Number of Comments"),value:n,onChange:this.setCommentsToShow,min:1,max:100}))),Object(U.createElement)(Q.Disabled,null,Object(U.createElement)($.ServerSideRender,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(U.Component),Hn="core/latest-comments",Dn={title:Object(K.__)("Latest Comments"),description:Object(K.__)("Display a list of your most recent comments."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M22 4l-2-2H4L2 4v12l2 2h14l4 4V4zm-2 0v13l-1-1H4V4h16z"}),Object(U.createElement)(Q.Path,{d:"M6 12h12v2H6zM6 9h12v2H6zM6 6h12v2H6z"}))),category:"widgets",keywords:[Object(K.__)("recent comments")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right","wide","full"].includes(t))return{"data-align":t}},edit:zn,save:function(){return null}},Fn=n(30),Vn=n.n(Fn),Un=n(46),Wn=n(49),qn={per_page:-1},Gn=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).state={categoriesList:[]},e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentWillMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=Vn()({path:Object(pe.addQueryArgs)("/wp/v2/categories",qn)}).then(function(t){e.isStillMounted&&e.setState({categoriesList:t})}).catch(function(){e.isStillMounted&&e.setState({categoriesList:[]})})}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.latestPosts,a=this.state.categoriesList,c=n.displayPostDate,i=n.align,l=n.postLayout,s=n.columns,u=n.order,b=n.orderBy,m=n.categories,d=n.postsToShow,h=Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Latest Posts Settings")},Object(U.createElement)(Q.QueryControls,Object(Y.a)({order:u,orderBy:b},{numberOfItems:d,categoriesList:a,selectedCategoryId:m,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onCategoryChange:function(e){return r({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return r({postsToShow:e})}})),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Display post date"),checked:c,onChange:this.toggleDisplayPostDate}),"grid"===l&&Object(U.createElement)(Q.RangeControl,{label:Object(K.__)("Columns"),value:s,onChange:function(e){return r({columns:e})},min:2,max:p?Math.min(6,o.length):6}))),p=Array.isArray(o)&&o.length;if(!p)return Object(U.createElement)(U.Fragment,null,h,Object(U.createElement)(Q.Placeholder,{icon:"admin-post",label:Object(K.__)("Latest Posts")},Array.isArray(o)?Object(K.__)("No posts found."):Object(U.createElement)(Q.Spinner,null)));var g=o.length>d?o.slice(0,d):o,O=[{icon:"list-view",title:Object(K.__)("List View"),onClick:function(){return r({postLayout:"list"})},isActive:"list"===l},{icon:"grid-view",title:Object(K.__)("Grid View"),onClick:function(){return r({postLayout:"grid"})},isActive:"grid"===l}],f=Object(Un.__experimentalGetSettings)().formats.date;return Object(U.createElement)(U.Fragment,null,h,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:i,onChange:function(e){r({align:e})},controls:["center","wide","full"]}),Object(U.createElement)(Q.Toolbar,{controls:O})),Object(U.createElement)("ul",{className:q()(this.props.className,Object(F.a)({"is-grid":"grid"===l,"has-dates":c},"columns-".concat(s),"grid"===l))},g.map(function(t,n){return Object(U.createElement)("li",{key:n},Object(U.createElement)("a",{href:t.link,target:"_blank"},Object(Wn.decodeEntities)(t.title.rendered.trim())||Object(K.__)("(Untitled)")),c&&t.date_gmt&&Object(U.createElement)("time",{dateTime:Object(Un.format)("c",t.date_gmt),className:"".concat(e.props.className,"__post-date")},Object(Un.dateI18n)(f,t.date_gmt)))})))}}]),t}(U.Component),Kn=Object(oe.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(G.pickBy)({categories:c,order:o,orderby:a,per_page:r},function(e){return!Object(G.isUndefined)(e)}))}})(Gn),$n="core/latest-posts",Qn={title:Object(K.__)("Latest Posts"),description:Object(K.__)("Display a list of your most recent posts."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(U.createElement)(Q.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(U.createElement)(Q.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(U.createElement)(Q.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(U.createElement)(Q.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"})),category:"widgets",keywords:[Object(K.__)("recent posts")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:Kn,save:function(){return null}},Yn=Object(V.a)({},Object(D.getPhrasingContentSchema)(),{ul:{},ol:{attributes:["type"]}});["ul","ol"].forEach(function(e){Yn[e].children={li:{children:Yn}}});var Zn={className:!1},Jn={ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",default:""}},Xn="core/list",er={title:Object(K.__)("List"),description:Object(K.__)("Create a bulleted or numbered list."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.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"}))),category:"common",keywords:[Object(K.__)("bullet list"),Object(K.__)("ordered list"),Object(K.__)("numbered list")],attributes:Jn,supports:Zn,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(D.createBlock)("core/list",{values:Object(it.toHTMLString)({value:Object(it.join)(e.map(function(e){var t=e.content;return Object(it.replace)(Object(it.create)({html:t}),/\n/g,it.LINE_SEPARATOR)}),it.LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(D.createBlock)("core/list",{values:Object(it.toHTMLString)({value:Object(it.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:{ol:Yn.ol,ul:Yn.ul},transform:function(e){return Object(D.createBlock)("core/list",Object(V.a)({},Object(D.getBlockAttributes)("core/list",e.outerHTML),{ordered:"OL"===e.nodeName}))}}].concat(Object(H.a)(["*","-"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(D.createBlock)("core/list",{values:"".concat(e,"")})}}})),Object(H.a)(["1.","1)"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(D.createBlock)("core/list",{ordered:!0,values:"".concat(e,"")})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(it.split)(Object(it.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),it.LINE_SEPARATOR).map(function(e){return Object(D.createBlock)("core/paragraph",{content:Object(it.toHTMLString)({value:e})})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(D.createBlock)("core/quote",{value:Object(it.toHTMLString)({value:Object(it.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]},deprecated:[{supports:Zn,attributes:Object(V.a)({},Object(G.omit)(Jn,["ordered"]),{nodeName:{type:"string",source:"property",selector:"ol,ul",property:"nodeName",default:"UL"}}),migrate:function(e){var t=e.nodeName,n=Object(Xe.a)(e,["nodeName"]);return Object(V.a)({},n,{ordered:"OL"===t})},save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(U.createElement)($.RichText.Content,{tagName:n.toLowerCase(),value:r})}}],merge:function(e,t){var n=t.values;return n&&""!==n?Object(V.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.insertBlocksAfter,r=e.setAttributes,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=t.ordered,l=t.values;return Object(U.createElement)($.RichText,{identifier:"values",multiline:"li",tagName:i?"ol":"ul",onChange:function(e){return r({values:e})},value:l,wrapperClassName:"block-library-list",className:c,placeholder:Object(K.__)("Write list…"),onMerge:o,unstableOnSplit:n?function(e,t){for(var o=arguments.length,a=new Array(o>2?o-2:0),c=2;c"!==t&&a.push(Object(D.createBlock)("core/list",{ordered:i,values:t})),r({values:e}),n(a)}:void 0,onRemove:function(){return a([])},onTagNameChange:function(e){return r({ordered:"ol"===e})}})},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=n?"ol":"ul";return Object(U.createElement)($.RichText.Content,{tagName:o,value:r,multiline:"li"})}};var tr=Object(oe.withDispatch)(function(e,t){var n=t.clientId,r=t.attributes,o=e("core/editor").replaceBlock;return{convertToHTML:function(){o(n,Object(D.createBlock)("core/html",{content:r.originalUndelimitedContent}))}}})(function(e){var t,n=e.attributes,r=e.convertToHTML,o=n.originalName,a=n.originalUndelimitedContent,c=!!a,i=Object(D.getBlockType)("core/html"),l=[];return c&&i?(t=Object(K.sprintf)(Object(K.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'),o),l.push(Object(U.createElement)(Q.Button,{key:"convert",onClick:r,isLarge:!0,isPrimary:!0},Object(K.__)("Keep as HTML")))):t=Object(K.sprintf)(Object(K.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),o),Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.Warning,{actions:l},t),Object(U.createElement)(U.RawHTML,null,a))}),nr="core/missing",rr={name:nr,category:"common",title:Object(K.__)("Unrecognized Block"),description:Object(K.__)("Your site doesn’t include support for this block."),supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1},attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}},edit:tr,save:function(e){var t=e.attributes;return Object(U.createElement)(U.RawHTML,null,t.originalContent)}},or=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(ne.a)(Object(ne.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(ne.a)(Object(ne.a)(e))),e.state={defaultText:Object(K.__)("Read more")},e}return Object(te.a)(t,e),Object(J.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===bt.ENTER&&n([Object(D.createBlock)(Object(D.getDefaultBlockName)())])}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,r=this.props.setAttributes,o=this.state.defaultText,a=void 0!==t?t:o,c=a.length+1;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,null,Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)('Hide the teaser before the "More" tag'),checked:!!n,onChange:function(){return r({noTeaser:!n})}}))),Object(U.createElement)("div",{className:"wp-block-more"},Object(U.createElement)("input",{type:"text",value:a,size:c,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}(U.Component),ar="core/more",cr={title:Object(K._x)("More","block name"),description:Object(K.__)("Mark the excerpt of this content. Content before this block will be shown in the excerpt on your archives page."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"}))),category:"layout",supports:{customClassName:!1,className:!1,html:!1,multiple:!1},attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},transforms:{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(D.createBlock)("core/more",o)}}]},edit:or,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(G.compact)([o,a]).join("\n"))}};var ir="core/nextpage",lr={title:Object(K.__)("Page Break"),description:Object(K.__)("Separate your content into a multi-page experience."),icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M9 12h6v-2H9zm-7 0h5v-2H2zm15 0h5v-2h-5zm3 2v2l-6 6H6a2 2 0 0 1-2-2v-6h2v6h6v-4a2 2 0 0 1 2-2h6zM4 8V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4h-2V4H6v4z"}))),category:"layout",keywords:[Object(K.__)("next page"),Object(K.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},attributes:{},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(D.createBlock)("core/nextpage",{})}}]},edit:function(){return Object(U.createElement)("div",{className:"wp-block-nextpage"},Object(U.createElement)("span",null,Object(K.__)("Page break")))},save:function(){return Object(U.createElement)(U.RawHTML,null,"\x3c!--nextpage--\x3e")}},sr="core/preformatted",ur={title:Object(K.__)("Preformatted"),description:Object(K.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.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(U.createElement)(Q.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object(U.createElement)(Q.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"10",y:"10",width:"8",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""}},transforms:{from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(D.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(D.getPhrasingContentSchema)()}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(D.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.mergeBlocks,r=e.setAttributes,o=e.className,a=t.content;return Object(U.createElement)($.RichText,{tagName:"pre",value:a,onChange:function(e){r({content:e})},placeholder:Object(K.__)("Write preformatted text…"),wrapperClassName:o,onMerge:n})},save:function(e){var t=e.attributes.content;return Object(U.createElement)($.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}},br="is-style-".concat("solid-color"),mr=function(e){function t(e){var n;return Object(Z.a)(this,t),(n=Object(X.a)(this,Object(ee.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(ne.a)(Object(ne.a)(n))),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(ne.a)(Object(ne.a)(n))),n}return Object(te.a)(t,e),Object(J.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,o=t.setTextColor,a=t.setMainColor,c=t.className,i=Object(G.includes)(c,br),l=!r.color||this.wasTextColorAutomaticallyComputed,s=i&&l&&e;a(e),s&&(this.wasTextColorAutomaticallyComputed=!0,o(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,r=e.textColor,o=e.setAttributes,a=e.isSelected,c=e.className,i=t.value,l=t.citation,s=Object(G.includes)(c,br),u=s?{backgroundColor:n.color}:{borderColor:n.color},b={color:r.color},m=r.color?q()("has-text-color",Object(F.a)({},r.class,r.class)):void 0;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)("figure",{style:u,className:q()(c,Object(F.a)({},n.class,s&&n.class))},Object(U.createElement)("blockquote",{style:b,className:m},Object(U.createElement)($.RichText,{multiline:!0,value:i,onChange:function(e){return o({value:e})},placeholder:Object(K.__)("Write quote…"),wrapperClassName:"block-library-pullquote__content"}),(!$.RichText.isEmpty(l)||a)&&Object(U.createElement)($.RichText,{value:l,placeholder:Object(K.__)("Write citation…"),onChange:function(e){return o({citation:e})},className:"wp-block-pullquote__citation"}))),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)($.PanelColorSettings,{title:Object(K.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(K.__)("Main Color")},{value:r.color,onChange:this.pullQuoteTextColorSetter,label:Object(K.__)("Text Color")}]},s&&Object(U.createElement)($.ContrastChecker,Object(Y.a)({textColor:r.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}(U.Component),dr=Object($.withColors)({mainColor:"background-color",textColor:"color"})(mr),hr={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"}},pr="core/pullquote",gr={title:Object(K.__)("Pullquote"),description:Object(K.__)("Give special visual emphasis to a quote from your text."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object(U.createElement)(Q.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(U.createElement)(Q.Polygon,{points:"21 4 2 4 2 6 21 6"})),category:"formatting",attributes:hr,styles:[{name:"default",label:Object(K._x)("Regular","block style"),isDefault:!0},{name:"solid-color",label:Object(K.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:dr,save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className;if(Object(G.includes)(u,br))(t=Object($.getColorClassName)("background-color",o))||(n={backgroundColor:a});else if(a)n={borderColor:a};else if(o){var b=Object(G.get)(Object(oe.select)("core/editor").getEditorSettings(),["colors"],[]);n={borderColor:Object($.getColorObjectByAttributeValues)(b,o).color}}var m=Object($.getColorClassName)("color",c),d=c||i?q()("has-text-color",Object(F.a)({},m,m)):void 0,h=m?void 0:{color:i};return Object(U.createElement)("figure",{className:t,style:n},Object(U.createElement)("blockquote",{className:d,style:h},Object(U.createElement)($.RichText.Content,{value:l,multiline:!0}),!$.RichText.isEmpty(s)&&Object(U.createElement)($.RichText.Content,{tagName:"cite",value:s})))},deprecated:[{attributes:Object(V.a)({},hr),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object(U.createElement)("blockquote",null,Object(U.createElement)($.RichText.Content,{value:n,multiline:!0}),!$.RichText.isEmpty(r)&&Object(U.createElement)($.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(V.a)({},hr,{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(U.createElement)("blockquote",{className:"align".concat(o)},Object(U.createElement)($.RichText.Content,{value:n,multiline:!0}),!$.RichText.isEmpty(r)&&Object(U.createElement)($.RichText.Content,{tagName:"footer",value:r}))}}]},Or=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).titleField=Object(U.createRef)(),e.editButton=Object(U.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(ne.a)(Object(ne.a)(e))),e.handleTitleChange=e.handleTitleChange.bind(Object(ne.a)(Object(ne.a)(e))),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.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===bt.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,r=e.isSaving,o=e.onEdit,a=e.instanceId;return Object(U.createElement)(U.Fragment,null,!t&&!r&&Object(U.createElement)("div",{className:"reusable-block-edit-panel"},Object(U.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object(U.createElement)(Q.Button,{ref:this.editButton,isLarge:!0,className:"reusable-block-edit-panel__button",onClick:o},Object(K.__)("Edit"))),(t||r)&&Object(U.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(U.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(a),className:"reusable-block-edit-panel__label"},Object(K.__)("Name:")),Object(U.createElement)("input",{ref:this.titleField,type:"text",disabled:r,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(a)}),Object(U.createElement)(Q.Button,{type:"submit",isLarge:!0,isBusy:r,disabled:!n||r,className:"reusable-block-edit-panel__button"},Object(K.__)("Save"))))}}]),t}(U.Component),fr=Object(re.withInstanceId)(Or);var jr=function(e){var t=e.title,n=Object(K.sprintf)(Object(K.__)("Reusable Block: %s"),t);return Object(U.createElement)(Q.Tooltip,{text:n},Object(U.createElement)("span",{className:"reusable-block-indicator"},Object(U.createElement)(Q.Dashicon,{icon:"controls-repeat"})))},vr=function(e){function t(e){var n,r=e.reusableBlock;return Object(Z.a)(this,t),(n=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(ne.a)(Object(ne.a)(n))),n.stopEditing=n.stopEditing.bind(Object(ne.a)(Object(ne.a)(n))),n.setAttributes=n.setAttributes.bind(Object(ne.a)(Object(ne.a)(n))),n.setTitle=n.setTitle.bind(Object(ne.a)(Object(ne.a)(n))),n.save=n.save.bind(Object(ne.a)(Object(ne.a)(n))),r&&r.isTemporary?n.state={isEditing:!0,title:r.title,changedAttributes:{}}:n.state={isEditing:!1,title:null,changedAttributes:null},n}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,changedAttributes:{}})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,changedAttributes:null})}},{key:"setAttributes",value:function(e){this.setState(function(t){if(null!==t.changedAttributes)return{changedAttributes:Object(V.a)({},t.changedAttributes,e)}})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.reusableBlock,n=e.onUpdateTitle,r=e.updateAttributes,o=e.block,a=e.onSave,c=this.state,i=c.title,l=c.changedAttributes;i!==t.title&&n(i),r(o.clientId,l),a(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.reusableBlock,r=e.block,o=e.isFetching,a=e.isSaving,c=this.state,i=c.isEditing,l=c.title,s=c.changedAttributes;if(!n&&o)return Object(U.createElement)(Q.Placeholder,null,Object(U.createElement)(Q.Spinner,null));if(!n||!r)return Object(U.createElement)(Q.Placeholder,null,Object(K.__)("Block has been deleted or is unavailable."));var u=Object(U.createElement)($.BlockEdit,Object(Y.a)({},this.props,{isSelected:i&&t,clientId:r.clientId,name:r.name,attributes:Object(V.a)({},r.attributes,s),setAttributes:i?this.setAttributes:G.noop}));return i||(u=Object(U.createElement)(Q.Disabled,null,u)),Object(U.createElement)(U.Fragment,null,(t||i)&&Object(U.createElement)(fr,{isEditing:i,title:null!==l?l:n.title,isSaving:a&&!n.isTemporary,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),!t&&!i&&Object(U.createElement)(jr,{title:n.title}),u)}}]),t}(U.Component),yr=Object(re.compose)([Object(oe.withSelect)(function(e,t){var n=e("core/editor"),r=n.__experimentalGetReusableBlock,o=n.__experimentalIsFetchingReusableBlock,a=n.__experimentalIsSavingReusableBlock,c=n.getBlock,i=t.attributes.ref,l=r(i);return{reusableBlock:l,isFetching:o(i),isSaving:a(i),block:l?c(l.clientId):null}}),Object(oe.withDispatch)(function(e,t){var n=e("core/editor"),r=n.__experimentalFetchReusableBlocks,o=n.updateBlockAttributes,a=n.__experimentalUpdateReusableBlockTitle,c=n.__experimentalSaveReusableBlock,i=t.attributes.ref;return{fetchReusableBlock:Object(G.partial)(r,i),updateAttributes:o,onUpdateTitle:Object(G.partial)(a,i),onSave:Object(G.partial)(c,i)}})])(vr),kr="core/block",wr={title:Object(K.__)("Reusable Block"),category:"reusable",description:Object(K.__)("Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used."),attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},edit:yr,save:function(){return null}},Cr="core/separator",Er={title:Object(K.__)("Separator"),description:Object(K.__)("Create a break between ideas or sections with a horizontal separator."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.Path,{d:"M19 13H5v-2h14v2z"})),category:"layout",keywords:[Object(K.__)("horizontal-line"),"hr",Object(K.__)("divider")],styles:[{name:"default",label:Object(K.__)("Short Line"),isDefault:!0},{name:"wide",label:Object(K.__)("Wide Line")},{name:"dots",label:Object(K.__)("Dots")}],transforms:{from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(D.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},edit:function(e){var t=e.className;return Object(U.createElement)("hr",{className:t})},save:function(){return Object(U.createElement)("hr",null)}},_r=n(57),xr="core/shortcode",Sr={title:Object(K.__)("Shortcode"),description:Object(K.__)("Insert additional custom elements with a WordPress shortcode."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.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"})),category:"widgets",attributes:{text:{type:"string",source:"text"}},transforms:{from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(_r.removep)(Object(_r.autop)(n))}}},priority:20}]},supports:{customClassName:!1,className:!1,html:!1},edit:Object(re.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,r=e.instanceId,o="blocks-shortcode-input-".concat(r);return Object(U.createElement)("div",{className:"wp-block-shortcode"},Object(U.createElement)("label",{htmlFor:o},Object(U.createElement)(Q.Dashicon,{icon:"shortcode"}),Object(K.__)("Shortcode")),Object(U.createElement)($.PlainText,{className:"input-control",id:o,value:t.text,placeholder:Object(K.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))}),save:function(e){var t=e.attributes;return Object(U.createElement)(U.RawHTML,null,t.text)}},Tr="core/spacer",Nr={title:Object(K.__)("Spacer"),description:Object(K.__)("Add white space between blocks and customize its height."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"}))),category:"layout",attributes:{height:{type:"number",default:100}},edit:Object(re.withInstanceId)(function(e){var t=e.attributes,n=e.isSelected,r=e.setAttributes,o=e.toggleSelection,a=e.instanceId,c=t.height,i="block-spacer-height-input-".concat(a);return Object(U.createElement)(U.Fragment,null,Object(U.createElement)(Q.ResizableBox,{className:q()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:c},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:function(e,t,n,a){r({height:parseInt(c+a.height,10)}),o(!0)},onResizeStart:function(){o(!1)}}),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Spacer Settings")},Object(U.createElement)(Q.BaseControl,{label:Object(K.__)("Height in pixels"),id:i},Object(U.createElement)("input",{type:"number",id:i,onChange:function(e){r({height:parseInt(e.target.value,10)})},value:c,min:"20",step:"10"})))))}),save:function(e){var t=e.attributes;return Object(U.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}},Rr=n(65),Br=n.n(Rr),Ar="core/subhead",Ir={title:Object(K.__)("Subheading (deprecated)"),description:Object(K.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),category:"common",supports:{inserter:!1,multiple:!1},attributes:{content:{type:"string",source:"html",selector:"p"},align:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(D.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.align,a=t.content,c=t.placeholder;return Br()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.AlignmentToolbar,{value:o,onChange:function(e){n({align:e})}})),Object(U.createElement)($.RichText,{tagName:"p",value:a,onChange:function(e){n({content:e})},style:{textAlign:o},className:r,placeholder:c||Object(K.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,r=t.content;return Object(U.createElement)($.RichText.Content,{tagName:"p",style:{textAlign:n},value:r})}};var Pr=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).onCreateTable=e.onCreateTable.bind(Object(ne.a)(Object(ne.a)(e))),e.onChangeFixedLayout=e.onChangeFixedLayout.bind(Object(ne.a)(Object(ne.a)(e))),e.onChange=e.onChange.bind(Object(ne.a)(Object(ne.a)(e))),e.onChangeInitialColumnCount=e.onChangeInitialColumnCount.bind(Object(ne.a)(Object(ne.a)(e))),e.onChangeInitialRowCount=e.onChangeInitialRowCount.bind(Object(ne.a)(Object(ne.a)(e))),e.renderSection=e.renderSection.bind(Object(ne.a)(Object(ne.a)(e))),e.getTableControls=e.getTableControls.bind(Object(ne.a)(Object(ne.a)(e))),e.onInsertRow=e.onInsertRow.bind(Object(ne.a)(Object(ne.a)(e))),e.onInsertRowBefore=e.onInsertRowBefore.bind(Object(ne.a)(Object(ne.a)(e))),e.onInsertRowAfter=e.onInsertRowAfter.bind(Object(ne.a)(Object(ne.a)(e))),e.onDeleteRow=e.onDeleteRow.bind(Object(ne.a)(Object(ne.a)(e))),e.onInsertColumn=e.onInsertColumn.bind(Object(ne.a)(Object(ne.a)(e))),e.onInsertColumnBefore=e.onInsertColumnBefore.bind(Object(ne.a)(Object(ne.a)(e))),e.onInsertColumnAfter=e.onInsertColumnAfter.bind(Object(ne.a)(Object(ne.a)(e))),e.onDeleteColumn=e.onDeleteColumn.bind(Object(ne.a)(Object(ne.a)(e))),e.state={initialRowCount:2,initialColumnCount:2,selectedCell:null},e}return Object(te.a)(t,e),Object(J.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=this.props.setAttributes,n=this.state,r=n.initialRowCount,o=n.initialColumnCount;t(function(e){var t=e.rowCount,n=e.columnCount;return{body:Object(G.times)(t,function(){return{cells:Object(G.times)(n,function(){return{content:"",tag:"td"}})}})}}({rowCount:r=parseInt(r,10)||2,columnCount:o=parseInt(o,10)||2}))}},{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)(function(e,t){var n=t.section,r=t.rowIndex,o=t.columnIndex,a=t.content;return Object(F.a)({},n,e[n].map(function(e,t){return t!==r?e:{cells:e.cells.map(function(e,t){return t!==o?e:Object(V.a)({},e,{content:a})})}}))}(r,{section:t.section,rowIndex:t.rowIndex,columnIndex:t.columnIndex,content:e}))}}},{key:"onInsertRow",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.rowIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.rowIndex,o=e[n][0].cells.length;return Object(F.a)({},n,Object(H.a)(e[n].slice(0,r)).concat([{cells:Object(G.times)(o,function(){return{content:"",tag:"td"}})}],Object(H.a)(e[n].slice(r))))}(r,{section: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.section,a=e.rowIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.rowIndex;return Object(F.a)({},n,e[n].filter(function(e,t){return t!==r}))}(n,{section: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.section,c=t.columnIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.columnIndex;return Object(F.a)({},n,e[n].map(function(e){return{cells:Object(H.a)(e.cells.slice(0,r)).concat([{content:"",tag:"td"}],Object(H.a)(e.cells.slice(r)))}}))}(r,{section:a,columnIndex:c+e}))}}},{key:"onInsertColumnBefore",value:function(){this.onInsertColumn(0)}},{key:"onInsertColumnAfter",value:function(){this.onInsertColumn(1)}},{key:"onDeleteColumn",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.columnIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.columnIndex;return Object(F.a)({},n,e[n].map(function(e){return{cells:e.cells.filter(function(e,t){return t!==r})}}).filter(function(e){return e.cells.length}))}(n,{section:o,columnIndex:a}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:e})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(K.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(K.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(K.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(K.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(K.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(K.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.type,r=e.rows;if(!r.length)return null;var o="t".concat(n),a=this.state.selectedCell;return Object(U.createElement)(o,null,r.map(function(e,r){var o=e.cells;return Object(U.createElement)("tr",{key:r},o.map(function(e,o){var c=e.content,i=e.tag,l=a&&n===a.section&&r===a.rowIndex&&o===a.columnIndex,s={section:n,rowIndex:r,columnIndex:o},u=q()({"is-selected":l});return Object(U.createElement)(i,{key:o,className:u},Object(U.createElement)($.RichText,{className:"wp-block-table__cell-content",value:c,onChange:t.onChange,unstableOnFocus:t.createOnFocus(s)}))}))}))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=this.state,o=r.initialRowCount,a=r.initialColumnCount,c=t.hasFixedLayout,i=t.head,l=t.body,s=t.foot,u=!i.length&&!l.length&&!s.length,b=this.renderSection;if(u)return Object(U.createElement)("form",{onSubmit:this.onCreateTable},Object(U.createElement)(Q.TextControl,{type:"number",label:Object(K.__)("Column Count"),value:a,onChange:this.onChangeInitialColumnCount,min:"1"}),Object(U.createElement)(Q.TextControl,{type:"number",label:Object(K.__)("Row Count"),value:o,onChange:this.onChangeInitialRowCount,min:"1"}),Object(U.createElement)(Q.Button,{isPrimary:!0,type:"submit"},Object(K.__)("Create")));var m=q()(n,{"has-fixed-layout":c});return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)(Q.DropdownMenu,{icon:"editor-table",label:Object(K.__)("Edit Table"),controls:this.getTableControls()}))),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Table Settings"),className:"blocks-table-settings"},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Fixed width table cells"),checked:!!c,onChange:this.onChangeFixedLayout}))),Object(U.createElement)("table",{className:m},Object(U.createElement)(b,{type:"head",rows:i}),Object(U.createElement)(b,{type:"body",rows:l}),Object(U.createElement)(b,{type:"foot",rows:s})))}}]),t}(U.Component),Lr={tr:{children:{th:{children:Object(D.getPhrasingContentSchema)()},td:{children:Object(D.getPhrasingContentSchema)()}}}},Mr={table:{children:{thead:{children:Lr},tfoot:{children:Lr},tbody:{children:Lr}}}};function zr(e){return{type:"array",default:[],source:"query",selector:"t".concat(e," tr"),query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"}}}}}}var Hr="core/table",Dr={title:Object(K.__)("Table"),description:Object(K.__)("Insert a table — perfect for sharing charts and data."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.Path,{d:"M20 3H5L3 5v14l2 2h15l2-2V5l-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}))),category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},head:zr("head"),body:zr("body"),foot:zr("foot")},styles:[{name:"regular",label:Object(K._x)("Regular","block style"),isDefault:!0},{name:"stripes",label:Object(K.__)("Stripes")}],supports:{align:!0},transforms:{from:[{type:"raw",selector:"table",schema:Mr}]},edit:Pr,save:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,o=t.body,a=t.foot;if(!r.length&&!o.length&&!a.length)return null;var c=q()({"has-fixed-layout":n}),i=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object(U.createElement)(r,null,n.map(function(e,t){var n=e.cells;return Object(U.createElement)("tr",{key:t},n.map(function(e,t){var n=e.content,r=e.tag;return Object(U.createElement)($.RichText.Content,{tagName:r,value:n,key:t})}))}))};return Object(U.createElement)("table",{className:c},Object(U.createElement)(i,{type:"head",rows:r}),Object(U.createElement)(i,{type:"body",rows:o}),Object(U.createElement)(i,{type:"foot",rows:a}))}},Fr="core/template",Vr={title:Object(K.__)("Reusable Template"),category:"reusable",description:Object(K.__)("Template block used as a container."),icon:Object(U.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(U.createElement)(Q.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(U.createElement)(Q.G,null,Object(U.createElement)(Q.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"}))),supports:{customClassName:!1,html:!1,inserter:!1},edit:function(){return Object(U.createElement)($.InnerBlocks,null)},save:function(){return Object(U.createElement)($.InnerBlocks.Content,null)}},Ur="core/text-columns",Wr={supports:{inserter:!1},title:Object(K.__)("Text Columns (deprecated)"),description:Object(K.__)("This block is deprecated. Please use the Columns block instead."),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"}},transforms:{to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object(D.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(D.createBlock)("core/column",{},[Object(D.createBlock)("core/paragraph",{content:t})])}))}}]},getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.width,a=t.content,c=t.columns;return Br()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.BlockAlignmentToolbar,{value:o,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,null,Object(U.createElement)(Q.RangeControl,{label:Object(K.__)("Columns"),value:c,onChange:function(e){return n({columns:e})},min:2,max:4}))),Object(U.createElement)("div",{className:"".concat(r," align").concat(o," columns-").concat(c)},Object(G.times)(c,function(e){return Object(U.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(U.createElement)($.RichText,{tagName:"p",value:Object(G.get)(a,[e,"children"]),onChange:function(t){n({content:Object(H.a)(a.slice(0,e)).concat([{children:t}],Object(H.a)(a.slice(e+1)))})},placeholder:Object(K.__)("New Column")}))})))},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return Object(U.createElement)("div",{className:"align".concat(n," columns-").concat(o)},Object(G.times)(o,function(e){return Object(U.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(U.createElement)($.RichText.Content,{tagName:"p",value:Object(G.get)(r,[e,"children"])}))}))}},qr="core/verse",Gr={title:Object(K.__)("Verse"),description:Object(K.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.Path,{d:"M3 17v4h4l11-11-4-4L3 17zm3 2H5v-1l9-9 1 1-9 9zM21 6l-3-3h-1l-2 2 4 4 2-2V6z"})),category:"formatting",keywords:[Object(K.__)("poetry")],attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},transforms:{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)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.mergeBlocks,a=t.textAlign,c=t.content;return Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)($.AlignmentToolbar,{value:a,onChange:function(e){n({textAlign:e})}})),Object(U.createElement)($.RichText,{tagName:"pre",value:c,onChange:function(e){n({content:e})},style:{textAlign:a},placeholder:Object(K.__)("Write…"),wrapperClassName:r,onMerge:o}))},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content;return Object(U.createElement)($.RichText.Content,{tagName:"pre",style:{textAlign:n},value:r})},merge:function(e,t){return{content:e.content+t.content}}},Kr=["video"],$r=["image"],Qr=function(e){function t(){var e;return Object(Z.a)(this,t),(e=Object(X.a)(this,Object(ee.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object(U.createRef)(),e.posterImageButton=Object(U.createRef)(),e.toggleAttribute=e.toggleAttribute.bind(Object(ne.a)(Object(ne.a)(e))),e.onSelectURL=e.onSelectURL.bind(Object(ne.a)(Object(ne.a)(e))),e.onSelectPoster=e.onSelectPoster.bind(Object(ne.a)(Object(ne.a)(e))),e.onRemovePoster=e.onRemovePoster.bind(Object(ne.a)(Object(ne.a)(e))),e}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=t.setAttributes,a=n.id,c=n.src,i=void 0===c?"":c;if(!a&&Object(de.isBlobURL)(i)){var l=Object(de.getBlobByURL)(i);l&&Object($.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(he.a)(e,1)[0].url;o({src:t})},onError:function(t){e.setState({editing:!0}),r.createErrorNotice(t)},allowedTypes:Kr})}}},{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(F.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=He({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:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,r=t.caption,o=t.controls,a=t.loop,c=t.muted,i=t.poster,l=t.preload,s=t.src,u=this.props,b=u.setAttributes,m=u.isSelected,d=u.className,h=u.noticeOperations,p=u.noticeUI,g=function(){e.setState({editing:!0})};return this.state.editing?Object(U.createElement)($.MediaPlaceholder,{icon:"media-video",className:d,onSelect:function(t){if(!t||!t.url)return b({src:void 0,id:void 0}),void g();b({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:Kr,value:this.props.attributes,notices:p,onError:h.createErrorNotice}):Object(U.createElement)(U.Fragment,null,Object(U.createElement)($.BlockControls,null,Object(U.createElement)(Q.Toolbar,null,Object(U.createElement)(Q.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(K.__)("Edit video"),onClick:g,icon:"edit"}))),Object(U.createElement)($.InspectorControls,null,Object(U.createElement)(Q.PanelBody,{title:Object(K.__)("Video Settings")},Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:a}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Muted"),onChange:this.toggleAttribute("muted"),checked:c}),Object(U.createElement)(Q.ToggleControl,{label:Object(K.__)("Playback Controls"),onChange:this.toggleAttribute("controls"),checked:o}),Object(U.createElement)(Q.SelectControl,{label:Object(K.__)("Preload"),value:l,onChange:function(e){return b({preload:e})},options:[{value:"auto",label:Object(K.__)("Auto")},{value:"metadata",label:Object(K.__)("Metadata")},{value:"none",label:Object(K.__)("None")}]}),Object(U.createElement)($.MediaUploadCheck,null,Object(U.createElement)(Q.BaseControl,{className:"editor-video-poster-control",label:Object(K.__)("Poster Image")},Object(U.createElement)($.MediaUpload,{title:Object(K.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:$r,render:function(t){var n=t.open;return Object(U.createElement)(Q.Button,{isDefault:!0,onClick:n,ref:e.posterImageButton},e.props.attributes.poster?Object(K.__)("Replace image"):Object(K.__)("Select Poster Image"))}}),!!this.props.attributes.poster&&Object(U.createElement)(Q.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(K.__)("Remove Poster Image")))))),Object(U.createElement)("figure",{className:d},Object(U.createElement)(Q.Disabled,null,Object(U.createElement)("video",{controls:o,poster:i,src:s,ref:this.videoPlayer})),(!$.RichText.isEmpty(r)||m)&&Object(U.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(K.__)("Write caption…"),value:r,onChange:function(e){return b({caption:e})},inlineToolbar:!0})))}}]),t}(U.Component),Yr=Object(Q.withNotices)(Qr),Zr="core/video",Jr={title:Object(K.__)("Video"),description:Object(K.__)("Embed a video from your media library or upload a new one."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(U.createElement)(Q.Path,{d:"M4 6l2 4h14v8H4V6m18-2h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4L2 6v12l2 2h16l2-2V4z"})),keywords:[Object(K.__)("movie")],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"}},transforms:{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(D.createBlock)("core/video",{src:Object(de.createBlobURL)(t)})}}]},supports:{align:!0},edit:Yr,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;return Object(U.createElement)("figure",null,s&&Object(U.createElement)("video",{autoPlay:n,controls:o,loop:a,muted:c,poster:i,preload:"metadata"!==l?l:void 0,src:s}),!$.RichText.isEmpty(r)&&Object(U.createElement)($.RichText.Content,{tagName:"figcaption",value:r}))}};var Xr=function(e){function t(e){var n;return Object(Z.a)(this,t),(n=Object(X.a)(this,Object(ee.a)(t).call(this,e))).initialize=n.initialize.bind(Object(ne.a)(Object(ne.a)(n))),n.onSetup=n.onSetup.bind(Object(ne.a)(Object(ne.a)(n))),n.focus=n.focus.bind(Object(ne.a)(Object(ne.a)(n))),n}return Object(te.a)(t,e),Object(J.a)(t,[{key:"componentDidMount",value:function(){var e=window.wpEditorL10n.tinymce,t=e.baseURL,n=e.suffix;window.tinymce.EditorManager.overrideDefaults({base_url:t,suffix:n}),"complete"===document.readyState?this.initialize():window.addEventListener("DOMContentLoaded",this.initialize)}},{key:"componentWillUnmount",value:function(){window.addEventListener("DOMContentLoaded",this.initialize),wp.oldEditor.remove("editor-".concat(this.props.clientId))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.clientId,r=t.attributes.content,o=window.tinymce.get("editor-".concat(n));e.attributes.content!==r&&o.setContent(r||"")}},{key:"initialize",value:function(){var e=this.props.clientId,t=window.wpEditorL10n.tinymce.settings;wp.oldEditor.initialize("editor-".concat(e),{tinymce:Object(V.a)({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-".concat(e),setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t=this,n=this.props,r=n.attributes.content,o=n.setAttributes,a=this.ref;this.editor=e,r&&e.on("loadContent",function(){return e.setContent(r)}),e.on("blur",function(){return o({content:e.getContent()}),!1}),e.on("keydown",function(n){n.keyCode!==bt.BACKSPACE&&n.keyCode!==bt.DELETE||!function(e){var t=e.getBody();return!(t.childNodes.length>1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(t.props.onReplace([]),n.preventDefault(),n.stopImmediatePropagation()),n.altKey&&n.keyCode===bt.F10&&n.stopPropagation()}),e.addButton("kitchensink",{tooltip:Object(K._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(a,"has-advanced-toolbar",t)}}),e.on("init",function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(a,"has-advanced-toolbar")}),e.addButton("wp_add_media",{tooltip:Object(K.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",function(){var e=t.editor.getBody();document.activeElement===e&&(e.blur(),t.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(U.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),ref:function(t){return e.ref=t},className:"block-library-classic__toolbar",onClick:this.focus,"data-placeholder":Object(K.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(U.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}(U.Component),eo="core/freeform",to={title:Object(K._x)("Classic","block title"),description:Object(K.__)("Use the classic WordPress editor."),icon:Object(U.createElement)(Q.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(U.createElement)(Q.Path,{d:"M0,0h24v24H0V0z M0,0h24v24H0V0z",fill:"none"}),Object(U.createElement)(Q.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(U.createElement)(Q.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(U.createElement)(Q.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(U.createElement)(Q.Rect,{x:"17",y:"8",width:"2",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,reusable:!1},edit:Xr,save:function(e){var t=e.attributes.content;return Object(U.createElement)(U.RawHTML,null,t)}};n.d(t,"registerCoreBlocks",function(){return no});var no=function(){[r,o,a,i,k,c,N,l,s,u,b,m,d,h,p,g].concat(Object(H.a)(jn),Object(H.a)(vn),[O,window.wp&&window.wp.oldEditor?z:null,f,j,v,y,w,C,E,_,x,T,S,R,B,A,I,P,L,M]).forEach(function(e){if(e){var t=e.name,n=e.settings;Object(D.registerBlockType)(t,n)}}),Object(D.setDefaultBlockName)(be),window.wp&&window.wp.oldEditor&&Object(D.setFreeformContentHandlerName)(eo),Object(D.setUnregisteredTypeHandlerName)(nr)}},32:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return r})},33:function(e,t){!function(){e.exports=this.wp.blob}()},35:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return r})},36: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})},37:function(e,t){!function(){e.exports=this.wp.viewport}()},4:function(e,t){!function(){e.exports=this.wp.components}()},41: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;c0&&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"===o(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 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},r=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,a.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,a.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=i},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 o=window.getSelection(),r=document.createRange();r.selectNodeContents(e),o.removeAllRanges(),o.addRange(r),t=o.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o":".","?":"/","|":"\\"},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();g.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},g.prototype.unbind=function(e,t){return this.bind.call(this,e,function(){},t)},g.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},g.prototype.reset=function(){return this._callbacks={},this._directMap={},this},g.prototype.stopCallback=function(e,t){return!((" "+t.className+" ").indexOf(" mousetrap ")>-1)&&(!function e(t,n){return null!==t&&t!==a&&(t===n||e(t.parentNode,n))}(t,this.target)&&("INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable))},g.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)},g.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);c=null},g.init=function(){var e=g(a);for(var t in e)"_"!==t.charAt(0)&&(g[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},g.init(),r.Mousetrap=g,e.exports&&(e.exports=g),void 0===(o=function(){return g}.call(t,n,t,e))||(e.exports=o)}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 b(e,t){return e.sort().join(",")===t.sort().join(",")}function v(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function m(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 y(e,t){var n,o,r,a=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),r=0;r1?h(e,c,n,o):(i=y(e,o),t._callbacks[i.key]=t._callbacks[i.key]||[],l(i.key,i.modifiers,{type:i.action},r,e,a),t._callbacks[i.key][r?"unshift":"push"]({callback:n,modifiers:i.modifiers,action:i.action,seq:r,level:a,combo:e}))}t._handleKey=function(e,t,n){var o,r=l(e,t,n),a={},d=0,h=!1;for(o=0;o=0&&"[object Function]"===o.call(e.callee)),n}},function(e,t,n){"use strict";var o=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==r.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,a=o.call(arguments,1),i=Math.max(0,t.length-a.length),c=[],s=0;s= 0");var n=this.ToLength(t);if(!this.SameValueZero(t,n))throw new RangeError("index must be >= 0 and < 2 ** 53 - 1");return n}});delete a.EnumerableOwnNames,e.exports=a},function(e,t,n){"use strict";var o=n(88),r=n(209),a=n(133),i=a("%TypeError%"),c=a("%SyntaxError%"),s=a("%Array%"),l=a("%String%"),u=a("%Object%"),d=a("%Number%"),h=a("%Symbol%",!0),f=a("%RegExp%"),p=!!h,b=n(134),v=n(135),m=d.MAX_SAFE_INTEGER||Math.pow(2,53)-1,y=n(107),g=n(136),O=n(137),k=n(213),_=parseInt,D=n(68),w=D.call(Function.call,s.prototype.slice),S=D.call(Function.call,l.prototype.slice),M=D.call(Function.call,f.prototype.test,/^0b[01]+$/i),j=D.call(Function.call,f.prototype.test,/^0o[0-7]+$/i),C=D.call(Function.call,f.prototype.exec),P=new f("["+["
","",""].join("")+"]","g"),E=D.call(Function.call,f.prototype.test,P),z=D.call(Function.call,f.prototype.test,/^[-+]0x[0-9a-f]+$/i),T=D.call(Function.call,l.prototype.charCodeAt),I=D.call(Function.call,Object.prototype.toString),x=Math.floor,H=Math.abs,N=Object.create,R=u.getOwnPropertyDescriptor,L=u.isExtensible,A=["\t\n\v\f\r "," \u2028","\u2029\ufeff"].join(""),F=new RegExp("(^["+A+"]+)|(["+A+"]+$)","g"),V=D.call(Function.call,l.prototype.replace),B=n(214),K=n(216),W=y(y({},B),{Call:function(e,t){var n=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new i(e+" is not a function");return e.apply(t,n)},ToPrimitive:r,ToNumber:function(e){var t=k(e)?e:r(e,d);if("symbol"==typeof t)throw new i("Cannot convert a Symbol value to a number");if("string"==typeof t){if(M(t))return this.ToNumber(_(S(t,2),2));if(j(t))return this.ToNumber(_(S(t,2),8));if(E(t)||z(t))return NaN;var n=function(e){return V(e,F,"")}(t);if(n!==t)return this.ToNumber(n)}return d(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(b(t)||0===t||!v(t))return 0;var n=g(t)*x(H(t));return O(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(b(t)||t<=0)return 0;if(t>=255)return 255;var n=x(e);return n+.5m?m:t},CanonicalNumericIndexString:function(e){if("[object String]"!==I(e))throw new i("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:B.CheckObjectCoercible,IsArray:s.isArray||function(e){return"[object Array]"===I(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!k(e)&&L(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||b(e)||!v(e))return!1;var t=H(e);return x(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(p){var t=e[h.match];if(void 0!==t)return B.ToBoolean(t)}return K(e)},SameValueZero:function(e,t){return e===t||b(e)&&b(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new i(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":B.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new i("O.constructor is not an Object");var o=p&&h.species?n[h.species]:void 0;if(null==o)return t;if(this.IsConstructor(o))return o;throw new i("no constructor found")},CompletePropertyDescriptor:function(e){if(!this.IsPropertyDescriptor(e))throw new i("Desc must be a Property Descriptor");return this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(o(e,"[[Value]]")||(e["[[Value]]"]=void 0),o(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(o(e,"[[Get]]")||(e["[[Get]]"]=void 0),o(e,"[[Set]]")||(e["[[Set]]"]=void 0)),o(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),o(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,o){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");if("Boolean"!==this.Type(o))throw new i("Throw must be a Boolean");if(o)return e[t]=n,!0;try{e[t]=n}catch(e){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");return o(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(p&&"symbol"==typeof h.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");var n=w(arguments,2),o=this.GetV(e,t);return this.Call(o,e,n)},GetIterator:function(e,t){if(!p)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,h.iterator));var o=this.Call(n,e);if("Object"!==this.Type(o))throw new i("iterator must return an object");return o},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new i("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new i("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 i("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new i("Assertion failed: completion is not a thunk for a Completion Record");var n,o=t,r=this.GetMethod(e,"return");if(void 0===r)return o();try{var a=this.Call(r,e,[])}catch(e){throw n=o(),o=null,e}if(n=o(),o=null,"Object"!==this.Type(a))throw new i("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new i("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new i("R must be an Object");if("String"!==this.Type(t))throw new i("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var o=this.Call(n,e,[t]);if(null===o||"Object"===this.Type(o))return o;throw new i('"exec" method must return `null` or an Object')}return C(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new i("Assertion failed: length must be an integer >= 0");var n,o=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&p&&h.species&&null===(n=this.Get(n,h.species))&&(n=void 0)),void 0===n)return s(o);if(!this.IsConstructor(n))throw new i("C must be a constructor");return new n(o)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var o=R(e,t),r=o||"function"!=typeof L||L(e);if(o&&(!o.writable||!o.configurable)||!r)return!1;var a={configurable:!0,enumerable:!0,value:n,writable:!0};return Object.defineProperty(e,t,a),!0},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var o=this.CreateDataProperty(e,t,n);if(!o)throw new i("unable to create data property");return o},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new i("Assertion failed: proto must be null or an object");if((arguments.length<2?[]:t).length>0)throw new c("es-abstract does not yet support internal slots");if(null===e&&!N)throw new c("native Object.create support is required to create null objects");return N(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new i("S must be a String");if(!this.IsInteger(t)||t<0||t>m)throw new i("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new i("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var o=T(e,t);if(o<55296||o>56319)return t+1;var r=T(e,t+1);return r<56320||r>57343?t+1:t+2}});delete W.CheckObjectCoercible,e.exports=W},function(e,t,n){"use strict";e.exports=n(210)},function(e,t,n){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,r=n(130),a=n(106),i=n(211),c=n(131);e.exports=function(e){if(r(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),o&&(Symbol.toPrimitive?t=function(e,t){var n=e[t];if(null!==n&&void 0!==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(r(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(void 0===e||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,o,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(c(t)||0===t||!s(t))return 0;var n=l(t)*Math.floor(Math.abs(t));return u(n,65536)},ToString:function(e){return i(e)},ToObject:function(e){return this.CheckObjectCoercible(e),r(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new a(t||"Cannot call method on "+e);return e},IsCallable:d,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:c(e)&&c(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(f(e,n)&&!t[n])return!1;var o=f(e,"[[Value]]"),r=f(e,"[[Get]]")||f(e,"[[Set]]");if(o&&r)throw new a("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!(!f(e,"[[Get]]")&&!f(e,"[[Set]]"))},IsDataDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!(!f(e,"[[Value]]")&&!f(e,"[[Writable]]"))},IsGenericDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e)},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");if(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(f(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),f(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),f(e,"value")&&(t["[[Value]]"]=e.value),f(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),f(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(f(e,"set")){var o=e.set;if(void 0!==o&&!this.IsCallable(o))throw new a("setter must be a function");t["[[Set]]"]=o}if((f(t,"[[Get]]")||f(t,"[[Set]]"))&&(f(t,"[[Value]]")||f(t,"[[Writable]]")))throw new a("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}};e.exports=p},function(e,t,n){"use strict";var o=Object.prototype.toString,r=n(130),a=n(106),i=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===o.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 o=n(88),r=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||!o(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,r.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},function(e,t,n){"use strict";var o=n(63),r=n(138);e.exports=function(){var e=r();return o(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},function(e,t,n){"use strict";(function(t){var o=n(63),r=n(131),a="__ global cache key __";"function"==typeof Symbol&&r(Symbol("foo"))&&"function"==typeof Symbol.for&&(a=Symbol.for(a));var i=function(){return!0},c=function(){if(!t[a]){var e={};e[a]={};var n={};n[a]=i,o(t,e,n)}return t[a]},s=c(),l=function(e){return r(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete t[a],s=c()},delete:function(e){return u(e),delete s[l(e)],!d.has(e)},get:function(e){return u(e),s[l(e)]},has:function(e){return u(e),l(e)in s},set:function(e,t){u(e);var n=l(e),r={};r[n]=t;var a={};return a[n]=i,o(s,r,a),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d}).call(this,n(51))},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,o={},r=0;r>",baseInvalidMessage:"Invalid "};function o(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 o=e.bind(null,!1,t);return o.isRequired=e.bind(null,!0,t),o},t}function r(e,t,o){return new Error("The prop `"+e+"` "+n.requiredCore+" in `"+t+"`, but its value is `"+o+"`.")}var a=-1;e.exports={constructPropValidatorVariations:o,createMomentChecker:function(e,t,i,c){return o(function(o,s,l,u,d,h,f){var p=l[u],b=typeof p,v=function(e,t,n,o){var i=void 0===o,c=null===o;if(e){if(i)return r(n,t,"undefined");if(c)return r(n,t,"null")}return i||c?null:a}(o,d=d||n.anonymousMessage,f=f||u,p);if(v!==a)return v;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+e+"`.");if(!i(p))return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+c+"`.");if(s&&!s(p)){var m=s.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+b+"` supplied to `"+d+"`. "+n.predicateFailureCore+" `"+m+"`.")}return null})},messages:n}},function(e,t){function n(){return null}function o(){return n}n.isRequired=n,e.exports={and:o,between:o,booleanSome:o,childrenHavePropXorChildren:o,childrenOf:o,childrenOfType:o,childrenSequenceOf:o,componentWithName:o,disallowedIf:o,elementType:o,explicitNull:o,forbidExtraProps:Object,integer:o,keysOf:o,mutuallyExclusiveProps:o,mutuallyExclusiveTrueProps:o,nChildren:o,nonNegativeInteger:n,nonNegativeNumber:o,numericString:o,object:o,or:o,range:o,requiredBy:o,restrictedProp:o,sequenceOf:o,shape:o,stringStartsWith:o,uniqueArray:o,uniqueArrayOf:o,valuesOf:o,withShape:o}},function(e,t,n){"use strict";var o=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return t&&!0===t.clone&&o(e)?c(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function i(e,t,n){var r=e.slice();return t.forEach(function(t,i){void 0===r[i]?r[i]=a(t,n):o(t)?r[i]=c(e[i],t,n):-1===e.indexOf(t)&&r.push(a(t,n))}),r}function c(e,t,n){var r=Array.isArray(t);return r===Array.isArray(e)?r?((n||{arrayMerge:i}).arrayMerge||i)(e,t,n):function(e,t,n){var r={};return o(e)&&Object.keys(e).forEach(function(t){r[t]=a(e[t],n)}),Object.keys(t).forEach(function(i){o(t[i])&&e[i]?r[i]=c(e[i],t[i],n):r[i]=a(t[i],n)}),r}(e,t,n):a(t,n)}c.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce(function(e,n){return c(e,n,t)})};var s=c;e.exports=s},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.CHANNEL="__direction__",t.DIRECTIONS={LTR:"ltr",RTL:"rtl"}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(28));t.default=o.default.shape({getState:o.default.func,setState:o.default.func,subscribe:o.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 o=c(n(26)),r=n(39),a=c(n(108)),i=c(n(234));function c(e){return e&&e.__esModule?e:{default:e}}var s=(0,r.forbidExtraProps)({children:(0,r.or)([(0,r.childrenOfType)(a.default),(0,r.childrenOfType)(i.default)]).isRequired});function l(e){var t=e.children;return o.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 o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:o.default.localeData().firstDayOfWeek();if(!o.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===r.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var a=e.clone().startOf("month").hour(12),i=e.clone().endOf("month").hour(12),c=(a.day()+7-n)%7,s=(n+6-i.day())%7,l=a.clone().subtract(c,"day"),u=i.clone().add(s,"day").diff(l,"days")+1,d=l.clone(),h=[],f=0;f=c&&f=t||n<0||m&&e-b>=d}function k(){var e=r();if(O(e))return _(e);f=setTimeout(k,function(e){var n=t-(e-p);return m?s(n,d-(e-b)):n}(e))}function _(e){return f=void 0,y&&l?g(e):(l=u=void 0,h)}function D(){var e=r(),n=O(e);if(l=arguments,u=this,p=e,n){if(void 0===f)return function(e){return b=e,f=setTimeout(k,t),v?g(e):h}(p);if(m)return f=setTimeout(k,t),g(p)}return void 0===f&&(f=setTimeout(k,t)),h}return t=a(t)||0,o(n)&&(v=!!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),b=0,l=p=u=f=void 0},D.flush=function(){return void 0===f?h:_(r())},D}},function(e,t,n){var o=n(162);e.exports=function(){return o.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(51))},function(e,t,n){var o=n(114),r=n(248),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(r(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(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 o=n(249),r=n(252),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||r(e)&&o(e)==a}},function(e,t,n){var o=n(163),r=n(250),a=n(251),i="[object Null]",c="[object Undefined]",s=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?c:i:s&&s in Object(e)?r(e):a(e)}},function(e,t,n){var o=n(163),r=Object.prototype,a=r.hasOwnProperty,i=r.toString,c=o?o.toStringTag:void 0;e.exports=function(e){var t=a.call(e,c),n=e[c];try{e[c]=void 0;var o=!0}catch(e){}var r=i.call(e);return o&&(t?e[c]=n:delete e[c]),r}},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]:o;return e?n(e(t.clone())):t};var o=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:o.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 o=function(e){return e&&e.__esModule?e:{default:e}}(n(27))},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 o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=n.split(" "),i=Object(x.a)(a,2),c=i[0],s=i[1],l=void 0===s?"center":s,u=function(e,t,n){var o,r=t.height,a=e.top+e.height/2,i={popoverTop:a,contentHeight:(a-r/2>0?r/2:a)+(a+r/2>window.innerHeight?window.innerHeight-a:r/2)},c={popoverTop:e.top,contentHeight:e.top-H-r>0?r:e.top-H},s={popoverTop:e.bottom,contentHeight:e.bottom+H+r>window.innerHeight?window.innerHeight-H-e.bottom:r},l=null;if("middle"===n&&i.contentHeight===r)o="middle";else if("top"===n&&c.contentHeight===r)o="top";else if("bottom"===n&&s.contentHeight===r)o="bottom";else{var u="top"==(o=c.contentHeight>s.contentHeight?"top":"bottom")?c.contentHeight:s.contentHeight;l=u!==r?u:null}return{yAxis:o,popoverTop:"middle"===o?i.popoverTop:"top"===o?c.popoverTop:s.popoverTop,contentHeight:l}}(e,t,c),d=function(e,t,n,o){var r=t.width;"left"===n&&R()?n="right":"right"===n&&R()&&(n="left");var a,i=Math.round(e.left+e.width/2),c={popoverLeft:i,contentWidth:(i-r/2>0?r/2:i)+(i+r/2>window.innerWidth?window.innerWidth-i:r/2)},s="middle"===o?e.left:i,l={popoverLeft:s,contentWidth:s-r>0?r:s},u="middle"===o?e.right:i,d={popoverLeft:u,contentWidth:u+r>window.innerWidth?window.innerWidth-u:r},h=null;if("center"===n&&c.contentWidth===r)a="center";else if("left"===n&&l.contentWidth===r)a="left";else if("right"===n&&d.contentWidth===r)a="right";else{var f="left"==(a=l.contentWidth>d.contentWidth?"left":"right")?l.contentWidth:d.contentWidth;h=f!==r?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(o.a)({isMobile:N()&&r},d,u)}var A=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).setIsFocusedTrue=function(){return e.isFocused=!0},e.setIsFocusedFalse=function(){return e.isFocused=!1},e.activeElementOnMount=document.activeElement,e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused;if(e){var n=document,o=n.body,r=n.activeElement;(t||null===r||o===r)&&e.focus()}}},{key:"render",value:function(){return Object(r.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(r.createElement)(e,this.props))}}]),n}(r.Component)},"withFocusReturn"),F=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).focusContainRef=Object(r.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===_.TAB){var t=M.focus.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],o=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),o.focus()):(e.shiftKey||e.target!==o)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(r.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(r.createElement)(e,this.props))}}]),n}(r.Component)},"withConstrainedTabbing"),V=n(96),B=n.n(V),K=function(e){function t(){return Object(h.a)(this,t),Object(f.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(v.a)(t,e),Object(b.a)(t,[{key:"handleClickOutside",value:function(e){var t=this.props.onClickOutside;t&&t(e)}},{key:"render",value:function(){return this.props.children}}]),t}(r.Component),W=B()(K);var U=function(e){var t,n,o=e.shortcut,a=e.className;return o?(Object(k.isString)(o)&&(t=o),Object(k.isObject)(o)&&(t=o.display,n=o.ariaLabel),Object(r.createElement)("span",{className:a,"aria-label":n},t)):null},Y=700,$=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).delayedSetIsOver=Object(k.debounce)(function(t){return e.setState({isOver:t})},Y),e.state={isOver:!1},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel()}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===r.Children.count(n)){var o=r.Children.only(n);"function"==typeof o.props[e]&&o.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(o){if(n.emitToChild(e,o),!o.currentTarget.disabled){n.delayedSetIsOver.cancel();var r=Object(k.includes)(["focus","mouseenter"],o.type);r!==n.state.isOver&&(t?n.delayedSetIsOver(r):n.setState({isOver:r}))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,o=e.text,a=e.shortcut;if(1!==r.Children.count(t))return t;var i=r.Children.only(t),c=this.state.isOver;return Object(r.cloneElement)(i,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),children:Object(r.concatChildren)(i.props.children,c&&Object(r.createElement)(de,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true"},o,Object(r.createElement)(U,{className:"components-tooltip__shortcut",shortcut:a})))})}}]),t}(r.Component),G=function(e){function t(){return Object(h.a)(this,t),Object(f.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(v.a)(t,e),Object(b.a)(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.icon!==e.icon||this.props.size!==e.size||this.props.className!==e.className}},{key:"render",value:function(){var e,t=this.props,n=t.icon,o=t.className,a=t.size,i=void 0===a?20:a;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"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 s=["dashicon","dashicons-"+n,o].filter(Boolean).join(" ");return Object(r.createElement)(u,{"aria-hidden":!0,role:"img",focusable:"false",className:s,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 20 20"},Object(r.createElement)(c,{d:e}))}}]),t}(r.Component),q=function(e){function t(){return Object(h.a)(this,t),Object(f.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(v.a)(t,e),Object(b.a)(t,[{key:"render",value:function(){var e=this.props,t=e.icon,n=e.children,o=e.label,a=e.className,i=e.tooltip,c=e.shortcut,s=Object(E.a)(e,["icon","children","label","className","tooltip","shortcut"]),l=O()("components-icon-button",a),u=i||o,d=!s.disabled&&(i||c||!!o&&(!n||Object(k.isArray)(n)&&!n.length)&&!1!==i),h=Object(r.createElement)(z,Object(j.a)({"aria-label":o},s,{className:l}),Object(k.isString)(t)?Object(r.createElement)(G,{icon:t}):t,n);return d&&(h=Object(r.createElement)($,{text:u,shortcut:c},h)),h}}]),t}(r.Component);var Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,o=e.className,a=void 0===o?"lockscroll":o,i=0,c=0;function s(e){var t=n.scrollingElement||n.body;e&&(c=t.scrollTop);var o=e?"add":"remove";t.classList[o](a),n.documentElement.classList[o](a),e||(t.scrollTop=c)}return function(e){function t(){return Object(h.a)(this,t),Object(f.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(v.a)(t,e),Object(b.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}(r.Component)}(),X=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).call(this,e))).stopEventPropagationOutsideContainer=n.stopEventPropagationOutsideContainer.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"stopEventPropagationOutsideContainer",value:function(e){e.stopPropagation()}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(E.a)(e,["children"]);return Object(r.createElement)("div",Object(j.a)({},n,{onMouseDown:this.stopEventPropagationOutsideContainer}),t)}}]),t}(r.Component),Q=Object(r.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){}}),J=Q.Provider,ee=Q.Consumer,te=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).registerSlot=e.registerSlot.bind(Object(m.a)(Object(m.a)(e))),e.registerFill=e.registerFill.bind(Object(m.a)(Object(m.a)(e))),e.unregisterSlot=e.unregisterSlot.bind(Object(m.a)(Object(m.a)(e))),e.unregisterFill=e.unregisterFill.bind(Object(m.a)(Object(m.a)(e))),e.getSlot=e.getSlot.bind(Object(m.a)(Object(m.a)(e))),e.getFills=e.getFills.bind(Object(m.a)(Object(m.a)(e))),e.slots={},e.fills={},e.state={registerSlot:e.registerSlot,unregisterSlot:e.unregisterSlot,registerFill:e.registerFill,unregisterFill:e.unregisterFill,getSlot:e.getSlot,getFills:e.getFills},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"registerSlot",value:function(e,t){this.slots[e]=t,this.forceUpdateFills(e),this.forceUpdateSlot(e)}},{key:"registerFill",value:function(e,t){this.fills[e]=Object(y.a)(this.fills[e]||[]).concat([t]),this.forceUpdateSlot(e)}},{key:"unregisterSlot",value:function(e){delete this.slots[e],this.forceUpdateFills(e)}},{key:"unregisterFill",value:function(e,t){this.fills[e]=Object(k.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){return Object(k.sortBy)(this.fills[e],"occurrence")}},{key:"resetFillOccurrence",value:function(e){Object(k.forEach)(this.fills[e],function(e){e.resetOccurrence()})}},{key:"forceUpdateFills",value:function(e){Object(k.forEach)(this.fills[e],function(e){e.forceUpdate()})}},{key:"forceUpdateSlot",value:function(e){var t=this.getSlot(e);t&&t.forceUpdate()}},{key:"render",value:function(){return Object(r.createElement)(J,{value:this.state},this.props.children)}}]),t}(r.Component),ne=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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,o=t.unregisterSlot,r=t.registerSlot;e.name!==n&&(o(e.name),r(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,o=e.bubblesVirtually,a=void 0!==o&&o,i=e.fillProps,c=void 0===i?{}:i,s=e.getFills;if(a)return Object(r.createElement)("div",{ref:this.bindNode});var l=Object(k.map)(s(n),function(e){var t=e.occurrence,n=Object(k.isFunction)(e.props.children)?e.props.children(c):e.props.children;return r.Children.map(n,function(e,n){if(!e||Object(k.isString)(e))return e;var o="".concat(t,"---").concat(e.key||n);return Object(r.cloneElement)(e,{key:o})})}).filter(Object(k.negate)(r.isEmptyElement));return Object(r.createElement)(r.Fragment,null,Object(k.isFunction)(t)?t(l):l)}}]),t}(r.Component),oe=function(e){return Object(r.createElement)(ee,null,function(t){var n=t.registerSlot,o=t.unregisterSlot,a=t.getFills;return Object(r.createElement)(ne,Object(j.a)({},e,{registerSlot:n,unregisterSlot:o,getFills:a}))})},re=0,ae=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).occurrence=++re,e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){(0,this.props.registerFill)(this.props.name,this)}},{key:"componentWillUpdate",value:function(){this.occurrence||(this.occurrence=++re);var e=(0,this.props.getSlot)(this.props.name);e&&!e.props.bubblesVirtually&&e.forceUpdate()}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterFill)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,o=t.unregisterFill,r=t.registerFill;e.name!==n&&(o(e.name,this),r(n,this))}},{key:"resetOccurrence",value:function(){this.occurrence=null}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.getSlot,o=this.props.children,a=n(t);return a&&a.props.bubblesVirtually?(Object(k.isFunction)(o)&&(o=o(a.props.fillProps)),Object(r.createPortal)(o,a.node)):null}}]),t}(r.Component),ie=function(e){return Object(r.createElement)(ee,null,function(t){var n=t.getSlot,o=t.registerFill,a=t.unregisterFill;return Object(r.createElement)(ae,Object(j.a)({},e,{getSlot:n,registerFill:o,unregisterFill:a}))})};function ce(e){var t=function(t){return Object(r.createElement)(ie,Object(j.a)({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(r.createElement)(oe,Object(j.a)({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var se=F(A(function(e){return e.children})),le=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).getAnchorRect=e.getAnchorRect.bind(Object(m.a)(Object(m.a)(e))),e.computePopoverPosition=e.computePopoverPosition.bind(Object(m.a)(Object(m.a)(e))),e.maybeClose=e.maybeClose.bind(Object(m.a)(Object(m.a)(e))),e.throttledRefresh=e.throttledRefresh.bind(Object(m.a)(Object(m.a)(e))),e.refresh=e.refresh.bind(Object(m.a)(Object(m.a)(e))),e.refreshOnAnchorMove=e.refreshOnAnchorMove.bind(Object(m.a)(Object(m.a)(e))),e.contentNode=Object(r.createRef)(),e.anchorNode=Object(r.createRef)(),e.state={popoverLeft:null,popoverTop:null,yAxis:"top",xAxis:"center",contentHeight:null,contentWidth:null,isMobile:!1,popoverSize:null},e.anchorRect={},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.toggleAutoRefresh(!0),this.refresh(),this.focusTimeout=setTimeout(function(){e.focus()},0)}},{key:"componentDidUpdate",value:function(e){e.position!==this.props.position&&this.computePopoverPosition(this.state.popoverSize,this.anchorRect)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.focusTimeout),this.toggleAutoRefresh(!1)}},{key:"toggleAutoRefresh",value:function(e){window.cancelAnimationFrame(this.rafHandle);var t=e?"addEventListener":"removeEventListener";window[t]("resize",this.throttledRefresh),window[t]("scroll",this.throttledRefresh,!0),e?this.autoRefresh=setInterval(this.refreshOnAnchorMove,500):clearInterval(this.autoRefresh)}},{key:"throttledRefresh",value:function(e){window.cancelAnimationFrame(this.rafHandle),e&&"scroll"===e.type&&this.contentNode.current.contains(e.target)||(this.rafHandle=window.requestAnimationFrame(this.refresh))}},{key:"refreshOnAnchorMove",value:function(){var e=this.props.getAnchorRect,t=(void 0===e?this.getAnchorRect:e)(this.anchorNode.current);!I()(t,this.anchorRect)&&(this.anchorRect=t,this.computePopoverPosition(this.state.popoverSize,t))}},{key:"refresh",value:function(){var e=this.props.getAnchorRect,t=(void 0===e?this.getAnchorRect:e)(this.anchorNode.current),n=this.contentNode.current.getBoundingClientRect(),o={width:n.width,height:n.height};(!this.state.popoverSize||o.width!==this.state.popoverSize.width||o.height!==this.state.popoverSize.height)&&this.setState({popoverSize:o}),this.anchorRect=t,this.computePopoverPosition(o,t)}},{key:"focus",value:function(){var e=this.props.focusOnMount;if(e&&this.contentNode.current)if("firstElement"!==e)"container"===e&&this.contentNode.current.focus();else{var t=M.focus.tabbable.find(this.contentNode.current)[0];t?t.focus():this.contentNode.current.focus()}}},{key:"getAnchorRect",value:function(e){if(e&&e.parentNode){var t=e.parentNode.getBoundingClientRect(),n=window.getComputedStyle(e.parentNode),o=n.paddingTop,r=n.paddingBottom,a=parseInt(o,10),i=parseInt(r,10);return{x:t.left,y:t.top+a,width:t.width,height:t.height-a-i,left:t.left,right:t.right,top:t.top+a,bottom:t.bottom-i}}}},{key:"computePopoverPosition",value:function(e,t){var n=this.props,o=n.position,r=L(t,e,void 0===o?"top":o,n.expandOnMobile);this.state.yAxis===r.yAxis&&this.state.xAxis===r.xAxis&&this.state.popoverLeft===r.popoverLeft&&this.state.popoverTop===r.popoverTop&&this.state.contentHeight===r.contentHeight&&this.state.contentWidth===r.contentWidth&&this.state.isMobile===r.isMobile||this.setState(r)}},{key:"maybeClose",value:function(e){var t=this.props,n=t.onKeyDown,o=t.onClose;e.keyCode===_.ESCAPE&&o&&(e.stopPropagation(),o()),n&&n(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.headerTitle,o=t.onClose,a=t.children,i=t.className,c=t.onClickOutside,s=void 0===c?o:c,l=t.noArrow,u=(t.position,t.range,t.focusOnMount),d=(t.getAnchorRect,t.expandOnMobile),h=Object(E.a)(t,["headerTitle","onClose","children","className","onClickOutside","noArrow","position","range","focusOnMount","getAnchorRect","expandOnMobile"]),f=this.state,p=f.popoverLeft,b=f.popoverTop,v=f.yAxis,m=f.xAxis,y=f.contentHeight,g=f.contentWidth,k=f.popoverSize,_=f.isMobile,D=O()("components-popover",i,"is-"+v,"is-"+m,{"is-mobile":_,"is-without-arrow":l||"center"===m&&"middle"===v}),w=Object(r.createElement)(W,{onClickOutside:s},Object(r.createElement)(X,Object(j.a)({className:D,style:{top:!_&&b?b+"px":void 0,left:!_&&p?p+"px":void 0,visibility:k?void 0:"hidden"}},h,{onKeyDown:this.maybeClose}),_&&Object(r.createElement)("div",{className:"components-popover__header"},Object(r.createElement)("span",{className:"components-popover__header-title"},n),Object(r.createElement)(q,{className:"components-popover__close",icon:"no-alt",onClick:o})),Object(r.createElement)("div",{ref:this.contentNode,className:"components-popover__content",style:{maxHeight:!_&&y?y+"px":void 0,maxWidth:!_&&g?g+"px":void 0},tabIndex:"-1"},a)));return u&&(w=Object(r.createElement)(se,null,w)),Object(r.createElement)(ee,null,function(t){var n=t.getSlot;return n&&n("Popover")&&(w=Object(r.createElement)(ie,{name:"Popover"},w)),Object(r.createElement)("span",{ref:e.anchorNode},w,_&&d&&Object(r.createElement)(Z,null))})}}]),t}(r.Component);le.defaultProps={focusOnMount:"firstElement",noArrow:!1};var ue=le;ue.Slot=function(){return Object(r.createElement)(oe,{bubblesVirtually:!0,name:"Popover"})};var de=ue,he=n(44),fe=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).debouncedSpeak=Object(k.debounce)(e.speak.bind(Object(m.a)(Object(m.a)(e))),500),e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Object(he.speak)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(r.createElement)(e,Object(j.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(r.Component)},"withSpokenMessages");function pe(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=[],r=0;r0,b=p?"components-autocomplete-listbox-".concat(o):null,v=p?"components-autocomplete-item-".concat(o,"-").concat(d):null;return Object(r.createElement)("div",{ref:this.bindNode,onClick:this.resetWhenSuppressed,className:"components-autocomplete"},n({isExpanded:p,listBoxId:b,activeId:v}),p&&Object(r.createElement)(de,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",getAnchorRect:be},Object(r.createElement)("div",{id:b,role:"listbox",className:"components-autocomplete__results"},p&&Object(k.map)(l,function(t,n){return Object(r.createElement)(z,{key:t.key,id:"components-autocomplete-item-".concat(o,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:O()("components-autocomplete__result",f,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(r.Component),me=Object(w.compose)([fe,w.withInstanceId,P])(ve);var ye=function(e){var t=e.id,n=e.label,o=e.help,a=e.className,i=e.children;return Object(r.createElement)("div",{className:O()("components-base-control",a)},Object(r.createElement)("div",{className:"components-base-control__field"},n&&t&&Object(r.createElement)("label",{className:"components-base-control__label",htmlFor:t},n),n&&!t&&Object(r.createElement)("span",{className:"components-base-control__label"},n),i),!!o&&Object(r.createElement)("p",{id:t+"__help",className:"components-base-control__help"},o))};var ge=function(e){var t=e.className,n=Object(E.a)(e,["className"]),o=O()("components-button-group",t);return Object(r.createElement)("div",Object(j.a)({},n,{className:o,role:"group"}))};var Oe=Object(w.withInstanceId)(function(e){var t=e.label,n=e.className,o=e.heading,a=e.checked,i=e.help,c=e.instanceId,s=e.onChange,l=Object(E.a)(e,["label","className","heading","checked","help","instanceId","onChange"]),u="inspector-checkbox-control-".concat(c);return Object(r.createElement)(ye,{label:o,id:u,help:i,className:n},Object(r.createElement)("input",Object(j.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)),Object(r.createElement)("label",{className:"components-checkbox-control__label",htmlFor:u},t))}),ke=n(185),_e=n.n(ke),De=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(m.a)(Object(m.a)(e))),e.onCopy=e.onCopy.bind(Object(m.a)(Object(m.a)(e))),e.getText=e.getText.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){var e=this.container,t=this.getText,n=this.onCopy,o=e.firstChild;this.clipboard=new _e.a(o,{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,o=t.onFinishCopy;n&&(n(),o&&(clearTimeout(this.onCopyTimeout),this.onCopyTimeout=setTimeout(o,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,o=(e.onCopy,e.onFinishCopy,e.text,Object(E.a)(e,["className","children","onCopy","onFinishCopy","text"])),a=o.icon,i=O()("components-clipboard-button",t),c=a?q:z;return Object(r.createElement)("span",{ref:this.bindContainer,onCopy:function(e){e.target.focus()}},Object(r.createElement)(c,Object(j.a)({},o,{className:i}),n))}}]),t}(r.Component),we=function(e){var t=e.className,n=e.colorValue,o=Object(E.a)(e,["className","colorValue"]);return Object(r.createElement)("span",Object(j.a)({className:O()("component-color-indicator",t),style:{background:n}},o))},Se=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(m.a)(Object(m.a)(e))),e.close=e.close.bind(Object(m.a)(Object(m.a)(e))),e.closeIfClickOutside=e.closeIfClickOutside.bind(Object(m.a)(Object(m.a)(e))),e.containerRef=Object(r.createRef)(),e.state={isOpen:!1},e}return Object(v.a)(t,e),Object(b.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,o=this.props.onToggle;t.isOpen!==n&&o&&o(n)}},{key:"toggle",value:function(){this.setState(function(e){return{isOpen:!e.isOpen}})}},{key:"closeIfClickOutside",value:function(e){this.containerRef.current.contains(e.target)||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,o=t.renderToggle,a=t.position,i=void 0===a?"bottom":a,c=t.className,s=t.contentClassName,l=t.expandOnMobile,u=t.headerTitle,d={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(r.createElement)("div",{className:c,ref:this.containerRef},o(d),e&&Object(r.createElement)(de,{className:s,position:i,onClose:this.close,onClickOutside:this.closeIfClickOutside,expandOnMobile:l,headerTitle:u},n(d)))}}]),t}(r.Component),Me=n(45),je=n.n(Me);function Ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?je()(e.hex):je()(e),o=n.toHsl();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.l=Math.round(100*o.l);var r=n.toHsv();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.v=Math.round(100*r.v);var a=n.toRgb(),i=n.toHex();return 0===o.s&&(o.h=t||0,r.h=t||0),{color:n,hex:"000000"===i&&0===a.a?"transparent":"#".concat(i),hsl:o,hsv:r,oldHue:e.h||t||o.h,rgb:a,source:e.source}}function Pe(e,t){e.preventDefault();var n=t.getBoundingClientRect(),o=n.left,r=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-(o+window.pageXOffset),u=s-(r+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}}var Ee=n(186),ze=n.n(Ee),Te=(n(198),function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).bindKeyTarget=e.bindKeyTarget.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.keyTarget,n=void 0===t?document:t;this.mousetrap=new ze.a(n),Object(k.forEach)(this.props.shortcuts,function(t,n){var o=e.props,r=o.bindGlobal,a=o.eventName,i=r?"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 r.Children.count(e)?Object(r.createElement)("div",{ref:this.bindKeyTarget},e):null}}]),t}(r.Component)),Ie=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).container=Object(r.createRef)(),e.increase=e.increase.bind(Object(m.a)(Object(m.a)(e))),e.decrease=e.decrease.bind(Object(m.a)(Object(m.a)(e))),e.handleChange=e.handleChange.bind(Object(m.a)(Object(m.a)(e))),e.handleMouseDown=e.handleMouseDown.bind(Object(m.a)(Object(m.a)(e))),e.handleMouseUp=e.handleMouseUp.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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,o=t.onChange,r=void 0===o?k.noop:o;e=parseInt(100*e,10),r({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,o=t.onChange,r=void 0===o?k.noop:o,a=parseInt(100*n.a,10)-parseInt(100*e,10);r({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?k.noop:t,o=function(e,t,n){var o=Pe(e,n),r=o.left,a=o.width,i=r<0?0:Math.round(100*r/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);o&&n(o,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!==_.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),o={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(r.createElement)(Te,{shortcuts:i},Object(r.createElement)("div",{className:"components-color-picker__alpha"},Object(r.createElement)("div",{className:"components-color-picker__alpha-gradient",style:o}),Object(r.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(r.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":t.a,"aria-orientation":"horizontal","aria-label":Object(D.__)("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:a,onKeyDown:this.preventKeyEvents}))))}}]),t}(r.Component),xe=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).container=Object(r.createRef)(),e.increase=e.increase.bind(Object(m.a)(Object(m.a)(e))),e.decrease=e.decrease.bind(Object(m.a)(Object(m.a)(e))),e.handleChange=e.handleChange.bind(Object(m.a)(Object(m.a)(e))),e.handleMouseDown=e.handleMouseDown.bind(Object(m.a)(Object(m.a)(e))),e.handleMouseUp=e.handleMouseUp.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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,o=t.onChange;(void 0===o?k.noop:o)({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,o=t.onChange;(void 0===o?k.noop:o)({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?k.noop:t,o=function(e,t,n){var o=Pe(e,n),r=o.left,a=o.width,i=r>=a?359:100*r/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);o&&n(o,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!==_.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,o=void 0===n?{}:n,a=t.instanceId,i={left:"".concat(100*o.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(r.createElement)(Te,{shortcuts:c},Object(r.createElement)("div",{className:"components-color-picker__hue"},Object(r.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(r.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(r.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":o.h,"aria-orientation":"horizontal","aria-label":Object(D.__)("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(r.createElement)("p",{className:"components-color-picker__hue-description screen-reader-text",id:"components-color-picker__hue-description-".concat(a)},Object(D.__)("Move the arrow left or right to change hue.")))))}}]),t}(r.Component),He=Object(w.withInstanceId)(xe);var Ne=Object(w.withInstanceId)(function(e){var t=e.label,n=e.value,o=e.help,a=e.className,i=e.instanceId,c=e.onChange,s=e.type,l=void 0===s?"text":s,u=Object(E.a)(e,["label","value","help","className","instanceId","onChange","type"]),d="inspector-text-control-".concat(i);return Object(r.createElement)(ye,{label:t,id:d,help:o,className:a},Object(r.createElement)("input",Object(j.a)({className:"components-text-control__input",type:l,id:d,value:n,onChange:function(e){return c(e.target.value)},"aria-describedby":o?d+"__help":void 0},u)))}),Re=function(e){function t(e){var n,o=e.value;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state={value:String(o).toLowerCase()},n.handleBlur=n.handleBlur.bind(Object(m.a)(Object(m.a)(n))),n.handleChange=n.handleChange.bind(Object(m.a)(Object(m.a)(n))),n.handleKeyDown=n.handleKeyDown.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentWillReceiveProps",value:function(e){e.value!==this.props.value&&this.setState({value:String(e.value).toLowerCase()})}},{key:"handleBlur",value:function(){var e=this.props,t=e.valueKey,n=e.onChange,o=this.state.value;n(Object(d.a)({},t,o))}},{key:"handleChange",value:function(e){var t=this.props,n=t.valueKey,o=t.onChange;e.length>4&&o(Object(d.a)({},n,e)),this.setState({value:e})}},{key:"handleKeyDown",value:function(e){var t=e.keyCode;if(t===_.ENTER||t===_.UP||t===_.DOWN){var n=this.state.value,o=this.props,r=o.valueKey;(0,o.onChange)(Object(d.a)({},r,n))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,o=Object(E.a)(t,["label"]),a=this.state.value;return Object(r.createElement)(Ne,Object(j.a)({className:"components-color-picker__inputs-field",label:n,value:a,onChange:function(t){return e.handleChange(t)},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(k.omit)(o,["onChange","value","valueKey"])))}}]),t}(r.Component),Le=function(e){function t(e){var n,o=e.hsl;Object(h.a)(this,t),n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments));var r=1===o.a?"hex":"rgb";return n.state={view:r},n.toggleViews=n.toggleViews.bind(Object(m.a)(Object(m.a)(n))),n.handleChange=n.handleChange.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"toggleViews",value:function(){"hex"===this.state.view?(this.setState({view:"rgb"}),Object(he.speak)(Object(D.__)("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"}),Object(he.speak)(Object(D.__)("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"}),Object(he.speak)(Object(D.__)("Hex color mode active"))):(this.setState({view:"rgb"}),Object(he.speak)(Object(D.__)("RGB mode active"))))}},{key:"handleChange",value:function(e){e.hex?function(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&je()(e).isValid()}(e.hex)&&this.props.onChange({hex:e.hex,source:"hex"}):e.r||e.g||e.b?this.props.onChange({r:e.r||this.props.rgb.r,g:e.g||this.props.rgb.g,b:e.b||this.props.rgb.b,source:"rgb"}):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),this.props.onChange({h:this.props.hsl.h,s:this.props.hsl.s,l:this.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"})):(e.h||e.s||e.l)&&this.props.onChange({h:e.h||this.props.hsl.h,s:e.s||this.props.hsl.s,l:e.l||this.props.hsl.l,source:"hsl"})}},{key:"renderFields",value:function(){var e=this.props.disableAlpha,t=void 0!==e&&e;return"hex"===this.state.view?Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Re,{label:Object(D.__)("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange})):"rgb"===this.state.view?Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"screen-reader-text"},Object(D.__)("Color value in RGB")),Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Re,{label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(r.createElement)(Re,{label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(r.createElement)(Re,{label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),t?null:Object(r.createElement)(Re,{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(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"screen-reader-text"},Object(D.__)("Color value in HSL")),Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Re,{label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(r.createElement)(Re,{label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(r.createElement)(Re,{label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),t?null:Object(r.createElement)(Re,{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(r.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(r.createElement)("div",{className:"components-color-picker__inputs-toggle"},Object(r.createElement)(q,{icon:"arrow-down-alt2",label:Object(D.__)("Change color format"),onClick:this.toggleViews})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(r.Component),Ae=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).call(this,e))).throttle=Object(k.throttle)(function(e,t,n){e(t,n)},50),n.container=Object(r.createRef)(),n.saturate=n.saturate.bind(Object(m.a)(Object(m.a)(n))),n.brighten=n.brighten.bind(Object(m.a)(Object(m.a)(n))),n.handleChange=n.handleChange.bind(Object(m.a)(Object(m.a)(n))),n.handleMouseDown=n.handleMouseDown.bind(Object(m.a)(Object(m.a)(n))),n.handleMouseUp=n.handleMouseUp.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.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,o=t.onChange,r=void 0===o?k.noop:o,a=Object(k.clamp)(n.s+Math.round(100*e),0,100);r({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,o=t.onChange,r=void 0===o?k.noop:o,a=Object(k.clamp)(n.v+Math.round(100*e),0,100);r({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?k.noop:t,o=function(e,t,n){var o=Pe(e,n),r=o.top,a=o.left,i=o.width,c=o.height,s=a<0?0:100*a/i,l=r>=c?0:-100*r/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,o,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!==_.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,o=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(r.createElement)(Te,{shortcuts:c},Object(r.createElement)("div",{style:{background:"hsl(".concat(o.h,",100%, 50%)")},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(r.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(r.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(r.createElement)("button",{"aria-label":Object(D.__)("Choose a shade"),"aria-describedby":"color-picker-saturation-".concat(a),className:"components-color-picker__saturation-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(r.createElement)("div",{className:"screen-reader-text",id:"color-picker-saturation-".concat(a)},Object(D.__)("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to increase saturation, and right to decrease saturation."))))}}]),t}(r.Component),Fe=Object(w.withInstanceId)(Ae),Ve=function(e){function t(e){var n,o=e.color,r=void 0===o?"0071a1":o;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state=Ce(r),n.handleChange=n.handleChange.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"handleChange",value:function(e){var t=this.props,n=t.oldHue,o=t.onChangeComplete,r=void 0===o?k.noop:o;if(function(e){var t=0,n=0;return Object(k.each)(["r","g","b","a","h","s","l","v"],function(o){e[o]&&(t+=1,isNaN(e[o])||(n+=1))}),t===n&&e}(e)){var a=Ce(e,e.h||n);this.setState(a,Object(k.debounce)(Object(k.partial)(r,a),100))}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.disableAlpha,o=this.state,a=o.color,i=o.hex,c=o.hsl,s=o.hsv,l=o.rgb,u=O()(t,{"components-color-picker":!0,"is-alpha-disabled":n,"is-alpha-enabled":!n});return Object(r.createElement)("div",{className:u},Object(r.createElement)("div",{className:"components-color-picker__saturation"},Object(r.createElement)(Fe,{hsl:c,hsv:s,onChange:this.handleChange})),Object(r.createElement)("div",{className:"components-color-picker__body"},Object(r.createElement)("div",{className:"components-color-picker__controls"},Object(r.createElement)("div",{className:"components-color-picker__swatch"},Object(r.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:a&&a.toRgbString()}})),Object(r.createElement)("div",{className:"components-color-picker__toggles"},Object(r.createElement)(He,{hsl:c,onChange:this.handleChange}),n?null:Object(r.createElement)(Ie,{rgb:l,hsl:c,onChange:this.handleChange}))),Object(r.createElement)(Le,{rgb:l,hsl:c,hex:i,onChange:this.handleChange,disableAlpha:n})))}}]),t}(r.Component);function Be(e){var t=e.colors,n=e.disableCustomColors,o=void 0!==n&&n,a=e.value,i=e.onChange,c=e.className;var s=Object(D.__)("Custom color picker"),l=O()("components-color-palette",c);return Object(r.createElement)("div",{className:l},Object(k.map)(t,function(e){var t=e.color,n=e.name,o={color:t},c=O()("components-color-palette__item",{"is-active":a===t});return Object(r.createElement)("div",{key:t,className:"components-color-palette__item-wrapper"},Object(r.createElement)($,{text:n||Object(D.sprintf)(Object(D.__)("Color code: %s"),t)},Object(r.createElement)("button",{type:"button",className:c,style:o,onClick:function(e){return function(){return i(a===e?void 0:e)}}(t),"aria-label":n?Object(D.sprintf)(Object(D.__)("Color: %s"),n):Object(D.sprintf)(Object(D.__)("Color code: %s"),t),"aria-pressed":a===t})))}),!o&&Object(r.createElement)(Se,{className:"components-color-palette__item-wrapper components-color-palette__custom-color",contentClassName:"components-color-palette__picker",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)($,{text:s},Object(r.createElement)("button",{type:"button","aria-expanded":t,className:"components-color-palette__item",onClick:n,"aria-label":s},Object(r.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))},renderContent:function(){return Object(r.createElement)(Ve,{color:a,onChangeComplete:function(e){return i(e.hex)},disableAlpha:!0})}}),Object(r.createElement)(z,{className:"components-color-palette__clear",type:"button",onClick:function(){return i(void 0)},isSmall:!0,isDefault:!0},Object(D.__)("Clear")))}n(199);var Ke=n(27),We=n.n(Ke),Ue=n(187),Ye=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onChangeMoment=e.onChangeMoment.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,o=t.onChange,r=n?We()(n):We()(),a={hours:r.hours(),minutes:r.minutes(),seconds:r.seconds()};o(e.set(a).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"render",value:function(){var e=this.props.currentDate,t=e?We()(e):We()();return Object(r.createElement)("div",{className:"components-datetime__date"},Object(r.createElement)(Ue.DayPickerSingleDateController,{block:!0,date:t,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(t.format("MM-YYYY")),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd"}))}}]),t}(r.Component),$e=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state={day:"",month:"",year:"",hours:"",minutes:"",am:!0,date:null},e.updateMonth=e.updateMonth.bind(Object(m.a)(Object(m.a)(e))),e.onChangeMonth=e.onChangeMonth.bind(Object(m.a)(Object(m.a)(e))),e.updateDay=e.updateDay.bind(Object(m.a)(Object(m.a)(e))),e.onChangeDay=e.onChangeDay.bind(Object(m.a)(Object(m.a)(e))),e.updateYear=e.updateYear.bind(Object(m.a)(Object(m.a)(e))),e.onChangeYear=e.onChangeYear.bind(Object(m.a)(Object(m.a)(e))),e.updateHours=e.updateHours.bind(Object(m.a)(Object(m.a)(e))),e.updateMinutes=e.updateMinutes.bind(Object(m.a)(Object(m.a)(e))),e.onChangeHours=e.onChangeHours.bind(Object(m.a)(Object(m.a)(e))),e.onChangeMinutes=e.onChangeMinutes.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){this.syncState(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.currentTime,o=t.is12Hour;n===e.currentTime&&o===e.is12Hour||this.syncState(this.props)}},{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,o=t?We()(t):We()(),r=o.format("DD"),a=o.format("MM"),i=o.format("YYYY"),c=o.format("mm"),s=o.format("A"),l=o.format(n?"hh":"HH"),u=t?We()(t):We()();this.setState({day:r,month:a,year:i,minutes:c,hours:l,am:s,date:u})}},{key:"updateHours",value:function(){var e=this.props,t=e.is12Hour,n=e.onChange,o=this.state,r=o.am,a=o.hours,i=o.date,c=parseInt(a,10);if(!Object(k.isInteger)(c)||t&&(c<1||c>12)||!t&&(c<0||c>23))this.syncState(this.props);else{var s=t?i.clone().hours("AM"===r?c%12:(c%12+12)%24):i.clone().hours(c);this.setState({date:s}),n(s.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateMinutes",value:function(){var e=this.props.onChange,t=this.state,n=t.minutes,o=t.date,r=parseInt(n,10);if(!Object(k.isInteger)(r)||r<0||r>59)this.syncState(this.props);else{var a=o.clone().minutes(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateDay",value:function(){var e=this.props.onChange,t=this.state,n=t.day,o=t.date,r=parseInt(n,10);if(!Object(k.isInteger)(r)||r<1||r>31)this.syncState(this.props);else{var a=o.clone().date(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateMonth",value:function(){var e=this.props.onChange,t=this.state,n=t.month,o=t.date,r=parseInt(n,10);if(!Object(k.isInteger)(r)||r<1||r>12)this.syncState(this.props);else{var a=o.clone().month(r-1);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateYear",value:function(){var e=this.props.onChange,t=this.state,n=t.year,o=t.date,r=parseInt(n,10);if(!Object(k.isInteger)(r)||r<1970||r>9999)this.syncState(this.props);else{var a=o.clone().year(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateAmPm",value:function(e){var t=this;return function(){var n,o=t.props.onChange,r=t.state,a=r.am,i=r.date,c=r.hours;a!==e&&(n="PM"===e?i.clone().hours((parseInt(c,10)%12+12)%24):i.clone().hours(parseInt(c,10)%12),t.setState({date:n}),o(n.format("YYYY-MM-DDTHH:mm:ss")))}}},{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){this.setState({minutes:e.target.value})}},{key:"render",value:function(){var e=this.props.is12Hour,t=this.state,n=t.day,o=t.month,a=t.year,i=t.minutes,c=t.hours,s=t.am;return Object(r.createElement)("div",{className:O()("components-datetime__time",{"is-12-hour":e,"is-24-hour":!e})},Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(D.__)("Date")),Object(r.createElement)("div",{className:"components-datetime__time-wrapper"},Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-month"},Object(r.createElement)("select",{"aria-label":Object(D.__)("Month"),className:"components-datetime__time-field-month-select",value:o,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(r.createElement)("option",{value:"01"},Object(D.__)("January")),Object(r.createElement)("option",{value:"02"},Object(D.__)("February")),Object(r.createElement)("option",{value:"03"},Object(D.__)("March")),Object(r.createElement)("option",{value:"04"},Object(D.__)("April")),Object(r.createElement)("option",{value:"05"},Object(D.__)("May")),Object(r.createElement)("option",{value:"06"},Object(D.__)("June")),Object(r.createElement)("option",{value:"07"},Object(D.__)("July")),Object(r.createElement)("option",{value:"08"},Object(D.__)("August")),Object(r.createElement)("option",{value:"09"},Object(D.__)("September")),Object(r.createElement)("option",{value:"10"},Object(D.__)("October")),Object(r.createElement)("option",{value:"11"},Object(D.__)("November")),Object(r.createElement)("option",{value:"12"},Object(D.__)("December")))),Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-day"},Object(r.createElement)("input",{"aria-label":Object(D.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",value:n,step:1,min:1,onChange:this.onChangeDay,onBlur:this.updateDay})),Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(r.createElement)("input",{"aria-label":Object(D.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",step:1,value:a,onChange:this.onChangeYear,onBlur:this.updateYear})))),Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(D.__)("Time")),Object(r.createElement)("div",{className:"components-datetime__time-wrapper"},Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(r.createElement)("input",{"aria-label":Object(D.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",step:1,min:this.getMinHours(),max:this.getMaxHours(),value:c,onChange:this.onChangeHours,onBlur:this.updateHours}),Object(r.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(r.createElement)("input",{"aria-label":Object(D.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",min:0,max:59,value:i,onChange:this.onChangeMinutes,onBlur:this.updateMinutes})),e&&Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(r.createElement)(z,{"aria-pressed":"AM"===s,isDefault:!0,className:"components-datetime__time-am-button",isToggled:"AM"===s,onClick:this.updateAmPm("AM")},Object(D.__)("AM")),Object(r.createElement)(z,{"aria-pressed":"PM"===s,isDefault:!0,className:"components-datetime__time-pm-button",isToggled:"PM"===s,onClick:this.updateAmPm("PM")},Object(D.__)("PM"))))))}}]),t}(r.Component),Ge=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state={calendarHelpIsVisible:!1},e.onClickDescriptionToggle=e.onClickDescriptionToggle.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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,o=e.onChange;return Object(r.createElement)("div",{className:"components-datetime"},!this.state.calendarHelpIsVisible&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)($e,{currentTime:t,onChange:o,is12Hour:n}),Object(r.createElement)(Ye,{currentDate:t,onChange:o})),this.state.calendarHelpIsVisible&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"components-datetime__calendar-help"},Object(r.createElement)("h4",null,Object(D.__)("Click to Select")),Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(D.__)("Click the right or left arrows to select other months in the past or the future.")),Object(r.createElement)("li",null,Object(D.__)("Click the desired day to select it."))),Object(r.createElement)("h4",null,Object(D.__)("Navigating with a keyboard")),Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D._x)("Enter","keyboard button")},"↵")," ",Object(r.createElement)("span",null,Object(D.__)("Select the date in focus."))),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D.__)("Left and Right Arrows")},"←/→")," ",Object(D.__)("Move backward (left) or forward (right) by one day.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D.__)("Up and Down Arrows")},"↑/↓")," ",Object(D.__)("Move backward (up) or forward (down) by one week.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D.__)("Page Up and Page Down")},Object(D.__)("PgUp/PgDn"))," ",Object(D.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D.__)("Home and End")},Object(D.__)("Home/End"))," ",Object(D.__)("Go to the first (home) or last (end) day of a week."))),Object(r.createElement)(z,{isSmall:!0,onClick:this.onClickDescriptionToggle},Object(D.__)("Close")))),!this.state.calendarHelpIsVisible&&Object(r.createElement)(z,{className:"components-datetime__date-help-button",isLink:!0,onClick:this.onClickDescriptionToggle},Object(D.__)("Calendar Help")))}}]),t}(r.Component),qe=Object(r.createContext)(!1),Ze=qe.Consumer,Xe=qe.Provider,Qe=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],Je=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(m.a)(Object(m.a)(e))),e.disable=e.disable.bind(Object(m.a)(Object(m.a)(e))),e.debouncedDisable=Object(k.debounce)(e.disable,{leading:!0}),e}return Object(v.a)(t,e),Object(b.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(){M.focus.focusable.find(this.node).forEach(function(e){Object(k.includes)(Qe,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(E.a)(e,["className"]);return Object(r.createElement)(Xe,{value:!0},Object(r.createElement)("div",Object(j.a)({ref:this.bindNode,className:O()(t,"components-disabled")},n),this.props.children))}}]),t}(r.Component);Je.Consumer=Ze;var et=Je,tt=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onDragStart=e.onDragStart.bind(Object(m.a)(Object(m.a)(e))),e.onDragOver=e.onDragOver.bind(Object(m.a)(Object(m.a)(e))),e.onDrop=e.onDrop.bind(Object(m.a)(Object(m.a)(e))),e.onDragEnd=e.onDragEnd.bind(Object(m.a)(Object(m.a)(e))),e.resetDragState=e.resetDragState.bind(Object(m.a)(Object(m.a)(e))),e.isChromeAndHasIframes=!1,e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentWillUnmount",value:function(){this.resetDragState()}},{key:"onDragEnd",value:function(e){var t=this.props.onDragEnd,n=void 0===t?k.noop:t;e&&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:"onDrop",value:function(){this.onDragEnd(null)}},{key:"onDragStart",value:function(e){var t=this.props,n=t.elementId,o=t.transferData,r=t.onDragStart,a=void 0===r?k.noop:r,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(o));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(y.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),/Chrome/i.test(window.navigator.userAgent)&&Object(y.a)(document.getElementById("editor").querySelectorAll("iframe")).length>0&&(this.isChromeAndHasIframes=!0,document.addEventListener("drop",this.onDrop)),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),this.isChromeAndHasIframes&&(this.isChromeAndHasIframes=!1,document.removeEventListener("drop",this.onDrop)),document.body.classList.remove("is-dragging-components-draggable")}},{key:"render",value:function(){return(0,this.props.children)({onDraggableStart:this.onDragStart,onDraggableEnd:this.onDragEnd})}}]),t}(r.Component),nt=Object(w.withSafeTimeout)(tt),ot=Object(r.createContext)({addDropZone:function(){},removeDropZone:function(){}}),rt=ot.Provider,at=ot.Consumer,it=function(e){var t=e.dataTransfer;if(t){if(Object(k.includes)(t.types,"Files"))return"file";if(Object(k.includes)(t.types,"text/html"))return"html"}return"default"},ct=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},st=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onDragOver=e.onDragOver.bind(Object(m.a)(Object(m.a)(e))),e.onDrop=e.onDrop.bind(Object(m.a)(Object(m.a)(e))),e.addDropZone=e.addDropZone.bind(Object(m.a)(Object(m.a)(e))),e.removeDropZone=e.removeDropZone.bind(Object(m.a)(Object(m.a)(e))),e.resetDragState=e.resetDragState.bind(Object(m.a)(Object(m.a)(e))),e.toggleDraggingOverDocument=Object(k.throttle)(e.toggleDraggingOverDocument.bind(Object(m.a)(Object(m.a)(e))),200),e.dropZones=[],e.dropZoneCallbacks={addDropZone:e.addDropZone,removeDropZone:e.removeDropZone},e.state={hoveredDropZone:-1,isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null},e}return Object(v.a)(t,e),Object(b.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(k.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,isDraggingOverElement:!1,position:null,type: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,o=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e,r=Object(k.filter)(this.dropZones,function(e){return ct(t,e)&&function(e,t,n){var o=e.getBoundingClientRect();return o.bottom!==o.top&&o.left!==o.right&&t>=o.left&&t<=o.right&&n>=o.top&&n<=o.bottom}(e.element,o.clientX,o.clientY)}),a=Object(k.find)(r,function(e){return!Object(k.some)(r,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:o.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,o=n.cycle,r=void 0===o||o,a=n.eventToOffset,i=n.onNavigate,c=void 0===i?k.noop:i,s=n.stopNavigationEvents,l=a(e);if(void 0!==l&&s&&(e.nativeEvent.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault(),e.stopPropagation()),l){var u=t(document.activeElement);if(u){var d=u.index,h=u.focusables,f=r?function(e,t,n){var o=e+n;return o<0?t+o:o>=t?o-t:o}(d,h.length,l):d+l;f>=0&&f0&&0===o,"is-active":e.isActive}),icon:e.icon,role:"menuitem",disabled:e.isDisabled},e.title)})}))}})};var mt=Object(r.forwardRef)(function(e,t){var n=e.href,o=e.children,a=e.className,i=e.rel,c=void 0===i?"":i,s=Object(E.a)(e,["href","children","className","rel"]);c=Object(k.uniq)(Object(k.compact)(Object(y.a)(c.split(" ")).concat(["external","noreferrer","noopener"]))).join(" ");var l=O()("components-external-link",a);return Object(r.createElement)("a",Object(j.a)({},s,{className:l,href:n,target:"_blank",rel:c,ref:t}),o,Object(r.createElement)("span",{className:"screen-reader-text"},Object(D.__)("(opens in a new tab)")),Object(r.createElement)(G,{icon:"external",className:"components-external-link__icon"}))}),yt=window.FocusEvent,gt=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).checkFocus=n.checkFocus.bind(Object(m.a)(Object(m.a)(n))),n.node=e.iframeRef||Object(r.createRef)(),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"checkFocus",value:function(){var e=this.node.current;if(document.activeElement===e){var t=new yt("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(r.createElement)("iframe",Object(j.a)({ref:this.node},Object(k.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(r.Component),Ot=Object(w.withGlobalEvents)({blur:"checkFocus"})(gt);var kt=Object(w.withInstanceId)(function(e){var t=e.className,n=e.label,o=e.value,a=e.instanceId,i=e.onChange,c=e.beforeIcon,s=e.afterIcon,l=e.help,u=e.allowReset,d=e.initialPosition,h=Object(E.a)(e,["className","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition"]),f="inspector-range-control-".concat(a),p=function(){return i()},b=function(e){var t=e.target.value;""!==t?i(Number(t)):p()},v=Object(k.isFinite)(o)?o:d||"";return Object(r.createElement)(ye,{label:n,id:f,help:l,className:O()("components-range-control",t)},c&&Object(r.createElement)(G,{icon:c}),Object(r.createElement)("input",Object(j.a)({className:"components-range-control__slider",id:f,type:"range",value:v,onChange:b,"aria-describedby":l?f+"__help":void 0},h)),s&&Object(r.createElement)(G,{icon:s}),Object(r.createElement)("input",Object(j.a)({className:"components-range-control__number",type:"number",onChange:b,"aria-label":n,value:o},h)),u&&Object(r.createElement)(z,{onClick:p,disabled:void 0===o},Object(D.__)("Reset")))});var _t=Object(w.withInstanceId)(function(e){var t=e.fallbackFontSize,n=e.fontSizes,o=void 0===n?[]:n,a=e.disableCustomFontSizes,i=void 0!==a&&a,c=e.onChange,s=e.value,l=e.withSlider,u=void 0!==l&&l,d=o.find(function(e){return e.size===s});return Object(r.createElement)(ye,{label:Object(D.__)("Font Size")},Object(r.createElement)("div",{className:"components-font-size-picker__buttons"},Object(r.createElement)(Se,{className:"components-font-size-picker__dropdown",contentClassName:"components-font-size-picker__dropdown-content",position:"bottom",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)(z,{className:"components-font-size-picker__selector",isLarge:!0,onClick:n,"aria-expanded":t,"aria-label":Object(D.__)("Custom font size")},d&&d.name||!s&&Object(D._x)("Normal","font size name")||Object(D._x)("Custom","font size name"))},renderContent:function(){return Object(r.createElement)(pt,null,Object(k.map)(o,function(e){var t=e.name,n=e.size,o=e.slug;return Object(r.createElement)(z,{key:o,onClick:function(){return c("normal"===o?void 0:n)},className:"is-font-"+o,role:"menuitem"},(s===n||!s&&"normal"===o)&&Object(r.createElement)(G,{icon:"saved"}),Object(r.createElement)("span",{className:"components-font-size-picker__dropdown-text-size",style:{fontSize:n}},t))}))}}),!u&&!i&&Object(r.createElement)("input",{className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value;c(""!==t?Number(t):void 0)},"aria-label":Object(D.__)("Custom font size"),value:s||""}),Object(r.createElement)(z,{className:"components-color-palette__clear",type:"button",disabled:void 0===s,onClick:function(){return c(void 0)},isSmall:!0,isDefault:!0,"aria-label":Object(D.__)("Reset font size")},Object(D.__)("Reset"))),u&&Object(r.createElement)(kt,{className:"components-font-size-picker__custom-input",label:Object(D.__)("Custom Size"),value:s||"",initialPosition:t,onChange:c,min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))}),Dt=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).openFileDialog=e.openFileDialog.bind(Object(m.a)(Object(m.a)(e))),e.bindInput=e.bindInput.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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.children,n=e.multiple,o=void 0!==n&&n,a=e.accept,i=e.onChange,c=e.icon,s=void 0===c?"upload":c,l=Object(E.a)(e,["children","multiple","accept","onChange","icon"]);return Object(r.createElement)("div",{className:"components-form-file-upload"},Object(r.createElement)(q,Object(j.a)({icon:s,onClick:this.openFileDialog},l),t),Object(r.createElement)("input",{type:"file",ref:this.bindInput,multiple:o,style:{display:"none"},accept:a,onChange:i}))}}]),t}(r.Component);var wt=function(e){var t=e.className,n=e.checked,o=e.id,a=e.onChange,i=void 0===a?k.noop:a,s=Object(E.a)(e,["className","checked","id","onChange"]),l=O()("components-form-toggle",t,{"is-checked":n});return Object(r.createElement)("span",{className:l},Object(r.createElement)("input",Object(j.a)({className:"components-form-toggle__input",id:o,type:"checkbox",checked:n,onChange:i},s)),Object(r.createElement)("span",{className:"components-form-toggle__track"}),Object(r.createElement)("span",{className:"components-form-toggle__thumb"}),n?Object(r.createElement)(u,{className:"components-form-toggle__on",width:"2",height:"6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 6"},Object(r.createElement)(c,{d:"M0 0h2v6H0z"})):Object(r.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(r.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"})))},St=n(29);var Mt=Object(w.withInstanceId)(function(e){var t=e.value,n=e.status,o=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?k.noop:u,h=e.onMouseEnter,f=e.onMouseLeave,p=e.messages,b=e.termPosition,v=e.termsCount,m=e.instanceId,y=O()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":c,"is-disabled":l}),g=a(t),_=Object(D.sprintf)(Object(D.__)("%1$s (%2$s of %3$s)"),g,b,v);return Object(r.createElement)("span",{className:y,onMouseEnter:h,onMouseLeave:f,title:o},Object(r.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(m)},Object(r.createElement)("span",{className:"screen-reader-text"},_),Object(r.createElement)("span",{"aria-hidden":"true"},g)),Object(r.createElement)(q,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!l&&function(){return d({value:t})},label:p.remove,"aria-describedby":"components-form-token-field__token-text-".concat(m)}))}),jt=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(m.a)(Object(m.a)(e))),e.bindInput=e.bindInput.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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,o=e.instanceId,a=e.selectedSuggestionIndex,i=Object(E.a)(e,["value","isExpanded","instanceId","selectedSuggestionIndex"]),c=t.length+1;return Object(r.createElement)("input",Object(j.a)({ref:this.bindInput,id:"components-form-token-input-".concat(o),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(o):void 0,"aria-activedescendant":-1!==a?"components-form-token-suggestions-".concat(o,"-").concat(a):void 0,"aria-describedby":"components-form-token-suggestions-howto-".concat(o)}))}}]),t}(r.Component),Ct=n(58),Pt=n.n(Ct),Et=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).handleMouseDown=e.handleMouseDown.bind(Object(m.a)(Object(m.a)(e))),e.bindList=e.bindList.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidUpdate",value:function(){var e=this;this.props.selectedIndex>-1&&this.props.scrollIntoView&&(this.scrollingIntoView=!0,Pt()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),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(r.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-".concat(this.props.instanceId),role:"listbox"},Object(k.map)(this.props.suggestions,function(t,n){var o=e.computeSuggestionMatch(t),a=O()("components-form-token-field__suggestion",{"is-selected":n===e.props.selectedIndex});return Object(r.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},o?Object(r.createElement)("span",{"aria-label":e.props.displayTransform(t)},o.suggestionBeforeMatch,Object(r.createElement)("strong",{className:"components-form-token-field__suggestion-match"},o.suggestionMatch),o.suggestionAfterMatch):e.props.displayTransform(t))}))}}]),t}(r.Component);Et.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var zt=Et,Tt={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},It=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state=Tt,e.onKeyDown=e.onKeyDown.bind(Object(m.a)(Object(m.a)(e))),e.onKeyPress=e.onKeyPress.bind(Object(m.a)(Object(m.a)(e))),e.onFocus=e.onFocus.bind(Object(m.a)(Object(m.a)(e))),e.onBlur=e.onBlur.bind(Object(m.a)(Object(m.a)(e))),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(Object(m.a)(Object(m.a)(e))),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(Object(m.a)(Object(m.a)(e))),e.addCurrentToken=e.addCurrentToken.bind(Object(m.a)(Object(m.a)(e))),e.onContainerTouched=e.onContainerTouched.bind(Object(m.a)(Object(m.a)(e))),e.renderToken=e.renderToken.bind(Object(m.a)(Object(m.a)(e))),e.onTokenClickRemove=e.onTokenClickRemove.bind(Object(m.a)(Object(m.a)(e))),e.onSuggestionHovered=e.onSuggestionHovered.bind(Object(m.a)(Object(m.a)(e))),e.onSuggestionSelected=e.onSuggestionSelected.bind(Object(m.a)(Object(m.a)(e))),e.onInputChange=e.onInputChange.bind(Object(m.a)(Object(m.a)(e))),e.bindInput=e.bindInput.bind(Object(m.a)(Object(m.a)(e))),e.bindTokensAndInput=e.bindTokensAndInput.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidUpdate",value:function(){this.state.isActive&&!this.input.hasFocus()&&this.input.focus()}},{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(Tt)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case _.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case _.ENTER:t=this.addCurrentToken();break;case _.LEFT:t=this.handleLeftArrowKey();break;case _.UP:t=this.handleUpArrowKey();break;case _.RIGHT:t=this.handleRightArrowKey();break;case _.DOWN:t=this.handleDownArrowKey();break;case _.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case _.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case _.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]+/,o=t.split(n),r=Object(k.last)(o)||"",a=r.trim().length>1,i=this.getMatchingSuggestions(r),c=a&&!!i.length;o.length>1&&this.addNewTokens(o.slice(0,-1)),this.setState({incompleteTokenValue:r,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.props.onInputChange(r),a&&(this.setState({isExpanded:c}),i.length?this.props.debouncedSpeak(Object(D.sprintf)(Object(D._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",i.length),i.length),"assertive"):this.props.debouncedSpeak(Object(D.__)("No results."),"assertive"))}},{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 o=Object(k.clone)(this.props.value);o.splice.apply(o,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(o)}}},{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(St.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,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,r=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform)(e),a=[],i=[];return 0===r.length?t=Object(k.difference)(t,n):(r=r.toLocaleLowerCase(),Object(k.each)(t,function(e){var t=e.toLocaleLowerCase().indexOf(r);-1===n.indexOf(e)&&(0===t?a.push(e):t>0&&i.push(e))}),t=a.concat(i)),Object(k.take)(t,o)}},{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(k.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:"renderTokensAndInput",value:function(){var e=Object(k.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}},{key:"renderToken",value:function(e,t,n){var o=this.getTokenValue(e),a=e.status?e.status:void 0,i=t+1,c=n.length;return Object(r.createElement)(Mt,{key:"token-"+o,value:o,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(o.a)({},c,{onChange:this.onInputChange})),Object(r.createElement)(jt,c)}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.label,o=void 0===n?Object(D.__)("Add item"):n,a=e.instanceId,i=e.className,c=this.state.isExpanded,s=O()(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(r.createElement)("div",l,Object(r.createElement)("label",{htmlFor:"components-form-token-input-".concat(a),className:"components-form-token-field__label"},o),Object(r.createElement)("div",{ref:this.bindTokensAndInput,className:s,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),c&&Object(r.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(r.createElement)("div",{id:"components-form-token-suggestions-howto-".concat(a),className:"screen-reader-text"},Object(D.__)("Separate with commas")))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}}]),t}(r.Component);It.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:k.identity,saveTransform:function(e){return e.trim()},onChange:function(){},onInputChange:function(){},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:Object(D.__)("Item added."),removed:Object(D.__)("Item removed."),remove:Object(D.__)("Remove item")}};var xt=fe(Object(w.withInstanceId)(It));var Ht=function(e){var t,n=e.icon,a=void 0===n?null:n,i=e.size,c=e.className;if("string"==typeof a)return t=i||20,Object(r.createElement)(G,{icon:a,size:t,className:c});if(t=i||24,"function"==typeof a)return a.prototype instanceof r.Component?Object(r.createElement)(a,{className:c,size:t}):a();if(a&&("svg"===a.type||a.type===u)){var s=Object(o.a)({className:c,width:t,height:t},a.props);return Object(r.createElement)(u,s)}return Object(r.isValidElement)(a)?Object(r.cloneElement)(a,{className:c,size:t}):a};var Nt=Object(w.withInstanceId)(function(e){var t=e.children,n=e.className,o=void 0===n?"":n,a=e.instanceId,i=e.label;if(!r.Children.count(t))return null;var c="components-menu-group-label-".concat(a),s=O()(o,"components-menu-group");return Object(r.createElement)("div",{className:s},i&&Object(r.createElement)("div",{className:"components-menu-group__label",id:c},i),Object(r.createElement)(pt,{orientation:"vertical","aria-labelledby":c},t))});var Rt=Object(w.withInstanceId)(function(e){var t=e.children,n=e.label,a=void 0===n?t:n,i=e.info,c=e.className,s=e.icon,l=e.shortcut,u=e.isSelected,d=e.role,h=void 0===d?"menuitem":d,f=e.instanceId,p=Object(E.a)(e,["children","label","info","className","icon","shortcut","isSelected","role","instanceId"]);if(c=O()("components-menu-item__button",c,{"has-icon":s}),a=Object(k.isString)(a)?a:void 0,i){var b="edit-post-feature-toggle__info-"+f;p["aria-describedby"]=b,t=Object(r.createElement)("span",{className:"components-menu-item__info-wrapper"},t,Object(r.createElement)("span",{id:b,className:"components-menu-item__info"},i))}var v=z;return s&&(Object(k.isString)(s)||(s=Object(r.cloneElement)(s,{className:"components-menu-items__item-icon",height:20,width:20})),v=q,p.icon=s),Object(r.createElement)(v,Object(o.a)({"aria-label":a,"aria-checked":"menuitemcheckbox"===h||"menuitemradio"===h?u:void 0,role:h,className:c},p),t,Object(r.createElement)(U,{className:"components-menu-item__shortcut",shortcut:l}))});function Lt(e){var t=e.choices,n=void 0===t?[]:t,o=e.onSelect,a=e.value;return n.map(function(e){var t=a===e.value;return Object(r.createElement)(Rt,{key:e.value,role:"menuitemradio",icon:t&&"yes",isSelected:t,shortcut:e.shortcut,onClick:function(){t||o(e.value)}},e.label)})}var At=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).containerRef=Object(r.createRef)(),e.handleKeyDown=e.handleKeyDown.bind(Object(m.a)(Object(m.a)(e))),e.handleClickOutside=e.handleClickOutside.bind(Object(m.a)(Object(m.a)(e))),e.focusFirstTabbable=e.focusFirstTabbable.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusFirstTabbable()}},{key:"focusFirstTabbable",value:function(){var e=M.focus.tabbable.find(this.containerRef.current);e.length&&e[0].focus()}},{key:"handleClickOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.onRequestClose(e)}},{key:"handleKeyDown",value:function(e){e.keyCode===_.ESCAPE&&this.handleEscapeKeyDown(e)}},{key:"handleEscapeKeyDown",value:function(e){this.props.shouldCloseOnEsc&&(e.preventDefault(),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.contentLabel,n=e.aria,o=n.describedby,a=n.labelledby,i=e.children,c=e.className,s=e.role,l=e.style;return Object(r.createElement)("div",{className:c,style:l,ref:this.containerRef,role:s,"aria-label":t,"aria-labelledby":t?null:a,"aria-describedby":o,tabIndex:"-1"},i)}}]),t}(r.Component),Ft=Object(w.compose)([A,F,B.a,Object(w.withGlobalEvents)({keydown:"handleKeyDown"})])(At),Vt=function(e){var t=e.icon,n=e.title,o=e.onClose,a=e.closeLabel,i=e.headingId,c=e.isDismissable,s=a||Object(D.__)("Close dialog");return Object(r.createElement)("div",{className:"components-modal__header"},Object(r.createElement)("div",{className:"components-modal__header-heading-container"},t&&Object(r.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&Object(r.createElement)("h1",{id:i,className:"components-modal__header-heading"},n)),c&&Object(r.createElement)(q,{onClick:o,icon:"no-alt",label:s}))},Bt=new Set(["alert","status","log","marquee","timer"]),Kt=[],Wt=!1;function Ut(e){if(!Wt){var t=document.body.children;Object(k.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")||Bt.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),Kt.push(t))}),Wt=!0}}var Yt,$t=0,Gt=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).call(this,e))).prepareDOM(),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){1===++$t&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0===--$t&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){Yt||(Yt=document.createElement("div"),document.body.appendChild(Yt)),this.node=document.createElement("div"),Yt.appendChild(this.node)}},{key:"cleanDOM",value:function(){Yt.removeChild(this.node)}},{key:"openFirstModal",value:function(){Ut(Yt),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),Wt&&(Object(k.forEach)(Kt,function(e){e.removeAttribute("aria-hidden")}),Kt=[],Wt=!1)}},{key:"render",value:function(){var e=this.props,t=e.overlayClassName,n=e.className,o=e.onRequestClose,a=e.title,i=e.icon,c=e.closeButtonLabel,s=e.children,l=e.aria,u=e.instanceId,d=e.isDismissable,h=Object(E.a)(e,["overlayClassName","className","onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissable"]),f=l.labelledby||"components-modal-header-".concat(u);return Object(r.createPortal)(Object(r.createElement)(X,{className:O()("components-modal__screen-overlay",t)},Object(r.createElement)(Ft,Object(j.a)({className:O()("components-modal__frame",n),onRequestClose:o,aria:{labelledby:a?f:null,describedby:l.describedby}},h),Object(r.createElement)("div",{className:"components-modal__content",tabIndex:"0"},Object(r.createElement)(Vt,{closeLabel:c,headingId:f,icon:i,isDismissable:d,onClose:o,title:a}),s))),this.node)}}]),t}(r.Component);Gt.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,onRequestClose:k.noop,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissable:!0,aria:{labelledby:null,describedby:null}};var qt=Object(w.withInstanceId)(Gt);var Zt=function(e){var t=e.className,n=e.status,o=e.children,a=e.onRemove,i=void 0===a?k.noop:a,c=e.isDismissible,s=void 0===c||c,l=e.actions,u=void 0===l?[]:l,d=e.__unstableHTML,h=O()(t,"components-notice","is-"+n,{"is-dismissible":s});return d&&(o=Object(r.createElement)(r.RawHTML,null,o)),Object(r.createElement)("div",{className:h},Object(r.createElement)("div",{className:"components-notice__content"},o,u.map(function(e,t){var n=e.label,o=e.url,a=e.onClick;return Object(r.createElement)(z,{key:t,href:o,isLink:!!o,onClick:a,className:"components-notice__action"},n)})),s&&Object(r.createElement)(q,{className:"components-notice__dismiss",icon:"no",label:Object(D.__)("Dismiss this notice"),onClick:i,tooltip:!1}))};var Xt=function(e){var t=e.notices,n=e.onRemove,o=void 0===n?k.noop:n,a=e.className,i=void 0===a?"components-notice-list":a,c=e.children;return Object(r.createElement)("div",{className:i},c,Object(y.a)(t).reverse().map(function(e){return Object(r.createElement)(Zt,Object(j.a)({},Object(k.omit)(e,["content"]),{key:e.id,onRemove:function(e){return function(){return o(e)}}(e.id)}),e.content)}))};var Qt=function(e){var t=e.label,n=e.children;return Object(r.createElement)("div",{className:"components-panel__header"},t&&Object(r.createElement)("h2",null,t),n)};var Jt=function(e){var t=e.header,n=e.className,o=e.children,a=O()(n,"components-panel");return Object(r.createElement)("div",{className:a},t&&Object(r.createElement)(Qt,{label:t}),o)},en=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state={opened:void 0===e.initialOpen||e.initialOpen},n.toggle=n.toggle.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.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,o=e.opened,a=e.className,s=e.icon,l=e.forwardedRef,d=void 0===o?this.state.opened:o,h=O()("components-panel__body",a,{"is-opened":d});return Object(r.createElement)("div",{className:h,ref:l},!!t&&Object(r.createElement)("h2",{className:"components-panel__body-title"},Object(r.createElement)(z,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":d},Object(r.createElement)("span",{"aria-hidden":"true"},d?Object(r.createElement)(u,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i,null,Object(r.createElement)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)(i,null,Object(r.createElement)(c,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):Object(r.createElement)(u,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i,null,Object(r.createElement)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)(i,null,Object(r.createElement)(c,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),t,s&&Object(r.createElement)(Ht,{icon:s,className:"components-panel__icon",size:20}))),d&&n)}}]),t}(r.Component),tn=function(e,t){return Object(r.createElement)(en,Object(j.a)({},e,{forwardedRef:t}))};tn.displayName="PanelBody";var nn=Object(r.forwardRef)(tn);var on=function(e){var t=e.className,n=e.children,o=O()("components-panel__row",t);return Object(r.createElement)("div",{className:o},n)};var rn=function(e){var t=e.icon,n=e.children,o=e.label,a=e.instructions,i=e.className,c=e.notices,s=Object(E.a)(e,["icon","children","label","instructions","className","notices"]),l=O()("components-placeholder",i);return Object(r.createElement)("div",Object(j.a)({},s,{className:l}),c,Object(r.createElement)("div",{className:"components-placeholder__label"},Object(k.isString)(t)?Object(r.createElement)(G,{icon:t}):t,o),!!a&&Object(r.createElement)("div",{className:"components-placeholder__instructions"},a),Object(r.createElement)("div",{className:"components-placeholder__fieldset"},n))};function an(e){var t=e.label,n=e.noOptionLabel,o=e.onChange,a=e.selectedId,i=e.tree,c=Object(E.a)(e,["label","noOptionLabel","onChange","selectedId","tree"]),s=Object(k.compact)([n&&{value:"",label:n}].concat(Object(y.a)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object(k.flatMap)(t,function(t){return[{value:t.id,label:Object(k.repeat)(" ",3*n)+Object(k.unescape)(t.name)}].concat(Object(y.a)(e(t.children||[],n+1)))})}(i))));return Object(r.createElement)(In,Object(j.a)({label:t,options:s,onChange:o},{value:a},c))}function cn(e){var t=e.label,n=e.noOptionLabel,a=e.categoriesList,i=e.selectedCategoryId,c=e.onChange,s=function(e){var t=Object(k.groupBy)(e,"parent");return function e(n){return n.map(function(n){var r=t[n.id];return Object(o.a)({},n,{children:r&&r.length?e(r):[]})})}(t[0]||[])}(a);return Object(r.createElement)(an,Object(j.a)({label:t,noOptionLabel:n,onChange:c},{tree:s,selectedId:i}))}var sn=1,ln=100;function un(e){var t=e.categoriesList,n=e.selectedCategoryId,o=e.numberOfItems,a=e.order,i=e.orderBy,c=e.maxItems,s=void 0===c?ln:c,l=e.minItems,u=void 0===l?sn:l,d=e.onCategoryChange,h=e.onNumberOfItemsChange,f=e.onOrderChange,p=e.onOrderByChange;return[f&&p&&Object(r.createElement)(In,{key:"query-controls-order-select",label:Object(D.__)("Order by"),value:"".concat(i,"/").concat(a),options:[{label:Object(D.__)("Newest to Oldest"),value:"date/desc"},{label:Object(D.__)("Oldest to Newest"),value:"date/asc"},{label:Object(D.__)("A → Z"),value:"title/asc"},{label:Object(D.__)("Z → A"),value:"title/desc"}],onChange:function(e){var t=e.split("/"),n=Object(x.a)(t,2),o=n[0],r=n[1];r!==a&&f(r),o!==i&&p(o)}}),d&&Object(r.createElement)(cn,{key:"query-controls-category-select",categoriesList:t,label:Object(D.__)("Category"),noOptionLabel:Object(D.__)("All"),selectedCategoryId:n,onChange:d}),h&&Object(r.createElement)(kt,{key:"query-controls-range-control",label:Object(D.__)("Number of items"),value:o,onChange:h,min:u,max:s})]}var dn=Object(w.withInstanceId)(function(e){var t=e.label,n=e.className,o=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(k.isEmpty)(l)&&Object(r.createElement)(ye,{label:t,id:u,help:a,className:O()(n,"components-radio-control")},l.map(function(e,t){return Object(r.createElement)("div",{key:"".concat(u,"-").concat(t),className:"components-radio-control__option"},Object(r.createElement)("input",{id:"".concat(u,"-").concat(t),className:"components-radio-control__input",type:"radio",name:u,value:e.value,onChange:d,checked:e.value===o,"aria-describedby":a?"".concat(u,"__help"):void 0}),Object(r.createElement)("label",{htmlFor:"".concat(u,"-").concat(t)},e.label))}))}),hn=n(26),fn=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},pn=function(){function e(e,t){for(var n=0;n 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"}})),Object(r.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:this.props.type},Object(r.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.html}}),Object(r.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\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\t\truleOrNode.style[ style ] = '';\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(r.createElement)("script",{key:e,src:e})}))),t=this.iframe.current.contentWindow.document;t.open(),t.write(""+Object(r.renderToString)(e)),t.close()}}},{key:"render",value:function(){var e=this.props.title;return Object(r.createElement)(Ot,{iframeRef:this.iframe,title:e,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onLoad:this.trySandbox,width:Math.ceil(this.state.width),height:Math.ceil(this.state.height)})}}],[{key:"defaultProps",get:function(){return{html:"",title:""}}}]),t}(r.Component),Tn=zn=Object(w.withGlobalEvents)({message:"checkMessageForResize"})(zn);var In=Object(w.withInstanceId)(function(e){var t=e.help,n=e.instanceId,o=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=Object(E.a)(e,["help","instanceId","label","multiple","onChange","options","className"]),h="inspector-select-control-".concat(n);return!Object(k.isEmpty)(l)&&Object(r.createElement)(ye,{label:o,id:h,help:t,className:u},Object(r.createElement)("select",Object(j.a)({id:h,className:"components-select-control__input",onChange:function(e){if(i){var t=Object(y.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(h,"__help"):void 0,multiple:i},d),l.map(function(e,t){return Object(r.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)})))});function xn(){return Object(r.createElement)("span",{className:"components-spinner"})}var Hn=n(30),Nn=n.n(Hn),Rn=n(24);var Ln=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).call(this,e))).state={response:null},n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.fetch(this.props),this.fetch=Object(k.debounce)(this.fetch,500)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(e){Object(k.isEqual)(e,this.props)||this.fetch(this.props)}},{key:"fetch",value:function(e){var t=this;if(this.isStillMounted){null!==this.state.response&&this.setState({response:null});var n=e.block,r=e.attributes,a=void 0===r?null:r,i=e.urlQueryArgs,c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(Rn.addQueryArgs)("/wp/v2/block-renderer/".concat(e),Object(o.a)({context:"edit"},null!==t?{attributes:t}:{},n))}(n,a,void 0===i?{}:i),s=this.currentFetchRequest=Nn()({path:c}).then(function(e){t.isStillMounted&&s===t.currentFetchRequest&&e&&e.rendered&&t.setState({response:e.rendered})}).catch(function(e){t.isStillMounted&&s===t.currentFetchRequest&&t.setState({response:{error:!0,errorMsg:e.message}})});return s}}},{key:"render",value:function(){var e=this.state.response;if(!e)return Object(r.createElement)(rn,null,Object(r.createElement)(xn,null));if(e.error){var t=Object(D.sprintf)(Object(D.__)("Error loading block: %s"),e.errorMsg);return Object(r.createElement)(rn,null,t)}return e.length?Object(r.createElement)(r.RawHTML,{key:"html"},e):Object(r.createElement)(rn,null,Object(D.__)("No results found."))}}]),t}(r.Component),An=function(e){var t=e.tabId,n=e.onClick,o=e.children,a=e.selected,i=Object(E.a)(e,["tabId","onClick","children","selected"]);return Object(r.createElement)("button",Object(j.a)({role:"tab",tabIndex:a?null:-1,"aria-selected":a,id:t,onClick:n},i),o)},Fn=function(e){function t(){var e;Object(h.a)(this,t);var n=(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).props,o=n.tabs,r=n.initialTabName;return e.handleClick=e.handleClick.bind(Object(m.a)(Object(m.a)(e))),e.onNavigate=e.onNavigate.bind(Object(m.a)(Object(m.a)(e))),e.state={selected:r||(o.length>0?o[0].name:null)},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"handleClick",value:function(e){var t=this.props.onSelect,n=void 0===t?k.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,o=n.activeClass,a=void 0===o?"is-active":o,i=n.className,c=n.instanceId,s=n.orientation,l=void 0===s?"horizontal":s,u=n.tabs,d=Object(k.find)(u,{name:t}),h=c+"-"+d.name;return Object(r.createElement)("div",{className:i},Object(r.createElement)(pt,{role:"tablist",orientation:l,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},u.map(function(n){return Object(r.createElement)(An,{className:"".concat(n.className," ").concat(n.name===t?a:""),tabId:c+"-"+n.name,"aria-controls":c+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(k.partial)(e.handleClick,n.name)},n.title)})),d&&Object(r.createElement)("div",{"aria-labelledby":h,role:"tabpanel",id:h+"-view",className:"components-tab-panel__tab-content",tabIndex:"0"},this.props.children(d)))}}]),t}(r.Component),Vn=Object(w.withInstanceId)(Fn);var Bn=Object(w.withInstanceId)(function(e){var t=e.label,n=e.value,o=e.help,a=e.instanceId,i=e.onChange,c=e.rows,s=void 0===c?4:c,l=e.className,u=Object(E.a)(e,["label","value","help","instanceId","onChange","rows","className"]),d="inspector-textarea-control-".concat(a);return Object(r.createElement)(ye,{label:t,id:d,help:o,className:l},Object(r.createElement)("textarea",Object(j.a)({className:"components-textarea-control__input",id:d,rows:s,onChange:function(e){return i(e.target.value)},"aria-describedby":o?d+"__help":void 0,value:n},u)))}),Kn=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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,o=n.label,a=n.checked,i=n.help,c=n.instanceId,s="inspector-toggle-control-".concat(c);return i&&(e=s+"__help",t=Object(k.isFunction)(i)?i(a):i),Object(r.createElement)(ye,{id:s,help:t,className:"components-toggle-control"},Object(r.createElement)(wt,{id:s,checked:a,onChange:this.onChange,"aria-describedby":e}),Object(r.createElement)("label",{htmlFor:s,className:"components-toggle-control__label"},o))}}]),t}(r.Component),Wn=Object(w.withInstanceId)(Kn),Un=function(e){return Object(r.createElement)("div",{className:e.className},e.children)};var Yn=function(e){var t=e.containerClassName,n=e.icon,o=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(r.createElement)(Un,{className:t},Object(r.createElement)(q,Object(j.a)({icon:n,label:o,shortcut:a,"data-subscript":i,onClick:function(e){e.stopPropagation(),c()},className:O()("components-toolbar__control",s,{"is-active":l}),"aria-pressed":l,disabled:u},d)),h)},$n=function(e){return Object(r.createElement)("div",{className:O()("components-toolbar",e.className)},e.children)};var Gn=function(e){var t=e.controls,n=void 0===t?[]:t,o=e.children,a=e.className,i=e.isCollapsed,c=e.icon,s=e.label;if(!(n&&n.length||o))return null;var l=n;return Array.isArray(l[0])||(l=[l]),i?Object(r.createElement)(vt,{icon:c,label:s,controls:l,className:O()("components-toolbar",a)}):Object(r.createElement)($n,{className:O()("components-toolbar",a)},Object(k.flatMap)(l,function(e,t){return e.map(function(e,n){return Object(r.createElement)(Yn,Object(j.a)({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))})}),o)},qn=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(m.a)(Object(m.a)(e))),e.focusNextRegion=e.focusRegion.bind(Object(m.a)(Object(m.a)(e)),1),e.focusPreviousRegion=e.focusRegion.bind(Object(m.a)(Object(m.a)(e)),-1),e.onClick=e.onClick.bind(Object(m.a)(Object(m.a)(e))),e.state={isFocusingRegions:!1},e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"focusRegion",value:function(e){var t=Object(y.a)(this.container.querySelectorAll('[role="region"]'));if(t.length){var n=t[0],o=t.indexOf(document.activeElement);if(-1!==o){var r=o+e;n=t[r=(r=-1===r?t.length-1:r)===t.length?0:r]}n.focus(),this.setState({isFocusingRegions:!0})}}},{key:"onClick",value:function(){this.setState({isFocusingRegions:!1})}},{key:"render",value:function(){var t=O()("components-navigate-regions",{"is-focusing-regions":this.state.isFocusingRegions});return Object(r.createElement)("div",{ref:this.bindContainer,className:t,onClick:this.onClick},Object(r.createElement)(Te,{bindGlobal:!0,shortcuts:{"ctrl+`":this.focusNextRegion,"shift+alt+n":this.focusNextRegion,"ctrl+shift+`":this.focusPreviousRegion,"shift+alt+p":this.focusPreviousRegion}}),Object(r.createElement)(e,this.props))}}]),n}(r.Component)},"navigateRegions"),Zn=function(e){return Object(w.createHigherOrderComponent)(function(t){return function(n){function o(){var e;return Object(h.a)(this,o),(e=Object(f.a)(this,Object(p.a)(o).apply(this,arguments))).nodeRef=e.props.node,e.state={fallbackStyles:void 0,grabStylesCompleted:!1},e.bindRef=e.bindRef.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(o,n),Object(b.a)(o,[{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,o=t.fallbackStyles;if(this.nodeRef&&!n){var r=e(this.nodeRef,this.props);Object(k.isEqual)(r,o)||this.setState({fallbackStyles:r,grabStylesCompleted:!!Object(k.every)(r)})}}},{key:"render",value:function(){var e=Object(r.createElement)(t,Object(j.a)({},this.props,this.state.fallbackStyles));return this.props.node?e:Object(r.createElement)("div",{ref:this.bindRef}," ",e," ")}}]),o}(r.Component)},"withFallbackStyles")},Xn=n(23),Qn=16;function Jn(e){return Object(w.createHigherOrderComponent)(function(t){return function(n){function o(n){var r;return Object(h.a)(this,o),(r=Object(f.a)(this,Object(p.a)(o).call(this,n))).onHooksUpdated=r.onHooksUpdated.bind(Object(m.a)(Object(m.a)(r))),r.Component=Object(Xn.applyFilters)(e,t),r.namespace=Object(k.uniqueId)("core/with-filters/component-"),r.throttledForceUpdate=Object(k.debounce)(function(){r.Component=Object(Xn.applyFilters)(e,t),r.forceUpdate()},Qn),Object(Xn.addAction)("hookRemoved",r.namespace,r.onHooksUpdated),Object(Xn.addAction)("hookAdded",r.namespace,r.onHooksUpdated),r}return Object(v.a)(o,n),Object(b.a)(o,[{key:"componentWillUnmount",value:function(){this.throttledForceUpdate.cancel(),Object(Xn.removeAction)("hookRemoved",this.namespace),Object(Xn.removeAction)("hookAdded",this.namespace)}},{key:"onHooksUpdated",value:function(t){t===e&&this.throttledForceUpdate()}},{key:"render",value:function(){return Object(r.createElement)(this.Component,this.props)}}]),o}(r.Component)},"withFilters")}var eo=n(56),to=n.n(eo),no=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).createNotice=e.createNotice.bind(Object(m.a)(Object(m.a)(e))),e.createErrorNotice=e.createErrorNotice.bind(Object(m.a)(Object(m.a)(e))),e.removeNotice=e.removeNotice.bind(Object(m.a)(Object(m.a)(e))),e.removeAllNotices=e.removeAllNotices.bind(Object(m.a)(Object(m.a)(e))),e.state={noticeList:[]},e.noticeOperations={createNotice:e.createNotice,createErrorNotice:e.createErrorNotice,removeAllNotices:e.removeAllNotices,removeNotice:e.removeNotice},e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"createNotice",value:function(e){var t=e.id?e:Object(o.a)({},e,{id:to()()});this.setState(function(e){return{noticeList:Object(y.a)(e.noticeList).concat([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(r.createElement)(e,Object(j.a)({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(r.createElement)(Xt,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),n}(r.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,"Autocomplete",function(){return me}),n.d(t,"BaseControl",function(){return ye}),n.d(t,"Button",function(){return z}),n.d(t,"ButtonGroup",function(){return ge}),n.d(t,"CheckboxControl",function(){return Oe}),n.d(t,"ClipboardButton",function(){return De}),n.d(t,"ColorIndicator",function(){return we}),n.d(t,"ColorPalette",function(){return Be}),n.d(t,"ColorPicker",function(){return Ve}),n.d(t,"Dashicon",function(){return G}),n.d(t,"DateTimePicker",function(){return Ge}),n.d(t,"DatePicker",function(){return Ye}),n.d(t,"TimePicker",function(){return $e}),n.d(t,"Disabled",function(){return et}),n.d(t,"Draggable",function(){return nt}),n.d(t,"DropZone",function(){return ut}),n.d(t,"DropZoneProvider",function(){return st}),n.d(t,"Dropdown",function(){return Se}),n.d(t,"DropdownMenu",function(){return vt}),n.d(t,"ExternalLink",function(){return mt}),n.d(t,"FocusableIframe",function(){return Ot}),n.d(t,"FontSizePicker",function(){return _t}),n.d(t,"FormFileUpload",function(){return Dt}),n.d(t,"FormToggle",function(){return wt}),n.d(t,"FormTokenField",function(){return xt}),n.d(t,"Icon",function(){return Ht}),n.d(t,"IconButton",function(){return q}),n.d(t,"KeyboardShortcuts",function(){return Te}),n.d(t,"MenuGroup",function(){return Nt}),n.d(t,"MenuItem",function(){return Rt}),n.d(t,"MenuItemsChoice",function(){return Lt}),n.d(t,"Modal",function(){return qt}),n.d(t,"ScrollLock",function(){return Z}),n.d(t,"NavigableMenu",function(){return pt}),n.d(t,"TabbableContainer",function(){return bt}),n.d(t,"Notice",function(){return Zt}),n.d(t,"NoticeList",function(){return Xt}),n.d(t,"Panel",function(){return Jt}),n.d(t,"PanelBody",function(){return nn}),n.d(t,"PanelHeader",function(){return Qt}),n.d(t,"PanelRow",function(){return on}),n.d(t,"Placeholder",function(){return rn}),n.d(t,"Popover",function(){return de}),n.d(t,"QueryControls",function(){return un}),n.d(t,"RadioControl",function(){return dn}),n.d(t,"RangeControl",function(){return kt}),n.d(t,"ResizableBox",function(){return Pn}),n.d(t,"ResponsiveWrapper",function(){return En}),n.d(t,"SandBox",function(){return Tn}),n.d(t,"SelectControl",function(){return In}),n.d(t,"Spinner",function(){return xn}),n.d(t,"ServerSideRender",function(){return Ln}),n.d(t,"TabPanel",function(){return Vn}),n.d(t,"TextControl",function(){return Ne}),n.d(t,"TextareaControl",function(){return Bn}),n.d(t,"ToggleControl",function(){return Wn}),n.d(t,"Toolbar",function(){return Gn}),n.d(t,"ToolbarButton",function(){return Yn}),n.d(t,"Tooltip",function(){return $}),n.d(t,"TreeSelect",function(){return an}),n.d(t,"IsolatedEventContainer",function(){return X}),n.d(t,"createSlotFill",function(){return ce}),n.d(t,"Slot",function(){return oe}),n.d(t,"Fill",function(){return ie}),n.d(t,"SlotFillProvider",function(){return te}),n.d(t,"navigateRegions",function(){return qn}),n.d(t,"withConstrainedTabbing",function(){return F}),n.d(t,"withFallbackStyles",function(){return Zn}),n.d(t,"withFilters",function(){return Jn}),n.d(t,"withFocusOutside",function(){return P}),n.d(t,"withFocusReturn",function(){return A}),n.d(t,"withNotices",function(){return no}),n.d(t,"withSpokenMessages",function(){return fe})}]);
\ No newline at end of file
+!function(t,n){e.exports=n()}(0,function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var 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},r=function(){function e(e,t){for(var n=0;n0&&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"===o(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 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},r=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,a.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,a.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=i},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 o=window.getSelection(),r=document.createRange();r.selectNodeContents(e),o.removeAllRanges(),o.addRange(r),t=o.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o":".","?":"/","|":"\\"},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();g.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},g.prototype.unbind=function(e,t){return this.bind.call(this,e,function(){},t)},g.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},g.prototype.reset=function(){return this._callbacks={},this._directMap={},this},g.prototype.stopCallback=function(e,t){return!((" "+t.className+" ").indexOf(" mousetrap ")>-1)&&(!function e(t,n){return null!==t&&t!==a&&(t===n||e(t.parentNode,n))}(t,this.target)&&("INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable))},g.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)},g.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);c=null},g.init=function(){var e=g(a);for(var t in e)"_"!==t.charAt(0)&&(g[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},g.init(),r.Mousetrap=g,e.exports&&(e.exports=g),void 0===(o=function(){return g}.call(t,n,t,e))||(e.exports=o)}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 b(e,t){return e.sort().join(",")===t.sort().join(",")}function v(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function m(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 y(e,t){var n,o,r,a=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),r=0;r1?h(e,c,n,o):(i=y(e,o),t._callbacks[i.key]=t._callbacks[i.key]||[],l(i.key,i.modifiers,{type:i.action},r,e,a),t._callbacks[i.key][r?"unshift":"push"]({callback:n,modifiers:i.modifiers,action:i.action,seq:r,level:a,combo:e}))}t._handleKey=function(e,t,n){var o,r=l(e,t,n),a={},d=0,h=!1;for(o=0;o=0&&"[object Function]"===o.call(e.callee)),n}},function(e,t,n){"use strict";var o=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==r.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,a=o.call(arguments,1),i=Math.max(0,t.length-a.length),c=[],s=0;s= 0");var n=this.ToLength(t);if(!this.SameValueZero(t,n))throw new RangeError("index must be >= 0 and < 2 ** 53 - 1");return n}});delete a.EnumerableOwnNames,e.exports=a},function(e,t,n){"use strict";var o=n(88),r=n(209),a=n(133),i=a("%TypeError%"),c=a("%SyntaxError%"),s=a("%Array%"),l=a("%String%"),u=a("%Object%"),d=a("%Number%"),h=a("%Symbol%",!0),f=a("%RegExp%"),p=!!h,b=n(134),v=n(135),m=d.MAX_SAFE_INTEGER||Math.pow(2,53)-1,y=n(107),g=n(136),O=n(137),k=n(213),_=parseInt,D=n(68),w=D.call(Function.call,s.prototype.slice),S=D.call(Function.call,l.prototype.slice),M=D.call(Function.call,f.prototype.test,/^0b[01]+$/i),j=D.call(Function.call,f.prototype.test,/^0o[0-7]+$/i),C=D.call(Function.call,f.prototype.exec),P=new f("["+["
","",""].join("")+"]","g"),E=D.call(Function.call,f.prototype.test,P),z=D.call(Function.call,f.prototype.test,/^[-+]0x[0-9a-f]+$/i),T=D.call(Function.call,l.prototype.charCodeAt),I=D.call(Function.call,Object.prototype.toString),x=Math.floor,H=Math.abs,N=Object.create,R=u.getOwnPropertyDescriptor,L=u.isExtensible,A=["\t\n\v\f\r "," \u2028","\u2029\ufeff"].join(""),F=new RegExp("(^["+A+"]+)|(["+A+"]+$)","g"),V=D.call(Function.call,l.prototype.replace),B=n(214),K=n(216),W=y(y({},B),{Call:function(e,t){var n=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new i(e+" is not a function");return e.apply(t,n)},ToPrimitive:r,ToNumber:function(e){var t=k(e)?e:r(e,d);if("symbol"==typeof t)throw new i("Cannot convert a Symbol value to a number");if("string"==typeof t){if(M(t))return this.ToNumber(_(S(t,2),2));if(j(t))return this.ToNumber(_(S(t,2),8));if(E(t)||z(t))return NaN;var n=function(e){return V(e,F,"")}(t);if(n!==t)return this.ToNumber(n)}return d(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(b(t)||0===t||!v(t))return 0;var n=g(t)*x(H(t));return O(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(b(t)||t<=0)return 0;if(t>=255)return 255;var n=x(e);return n+.5m?m:t},CanonicalNumericIndexString:function(e){if("[object String]"!==I(e))throw new i("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:B.CheckObjectCoercible,IsArray:s.isArray||function(e){return"[object Array]"===I(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!k(e)&&L(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||b(e)||!v(e))return!1;var t=H(e);return x(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(p){var t=e[h.match];if(void 0!==t)return B.ToBoolean(t)}return K(e)},SameValueZero:function(e,t){return e===t||b(e)&&b(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new i(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":B.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new i("O.constructor is not an Object");var o=p&&h.species?n[h.species]:void 0;if(null==o)return t;if(this.IsConstructor(o))return o;throw new i("no constructor found")},CompletePropertyDescriptor:function(e){if(!this.IsPropertyDescriptor(e))throw new i("Desc must be a Property Descriptor");return this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(o(e,"[[Value]]")||(e["[[Value]]"]=void 0),o(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(o(e,"[[Get]]")||(e["[[Get]]"]=void 0),o(e,"[[Set]]")||(e["[[Set]]"]=void 0)),o(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),o(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,o){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");if("Boolean"!==this.Type(o))throw new i("Throw must be a Boolean");if(o)return e[t]=n,!0;try{e[t]=n}catch(e){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");return o(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(p&&"symbol"==typeof h.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");var n=w(arguments,2),o=this.GetV(e,t);return this.Call(o,e,n)},GetIterator:function(e,t){if(!p)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,h.iterator));var o=this.Call(n,e);if("Object"!==this.Type(o))throw new i("iterator must return an object");return o},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new i("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new i("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 i("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new i("Assertion failed: completion is not a thunk for a Completion Record");var n,o=t,r=this.GetMethod(e,"return");if(void 0===r)return o();try{var a=this.Call(r,e,[])}catch(e){throw n=o(),o=null,e}if(n=o(),o=null,"Object"!==this.Type(a))throw new i("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new i("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new i("R must be an Object");if("String"!==this.Type(t))throw new i("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var o=this.Call(n,e,[t]);if(null===o||"Object"===this.Type(o))return o;throw new i('"exec" method must return `null` or an Object')}return C(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new i("Assertion failed: length must be an integer >= 0");var n,o=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&p&&h.species&&null===(n=this.Get(n,h.species))&&(n=void 0)),void 0===n)return s(o);if(!this.IsConstructor(n))throw new i("C must be a constructor");return new n(o)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var o=R(e,t),r=o||"function"!=typeof L||L(e);if(o&&(!o.writable||!o.configurable)||!r)return!1;var a={configurable:!0,enumerable:!0,value:n,writable:!0};return Object.defineProperty(e,t,a),!0},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var o=this.CreateDataProperty(e,t,n);if(!o)throw new i("unable to create data property");return o},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new i("Assertion failed: proto must be null or an object");if((arguments.length<2?[]:t).length>0)throw new c("es-abstract does not yet support internal slots");if(null===e&&!N)throw new c("native Object.create support is required to create null objects");return N(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new i("S must be a String");if(!this.IsInteger(t)||t<0||t>m)throw new i("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new i("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var o=T(e,t);if(o<55296||o>56319)return t+1;var r=T(e,t+1);return r<56320||r>57343?t+1:t+2}});delete W.CheckObjectCoercible,e.exports=W},function(e,t,n){"use strict";e.exports=n(210)},function(e,t,n){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,r=n(130),a=n(106),i=n(211),c=n(131);e.exports=function(e){if(r(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),o&&(Symbol.toPrimitive?t=function(e,t){var n=e[t];if(null!==n&&void 0!==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(r(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(void 0===e||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,o,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(c(t)||0===t||!s(t))return 0;var n=l(t)*Math.floor(Math.abs(t));return u(n,65536)},ToString:function(e){return i(e)},ToObject:function(e){return this.CheckObjectCoercible(e),r(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new a(t||"Cannot call method on "+e);return e},IsCallable:d,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:c(e)&&c(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(f(e,n)&&!t[n])return!1;var o=f(e,"[[Value]]"),r=f(e,"[[Get]]")||f(e,"[[Set]]");if(o&&r)throw new a("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!(!f(e,"[[Get]]")&&!f(e,"[[Set]]"))},IsDataDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!(!f(e,"[[Value]]")&&!f(e,"[[Writable]]"))},IsGenericDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e)},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");if(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(f(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),f(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),f(e,"value")&&(t["[[Value]]"]=e.value),f(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),f(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(f(e,"set")){var o=e.set;if(void 0!==o&&!this.IsCallable(o))throw new a("setter must be a function");t["[[Set]]"]=o}if((f(t,"[[Get]]")||f(t,"[[Set]]"))&&(f(t,"[[Value]]")||f(t,"[[Writable]]")))throw new a("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}};e.exports=p},function(e,t,n){"use strict";var o=Object.prototype.toString,r=n(130),a=n(106),i=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===o.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 o=n(88),r=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||!o(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,r.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},function(e,t,n){"use strict";var o=n(63),r=n(138);e.exports=function(){var e=r();return o(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},function(e,t,n){"use strict";(function(t){var o=n(63),r=n(131),a="__ global cache key __";"function"==typeof Symbol&&r(Symbol("foo"))&&"function"==typeof Symbol.for&&(a=Symbol.for(a));var i=function(){return!0},c=function(){if(!t[a]){var e={};e[a]={};var n={};n[a]=i,o(t,e,n)}return t[a]},s=c(),l=function(e){return r(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete t[a],s=c()},delete:function(e){return u(e),delete s[l(e)],!d.has(e)},get:function(e){return u(e),s[l(e)]},has:function(e){return u(e),l(e)in s},set:function(e,t){u(e);var n=l(e),r={};r[n]=t;var a={};return a[n]=i,o(s,r,a),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d}).call(this,n(51))},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,o={},r=0;r>",baseInvalidMessage:"Invalid "};function o(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 o=e.bind(null,!1,t);return o.isRequired=e.bind(null,!0,t),o},t}function r(e,t,o){return new Error("The prop `"+e+"` "+n.requiredCore+" in `"+t+"`, but its value is `"+o+"`.")}var a=-1;e.exports={constructPropValidatorVariations:o,createMomentChecker:function(e,t,i,c){return o(function(o,s,l,u,d,h,f){var p=l[u],b=typeof p,v=function(e,t,n,o){var i=void 0===o,c=null===o;if(e){if(i)return r(n,t,"undefined");if(c)return r(n,t,"null")}return i||c?null:a}(o,d=d||n.anonymousMessage,f=f||u,p);if(v!==a)return v;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+e+"`.");if(!i(p))return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+c+"`.");if(s&&!s(p)){var m=s.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+b+"` supplied to `"+d+"`. "+n.predicateFailureCore+" `"+m+"`.")}return null})},messages:n}},function(e,t){function n(){return null}function o(){return n}n.isRequired=n,e.exports={and:o,between:o,booleanSome:o,childrenHavePropXorChildren:o,childrenOf:o,childrenOfType:o,childrenSequenceOf:o,componentWithName:o,disallowedIf:o,elementType:o,explicitNull:o,forbidExtraProps:Object,integer:o,keysOf:o,mutuallyExclusiveProps:o,mutuallyExclusiveTrueProps:o,nChildren:o,nonNegativeInteger:n,nonNegativeNumber:o,numericString:o,object:o,or:o,range:o,requiredBy:o,restrictedProp:o,sequenceOf:o,shape:o,stringStartsWith:o,uniqueArray:o,uniqueArrayOf:o,valuesOf:o,withShape:o}},function(e,t,n){"use strict";var o=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return t&&!0===t.clone&&o(e)?c(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function i(e,t,n){var r=e.slice();return t.forEach(function(t,i){void 0===r[i]?r[i]=a(t,n):o(t)?r[i]=c(e[i],t,n):-1===e.indexOf(t)&&r.push(a(t,n))}),r}function c(e,t,n){var r=Array.isArray(t);return r===Array.isArray(e)?r?((n||{arrayMerge:i}).arrayMerge||i)(e,t,n):function(e,t,n){var r={};return o(e)&&Object.keys(e).forEach(function(t){r[t]=a(e[t],n)}),Object.keys(t).forEach(function(i){o(t[i])&&e[i]?r[i]=c(e[i],t[i],n):r[i]=a(t[i],n)}),r}(e,t,n):a(t,n)}c.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce(function(e,n){return c(e,n,t)})};var s=c;e.exports=s},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.CHANNEL="__direction__",t.DIRECTIONS={LTR:"ltr",RTL:"rtl"}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(28));t.default=o.default.shape({getState:o.default.func,setState:o.default.func,subscribe:o.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 o=c(n(26)),r=n(39),a=c(n(108)),i=c(n(234));function c(e){return e&&e.__esModule?e:{default:e}}var s=(0,r.forbidExtraProps)({children:(0,r.or)([(0,r.childrenOfType)(a.default),(0,r.childrenOfType)(i.default)]).isRequired});function l(e){var t=e.children;return o.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 o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:o.default.localeData().firstDayOfWeek();if(!o.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===r.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var a=e.clone().startOf("month").hour(12),i=e.clone().endOf("month").hour(12),c=(a.day()+7-n)%7,s=(n+6-i.day())%7,l=a.clone().subtract(c,"day"),u=i.clone().add(s,"day").diff(l,"days")+1,d=l.clone(),h=[],f=0;f=c&&f=t||n<0||m&&e-b>=d}function k(){var e=r();if(O(e))return _(e);f=setTimeout(k,function(e){var n=t-(e-p);return m?s(n,d-(e-b)):n}(e))}function _(e){return f=void 0,y&&l?g(e):(l=u=void 0,h)}function D(){var e=r(),n=O(e);if(l=arguments,u=this,p=e,n){if(void 0===f)return function(e){return b=e,f=setTimeout(k,t),v?g(e):h}(p);if(m)return f=setTimeout(k,t),g(p)}return void 0===f&&(f=setTimeout(k,t)),h}return t=a(t)||0,o(n)&&(v=!!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),b=0,l=p=u=f=void 0},D.flush=function(){return void 0===f?h:_(r())},D}},function(e,t,n){var o=n(162);e.exports=function(){return o.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(51))},function(e,t,n){var o=n(114),r=n(248),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(r(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(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 o=n(249),r=n(252),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||r(e)&&o(e)==a}},function(e,t,n){var o=n(163),r=n(250),a=n(251),i="[object Null]",c="[object Undefined]",s=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?c:i:s&&s in Object(e)?r(e):a(e)}},function(e,t,n){var o=n(163),r=Object.prototype,a=r.hasOwnProperty,i=r.toString,c=o?o.toStringTag:void 0;e.exports=function(e){var t=a.call(e,c),n=e[c];try{e[c]=void 0;var o=!0}catch(e){}var r=i.call(e);return o&&(t?e[c]=n:delete e[c]),r}},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]:o;return e?n(e(t.clone())):t};var o=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:o.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 o=function(e){return e&&e.__esModule?e:{default:e}}(n(27))},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 o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=n.split(" "),i=Object(x.a)(a,2),c=i[0],s=i[1],l=void 0===s?"center":s,u=function(e,t,n){var o,r=t.height,a=e.top+e.height/2,i={popoverTop:a,contentHeight:(a-r/2>0?r/2:a)+(a+r/2>window.innerHeight?window.innerHeight-a:r/2)},c={popoverTop:e.top,contentHeight:e.top-H-r>0?r:e.top-H},s={popoverTop:e.bottom,contentHeight:e.bottom+H+r>window.innerHeight?window.innerHeight-H-e.bottom:r},l=null;if("middle"===n&&i.contentHeight===r)o="middle";else if("top"===n&&c.contentHeight===r)o="top";else if("bottom"===n&&s.contentHeight===r)o="bottom";else{var u="top"==(o=c.contentHeight>s.contentHeight?"top":"bottom")?c.contentHeight:s.contentHeight;l=u!==r?u:null}return{yAxis:o,popoverTop:"middle"===o?i.popoverTop:"top"===o?c.popoverTop:s.popoverTop,contentHeight:l}}(e,t,c),d=function(e,t,n,o){var r=t.width;"left"===n&&R()?n="right":"right"===n&&R()&&(n="left");var a,i=Math.round(e.left+e.width/2),c={popoverLeft:i,contentWidth:(i-r/2>0?r/2:i)+(i+r/2>window.innerWidth?window.innerWidth-i:r/2)},s="middle"===o?e.left:i,l={popoverLeft:s,contentWidth:s-r>0?r:s},u="middle"===o?e.right:i,d={popoverLeft:u,contentWidth:u+r>window.innerWidth?window.innerWidth-u:r},h=null;if("center"===n&&c.contentWidth===r)a="center";else if("left"===n&&l.contentWidth===r)a="left";else if("right"===n&&d.contentWidth===r)a="right";else{var f="left"==(a=l.contentWidth>d.contentWidth?"left":"right")?l.contentWidth:d.contentWidth;h=f!==r?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(o.a)({isMobile:N()&&r},d,u)}var A=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).setIsFocusedTrue=function(){return e.isFocused=!0},e.setIsFocusedFalse=function(){return e.isFocused=!1},e.activeElementOnMount=document.activeElement,e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused;if(e){var n=document,o=n.body,r=n.activeElement;(t||null===r||o===r)&&e.focus()}}},{key:"render",value:function(){return Object(r.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(r.createElement)(e,this.props))}}]),n}(r.Component)},"withFocusReturn"),F=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).focusContainRef=Object(r.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===_.TAB){var t=M.focus.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],o=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),o.focus()):(e.shiftKey||e.target!==o)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(r.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(r.createElement)(e,this.props))}}]),n}(r.Component)},"withConstrainedTabbing"),V=n(96),B=n.n(V),K=function(e){function t(){return Object(h.a)(this,t),Object(f.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(v.a)(t,e),Object(b.a)(t,[{key:"handleClickOutside",value:function(e){var t=this.props.onClickOutside;t&&t(e)}},{key:"render",value:function(){return this.props.children}}]),t}(r.Component),W=B()(K);var U=function(e){var t,n,o=e.shortcut,a=e.className;return o?(Object(k.isString)(o)&&(t=o),Object(k.isObject)(o)&&(t=o.display,n=o.ariaLabel),Object(r.createElement)("span",{className:a,"aria-label":n},t)):null},Y=700,$=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).delayedSetIsOver=Object(k.debounce)(function(t){return e.setState({isOver:t})},Y),e.state={isOver:!1},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel()}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===r.Children.count(n)){var o=r.Children.only(n);"function"==typeof o.props[e]&&o.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(o){if(n.emitToChild(e,o),!o.currentTarget.disabled){n.delayedSetIsOver.cancel();var r=Object(k.includes)(["focus","mouseenter"],o.type);r!==n.state.isOver&&(t?n.delayedSetIsOver(r):n.setState({isOver:r}))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,o=e.text,a=e.shortcut;if(1!==r.Children.count(t))return t;var i=r.Children.only(t),c=this.state.isOver;return Object(r.cloneElement)(i,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),children:Object(r.concatChildren)(i.props.children,c&&Object(r.createElement)(de,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true"},o,Object(r.createElement)(U,{className:"components-tooltip__shortcut",shortcut:a})))})}}]),t}(r.Component),G=function(e){function t(){return Object(h.a)(this,t),Object(f.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(v.a)(t,e),Object(b.a)(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.icon!==e.icon||this.props.size!==e.size||this.props.className!==e.className}},{key:"render",value:function(){var e,t=this.props,n=t.icon,o=t.className,a=t.size,i=void 0===a?20:a;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"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 s=["dashicon","dashicons-"+n,o].filter(Boolean).join(" ");return Object(r.createElement)(u,{"aria-hidden":!0,role:"img",focusable:"false",className:s,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 20 20"},Object(r.createElement)(c,{d:e}))}}]),t}(r.Component),q=function(e){function t(){return Object(h.a)(this,t),Object(f.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(v.a)(t,e),Object(b.a)(t,[{key:"render",value:function(){var e=this.props,t=e.icon,n=e.children,o=e.label,a=e.className,i=e.tooltip,c=e.shortcut,s=e.labelPosition,l=Object(E.a)(e,["icon","children","label","className","tooltip","shortcut","labelPosition"]),u=O()("components-icon-button",a),d=i||o,h=!l.disabled&&(i||c||!!o&&(!n||Object(k.isArray)(n)&&!n.length)&&!1!==i),f=Object(r.createElement)(z,Object(j.a)({"aria-label":o},l,{className:u}),Object(k.isString)(t)?Object(r.createElement)(G,{icon:t}):t,n);return h&&(f=Object(r.createElement)($,{text:d,shortcut:c,position:s},f)),f}}]),t}(r.Component);var Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,o=e.className,a=void 0===o?"lockscroll":o,i=0,c=0;function s(e){var t=n.scrollingElement||n.body;e&&(c=t.scrollTop);var o=e?"add":"remove";t.classList[o](a),n.documentElement.classList[o](a),e||(t.scrollTop=c)}return function(e){function t(){return Object(h.a)(this,t),Object(f.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(v.a)(t,e),Object(b.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}(r.Component)}(),X=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).call(this,e))).stopEventPropagationOutsideContainer=n.stopEventPropagationOutsideContainer.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"stopEventPropagationOutsideContainer",value:function(e){e.stopPropagation()}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(E.a)(e,["children"]);return Object(r.createElement)("div",Object(j.a)({},n,{onMouseDown:this.stopEventPropagationOutsideContainer}),t)}}]),t}(r.Component),Q=Object(r.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){}}),J=Q.Provider,ee=Q.Consumer,te=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).registerSlot=e.registerSlot.bind(Object(m.a)(Object(m.a)(e))),e.registerFill=e.registerFill.bind(Object(m.a)(Object(m.a)(e))),e.unregisterSlot=e.unregisterSlot.bind(Object(m.a)(Object(m.a)(e))),e.unregisterFill=e.unregisterFill.bind(Object(m.a)(Object(m.a)(e))),e.getSlot=e.getSlot.bind(Object(m.a)(Object(m.a)(e))),e.getFills=e.getFills.bind(Object(m.a)(Object(m.a)(e))),e.slots={},e.fills={},e.state={registerSlot:e.registerSlot,unregisterSlot:e.unregisterSlot,registerFill:e.registerFill,unregisterFill:e.unregisterFill,getSlot:e.getSlot,getFills:e.getFills},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"registerSlot",value:function(e,t){this.slots[e]=t,this.forceUpdateFills(e),this.forceUpdateSlot(e)}},{key:"registerFill",value:function(e,t){this.fills[e]=Object(y.a)(this.fills[e]||[]).concat([t]),this.forceUpdateSlot(e)}},{key:"unregisterSlot",value:function(e){delete this.slots[e],this.forceUpdateFills(e)}},{key:"unregisterFill",value:function(e,t){this.fills[e]=Object(k.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){return Object(k.sortBy)(this.fills[e],"occurrence")}},{key:"resetFillOccurrence",value:function(e){Object(k.forEach)(this.fills[e],function(e){e.resetOccurrence()})}},{key:"forceUpdateFills",value:function(e){Object(k.forEach)(this.fills[e],function(e){e.forceUpdate()})}},{key:"forceUpdateSlot",value:function(e){var t=this.getSlot(e);t&&t.forceUpdate()}},{key:"render",value:function(){return Object(r.createElement)(J,{value:this.state},this.props.children)}}]),t}(r.Component),ne=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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,o=t.unregisterSlot,r=t.registerSlot;e.name!==n&&(o(e.name),r(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,o=e.bubblesVirtually,a=void 0!==o&&o,i=e.fillProps,c=void 0===i?{}:i,s=e.getFills;if(a)return Object(r.createElement)("div",{ref:this.bindNode});var l=Object(k.map)(s(n),function(e){var t=e.occurrence,n=Object(k.isFunction)(e.props.children)?e.props.children(c):e.props.children;return r.Children.map(n,function(e,n){if(!e||Object(k.isString)(e))return e;var o="".concat(t,"---").concat(e.key||n);return Object(r.cloneElement)(e,{key:o})})}).filter(Object(k.negate)(r.isEmptyElement));return Object(r.createElement)(r.Fragment,null,Object(k.isFunction)(t)?t(l):l)}}]),t}(r.Component),oe=function(e){return Object(r.createElement)(ee,null,function(t){var n=t.registerSlot,o=t.unregisterSlot,a=t.getFills;return Object(r.createElement)(ne,Object(j.a)({},e,{registerSlot:n,unregisterSlot:o,getFills:a}))})},re=0,ae=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).occurrence=++re,e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){(0,this.props.registerFill)(this.props.name,this)}},{key:"componentWillUpdate",value:function(){this.occurrence||(this.occurrence=++re);var e=(0,this.props.getSlot)(this.props.name);e&&!e.props.bubblesVirtually&&e.forceUpdate()}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterFill)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,o=t.unregisterFill,r=t.registerFill;e.name!==n&&(o(e.name,this),r(n,this))}},{key:"resetOccurrence",value:function(){this.occurrence=null}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.getSlot,o=this.props.children,a=n(t);return a&&a.props.bubblesVirtually?(Object(k.isFunction)(o)&&(o=o(a.props.fillProps)),Object(r.createPortal)(o,a.node)):null}}]),t}(r.Component),ie=function(e){return Object(r.createElement)(ee,null,function(t){var n=t.getSlot,o=t.registerFill,a=t.unregisterFill;return Object(r.createElement)(ae,Object(j.a)({},e,{getSlot:n,registerFill:o,unregisterFill:a}))})};function ce(e){var t=function(t){return Object(r.createElement)(ie,Object(j.a)({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(r.createElement)(oe,Object(j.a)({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var se=F(A(function(e){return e.children})),le=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).getAnchorRect=e.getAnchorRect.bind(Object(m.a)(Object(m.a)(e))),e.computePopoverPosition=e.computePopoverPosition.bind(Object(m.a)(Object(m.a)(e))),e.maybeClose=e.maybeClose.bind(Object(m.a)(Object(m.a)(e))),e.throttledRefresh=e.throttledRefresh.bind(Object(m.a)(Object(m.a)(e))),e.refresh=e.refresh.bind(Object(m.a)(Object(m.a)(e))),e.refreshOnAnchorMove=e.refreshOnAnchorMove.bind(Object(m.a)(Object(m.a)(e))),e.contentNode=Object(r.createRef)(),e.anchorNode=Object(r.createRef)(),e.state={popoverLeft:null,popoverTop:null,yAxis:"top",xAxis:"center",contentHeight:null,contentWidth:null,isMobile:!1,popoverSize:null},e.anchorRect={},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.toggleAutoRefresh(!0),this.refresh(),this.focusTimeout=setTimeout(function(){e.focus()},0)}},{key:"componentDidUpdate",value:function(e){e.position!==this.props.position&&this.computePopoverPosition(this.state.popoverSize,this.anchorRect)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.focusTimeout),this.toggleAutoRefresh(!1)}},{key:"toggleAutoRefresh",value:function(e){window.cancelAnimationFrame(this.rafHandle);var t=e?"addEventListener":"removeEventListener";window[t]("resize",this.throttledRefresh),window[t]("scroll",this.throttledRefresh,!0),e?this.autoRefresh=setInterval(this.refreshOnAnchorMove,500):clearInterval(this.autoRefresh)}},{key:"throttledRefresh",value:function(e){window.cancelAnimationFrame(this.rafHandle),e&&"scroll"===e.type&&this.contentNode.current.contains(e.target)||(this.rafHandle=window.requestAnimationFrame(this.refresh))}},{key:"refreshOnAnchorMove",value:function(){var e=this.props.getAnchorRect,t=(void 0===e?this.getAnchorRect:e)(this.anchorNode.current);!I()(t,this.anchorRect)&&(this.anchorRect=t,this.computePopoverPosition(this.state.popoverSize,t))}},{key:"refresh",value:function(){var e=this.props.getAnchorRect,t=(void 0===e?this.getAnchorRect:e)(this.anchorNode.current),n=this.contentNode.current.getBoundingClientRect(),o={width:n.width,height:n.height};(!this.state.popoverSize||o.width!==this.state.popoverSize.width||o.height!==this.state.popoverSize.height)&&this.setState({popoverSize:o}),this.anchorRect=t,this.computePopoverPosition(o,t)}},{key:"focus",value:function(){var e=this.props.focusOnMount;if(e&&this.contentNode.current)if("firstElement"!==e)"container"===e&&this.contentNode.current.focus();else{var t=M.focus.tabbable.find(this.contentNode.current)[0];t?t.focus():this.contentNode.current.focus()}}},{key:"getAnchorRect",value:function(e){if(e&&e.parentNode){var t=e.parentNode.getBoundingClientRect(),n=window.getComputedStyle(e.parentNode),o=n.paddingTop,r=n.paddingBottom,a=parseInt(o,10),i=parseInt(r,10);return{x:t.left,y:t.top+a,width:t.width,height:t.height-a-i,left:t.left,right:t.right,top:t.top+a,bottom:t.bottom-i}}}},{key:"computePopoverPosition",value:function(e,t){var n=this.props,o=n.position,r=L(t,e,void 0===o?"top":o,n.expandOnMobile);this.state.yAxis===r.yAxis&&this.state.xAxis===r.xAxis&&this.state.popoverLeft===r.popoverLeft&&this.state.popoverTop===r.popoverTop&&this.state.contentHeight===r.contentHeight&&this.state.contentWidth===r.contentWidth&&this.state.isMobile===r.isMobile||this.setState(r)}},{key:"maybeClose",value:function(e){var t=this.props,n=t.onKeyDown,o=t.onClose;e.keyCode===_.ESCAPE&&o&&(e.stopPropagation(),o()),n&&n(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.headerTitle,o=t.onClose,a=t.children,i=t.className,c=t.onClickOutside,s=void 0===c?o:c,l=t.noArrow,u=(t.position,t.range,t.focusOnMount),d=(t.getAnchorRect,t.expandOnMobile),h=Object(E.a)(t,["headerTitle","onClose","children","className","onClickOutside","noArrow","position","range","focusOnMount","getAnchorRect","expandOnMobile"]),f=this.state,p=f.popoverLeft,b=f.popoverTop,v=f.yAxis,m=f.xAxis,y=f.contentHeight,g=f.contentWidth,k=f.popoverSize,_=f.isMobile,D=O()("components-popover",i,"is-"+v,"is-"+m,{"is-mobile":_,"is-without-arrow":l||"center"===m&&"middle"===v}),w=Object(r.createElement)(W,{onClickOutside:s},Object(r.createElement)(X,Object(j.a)({className:D,style:{top:!_&&b?b+"px":void 0,left:!_&&p?p+"px":void 0,visibility:k?void 0:"hidden"}},h,{onKeyDown:this.maybeClose}),_&&Object(r.createElement)("div",{className:"components-popover__header"},Object(r.createElement)("span",{className:"components-popover__header-title"},n),Object(r.createElement)(q,{className:"components-popover__close",icon:"no-alt",onClick:o})),Object(r.createElement)("div",{ref:this.contentNode,className:"components-popover__content",style:{maxHeight:!_&&y?y+"px":void 0,maxWidth:!_&&g?g+"px":void 0},tabIndex:"-1"},a)));return u&&(w=Object(r.createElement)(se,null,w)),Object(r.createElement)(ee,null,function(t){var n=t.getSlot;return n&&n("Popover")&&(w=Object(r.createElement)(ie,{name:"Popover"},w)),Object(r.createElement)("span",{ref:e.anchorNode},w,_&&d&&Object(r.createElement)(Z,null))})}}]),t}(r.Component);le.defaultProps={focusOnMount:"firstElement",noArrow:!1};var ue=le;ue.Slot=function(){return Object(r.createElement)(oe,{bubblesVirtually:!0,name:"Popover"})};var de=ue,he=n(44),fe=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).debouncedSpeak=Object(k.debounce)(e.speak.bind(Object(m.a)(Object(m.a)(e))),500),e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Object(he.speak)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(r.createElement)(e,Object(j.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(r.Component)},"withSpokenMessages");function pe(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=[],r=0;r0,b=p?"components-autocomplete-listbox-".concat(o):null,v=p?"components-autocomplete-item-".concat(o,"-").concat(d):null;return Object(r.createElement)("div",{ref:this.bindNode,onClick:this.resetWhenSuppressed,className:"components-autocomplete"},n({isExpanded:p,listBoxId:b,activeId:v}),p&&Object(r.createElement)(de,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",getAnchorRect:be},Object(r.createElement)("div",{id:b,role:"listbox",className:"components-autocomplete__results"},p&&Object(k.map)(l,function(t,n){return Object(r.createElement)(z,{key:t.key,id:"components-autocomplete-item-".concat(o,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:O()("components-autocomplete__result",f,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(r.Component),me=Object(w.compose)([fe,w.withInstanceId,P])(ve);var ye=function(e){var t=e.id,n=e.label,o=e.help,a=e.className,i=e.children;return Object(r.createElement)("div",{className:O()("components-base-control",a)},Object(r.createElement)("div",{className:"components-base-control__field"},n&&t&&Object(r.createElement)("label",{className:"components-base-control__label",htmlFor:t},n),n&&!t&&Object(r.createElement)("span",{className:"components-base-control__label"},n),i),!!o&&Object(r.createElement)("p",{id:t+"__help",className:"components-base-control__help"},o))};var ge=function(e){var t=e.className,n=Object(E.a)(e,["className"]),o=O()("components-button-group",t);return Object(r.createElement)("div",Object(j.a)({},n,{className:o,role:"group"}))};var Oe=Object(w.withInstanceId)(function(e){var t=e.label,n=e.className,o=e.heading,a=e.checked,i=e.help,c=e.instanceId,s=e.onChange,l=Object(E.a)(e,["label","className","heading","checked","help","instanceId","onChange"]),u="inspector-checkbox-control-".concat(c);return Object(r.createElement)(ye,{label:o,id:u,help:i,className:n},Object(r.createElement)("input",Object(j.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)),Object(r.createElement)("label",{className:"components-checkbox-control__label",htmlFor:u},t))}),ke=n(185),_e=n.n(ke),De=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(m.a)(Object(m.a)(e))),e.onCopy=e.onCopy.bind(Object(m.a)(Object(m.a)(e))),e.getText=e.getText.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){var e=this.container,t=this.getText,n=this.onCopy,o=e.firstChild;this.clipboard=new _e.a(o,{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,o=t.onFinishCopy;n&&(n(),o&&(clearTimeout(this.onCopyTimeout),this.onCopyTimeout=setTimeout(o,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,o=(e.onCopy,e.onFinishCopy,e.text,Object(E.a)(e,["className","children","onCopy","onFinishCopy","text"])),a=o.icon,i=O()("components-clipboard-button",t),c=a?q:z;return Object(r.createElement)("span",{ref:this.bindContainer,onCopy:function(e){e.target.focus()}},Object(r.createElement)(c,Object(j.a)({},o,{className:i}),n))}}]),t}(r.Component),we=function(e){var t=e.className,n=e.colorValue,o=Object(E.a)(e,["className","colorValue"]);return Object(r.createElement)("span",Object(j.a)({className:O()("component-color-indicator",t),style:{background:n}},o))},Se=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(m.a)(Object(m.a)(e))),e.close=e.close.bind(Object(m.a)(Object(m.a)(e))),e.closeIfClickOutside=e.closeIfClickOutside.bind(Object(m.a)(Object(m.a)(e))),e.containerRef=Object(r.createRef)(),e.state={isOpen:!1},e}return Object(v.a)(t,e),Object(b.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,o=this.props.onToggle;t.isOpen!==n&&o&&o(n)}},{key:"toggle",value:function(){this.setState(function(e){return{isOpen:!e.isOpen}})}},{key:"closeIfClickOutside",value:function(e){this.containerRef.current.contains(e.target)||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,o=t.renderToggle,a=t.position,i=void 0===a?"bottom":a,c=t.className,s=t.contentClassName,l=t.expandOnMobile,u=t.headerTitle,d={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(r.createElement)("div",{className:c,ref:this.containerRef},o(d),e&&Object(r.createElement)(de,{className:s,position:i,onClose:this.close,onClickOutside:this.closeIfClickOutside,expandOnMobile:l,headerTitle:u},n(d)))}}]),t}(r.Component),Me=n(45),je=n.n(Me);function Ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?je()(e.hex):je()(e),o=n.toHsl();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.l=Math.round(100*o.l);var r=n.toHsv();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.v=Math.round(100*r.v);var a=n.toRgb(),i=n.toHex();return 0===o.s&&(o.h=t||0,r.h=t||0),{color:n,hex:"000000"===i&&0===a.a?"transparent":"#".concat(i),hsl:o,hsv:r,oldHue:e.h||t||o.h,rgb:a,source:e.source}}function Pe(e,t){e.preventDefault();var n=t.getBoundingClientRect(),o=n.left,r=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-(o+window.pageXOffset),u=s-(r+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}}var Ee=n(186),ze=n.n(Ee),Te=(n(198),function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).bindKeyTarget=e.bindKeyTarget.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.keyTarget,n=void 0===t?document:t;this.mousetrap=new ze.a(n),Object(k.forEach)(this.props.shortcuts,function(t,n){var o=e.props,r=o.bindGlobal,a=o.eventName,i=r?"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 r.Children.count(e)?Object(r.createElement)("div",{ref:this.bindKeyTarget},e):null}}]),t}(r.Component)),Ie=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).container=Object(r.createRef)(),e.increase=e.increase.bind(Object(m.a)(Object(m.a)(e))),e.decrease=e.decrease.bind(Object(m.a)(Object(m.a)(e))),e.handleChange=e.handleChange.bind(Object(m.a)(Object(m.a)(e))),e.handleMouseDown=e.handleMouseDown.bind(Object(m.a)(Object(m.a)(e))),e.handleMouseUp=e.handleMouseUp.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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,o=t.onChange,r=void 0===o?k.noop:o;e=parseInt(100*e,10),r({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,o=t.onChange,r=void 0===o?k.noop:o,a=parseInt(100*n.a,10)-parseInt(100*e,10);r({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?k.noop:t,o=function(e,t,n){var o=Pe(e,n),r=o.left,a=o.width,i=r<0?0:Math.round(100*r/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);o&&n(o,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!==_.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),o={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(r.createElement)(Te,{shortcuts:i},Object(r.createElement)("div",{className:"components-color-picker__alpha"},Object(r.createElement)("div",{className:"components-color-picker__alpha-gradient",style:o}),Object(r.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(r.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":t.a,"aria-orientation":"horizontal","aria-label":Object(D.__)("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:a,onKeyDown:this.preventKeyEvents}))))}}]),t}(r.Component),xe=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).container=Object(r.createRef)(),e.increase=e.increase.bind(Object(m.a)(Object(m.a)(e))),e.decrease=e.decrease.bind(Object(m.a)(Object(m.a)(e))),e.handleChange=e.handleChange.bind(Object(m.a)(Object(m.a)(e))),e.handleMouseDown=e.handleMouseDown.bind(Object(m.a)(Object(m.a)(e))),e.handleMouseUp=e.handleMouseUp.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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,o=t.onChange;(void 0===o?k.noop:o)({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,o=t.onChange;(void 0===o?k.noop:o)({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?k.noop:t,o=function(e,t,n){var o=Pe(e,n),r=o.left,a=o.width,i=r>=a?359:100*r/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);o&&n(o,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!==_.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,o=void 0===n?{}:n,a=t.instanceId,i={left:"".concat(100*o.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(r.createElement)(Te,{shortcuts:c},Object(r.createElement)("div",{className:"components-color-picker__hue"},Object(r.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(r.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(r.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":o.h,"aria-orientation":"horizontal","aria-label":Object(D.__)("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(r.createElement)("p",{className:"components-color-picker__hue-description screen-reader-text",id:"components-color-picker__hue-description-".concat(a)},Object(D.__)("Move the arrow left or right to change hue.")))))}}]),t}(r.Component),He=Object(w.withInstanceId)(xe);var Ne=Object(w.withInstanceId)(function(e){var t=e.label,n=e.value,o=e.help,a=e.className,i=e.instanceId,c=e.onChange,s=e.type,l=void 0===s?"text":s,u=Object(E.a)(e,["label","value","help","className","instanceId","onChange","type"]),d="inspector-text-control-".concat(i);return Object(r.createElement)(ye,{label:t,id:d,help:o,className:a},Object(r.createElement)("input",Object(j.a)({className:"components-text-control__input",type:l,id:d,value:n,onChange:function(e){return c(e.target.value)},"aria-describedby":o?d+"__help":void 0},u)))}),Re=function(e){function t(e){var n,o=e.value;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state={value:String(o).toLowerCase()},n.handleBlur=n.handleBlur.bind(Object(m.a)(Object(m.a)(n))),n.handleChange=n.handleChange.bind(Object(m.a)(Object(m.a)(n))),n.handleKeyDown=n.handleKeyDown.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentWillReceiveProps",value:function(e){e.value!==this.props.value&&this.setState({value:String(e.value).toLowerCase()})}},{key:"handleBlur",value:function(){var e=this.props,t=e.valueKey,n=e.onChange,o=this.state.value;n(Object(d.a)({},t,o))}},{key:"handleChange",value:function(e){var t=this.props,n=t.valueKey,o=t.onChange;e.length>4&&o(Object(d.a)({},n,e)),this.setState({value:e})}},{key:"handleKeyDown",value:function(e){var t=e.keyCode;if(t===_.ENTER||t===_.UP||t===_.DOWN){var n=this.state.value,o=this.props,r=o.valueKey;(0,o.onChange)(Object(d.a)({},r,n))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,o=Object(E.a)(t,["label"]),a=this.state.value;return Object(r.createElement)(Ne,Object(j.a)({className:"components-color-picker__inputs-field",label:n,value:a,onChange:function(t){return e.handleChange(t)},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(k.omit)(o,["onChange","value","valueKey"])))}}]),t}(r.Component),Le=function(e){function t(e){var n,o=e.hsl;Object(h.a)(this,t),n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments));var r=1===o.a?"hex":"rgb";return n.state={view:r},n.toggleViews=n.toggleViews.bind(Object(m.a)(Object(m.a)(n))),n.handleChange=n.handleChange.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"toggleViews",value:function(){"hex"===this.state.view?(this.setState({view:"rgb"}),Object(he.speak)(Object(D.__)("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"}),Object(he.speak)(Object(D.__)("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"}),Object(he.speak)(Object(D.__)("Hex color mode active"))):(this.setState({view:"rgb"}),Object(he.speak)(Object(D.__)("RGB mode active"))))}},{key:"handleChange",value:function(e){e.hex?function(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&je()(e).isValid()}(e.hex)&&this.props.onChange({hex:e.hex,source:"hex"}):e.r||e.g||e.b?this.props.onChange({r:e.r||this.props.rgb.r,g:e.g||this.props.rgb.g,b:e.b||this.props.rgb.b,source:"rgb"}):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),this.props.onChange({h:this.props.hsl.h,s:this.props.hsl.s,l:this.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"})):(e.h||e.s||e.l)&&this.props.onChange({h:e.h||this.props.hsl.h,s:e.s||this.props.hsl.s,l:e.l||this.props.hsl.l,source:"hsl"})}},{key:"renderFields",value:function(){var e=this.props.disableAlpha,t=void 0!==e&&e;return"hex"===this.state.view?Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Re,{label:Object(D.__)("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange})):"rgb"===this.state.view?Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"screen-reader-text"},Object(D.__)("Color value in RGB")),Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Re,{label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(r.createElement)(Re,{label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(r.createElement)(Re,{label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),t?null:Object(r.createElement)(Re,{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(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"screen-reader-text"},Object(D.__)("Color value in HSL")),Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Re,{label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(r.createElement)(Re,{label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(r.createElement)(Re,{label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),t?null:Object(r.createElement)(Re,{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(r.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(r.createElement)("div",{className:"components-color-picker__inputs-toggle"},Object(r.createElement)(q,{icon:"arrow-down-alt2",label:Object(D.__)("Change color format"),onClick:this.toggleViews})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(r.Component),Ae=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).call(this,e))).throttle=Object(k.throttle)(function(e,t,n){e(t,n)},50),n.container=Object(r.createRef)(),n.saturate=n.saturate.bind(Object(m.a)(Object(m.a)(n))),n.brighten=n.brighten.bind(Object(m.a)(Object(m.a)(n))),n.handleChange=n.handleChange.bind(Object(m.a)(Object(m.a)(n))),n.handleMouseDown=n.handleMouseDown.bind(Object(m.a)(Object(m.a)(n))),n.handleMouseUp=n.handleMouseUp.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.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,o=t.onChange,r=void 0===o?k.noop:o,a=Object(k.clamp)(n.s+Math.round(100*e),0,100);r({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,o=t.onChange,r=void 0===o?k.noop:o,a=Object(k.clamp)(n.v+Math.round(100*e),0,100);r({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?k.noop:t,o=function(e,t,n){var o=Pe(e,n),r=o.top,a=o.left,i=o.width,c=o.height,s=a<0?0:100*a/i,l=r>=c?0:-100*r/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,o,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!==_.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,o=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(r.createElement)(Te,{shortcuts:c},Object(r.createElement)("div",{style:{background:"hsl(".concat(o.h,",100%, 50%)")},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(r.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(r.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(r.createElement)("button",{"aria-label":Object(D.__)("Choose a shade"),"aria-describedby":"color-picker-saturation-".concat(a),className:"components-color-picker__saturation-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(r.createElement)("div",{className:"screen-reader-text",id:"color-picker-saturation-".concat(a)},Object(D.__)("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to increase saturation, and right to decrease saturation."))))}}]),t}(r.Component),Fe=Object(w.withInstanceId)(Ae),Ve=function(e){function t(e){var n,o=e.color,r=void 0===o?"0071a1":o;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state=Ce(r),n.handleChange=n.handleChange.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"handleChange",value:function(e){var t=this.props,n=t.oldHue,o=t.onChangeComplete,r=void 0===o?k.noop:o;if(function(e){var t=0,n=0;return Object(k.each)(["r","g","b","a","h","s","l","v"],function(o){e[o]&&(t+=1,isNaN(e[o])||(n+=1))}),t===n&&e}(e)){var a=Ce(e,e.h||n);this.setState(a,Object(k.debounce)(Object(k.partial)(r,a),100))}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.disableAlpha,o=this.state,a=o.color,i=o.hex,c=o.hsl,s=o.hsv,l=o.rgb,u=O()(t,{"components-color-picker":!0,"is-alpha-disabled":n,"is-alpha-enabled":!n});return Object(r.createElement)("div",{className:u},Object(r.createElement)("div",{className:"components-color-picker__saturation"},Object(r.createElement)(Fe,{hsl:c,hsv:s,onChange:this.handleChange})),Object(r.createElement)("div",{className:"components-color-picker__body"},Object(r.createElement)("div",{className:"components-color-picker__controls"},Object(r.createElement)("div",{className:"components-color-picker__swatch"},Object(r.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:a&&a.toRgbString()}})),Object(r.createElement)("div",{className:"components-color-picker__toggles"},Object(r.createElement)(He,{hsl:c,onChange:this.handleChange}),n?null:Object(r.createElement)(Ie,{rgb:l,hsl:c,onChange:this.handleChange}))),Object(r.createElement)(Le,{rgb:l,hsl:c,hex:i,onChange:this.handleChange,disableAlpha:n})))}}]),t}(r.Component);function Be(e){var t=e.colors,n=e.disableCustomColors,o=void 0!==n&&n,a=e.value,i=e.onChange,c=e.className;var s=Object(D.__)("Custom color picker"),l=O()("components-color-palette",c);return Object(r.createElement)("div",{className:l},Object(k.map)(t,function(e){var t=e.color,n=e.name,o={color:t},c=O()("components-color-palette__item",{"is-active":a===t});return Object(r.createElement)("div",{key:t,className:"components-color-palette__item-wrapper"},Object(r.createElement)($,{text:n||Object(D.sprintf)(Object(D.__)("Color code: %s"),t)},Object(r.createElement)("button",{type:"button",className:c,style:o,onClick:function(e){return function(){return i(a===e?void 0:e)}}(t),"aria-label":n?Object(D.sprintf)(Object(D.__)("Color: %s"),n):Object(D.sprintf)(Object(D.__)("Color code: %s"),t),"aria-pressed":a===t})))}),!o&&Object(r.createElement)(Se,{className:"components-color-palette__item-wrapper components-color-palette__custom-color",contentClassName:"components-color-palette__picker",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)($,{text:s},Object(r.createElement)("button",{type:"button","aria-expanded":t,className:"components-color-palette__item",onClick:n,"aria-label":s},Object(r.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))},renderContent:function(){return Object(r.createElement)(Ve,{color:a,onChangeComplete:function(e){return i(e.hex)},disableAlpha:!0})}}),Object(r.createElement)(z,{className:"components-color-palette__clear",type:"button",onClick:function(){return i(void 0)},isSmall:!0,isDefault:!0},Object(D.__)("Clear")))}n(199);var Ke=n(27),We=n.n(Ke),Ue=n(187),Ye=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onChangeMoment=e.onChangeMoment.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,o=t.onChange,r=n?We()(n):We()(),a={hours:r.hours(),minutes:r.minutes(),seconds:r.seconds()};o(e.set(a).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"render",value:function(){var e=this.props.currentDate,t=e?We()(e):We()();return Object(r.createElement)("div",{className:"components-datetime__date"},Object(r.createElement)(Ue.DayPickerSingleDateController,{block:!0,date:t,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(t.format("MM-YYYY")),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd"}))}}]),t}(r.Component),$e=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state={day:"",month:"",year:"",hours:"",minutes:"",am:!0,date:null},e.updateMonth=e.updateMonth.bind(Object(m.a)(Object(m.a)(e))),e.onChangeMonth=e.onChangeMonth.bind(Object(m.a)(Object(m.a)(e))),e.updateDay=e.updateDay.bind(Object(m.a)(Object(m.a)(e))),e.onChangeDay=e.onChangeDay.bind(Object(m.a)(Object(m.a)(e))),e.updateYear=e.updateYear.bind(Object(m.a)(Object(m.a)(e))),e.onChangeYear=e.onChangeYear.bind(Object(m.a)(Object(m.a)(e))),e.updateHours=e.updateHours.bind(Object(m.a)(Object(m.a)(e))),e.updateMinutes=e.updateMinutes.bind(Object(m.a)(Object(m.a)(e))),e.onChangeHours=e.onChangeHours.bind(Object(m.a)(Object(m.a)(e))),e.onChangeMinutes=e.onChangeMinutes.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){this.syncState(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.currentTime,o=t.is12Hour;n===e.currentTime&&o===e.is12Hour||this.syncState(this.props)}},{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,o=t?We()(t):We()(),r=o.format("DD"),a=o.format("MM"),i=o.format("YYYY"),c=o.format("mm"),s=o.format("A"),l=o.format(n?"hh":"HH"),u=t?We()(t):We()();this.setState({day:r,month:a,year:i,minutes:c,hours:l,am:s,date:u})}},{key:"updateHours",value:function(){var e=this.props,t=e.is12Hour,n=e.onChange,o=this.state,r=o.am,a=o.hours,i=o.date,c=parseInt(a,10);if(!Object(k.isInteger)(c)||t&&(c<1||c>12)||!t&&(c<0||c>23))this.syncState(this.props);else{var s=t?i.clone().hours("AM"===r?c%12:(c%12+12)%24):i.clone().hours(c);this.setState({date:s}),n(s.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateMinutes",value:function(){var e=this.props.onChange,t=this.state,n=t.minutes,o=t.date,r=parseInt(n,10);if(!Object(k.isInteger)(r)||r<0||r>59)this.syncState(this.props);else{var a=o.clone().minutes(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateDay",value:function(){var e=this.props.onChange,t=this.state,n=t.day,o=t.date,r=parseInt(n,10);if(!Object(k.isInteger)(r)||r<1||r>31)this.syncState(this.props);else{var a=o.clone().date(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateMonth",value:function(){var e=this.props.onChange,t=this.state,n=t.month,o=t.date,r=parseInt(n,10);if(!Object(k.isInteger)(r)||r<1||r>12)this.syncState(this.props);else{var a=o.clone().month(r-1);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateYear",value:function(){var e=this.props.onChange,t=this.state,n=t.year,o=t.date,r=parseInt(n,10);if(!Object(k.isInteger)(r)||r<1970||r>9999)this.syncState(this.props);else{var a=o.clone().year(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateAmPm",value:function(e){var t=this;return function(){var n,o=t.props.onChange,r=t.state,a=r.am,i=r.date,c=r.hours;a!==e&&(n="PM"===e?i.clone().hours((parseInt(c,10)%12+12)%24):i.clone().hours(parseInt(c,10)%12),t.setState({date:n}),o(n.format("YYYY-MM-DDTHH:mm:ss")))}}},{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){this.setState({minutes:e.target.value})}},{key:"render",value:function(){var e=this.props.is12Hour,t=this.state,n=t.day,o=t.month,a=t.year,i=t.minutes,c=t.hours,s=t.am;return Object(r.createElement)("div",{className:O()("components-datetime__time",{"is-12-hour":e,"is-24-hour":!e})},Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(D.__)("Date")),Object(r.createElement)("div",{className:"components-datetime__time-wrapper"},Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-month"},Object(r.createElement)("select",{"aria-label":Object(D.__)("Month"),className:"components-datetime__time-field-month-select",value:o,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(r.createElement)("option",{value:"01"},Object(D.__)("January")),Object(r.createElement)("option",{value:"02"},Object(D.__)("February")),Object(r.createElement)("option",{value:"03"},Object(D.__)("March")),Object(r.createElement)("option",{value:"04"},Object(D.__)("April")),Object(r.createElement)("option",{value:"05"},Object(D.__)("May")),Object(r.createElement)("option",{value:"06"},Object(D.__)("June")),Object(r.createElement)("option",{value:"07"},Object(D.__)("July")),Object(r.createElement)("option",{value:"08"},Object(D.__)("August")),Object(r.createElement)("option",{value:"09"},Object(D.__)("September")),Object(r.createElement)("option",{value:"10"},Object(D.__)("October")),Object(r.createElement)("option",{value:"11"},Object(D.__)("November")),Object(r.createElement)("option",{value:"12"},Object(D.__)("December")))),Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-day"},Object(r.createElement)("input",{"aria-label":Object(D.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",value:n,step:1,min:1,onChange:this.onChangeDay,onBlur:this.updateDay})),Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(r.createElement)("input",{"aria-label":Object(D.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",step:1,value:a,onChange:this.onChangeYear,onBlur:this.updateYear})))),Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(D.__)("Time")),Object(r.createElement)("div",{className:"components-datetime__time-wrapper"},Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(r.createElement)("input",{"aria-label":Object(D.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",step:1,min:this.getMinHours(),max:this.getMaxHours(),value:c,onChange:this.onChangeHours,onBlur:this.updateHours}),Object(r.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(r.createElement)("input",{"aria-label":Object(D.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",min:0,max:59,value:i,onChange:this.onChangeMinutes,onBlur:this.updateMinutes})),e&&Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(r.createElement)(z,{"aria-pressed":"AM"===s,isDefault:!0,className:"components-datetime__time-am-button",isToggled:"AM"===s,onClick:this.updateAmPm("AM")},Object(D.__)("AM")),Object(r.createElement)(z,{"aria-pressed":"PM"===s,isDefault:!0,className:"components-datetime__time-pm-button",isToggled:"PM"===s,onClick:this.updateAmPm("PM")},Object(D.__)("PM"))))))}}]),t}(r.Component),Ge=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state={calendarHelpIsVisible:!1},e.onClickDescriptionToggle=e.onClickDescriptionToggle.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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,o=e.onChange;return Object(r.createElement)("div",{className:"components-datetime"},!this.state.calendarHelpIsVisible&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)($e,{currentTime:t,onChange:o,is12Hour:n}),Object(r.createElement)(Ye,{currentDate:t,onChange:o})),this.state.calendarHelpIsVisible&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"components-datetime__calendar-help"},Object(r.createElement)("h4",null,Object(D.__)("Click to Select")),Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(D.__)("Click the right or left arrows to select other months in the past or the future.")),Object(r.createElement)("li",null,Object(D.__)("Click the desired day to select it."))),Object(r.createElement)("h4",null,Object(D.__)("Navigating with a keyboard")),Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D._x)("Enter","keyboard button")},"↵")," ",Object(r.createElement)("span",null,Object(D.__)("Select the date in focus."))),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D.__)("Left and Right Arrows")},"←/→")," ",Object(D.__)("Move backward (left) or forward (right) by one day.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D.__)("Up and Down Arrows")},"↑/↓")," ",Object(D.__)("Move backward (up) or forward (down) by one week.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D.__)("Page Up and Page Down")},Object(D.__)("PgUp/PgDn"))," ",Object(D.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D.__)("Home and End")},Object(D.__)("Home/End"))," ",Object(D.__)("Go to the first (home) or last (end) day of a week."))),Object(r.createElement)(z,{isSmall:!0,onClick:this.onClickDescriptionToggle},Object(D.__)("Close")))),!this.state.calendarHelpIsVisible&&Object(r.createElement)(z,{className:"components-datetime__date-help-button",isLink:!0,onClick:this.onClickDescriptionToggle},Object(D.__)("Calendar Help")))}}]),t}(r.Component),qe=Object(r.createContext)(!1),Ze=qe.Consumer,Xe=qe.Provider,Qe=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],Je=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(m.a)(Object(m.a)(e))),e.disable=e.disable.bind(Object(m.a)(Object(m.a)(e))),e.debouncedDisable=Object(k.debounce)(e.disable,{leading:!0}),e}return Object(v.a)(t,e),Object(b.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(){M.focus.focusable.find(this.node).forEach(function(e){Object(k.includes)(Qe,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(E.a)(e,["className"]);return Object(r.createElement)(Xe,{value:!0},Object(r.createElement)("div",Object(j.a)({ref:this.bindNode,className:O()(t,"components-disabled")},n),this.props.children))}}]),t}(r.Component);Je.Consumer=Ze;var et=Je,tt=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onDragStart=e.onDragStart.bind(Object(m.a)(Object(m.a)(e))),e.onDragOver=e.onDragOver.bind(Object(m.a)(Object(m.a)(e))),e.onDrop=e.onDrop.bind(Object(m.a)(Object(m.a)(e))),e.onDragEnd=e.onDragEnd.bind(Object(m.a)(Object(m.a)(e))),e.resetDragState=e.resetDragState.bind(Object(m.a)(Object(m.a)(e))),e.isChromeAndHasIframes=!1,e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentWillUnmount",value:function(){this.resetDragState()}},{key:"onDragEnd",value:function(e){var t=this.props.onDragEnd,n=void 0===t?k.noop:t;e&&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:"onDrop",value:function(){this.onDragEnd(null)}},{key:"onDragStart",value:function(e){var t=this.props,n=t.elementId,o=t.transferData,r=t.onDragStart,a=void 0===r?k.noop:r,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(o));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(y.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),/Chrome/i.test(window.navigator.userAgent)&&Object(y.a)(document.getElementById("editor").querySelectorAll("iframe")).length>0&&(this.isChromeAndHasIframes=!0,document.addEventListener("drop",this.onDrop)),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),this.isChromeAndHasIframes&&(this.isChromeAndHasIframes=!1,document.removeEventListener("drop",this.onDrop)),document.body.classList.remove("is-dragging-components-draggable")}},{key:"render",value:function(){return(0,this.props.children)({onDraggableStart:this.onDragStart,onDraggableEnd:this.onDragEnd})}}]),t}(r.Component),nt=Object(w.withSafeTimeout)(tt),ot=Object(r.createContext)({addDropZone:function(){},removeDropZone:function(){}}),rt=ot.Provider,at=ot.Consumer,it=function(e){var t=e.dataTransfer;if(t){if(Object(k.includes)(t.types,"Files"))return"file";if(Object(k.includes)(t.types,"text/html"))return"html"}return"default"},ct=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},st=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onDragOver=e.onDragOver.bind(Object(m.a)(Object(m.a)(e))),e.onDrop=e.onDrop.bind(Object(m.a)(Object(m.a)(e))),e.addDropZone=e.addDropZone.bind(Object(m.a)(Object(m.a)(e))),e.removeDropZone=e.removeDropZone.bind(Object(m.a)(Object(m.a)(e))),e.resetDragState=e.resetDragState.bind(Object(m.a)(Object(m.a)(e))),e.toggleDraggingOverDocument=Object(k.throttle)(e.toggleDraggingOverDocument.bind(Object(m.a)(Object(m.a)(e))),200),e.dropZones=[],e.dropZoneCallbacks={addDropZone:e.addDropZone,removeDropZone:e.removeDropZone},e.state={hoveredDropZone:-1,isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null},e}return Object(v.a)(t,e),Object(b.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(k.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,isDraggingOverElement:!1,position:null,type: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,o=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e,r=Object(k.filter)(this.dropZones,function(e){return ct(t,e)&&function(e,t,n){var o=e.getBoundingClientRect();return o.bottom!==o.top&&o.left!==o.right&&t>=o.left&&t<=o.right&&n>=o.top&&n<=o.bottom}(e.element,o.clientX,o.clientY)}),a=Object(k.find)(r,function(e){return!Object(k.some)(r,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:o.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,o=n.cycle,r=void 0===o||o,a=n.eventToOffset,i=n.onNavigate,c=void 0===i?k.noop:i,s=n.stopNavigationEvents,l=a(e);if(void 0!==l&&s&&(e.nativeEvent.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault(),e.stopPropagation()),l){var u=t(document.activeElement);if(u){var d=u.index,h=u.focusables,f=r?function(e,t,n){var o=e+n;return o<0?t+o:o>=t?o-t:o}(d,h.length,l):d+l;f>=0&&f0&&0===o,"is-active":e.isActive}),icon:e.icon,role:"menuitem",disabled:e.isDisabled},e.title)})}))}})};var mt=Object(r.forwardRef)(function(e,t){var n=e.href,o=e.children,a=e.className,i=e.rel,c=void 0===i?"":i,s=Object(E.a)(e,["href","children","className","rel"]);c=Object(k.uniq)(Object(k.compact)(Object(y.a)(c.split(" ")).concat(["external","noreferrer","noopener"]))).join(" ");var l=O()("components-external-link",a);return Object(r.createElement)("a",Object(j.a)({},s,{className:l,href:n,target:"_blank",rel:c,ref:t}),o,Object(r.createElement)("span",{className:"screen-reader-text"},Object(D.__)("(opens in a new tab)")),Object(r.createElement)(G,{icon:"external",className:"components-external-link__icon"}))}),yt=window.FocusEvent,gt=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).checkFocus=n.checkFocus.bind(Object(m.a)(Object(m.a)(n))),n.node=e.iframeRef||Object(r.createRef)(),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"checkFocus",value:function(){var e=this.node.current;if(document.activeElement===e){var t=new yt("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(r.createElement)("iframe",Object(j.a)({ref:this.node},Object(k.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(r.Component),Ot=Object(w.withGlobalEvents)({blur:"checkFocus"})(gt);var kt=Object(w.withInstanceId)(function(e){var t=e.className,n=e.label,o=e.value,a=e.instanceId,i=e.onChange,c=e.beforeIcon,s=e.afterIcon,l=e.help,u=e.allowReset,d=e.initialPosition,h=Object(E.a)(e,["className","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition"]),f="inspector-range-control-".concat(a),p=function(){return i()},b=function(e){var t=e.target.value;""!==t?i(Number(t)):p()},v=Object(k.isFinite)(o)?o:d||"";return Object(r.createElement)(ye,{label:n,id:f,help:l,className:O()("components-range-control",t)},c&&Object(r.createElement)(G,{icon:c}),Object(r.createElement)("input",Object(j.a)({className:"components-range-control__slider",id:f,type:"range",value:v,onChange:b,"aria-describedby":l?f+"__help":void 0},h)),s&&Object(r.createElement)(G,{icon:s}),Object(r.createElement)("input",Object(j.a)({className:"components-range-control__number",type:"number",onChange:b,"aria-label":n,value:o},h)),u&&Object(r.createElement)(z,{onClick:p,disabled:void 0===o},Object(D.__)("Reset")))});var _t=Object(w.withInstanceId)(function(e){var t=e.fallbackFontSize,n=e.fontSizes,o=void 0===n?[]:n,a=e.disableCustomFontSizes,i=void 0!==a&&a,c=e.onChange,s=e.value,l=e.withSlider,u=void 0!==l&&l,d=o.find(function(e){return e.size===s});return Object(r.createElement)(ye,{label:Object(D.__)("Font Size")},Object(r.createElement)("div",{className:"components-font-size-picker__buttons"},Object(r.createElement)(Se,{className:"components-font-size-picker__dropdown",contentClassName:"components-font-size-picker__dropdown-content",position:"bottom",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)(z,{className:"components-font-size-picker__selector",isLarge:!0,onClick:n,"aria-expanded":t,"aria-label":Object(D.__)("Custom font size")},d&&d.name||!s&&Object(D._x)("Normal","font size name")||Object(D._x)("Custom","font size name"))},renderContent:function(){return Object(r.createElement)(pt,null,Object(k.map)(o,function(e){var t=e.name,n=e.size,o=e.slug;return Object(r.createElement)(z,{key:o,onClick:function(){return c("normal"===o?void 0:n)},className:"is-font-"+o,role:"menuitem"},(s===n||!s&&"normal"===o)&&Object(r.createElement)(G,{icon:"saved"}),Object(r.createElement)("span",{className:"components-font-size-picker__dropdown-text-size",style:{fontSize:n}},t))}))}}),!u&&!i&&Object(r.createElement)("input",{className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value;c(""!==t?Number(t):void 0)},"aria-label":Object(D.__)("Custom font size"),value:s||""}),Object(r.createElement)(z,{className:"components-color-palette__clear",type:"button",disabled:void 0===s,onClick:function(){return c(void 0)},isSmall:!0,isDefault:!0,"aria-label":Object(D.__)("Reset font size")},Object(D.__)("Reset"))),u&&Object(r.createElement)(kt,{className:"components-font-size-picker__custom-input",label:Object(D.__)("Custom Size"),value:s||"",initialPosition:t,onChange:c,min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))}),Dt=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).openFileDialog=e.openFileDialog.bind(Object(m.a)(Object(m.a)(e))),e.bindInput=e.bindInput.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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.children,n=e.multiple,o=void 0!==n&&n,a=e.accept,i=e.onChange,c=e.icon,s=void 0===c?"upload":c,l=Object(E.a)(e,["children","multiple","accept","onChange","icon"]);return Object(r.createElement)("div",{className:"components-form-file-upload"},Object(r.createElement)(q,Object(j.a)({icon:s,onClick:this.openFileDialog},l),t),Object(r.createElement)("input",{type:"file",ref:this.bindInput,multiple:o,style:{display:"none"},accept:a,onChange:i}))}}]),t}(r.Component);var wt=function(e){var t=e.className,n=e.checked,o=e.id,a=e.onChange,i=void 0===a?k.noop:a,s=Object(E.a)(e,["className","checked","id","onChange"]),l=O()("components-form-toggle",t,{"is-checked":n});return Object(r.createElement)("span",{className:l},Object(r.createElement)("input",Object(j.a)({className:"components-form-toggle__input",id:o,type:"checkbox",checked:n,onChange:i},s)),Object(r.createElement)("span",{className:"components-form-toggle__track"}),Object(r.createElement)("span",{className:"components-form-toggle__thumb"}),n?Object(r.createElement)(u,{className:"components-form-toggle__on",width:"2",height:"6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 6"},Object(r.createElement)(c,{d:"M0 0h2v6H0z"})):Object(r.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(r.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"})))},St=n(29);var Mt=Object(w.withInstanceId)(function(e){var t=e.value,n=e.status,o=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?k.noop:u,h=e.onMouseEnter,f=e.onMouseLeave,p=e.messages,b=e.termPosition,v=e.termsCount,m=e.instanceId,y=O()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":c,"is-disabled":l}),g=a(t),_=Object(D.sprintf)(Object(D.__)("%1$s (%2$s of %3$s)"),g,b,v);return Object(r.createElement)("span",{className:y,onMouseEnter:h,onMouseLeave:f,title:o},Object(r.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(m)},Object(r.createElement)("span",{className:"screen-reader-text"},_),Object(r.createElement)("span",{"aria-hidden":"true"},g)),Object(r.createElement)(q,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!l&&function(){return d({value:t})},label:p.remove,"aria-describedby":"components-form-token-field__token-text-".concat(m)}))}),jt=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(m.a)(Object(m.a)(e))),e.bindInput=e.bindInput.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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,o=e.instanceId,a=e.selectedSuggestionIndex,i=Object(E.a)(e,["value","isExpanded","instanceId","selectedSuggestionIndex"]),c=t.length+1;return Object(r.createElement)("input",Object(j.a)({ref:this.bindInput,id:"components-form-token-input-".concat(o),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(o):void 0,"aria-activedescendant":-1!==a?"components-form-token-suggestions-".concat(o,"-").concat(a):void 0,"aria-describedby":"components-form-token-suggestions-howto-".concat(o)}))}}]),t}(r.Component),Ct=n(58),Pt=n.n(Ct),Et=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).handleMouseDown=e.handleMouseDown.bind(Object(m.a)(Object(m.a)(e))),e.bindList=e.bindList.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidUpdate",value:function(){var e=this;this.props.selectedIndex>-1&&this.props.scrollIntoView&&(this.scrollingIntoView=!0,Pt()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),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(r.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-".concat(this.props.instanceId),role:"listbox"},Object(k.map)(this.props.suggestions,function(t,n){var o=e.computeSuggestionMatch(t),a=O()("components-form-token-field__suggestion",{"is-selected":n===e.props.selectedIndex});return Object(r.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},o?Object(r.createElement)("span",{"aria-label":e.props.displayTransform(t)},o.suggestionBeforeMatch,Object(r.createElement)("strong",{className:"components-form-token-field__suggestion-match"},o.suggestionMatch),o.suggestionAfterMatch):e.props.displayTransform(t))}))}}]),t}(r.Component);Et.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var zt=Et,Tt={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},It=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state=Tt,e.onKeyDown=e.onKeyDown.bind(Object(m.a)(Object(m.a)(e))),e.onKeyPress=e.onKeyPress.bind(Object(m.a)(Object(m.a)(e))),e.onFocus=e.onFocus.bind(Object(m.a)(Object(m.a)(e))),e.onBlur=e.onBlur.bind(Object(m.a)(Object(m.a)(e))),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(Object(m.a)(Object(m.a)(e))),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(Object(m.a)(Object(m.a)(e))),e.addCurrentToken=e.addCurrentToken.bind(Object(m.a)(Object(m.a)(e))),e.onContainerTouched=e.onContainerTouched.bind(Object(m.a)(Object(m.a)(e))),e.renderToken=e.renderToken.bind(Object(m.a)(Object(m.a)(e))),e.onTokenClickRemove=e.onTokenClickRemove.bind(Object(m.a)(Object(m.a)(e))),e.onSuggestionHovered=e.onSuggestionHovered.bind(Object(m.a)(Object(m.a)(e))),e.onSuggestionSelected=e.onSuggestionSelected.bind(Object(m.a)(Object(m.a)(e))),e.onInputChange=e.onInputChange.bind(Object(m.a)(Object(m.a)(e))),e.bindInput=e.bindInput.bind(Object(m.a)(Object(m.a)(e))),e.bindTokensAndInput=e.bindTokensAndInput.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidUpdate",value:function(){this.state.isActive&&!this.input.hasFocus()&&this.input.focus()}},{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(Tt)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case _.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case _.ENTER:t=this.addCurrentToken();break;case _.LEFT:t=this.handleLeftArrowKey();break;case _.UP:t=this.handleUpArrowKey();break;case _.RIGHT:t=this.handleRightArrowKey();break;case _.DOWN:t=this.handleDownArrowKey();break;case _.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case _.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case _.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]+/,o=t.split(n),r=Object(k.last)(o)||"",a=r.trim().length>1,i=this.getMatchingSuggestions(r),c=a&&!!i.length;o.length>1&&this.addNewTokens(o.slice(0,-1)),this.setState({incompleteTokenValue:r,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.props.onInputChange(r),a&&(this.setState({isExpanded:c}),i.length?this.props.debouncedSpeak(Object(D.sprintf)(Object(D._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",i.length),i.length),"assertive"):this.props.debouncedSpeak(Object(D.__)("No results."),"assertive"))}},{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 o=Object(k.clone)(this.props.value);o.splice.apply(o,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(o)}}},{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(St.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,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,r=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform)(e),a=[],i=[];return 0===r.length?t=Object(k.difference)(t,n):(r=r.toLocaleLowerCase(),Object(k.each)(t,function(e){var t=e.toLocaleLowerCase().indexOf(r);-1===n.indexOf(e)&&(0===t?a.push(e):t>0&&i.push(e))}),t=a.concat(i)),Object(k.take)(t,o)}},{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(k.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:"renderTokensAndInput",value:function(){var e=Object(k.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}},{key:"renderToken",value:function(e,t,n){var o=this.getTokenValue(e),a=e.status?e.status:void 0,i=t+1,c=n.length;return Object(r.createElement)(Mt,{key:"token-"+o,value:o,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(o.a)({},c,{onChange:this.onInputChange})),Object(r.createElement)(jt,c)}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.label,o=void 0===n?Object(D.__)("Add item"):n,a=e.instanceId,i=e.className,c=this.state.isExpanded,s=O()(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(r.createElement)("div",l,Object(r.createElement)("label",{htmlFor:"components-form-token-input-".concat(a),className:"components-form-token-field__label"},o),Object(r.createElement)("div",{ref:this.bindTokensAndInput,className:s,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),c&&Object(r.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(r.createElement)("div",{id:"components-form-token-suggestions-howto-".concat(a),className:"screen-reader-text"},Object(D.__)("Separate with commas")))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}}]),t}(r.Component);It.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:k.identity,saveTransform:function(e){return e.trim()},onChange:function(){},onInputChange:function(){},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:Object(D.__)("Item added."),removed:Object(D.__)("Item removed."),remove:Object(D.__)("Remove item")}};var xt=fe(Object(w.withInstanceId)(It));var Ht=function(e){var t,n=e.icon,a=void 0===n?null:n,i=e.size,c=e.className;if("string"==typeof a)return t=i||20,Object(r.createElement)(G,{icon:a,size:t,className:c});if(t=i||24,"function"==typeof a)return a.prototype instanceof r.Component?Object(r.createElement)(a,{className:c,size:t}):a();if(a&&("svg"===a.type||a.type===u)){var s=Object(o.a)({className:c,width:t,height:t},a.props);return Object(r.createElement)(u,s)}return Object(r.isValidElement)(a)?Object(r.cloneElement)(a,{className:c,size:t}):a};var Nt=Object(w.withInstanceId)(function(e){var t=e.children,n=e.className,o=void 0===n?"":n,a=e.instanceId,i=e.label;if(!r.Children.count(t))return null;var c="components-menu-group-label-".concat(a),s=O()(o,"components-menu-group");return Object(r.createElement)("div",{className:s},i&&Object(r.createElement)("div",{className:"components-menu-group__label",id:c},i),Object(r.createElement)(pt,{orientation:"vertical","aria-labelledby":c},t))});var Rt=Object(w.withInstanceId)(function(e){var t=e.children,n=e.label,a=void 0===n?t:n,i=e.info,c=e.className,s=e.icon,l=e.shortcut,u=e.isSelected,d=e.role,h=void 0===d?"menuitem":d,f=e.instanceId,p=Object(E.a)(e,["children","label","info","className","icon","shortcut","isSelected","role","instanceId"]);if(c=O()("components-menu-item__button",c,{"has-icon":s}),a=Object(k.isString)(a)?a:void 0,i){var b="edit-post-feature-toggle__info-"+f;p["aria-describedby"]=b,t=Object(r.createElement)("span",{className:"components-menu-item__info-wrapper"},t,Object(r.createElement)("span",{id:b,className:"components-menu-item__info"},i))}var v=z;return s&&(Object(k.isString)(s)||(s=Object(r.cloneElement)(s,{className:"components-menu-items__item-icon",height:20,width:20})),v=q,p.icon=s),Object(r.createElement)(v,Object(o.a)({"aria-label":a,"aria-checked":"menuitemcheckbox"===h||"menuitemradio"===h?u:void 0,role:h,className:c},p),t,Object(r.createElement)(U,{className:"components-menu-item__shortcut",shortcut:l}))});function Lt(e){var t=e.choices,n=void 0===t?[]:t,o=e.onSelect,a=e.value;return n.map(function(e){var t=a===e.value;return Object(r.createElement)(Rt,{key:e.value,role:"menuitemradio",icon:t&&"yes",isSelected:t,shortcut:e.shortcut,onClick:function(){t||o(e.value)}},e.label)})}var At=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).containerRef=Object(r.createRef)(),e.handleKeyDown=e.handleKeyDown.bind(Object(m.a)(Object(m.a)(e))),e.handleClickOutside=e.handleClickOutside.bind(Object(m.a)(Object(m.a)(e))),e.focusFirstTabbable=e.focusFirstTabbable.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusFirstTabbable()}},{key:"focusFirstTabbable",value:function(){var e=M.focus.tabbable.find(this.containerRef.current);e.length&&e[0].focus()}},{key:"handleClickOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.onRequestClose(e)}},{key:"handleKeyDown",value:function(e){e.keyCode===_.ESCAPE&&this.handleEscapeKeyDown(e)}},{key:"handleEscapeKeyDown",value:function(e){this.props.shouldCloseOnEsc&&(e.preventDefault(),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.contentLabel,n=e.aria,o=n.describedby,a=n.labelledby,i=e.children,c=e.className,s=e.role,l=e.style;return Object(r.createElement)("div",{className:c,style:l,ref:this.containerRef,role:s,"aria-label":t,"aria-labelledby":t?null:a,"aria-describedby":o,tabIndex:"-1"},i)}}]),t}(r.Component),Ft=Object(w.compose)([A,F,B.a,Object(w.withGlobalEvents)({keydown:"handleKeyDown"})])(At),Vt=function(e){var t=e.icon,n=e.title,o=e.onClose,a=e.closeLabel,i=e.headingId,c=e.isDismissable,s=a||Object(D.__)("Close dialog");return Object(r.createElement)("div",{className:"components-modal__header"},Object(r.createElement)("div",{className:"components-modal__header-heading-container"},t&&Object(r.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&Object(r.createElement)("h1",{id:i,className:"components-modal__header-heading"},n)),c&&Object(r.createElement)(q,{onClick:o,icon:"no-alt",label:s}))},Bt=new Set(["alert","status","log","marquee","timer"]),Kt=[],Wt=!1;function Ut(e){if(!Wt){var t=document.body.children;Object(k.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")||Bt.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),Kt.push(t))}),Wt=!0}}var Yt,$t=0,Gt=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).call(this,e))).prepareDOM(),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){1===++$t&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0===--$t&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){Yt||(Yt=document.createElement("div"),document.body.appendChild(Yt)),this.node=document.createElement("div"),Yt.appendChild(this.node)}},{key:"cleanDOM",value:function(){Yt.removeChild(this.node)}},{key:"openFirstModal",value:function(){Ut(Yt),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),Wt&&(Object(k.forEach)(Kt,function(e){e.removeAttribute("aria-hidden")}),Kt=[],Wt=!1)}},{key:"render",value:function(){var e=this.props,t=e.overlayClassName,n=e.className,o=e.onRequestClose,a=e.title,i=e.icon,c=e.closeButtonLabel,s=e.children,l=e.aria,u=e.instanceId,d=e.isDismissable,h=Object(E.a)(e,["overlayClassName","className","onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissable"]),f=l.labelledby||"components-modal-header-".concat(u);return Object(r.createPortal)(Object(r.createElement)(X,{className:O()("components-modal__screen-overlay",t)},Object(r.createElement)(Ft,Object(j.a)({className:O()("components-modal__frame",n),onRequestClose:o,aria:{labelledby:a?f:null,describedby:l.describedby}},h),Object(r.createElement)("div",{className:"components-modal__content",tabIndex:"0"},Object(r.createElement)(Vt,{closeLabel:c,headingId:f,icon:i,isDismissable:d,onClose:o,title:a}),s))),this.node)}}]),t}(r.Component);Gt.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,onRequestClose:k.noop,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissable:!0,aria:{labelledby:null,describedby:null}};var qt=Object(w.withInstanceId)(Gt);var Zt=function(e){var t=e.className,n=e.status,o=e.children,a=e.onRemove,i=void 0===a?k.noop:a,c=e.isDismissible,s=void 0===c||c,l=e.actions,u=void 0===l?[]:l,d=e.__unstableHTML,h=O()(t,"components-notice","is-"+n,{"is-dismissible":s});return d&&(o=Object(r.createElement)(r.RawHTML,null,o)),Object(r.createElement)("div",{className:h},Object(r.createElement)("div",{className:"components-notice__content"},o,u.map(function(e,t){var n=e.label,o=e.url,a=e.onClick;return Object(r.createElement)(z,{key:t,href:o,isLink:!!o,onClick:a,className:"components-notice__action"},n)})),s&&Object(r.createElement)(q,{className:"components-notice__dismiss",icon:"no",label:Object(D.__)("Dismiss this notice"),onClick:i,tooltip:!1}))};var Xt=function(e){var t=e.notices,n=e.onRemove,o=void 0===n?k.noop:n,a=e.className,i=void 0===a?"components-notice-list":a,c=e.children;return Object(r.createElement)("div",{className:i},c,Object(y.a)(t).reverse().map(function(e){return Object(r.createElement)(Zt,Object(j.a)({},Object(k.omit)(e,["content"]),{key:e.id,onRemove:function(e){return function(){return o(e)}}(e.id)}),e.content)}))};var Qt=function(e){var t=e.label,n=e.children;return Object(r.createElement)("div",{className:"components-panel__header"},t&&Object(r.createElement)("h2",null,t),n)};var Jt=function(e){var t=e.header,n=e.className,o=e.children,a=O()(n,"components-panel");return Object(r.createElement)("div",{className:a},t&&Object(r.createElement)(Qt,{label:t}),o)},en=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state={opened:void 0===e.initialOpen||e.initialOpen},n.toggle=n.toggle.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.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,o=e.opened,a=e.className,s=e.icon,l=e.forwardedRef,d=void 0===o?this.state.opened:o,h=O()("components-panel__body",a,{"is-opened":d});return Object(r.createElement)("div",{className:h,ref:l},!!t&&Object(r.createElement)("h2",{className:"components-panel__body-title"},Object(r.createElement)(z,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":d},Object(r.createElement)("span",{"aria-hidden":"true"},d?Object(r.createElement)(u,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i,null,Object(r.createElement)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)(i,null,Object(r.createElement)(c,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):Object(r.createElement)(u,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i,null,Object(r.createElement)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)(i,null,Object(r.createElement)(c,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),t,s&&Object(r.createElement)(Ht,{icon:s,className:"components-panel__icon",size:20}))),d&&n)}}]),t}(r.Component),tn=function(e,t){return Object(r.createElement)(en,Object(j.a)({},e,{forwardedRef:t}))};tn.displayName="PanelBody";var nn=Object(r.forwardRef)(tn);var on=function(e){var t=e.className,n=e.children,o=O()("components-panel__row",t);return Object(r.createElement)("div",{className:o},n)};var rn=function(e){var t=e.icon,n=e.children,o=e.label,a=e.instructions,i=e.className,c=e.notices,s=Object(E.a)(e,["icon","children","label","instructions","className","notices"]),l=O()("components-placeholder",i);return Object(r.createElement)("div",Object(j.a)({},s,{className:l}),c,Object(r.createElement)("div",{className:"components-placeholder__label"},Object(k.isString)(t)?Object(r.createElement)(G,{icon:t}):t,o),!!a&&Object(r.createElement)("div",{className:"components-placeholder__instructions"},a),Object(r.createElement)("div",{className:"components-placeholder__fieldset"},n))};function an(e){var t=e.label,n=e.noOptionLabel,o=e.onChange,a=e.selectedId,i=e.tree,c=Object(E.a)(e,["label","noOptionLabel","onChange","selectedId","tree"]),s=Object(k.compact)([n&&{value:"",label:n}].concat(Object(y.a)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object(k.flatMap)(t,function(t){return[{value:t.id,label:Object(k.repeat)(" ",3*n)+Object(k.unescape)(t.name)}].concat(Object(y.a)(e(t.children||[],n+1)))})}(i))));return Object(r.createElement)(In,Object(j.a)({label:t,options:s,onChange:o},{value:a},c))}function cn(e){var t=e.label,n=e.noOptionLabel,a=e.categoriesList,i=e.selectedCategoryId,c=e.onChange,s=function(e){var t=Object(k.groupBy)(e,"parent");return function e(n){return n.map(function(n){var r=t[n.id];return Object(o.a)({},n,{children:r&&r.length?e(r):[]})})}(t[0]||[])}(a);return Object(r.createElement)(an,Object(j.a)({label:t,noOptionLabel:n,onChange:c},{tree:s,selectedId:i}))}var sn=1,ln=100;function un(e){var t=e.categoriesList,n=e.selectedCategoryId,o=e.numberOfItems,a=e.order,i=e.orderBy,c=e.maxItems,s=void 0===c?ln:c,l=e.minItems,u=void 0===l?sn:l,d=e.onCategoryChange,h=e.onNumberOfItemsChange,f=e.onOrderChange,p=e.onOrderByChange;return[f&&p&&Object(r.createElement)(In,{key:"query-controls-order-select",label:Object(D.__)("Order by"),value:"".concat(i,"/").concat(a),options:[{label:Object(D.__)("Newest to Oldest"),value:"date/desc"},{label:Object(D.__)("Oldest to Newest"),value:"date/asc"},{label:Object(D.__)("A → Z"),value:"title/asc"},{label:Object(D.__)("Z → A"),value:"title/desc"}],onChange:function(e){var t=e.split("/"),n=Object(x.a)(t,2),o=n[0],r=n[1];r!==a&&f(r),o!==i&&p(o)}}),d&&Object(r.createElement)(cn,{key:"query-controls-category-select",categoriesList:t,label:Object(D.__)("Category"),noOptionLabel:Object(D.__)("All"),selectedCategoryId:n,onChange:d}),h&&Object(r.createElement)(kt,{key:"query-controls-range-control",label:Object(D.__)("Number of items"),value:o,onChange:h,min:u,max:s})]}var dn=Object(w.withInstanceId)(function(e){var t=e.label,n=e.className,o=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(k.isEmpty)(l)&&Object(r.createElement)(ye,{label:t,id:u,help:a,className:O()(n,"components-radio-control")},l.map(function(e,t){return Object(r.createElement)("div",{key:"".concat(u,"-").concat(t),className:"components-radio-control__option"},Object(r.createElement)("input",{id:"".concat(u,"-").concat(t),className:"components-radio-control__input",type:"radio",name:u,value:e.value,onChange:d,checked:e.value===o,"aria-describedby":a?"".concat(u,"__help"):void 0}),Object(r.createElement)("label",{htmlFor:"".concat(u,"-").concat(t)},e.label))}))}),hn=n(26),fn=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},pn=function(){function e(e,t){for(var n=0;n 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"}})),Object(r.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:this.props.type},Object(r.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.html}}),Object(r.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\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\t\truleOrNode.style[ style ] = '';\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(r.createElement)("script",{key:e,src:e})}))),t=this.iframe.current.contentWindow.document;t.open(),t.write(""+Object(r.renderToString)(e)),t.close()}}},{key:"render",value:function(){var e=this.props.title;return Object(r.createElement)(Ot,{iframeRef:this.iframe,title:e,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onLoad:this.trySandbox,width:Math.ceil(this.state.width),height:Math.ceil(this.state.height)})}}],[{key:"defaultProps",get:function(){return{html:"",title:""}}}]),t}(r.Component),Tn=zn=Object(w.withGlobalEvents)({message:"checkMessageForResize"})(zn);var In=Object(w.withInstanceId)(function(e){var t=e.help,n=e.instanceId,o=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=Object(E.a)(e,["help","instanceId","label","multiple","onChange","options","className"]),h="inspector-select-control-".concat(n);return!Object(k.isEmpty)(l)&&Object(r.createElement)(ye,{label:o,id:h,help:t,className:u},Object(r.createElement)("select",Object(j.a)({id:h,className:"components-select-control__input",onChange:function(e){if(i){var t=Object(y.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(h,"__help"):void 0,multiple:i},d),l.map(function(e,t){return Object(r.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)})))});function xn(){return Object(r.createElement)("span",{className:"components-spinner"})}var Hn=n(30),Nn=n.n(Hn),Rn=n(24);var Ln=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).call(this,e))).state={response:null},n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.fetch(this.props),this.fetch=Object(k.debounce)(this.fetch,500)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(e){Object(k.isEqual)(e,this.props)||this.fetch(this.props)}},{key:"fetch",value:function(e){var t=this;if(this.isStillMounted){null!==this.state.response&&this.setState({response:null});var n=e.block,r=e.attributes,a=void 0===r?null:r,i=e.urlQueryArgs,c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(Rn.addQueryArgs)("/wp/v2/block-renderer/".concat(e),Object(o.a)({context:"edit"},null!==t?{attributes:t}:{},n))}(n,a,void 0===i?{}:i),s=this.currentFetchRequest=Nn()({path:c}).then(function(e){t.isStillMounted&&s===t.currentFetchRequest&&e&&e.rendered&&t.setState({response:e.rendered})}).catch(function(e){t.isStillMounted&&s===t.currentFetchRequest&&t.setState({response:{error:!0,errorMsg:e.message}})});return s}}},{key:"render",value:function(){var e=this.state.response;if(!e)return Object(r.createElement)(rn,null,Object(r.createElement)(xn,null));if(e.error){var t=Object(D.sprintf)(Object(D.__)("Error loading block: %s"),e.errorMsg);return Object(r.createElement)(rn,null,t)}return e.length?Object(r.createElement)(r.RawHTML,{key:"html"},e):Object(r.createElement)(rn,null,Object(D.__)("No results found."))}}]),t}(r.Component),An=function(e){var t=e.tabId,n=e.onClick,o=e.children,a=e.selected,i=Object(E.a)(e,["tabId","onClick","children","selected"]);return Object(r.createElement)("button",Object(j.a)({role:"tab",tabIndex:a?null:-1,"aria-selected":a,id:t,onClick:n},i),o)},Fn=function(e){function t(){var e;Object(h.a)(this,t);var n=(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).props,o=n.tabs,r=n.initialTabName;return e.handleClick=e.handleClick.bind(Object(m.a)(Object(m.a)(e))),e.onNavigate=e.onNavigate.bind(Object(m.a)(Object(m.a)(e))),e.state={selected:r||(o.length>0?o[0].name:null)},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"handleClick",value:function(e){var t=this.props.onSelect,n=void 0===t?k.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,o=n.activeClass,a=void 0===o?"is-active":o,i=n.className,c=n.instanceId,s=n.orientation,l=void 0===s?"horizontal":s,u=n.tabs,d=Object(k.find)(u,{name:t}),h=c+"-"+d.name;return Object(r.createElement)("div",{className:i},Object(r.createElement)(pt,{role:"tablist",orientation:l,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},u.map(function(n){return Object(r.createElement)(An,{className:"".concat(n.className," ").concat(n.name===t?a:""),tabId:c+"-"+n.name,"aria-controls":c+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(k.partial)(e.handleClick,n.name)},n.title)})),d&&Object(r.createElement)("div",{"aria-labelledby":h,role:"tabpanel",id:h+"-view",className:"components-tab-panel__tab-content",tabIndex:"0"},this.props.children(d)))}}]),t}(r.Component),Vn=Object(w.withInstanceId)(Fn);var Bn=Object(w.withInstanceId)(function(e){var t=e.label,n=e.value,o=e.help,a=e.instanceId,i=e.onChange,c=e.rows,s=void 0===c?4:c,l=e.className,u=Object(E.a)(e,["label","value","help","instanceId","onChange","rows","className"]),d="inspector-textarea-control-".concat(a);return Object(r.createElement)(ye,{label:t,id:d,help:o,className:l},Object(r.createElement)("textarea",Object(j.a)({className:"components-textarea-control__input",id:d,rows:s,onChange:function(e){return i(e.target.value)},"aria-describedby":o?d+"__help":void 0,value:n},u)))}),Kn=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.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,o=n.label,a=n.checked,i=n.help,c=n.instanceId,s="inspector-toggle-control-".concat(c);return i&&(e=s+"__help",t=Object(k.isFunction)(i)?i(a):i),Object(r.createElement)(ye,{id:s,help:t,className:"components-toggle-control"},Object(r.createElement)(wt,{id:s,checked:a,onChange:this.onChange,"aria-describedby":e}),Object(r.createElement)("label",{htmlFor:s,className:"components-toggle-control__label"},o))}}]),t}(r.Component),Wn=Object(w.withInstanceId)(Kn),Un=function(e){return Object(r.createElement)("div",{className:e.className},e.children)};var Yn=function(e){var t=e.containerClassName,n=e.icon,o=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(r.createElement)(Un,{className:t},Object(r.createElement)(q,Object(j.a)({icon:n,label:o,shortcut:a,"data-subscript":i,onClick:function(e){e.stopPropagation(),c()},className:O()("components-toolbar__control",s,{"is-active":l}),"aria-pressed":l,disabled:u},d)),h)},$n=function(e){return Object(r.createElement)("div",{className:O()("components-toolbar",e.className)},e.children)};var Gn=function(e){var t=e.controls,n=void 0===t?[]:t,o=e.children,a=e.className,i=e.isCollapsed,c=e.icon,s=e.label;if(!(n&&n.length||o))return null;var l=n;return Array.isArray(l[0])||(l=[l]),i?Object(r.createElement)(vt,{icon:c,label:s,controls:l,className:O()("components-toolbar",a)}):Object(r.createElement)($n,{className:O()("components-toolbar",a)},Object(k.flatMap)(l,function(e,t){return e.map(function(e,n){return Object(r.createElement)(Yn,Object(j.a)({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))})}),o)},qn=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(m.a)(Object(m.a)(e))),e.focusNextRegion=e.focusRegion.bind(Object(m.a)(Object(m.a)(e)),1),e.focusPreviousRegion=e.focusRegion.bind(Object(m.a)(Object(m.a)(e)),-1),e.onClick=e.onClick.bind(Object(m.a)(Object(m.a)(e))),e.state={isFocusingRegions:!1},e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"focusRegion",value:function(e){var t=Object(y.a)(this.container.querySelectorAll('[role="region"]'));if(t.length){var n=t[0],o=t.indexOf(document.activeElement);if(-1!==o){var r=o+e;n=t[r=(r=-1===r?t.length-1:r)===t.length?0:r]}n.focus(),this.setState({isFocusingRegions:!0})}}},{key:"onClick",value:function(){this.setState({isFocusingRegions:!1})}},{key:"render",value:function(){var t=O()("components-navigate-regions",{"is-focusing-regions":this.state.isFocusingRegions});return Object(r.createElement)("div",{ref:this.bindContainer,className:t,onClick:this.onClick},Object(r.createElement)(Te,{bindGlobal:!0,shortcuts:{"ctrl+`":this.focusNextRegion,"shift+alt+n":this.focusNextRegion,"ctrl+shift+`":this.focusPreviousRegion,"shift+alt+p":this.focusPreviousRegion}}),Object(r.createElement)(e,this.props))}}]),n}(r.Component)},"navigateRegions"),Zn=function(e){return Object(w.createHigherOrderComponent)(function(t){return function(n){function o(){var e;return Object(h.a)(this,o),(e=Object(f.a)(this,Object(p.a)(o).apply(this,arguments))).nodeRef=e.props.node,e.state={fallbackStyles:void 0,grabStylesCompleted:!1},e.bindRef=e.bindRef.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(o,n),Object(b.a)(o,[{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,o=t.fallbackStyles;if(this.nodeRef&&!n){var r=e(this.nodeRef,this.props);Object(k.isEqual)(r,o)||this.setState({fallbackStyles:r,grabStylesCompleted:!!Object(k.every)(r)})}}},{key:"render",value:function(){var e=Object(r.createElement)(t,Object(j.a)({},this.props,this.state.fallbackStyles));return this.props.node?e:Object(r.createElement)("div",{ref:this.bindRef}," ",e," ")}}]),o}(r.Component)},"withFallbackStyles")},Xn=n(23),Qn=16;function Jn(e){return Object(w.createHigherOrderComponent)(function(t){return function(n){function o(n){var r;return Object(h.a)(this,o),(r=Object(f.a)(this,Object(p.a)(o).call(this,n))).onHooksUpdated=r.onHooksUpdated.bind(Object(m.a)(Object(m.a)(r))),r.Component=Object(Xn.applyFilters)(e,t),r.namespace=Object(k.uniqueId)("core/with-filters/component-"),r.throttledForceUpdate=Object(k.debounce)(function(){r.Component=Object(Xn.applyFilters)(e,t),r.forceUpdate()},Qn),Object(Xn.addAction)("hookRemoved",r.namespace,r.onHooksUpdated),Object(Xn.addAction)("hookAdded",r.namespace,r.onHooksUpdated),r}return Object(v.a)(o,n),Object(b.a)(o,[{key:"componentWillUnmount",value:function(){this.throttledForceUpdate.cancel(),Object(Xn.removeAction)("hookRemoved",this.namespace),Object(Xn.removeAction)("hookAdded",this.namespace)}},{key:"onHooksUpdated",value:function(t){t===e&&this.throttledForceUpdate()}},{key:"render",value:function(){return Object(r.createElement)(this.Component,this.props)}}]),o}(r.Component)},"withFilters")}var eo=n(56),to=n.n(eo),no=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).createNotice=e.createNotice.bind(Object(m.a)(Object(m.a)(e))),e.createErrorNotice=e.createErrorNotice.bind(Object(m.a)(Object(m.a)(e))),e.removeNotice=e.removeNotice.bind(Object(m.a)(Object(m.a)(e))),e.removeAllNotices=e.removeAllNotices.bind(Object(m.a)(Object(m.a)(e))),e.state={noticeList:[]},e.noticeOperations={createNotice:e.createNotice,createErrorNotice:e.createErrorNotice,removeAllNotices:e.removeAllNotices,removeNotice:e.removeNotice},e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"createNotice",value:function(e){var t=e.id?e:Object(o.a)({},e,{id:to()()});this.setState(function(e){return{noticeList:Object(y.a)(e.noticeList).concat([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(r.createElement)(e,Object(j.a)({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(r.createElement)(Xt,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),n}(r.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,"Autocomplete",function(){return me}),n.d(t,"BaseControl",function(){return ye}),n.d(t,"Button",function(){return z}),n.d(t,"ButtonGroup",function(){return ge}),n.d(t,"CheckboxControl",function(){return Oe}),n.d(t,"ClipboardButton",function(){return De}),n.d(t,"ColorIndicator",function(){return we}),n.d(t,"ColorPalette",function(){return Be}),n.d(t,"ColorPicker",function(){return Ve}),n.d(t,"Dashicon",function(){return G}),n.d(t,"DateTimePicker",function(){return Ge}),n.d(t,"DatePicker",function(){return Ye}),n.d(t,"TimePicker",function(){return $e}),n.d(t,"Disabled",function(){return et}),n.d(t,"Draggable",function(){return nt}),n.d(t,"DropZone",function(){return ut}),n.d(t,"DropZoneProvider",function(){return st}),n.d(t,"Dropdown",function(){return Se}),n.d(t,"DropdownMenu",function(){return vt}),n.d(t,"ExternalLink",function(){return mt}),n.d(t,"FocusableIframe",function(){return Ot}),n.d(t,"FontSizePicker",function(){return _t}),n.d(t,"FormFileUpload",function(){return Dt}),n.d(t,"FormToggle",function(){return wt}),n.d(t,"FormTokenField",function(){return xt}),n.d(t,"Icon",function(){return Ht}),n.d(t,"IconButton",function(){return q}),n.d(t,"KeyboardShortcuts",function(){return Te}),n.d(t,"MenuGroup",function(){return Nt}),n.d(t,"MenuItem",function(){return Rt}),n.d(t,"MenuItemsChoice",function(){return Lt}),n.d(t,"Modal",function(){return qt}),n.d(t,"ScrollLock",function(){return Z}),n.d(t,"NavigableMenu",function(){return pt}),n.d(t,"TabbableContainer",function(){return bt}),n.d(t,"Notice",function(){return Zt}),n.d(t,"NoticeList",function(){return Xt}),n.d(t,"Panel",function(){return Jt}),n.d(t,"PanelBody",function(){return nn}),n.d(t,"PanelHeader",function(){return Qt}),n.d(t,"PanelRow",function(){return on}),n.d(t,"Placeholder",function(){return rn}),n.d(t,"Popover",function(){return de}),n.d(t,"QueryControls",function(){return un}),n.d(t,"RadioControl",function(){return dn}),n.d(t,"RangeControl",function(){return kt}),n.d(t,"ResizableBox",function(){return Pn}),n.d(t,"ResponsiveWrapper",function(){return En}),n.d(t,"SandBox",function(){return Tn}),n.d(t,"SelectControl",function(){return In}),n.d(t,"Spinner",function(){return xn}),n.d(t,"ServerSideRender",function(){return Ln}),n.d(t,"TabPanel",function(){return Vn}),n.d(t,"TextControl",function(){return Ne}),n.d(t,"TextareaControl",function(){return Bn}),n.d(t,"ToggleControl",function(){return Wn}),n.d(t,"Toolbar",function(){return Gn}),n.d(t,"ToolbarButton",function(){return Yn}),n.d(t,"Tooltip",function(){return $}),n.d(t,"TreeSelect",function(){return an}),n.d(t,"IsolatedEventContainer",function(){return X}),n.d(t,"createSlotFill",function(){return ce}),n.d(t,"Slot",function(){return oe}),n.d(t,"Fill",function(){return ie}),n.d(t,"SlotFillProvider",function(){return te}),n.d(t,"navigateRegions",function(){return qn}),n.d(t,"withConstrainedTabbing",function(){return F}),n.d(t,"withFallbackStyles",function(){return Zn}),n.d(t,"withFilters",function(){return Jn}),n.d(t,"withFocusOutside",function(){return P}),n.d(t,"withFocusReturn",function(){return A}),n.d(t,"withNotices",function(){return no}),n.d(t,"withSpokenMessages",function(){return fe})}]);
\ 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 fc9093bd81..d642feb339 100644
--- a/wp-includes/js/dist/edit-post.js
+++ b/wp-includes/js/dist/edit-post.js
@@ -2629,6 +2629,7 @@ var more_menu_MoreMenu = function MoreMenu() {
return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
icon: "ellipsis",
label: isOpen ? ariaOpen : ariaClosed,
+ labelPosition: "bottom",
onClick: onToggle,
"aria-expanded": isOpen
});
diff --git a/wp-includes/js/dist/edit-post.min.js b/wp-includes/js/dist/edit-post.min.js
index 056ed63659..b9dd887fa6 100644
--- a/wp-includes/js/dist/edit-post.min.js
+++ b/wp-includes/js/dist/edit-post.min.js
@@ -1,4 +1,4 @@
-this.wp=this.wp||{},this.wp.editPost=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=304)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return o})},11:function(e,t){!function(){e.exports=this.wp.blocks}()},12:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(29),r=n(3);function i(e,t){return!t||"object"!==Object(o.a)(t)&&"function"!=typeof t?Object(r.a)(e):t}},121:function(e,t){!function(){e.exports=this.wp.notices}()},13:function(e,t,n){"use strict";function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",function(){return o})},14:function(e,t,n){"use strict";function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}n.d(t,"a",function(){return r})},15:function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return o})},16:function(e,t,n){var o;
+this.wp=this.wp||{},this.wp.editPost=function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=304)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return o})},11:function(e,t){!function(){e.exports=this.wp.blocks}()},12:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(29),i=n(3);function r(e,t){return!t||"object"!==Object(o.a)(t)&&"function"!=typeof t?Object(i.a)(e):t}},121:function(e,t){!function(){e.exports=this.wp.notices}()},13:function(e,t,n){"use strict";function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",function(){return o})},14:function(e,t,n){"use strict";function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}n.d(t,"a",function(){return i})},15:function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return o})},16:function(e,t,n){var o;
/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
@@ -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;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",function(){return o})},23:function(e,t){!function(){e.exports=this.wp.hooks}()},24:function(e,t){!function(){e.exports=this.wp.url}()},25:function(e,t,n){"use strict";var o=n(35);var r=n(36);function i(e,t){return Object(o.a)(e)||function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(o=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==a.return||a.return()}finally{if(r)throw i}}return n}(e,t)||Object(r.a)()}n.d(t,"a",function(){return i})},29: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})},3:function(e,t,n){"use strict";function o(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 o})},30:function(e,t){!function(){e.exports=this.wp.apiFetch}()},304:function(e,t,n){"use strict";n.r(t);var o={};n.r(o),n.d(o,"openGeneralSidebar",function(){return ee}),n.d(o,"closeGeneralSidebar",function(){return te}),n.d(o,"openModal",function(){return ne}),n.d(o,"closeModal",function(){return oe}),n.d(o,"openPublishSidebar",function(){return re}),n.d(o,"closePublishSidebar",function(){return ie}),n.d(o,"togglePublishSidebar",function(){return ce}),n.d(o,"toggleEditorPanelEnabled",function(){return ae}),n.d(o,"toggleEditorPanelOpened",function(){return le}),n.d(o,"removeEditorPanel",function(){return se}),n.d(o,"toggleFeature",function(){return ue}),n.d(o,"switchEditorMode",function(){return de}),n.d(o,"togglePinnedPluginItem",function(){return be}),n.d(o,"setAvailableMetaBoxesPerLocation",function(){return pe}),n.d(o,"requestMetaBoxUpdates",function(){return me}),n.d(o,"metaBoxUpdatesSuccess",function(){return Oe});var r={};n.r(r),n.d(r,"getEditorMode",function(){return je}),n.d(r,"isEditorSidebarOpened",function(){return he}),n.d(r,"isPluginSidebarOpened",function(){return ge}),n.d(r,"getActiveGeneralSidebarName",function(){return Ee}),n.d(r,"getPreferences",function(){return ve}),n.d(r,"getPreference",function(){return ye}),n.d(r,"isPublishSidebarOpened",function(){return _e}),n.d(r,"isEditorPanelRemoved",function(){return Se}),n.d(r,"isEditorPanelEnabled",function(){return Pe}),n.d(r,"isEditorPanelOpened",function(){return ke}),n.d(r,"isModalActive",function(){return we}),n.d(r,"isFeatureActive",function(){return Ce}),n.d(r,"isPluginItemPinned",function(){return xe}),n.d(r,"getActiveMetaBoxLocations",function(){return Te}),n.d(r,"isMetaBoxLocationVisible",function(){return Ne}),n.d(r,"isMetaBoxLocationActive",function(){return Me}),n.d(r,"getMetaBoxesPerLocation",function(){return Ae}),n.d(r,"getAllMetaBoxes",function(){return Be}),n.d(r,"hasMetaBoxes",function(){return Ie}),n.d(r,"isSavingMetaBoxes",function(){return Le});var i=n(0),c=(n(79),n(6)),a=n(52),l=n(37),s=(n(121),n(189)),u=n(5),d=n(23),b=n(10),p=n(9),m=n(12),O=n(13),f=n(14),j=n(3),h=n(2),g=n(1),E=function(){return wp.media.view.MediaFrame.Post.extend({createStates:function(){this.states.add([new wp.media.controller.Library({id:"gallery",title:wp.media.view.l10n.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"image"},this.options.library))}),new wp.media.controller.GalleryEdit({library:this.options.selection,editing:this.options.editing,menu:"gallery",displaySettings:!1,multiple:!0}),new wp.media.controller.GalleryAdd])}})},v=function(e){return Object(h.pick)(e,["sizes","mime","type","subtype","id","url","alt","link","caption"])},y=function(e){return wp.media.query({order:"ASC",orderby:"post__in",post__in:e,posts_per_page:-1,query:!0,type:"image"})},S=function(e){function t(e){var n,o=e.allowedTypes,r=e.multiple,i=void 0!==r&&r,c=e.gallery,a=void 0!==c&&c,l=e.title,s=void 0===l?Object(g.__)("Select or Upload Media"):l,u=e.modalClass,d=e.value;if(Object(b.a)(this,t),(n=Object(m.a)(this,Object(O.a)(t).apply(this,arguments))).openModal=n.openModal.bind(Object(j.a)(Object(j.a)(n))),n.onOpen=n.onOpen.bind(Object(j.a)(Object(j.a)(n))),n.onSelect=n.onSelect.bind(Object(j.a)(Object(j.a)(n))),n.onUpdate=n.onUpdate.bind(Object(j.a)(Object(j.a)(n))),n.onClose=n.onClose.bind(Object(j.a)(Object(j.a)(n))),a){var p=d?"gallery-edit":"gallery",f=E(),h=y(d),v=new wp.media.model.Selection(h.models,{props:h.props.toJSON(),multiple:i});n.frame=new f({mimeType:o,state:p,multiple:i,selection:v,editing:!!d}),wp.media.frame=n.frame}else{var _={title:s,button:{text:Object(g.__)("Select")},multiple:i};o&&(_.library={type:o}),n.frame=wp.media(_)}return u&&n.frame.$el.addClass(u),n.frame.on("select",n.onSelect),n.frame.on("update",n.onUpdate),n.frame.on("open",n.onOpen),n.frame.on("close",n.onClose),n}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentWillUnmount",value:function(){this.frame.remove()}},{key:"onUpdate",value:function(e){var t=this.props,n=t.onSelect,o=t.multiple,r=void 0!==o&&o,i=this.frame.state(),c=e||i.get("selection");c&&c.models.length&&n(r?c.models.map(function(e){return v(e.toJSON())}):v(c.models[0].toJSON()))}},{key:"onSelect",value:function(){var e=this.props,t=e.onSelect,n=e.multiple,o=void 0!==n&&n,r=this.frame.state().get("selection").toJSON();t(o?r:r[0])}},{key:"onOpen",value:function(){if(this.updateCollection(),this.props.value){if(!this.props.gallery){var e=this.frame.state().get("selection");Object(h.castArray)(this.props.value).map(function(t){e.add(wp.media.attachment(t))})}y(Object(h.castArray)(this.props.value)).more()}}},{key:"onClose",value:function(){var e=this.props.onClose;e&&e()}},{key:"updateCollection",value:function(){var e=this.frame.content.get();if(e&&e.collection){var t=e.collection;t.toArray().forEach(function(e){return e.trigger("destroy",e)}),t.mirroring._hasMore=!0,t.more()}}},{key:"openModal",value:function(){this.frame.open()}},{key:"render",value:function(){return this.props.render({open:this.openModal})}}]),t}(i.Component);Object(d.addFilter)("editor.MediaUpload","core/edit-post/components/media-upload/replace-media-upload",function(){return S});var P=n(18),k=n(21),w=n(11),C=n(4),x=n(7),T=Object(x.compose)(Object(u.withSelect)(function(e,t){var n=e("core/editor").getBlocks();if(Object(w.hasBlockSupport)(t.name,"multiple",!0))return{};var o=Object(h.find)(n,function(e){var n=e.name;return t.name===n});return{originalBlockClientId:o&&o.clientId!==t.clientId&&o.clientId}}),Object(u.withDispatch)(function(e,t){var n=t.originalBlockClientId;return{selectFirst:function(){return e("core/editor").selectBlock(n)}}})),N=Object(x.createHigherOrderComponent)(function(e){return T(function(t){var n=t.originalBlockClientId,o=t.selectFirst,r=Object(k.a)(t,["originalBlockClientId","selectFirst"]);if(!n)return Object(i.createElement)(e,r);var a=Object(w.getBlockType)(r.name),l=function(e){var t=Object(w.findTransform)(Object(w.getBlockTransforms)("to",e),function(e){var t=e.type,n=e.blocks;return"block"===t&&1===n.length});if(!t)return null;return Object(w.getBlockType)(t.blocks[0])}(r.name);return[Object(i.createElement)("div",{key:"invalid-preview",style:{minHeight:"60px"}},Object(i.createElement)(e,Object(P.a)({key:"block-edit"},r))),Object(i.createElement)(c.Warning,{key:"multiple-use-warning",actions:[Object(i.createElement)(C.Button,{key:"find-original",isLarge:!0,onClick:o},Object(g.__)("Find original")),Object(i.createElement)(C.Button,{key:"remove",isLarge:!0,onClick:function(){return r.onReplace([])}},Object(g.__)("Remove")),l&&Object(i.createElement)(C.Button,{key:"transform",isLarge:!0,onClick:function(){return r.onReplace(Object(w.createBlock)(l.name,r.attributes))}},Object(g.__)("Transform into:")," ",l.title)]},Object(i.createElement)("strong",null,a.title,": "),Object(g.__)("This block can only be used once."))]})},"withMultipleValidation");Object(d.addFilter)("editor.BlockEdit","core/edit-post/validate-multiple-use/with-multiple-validation",N);var M=n(62);var A=Object(x.compose)(Object(u.withSelect)(function(e){return{editedPostContent:e("core/editor").getEditedPostAttribute("content")}}),Object(x.withState)({hasCopied:!1}))(function(e){var t=e.editedPostContent,n=e.hasCopied,o=e.setState;return Object(i.createElement)(C.ClipboardButton,{text:t,className:"components-menu-item__button",onCopy:function(){return o({hasCopied:!0})},onFinishCopy:function(){return o({hasCopied:!1})}},n?Object(g.__)("Copied!"):Object(g.__)("Copy All Content"))}),B=n(17);var I=Object(u.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.openModal,n=e.onSelect;return Object(i.createElement)(C.MenuItem,{onClick:function(){n(),t("edit-post/keyboard-shortcut-help")},shortcut:B.displayShortcut.access("h")},Object(g.__)("Keyboard Shortcuts"))}),L=Object(C.createSlotFill)("ToolsMoreMenuGroup"),D=L.Fill,F=L.Slot;D.Slot=function(e){var t=e.fillProps;return Object(i.createElement)(F,{fillProps:t},function(e){return!Object(h.isEmpty)(e)&&Object(i.createElement)(C.MenuGroup,{label:Object(g.__)("Tools")},e)})};var R=D;Object(M.registerPlugin)("edit-post",{render:function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(R,null,function(e){var t=e.onClose;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(C.MenuItem,{role:"menuitem",href:"edit.php?post_type=wp_block"},Object(g.__)("Manage All Reusable Blocks")),Object(i.createElement)(I,{onSelect:t}),Object(i.createElement)(A,null))}))}});var G=n(19),U=n(15),V=n(8),H={editorMode:"visual",isGeneralSidebarDismissed:!1,panels:{"post-status":{opened:!0}},features:{fixedToolbar:!1},pinnedPluginItems:{}},W="edit-post/document",q=Object(u.combineReducers)({isGeneralSidebarDismissed:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_GENERAL_SIDEBAR":case"CLOSE_GENERAL_SIDEBAR":return"CLOSE_GENERAL_SIDEBAR"===t.type}return e},panels:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H.panels,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_PANEL_ENABLED":var n=t.panelName;return Object(V.a)({},e,Object(U.a)({},n,Object(V.a)({},e[n],{enabled:!Object(h.get)(e,[n,"enabled"],!0)})));case"TOGGLE_PANEL_OPENED":var o=t.panelName,r=!0===e[o]||Object(h.get)(e,[o,"opened"],!1);return Object(V.a)({},e,Object(U.a)({},o,Object(V.a)({},e[o],{opened:!r})))}return e},features:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H.features,t=arguments.length>1?arguments[1]:void 0;return"TOGGLE_FEATURE"===t.type?Object(V.a)({},e,Object(U.a)({},t.feature,!e[t.feature])):e},editorMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H.editorMode,t=arguments.length>1?arguments[1]:void 0;return"SWITCH_MODE"===t.type?t.mode:e},pinnedPluginItems:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H.pinnedPluginItems,t=arguments.length>1?arguments[1]:void 0;return"TOGGLE_PINNED_PLUGIN_ITEM"===t.type?Object(V.a)({},e,Object(U.a)({},t.pluginName,!Object(h.get)(e,[t.pluginName],!0))):e}});var X=Object(u.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}}),K=Object(u.combineReducers)({activeGeneralSidebar:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,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:X,preferences:q,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(h.includes)(e,t.panelName))return Object(G.a)(e).concat([t.panelName])}return e}}),Q=n(87),z=n.n(Q),J=n(25),Y=n(44),$=n(30),Z=n.n($);function ee(e){return{type:"OPEN_GENERAL_SIDEBAR",name:e}}function te(){return{type:"CLOSE_GENERAL_SIDEBAR"}}function ne(e){return{type:"OPEN_MODAL",name:e}}function oe(){return{type:"CLOSE_MODAL"}}function re(){return{type:"OPEN_PUBLISH_SIDEBAR"}}function ie(){return{type:"CLOSE_PUBLISH_SIDEBAR"}}function ce(){return{type:"TOGGLE_PUBLISH_SIDEBAR"}}function ae(e){return{type:"TOGGLE_PANEL_ENABLED",panelName:e}}function le(e){return{type:"TOGGLE_PANEL_OPENED",panelName:e}}function se(e){return{type:"REMOVE_PANEL",panelName:e}}function ue(e){return{type:"TOGGLE_FEATURE",feature:e}}function de(e){return{type:"SWITCH_MODE",mode:e}}function be(e){return{type:"TOGGLE_PINNED_PLUGIN_ITEM",pluginName:e}}function pe(e){return{type:"SET_META_BOXES_PER_LOCATIONS",metaBoxesPerLocation:e}}function me(){return{type:"REQUEST_META_BOX_UPDATES"}}function Oe(){return{type:"META_BOX_UPDATES_SUCCESS"}}var fe=n(31);function je(e){return ye(e,"editorMode","visual")}function he(e){var t=Ee(e);return Object(h.includes)(["edit-post/document","edit-post/block"],t)}function ge(e){return!!Ee(e)&&!he(e)}function Ee(e){return ye(e,"isGeneralSidebarDismissed",!1)?null:e.activeGeneralSidebar}function ve(e){return e.preferences}function ye(e,t,n){var o=ve(e)[t];return void 0===o?n:o}function _e(e){return e.publishSidebarActive}function Se(e,t){return Object(h.includes)(e.removedPanels,t)}function Pe(e,t){var n=ye(e,"panels");return!Se(e,t)&&Object(h.get)(n,[t,"enabled"],!0)}function ke(e,t){var n=ye(e,"panels");return!0===n[t]||Object(h.get)(n,[t,"opened"],!1)}function we(e,t){return e.activeModal===t}function Ce(e,t){return!!e.preferences.features[t]}function xe(e,t){var n=ye(e,"pinnedPluginItems",{});return Object(h.get)(n,[t],!0)}var Te=Object(fe.a)(function(e){return Object.keys(e.metaBoxes.locations).filter(function(t){return Me(e,t)})},function(e){return[e.metaBoxes.locations]});function Ne(e,t){return Me(e,t)&&Object(h.some)(Ae(e,t),function(t){var n=t.id;return Pe(e,"meta-box-".concat(n))})}function Me(e,t){var n=Ae(e,t);return!!n&&0!==n.length}function Ae(e,t){return e.metaBoxes.locations[t]}var Be=Object(fe.a)(function(e){return Object(h.flatten)(Object(h.values)(e.metaBoxes.locations))},function(e){return[e.metaBoxes.locations]});function Ie(e){return Te(e).length>0}function Le(e){return e.metaBoxes.isSaving}var De=function(e,t){var n=e();return function(){var o=e();o!==n&&(n=o,t(o))}},Fe={SET_META_BOXES_PER_LOCATIONS:function(e,t){setTimeout(function(){var e=Object(u.select)("core/editor").getCurrentPostType();window.postboxes.page!==e&&window.postboxes.add_postbox_toggles(e)});var n=Object(u.select)("core/editor").isSavingPost(),o=Object(u.select)("core/editor").isAutosavingPost(),r=Object(u.select)("core/editor").isPreviewingPost();Object(u.subscribe)(function(){var e=Object(u.select)("core/editor").isSavingPost(),i=Object(u.select)("core/editor").isAutosavingPost(),c=Object(u.select)("core/editor").isPreviewingPost(),a=Object(u.select)("core/edit-post").hasMetaBoxes()&&(n&&!e&&!o||o&&r&&!c);n=e,o=i,r=c,a&&t.dispatch({type:"REQUEST_META_BOX_UPDATES"})})},REQUEST_META_BOX_UPDATES:function(e,t){var n=t.getState(),o=Object(u.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],["post_author",o.author]].filter(Boolean),i=[new window.FormData(document.querySelector(".metabox-base-form"))].concat(Object(G.a)(Te(n).map(function(e){return new window.FormData(function(e){var t=document.querySelector(".edit-post-meta-boxes-area.is-".concat(e," .metabox-location-").concat(e));return t||document.querySelector("#metaboxes .metabox-location-"+e)}(e))}))),c=Object(h.reduce)(i,function(e,t){var n=!0,o=!1,r=void 0;try{for(var i,c=t[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=Object(J.a)(i.value,2),l=a[0],s=a[1];e.append(l,s)}}catch(e){o=!0,r=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw r}}return e},new window.FormData);r.forEach(function(e){var t=Object(J.a)(e,2),n=t[0],o=t[1];return c.append(n,o)}),Z()({url:window._wpMetaBoxUrl,method:"POST",body:c,parse:!1}).then(function(){return t.dispatch({type:"META_BOX_UPDATES_SUCCESS"})})},SWITCH_MODE:function(e){"visual"!==e.mode&&Object(u.dispatch)("core/editor").clearSelectedBlock();var t="visual"===e.mode?Object(g.__)("Visual editor selected"):Object(g.__)("Code editor selected");Object(Y.speak)(t,"assertive")},INIT:function(e,t){Object(u.subscribe)(De(function(){return!!Object(u.select)("core/editor").getBlockSelectionStart()},function(e){Object(u.select)("core/edit-post").isEditorSidebarOpened()&&(e?t.dispatch(ee("edit-post/block")):t.dispatch(ee("edit-post/document")))}));var n=function(){return Object(u.select)("core/viewport").isViewportMatch("< medium")},o=function(){var e=null;return function(n){n?(e=Ee(t.getState()))&&t.dispatch({type:"CLOSE_GENERAL_SIDEBAR"}):e&&!Ee(t.getState())&&t.dispatch(ee(e))}}();o(n()),Object(u.subscribe)(De(n,o));Object(u.subscribe)(De(function(){return Object(u.select)("core/editor").getCurrentPost().link},function(e){if(e){var t=document.querySelector("#wp-admin-bar-view a");t&&t.setAttribute("href",e)}}))}};var Re=function(e){var t,n=[z()(Fe)],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=h.flowRight.apply(void 0,Object(G.a)(t))(e.dispatch),e.dispatch=o,e},Ge=Object(u.registerStore)("core/edit-post",{reducer:K,actions:o,selectors:r,persist:["preferences"]});Re(Ge),Ge.dispatch({type:"INIT"});var Ue=n(16),Ve=n.n(Ue),He=n(24);var We=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(O.a)(t).apply(this,arguments))).state={historyId:null},e}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.postId,o=t.postStatus,r=t.postType,i=this.state.historyId;"trash"!==o?n===e.postId&&n===i||"auto-draft"===o||this.setBrowserURL(n):this.setTrashURL(n,r)}},{key:"setTrashURL",value:function(e,t){window.location.href=function(e,t){return Object(He.addQueryArgs)("edit.php",{trashed:1,post_type:t,ids:e})}(e,t)}},{key:"setBrowserURL",value:function(e){window.history.replaceState({id:e},"Post "+e,function(e){return Object(He.addQueryArgs)("post.php",{post:e,action:"edit"})}(e)),this.setState(function(){return{historyId:e}})}},{key:"render",value:function(){return null}}]),t}(i.Component),qe=Object(u.withSelect)(function(e){var t=(0,e("core/editor").getCurrentPost)();return{postId:t.id,postStatus:t.status,postType:t.type}})(We),Xe={toggleEditorMode:{raw:B.rawShortcut.secondary("m"),display:B.displayShortcut.secondary("m")},toggleSidebar:{raw:B.rawShortcut.primaryShift(","),display:B.displayShortcut.primaryShift(","),ariaLabel:B.shortcutAriaLabel.primaryShift(",")}},Ke=[{value:"visual",label:Object(g.__)("Visual Editor")},{value:"text",label:Object(g.__)("Code Editor")}];var Qe=Object(x.compose)([Object(u.withSelect)(function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,mode:e("core/edit-post").getEditorMode()}}),Object(x.ifCondition)(function(e){return e.isRichEditingEnabled}),Object(u.withDispatch)(function(e,t){return{onSwitch:function(n){e("core/edit-post").switchEditorMode(n),t.onSelect(n)}}})])(function(e){var t=e.onSwitch,n=e.mode,o=Ke.map(function(e){return e.value!==n?Object(V.a)({},e,{shortcut:Xe.toggleEditorMode.display}):e});return Object(i.createElement)(C.MenuGroup,{label:Object(g.__)("Editor")},Object(i.createElement)(C.MenuItemsChoice,{choices:o,value:n,onSelect:t}))}),ze=Object(C.createSlotFill)("PluginsMoreMenuGroup"),Je=ze.Fill,Ye=ze.Slot;Je.Slot=function(e){var t=e.fillProps;return Object(i.createElement)(Ye,{fillProps:t},function(e){return!Object(h.isEmpty)(e)&&Object(i.createElement)(C.MenuGroup,{label:Object(g.__)("Plugins")},e)})};var $e=Je;var Ze=Object(u.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.openModal,n=e.onSelect;return Object(i.createElement)(C.MenuItem,{onClick:function(){n(),t("edit-post/options")}},Object(g.__)("Options"))});var et=Object(x.compose)([Object(u.withSelect)(function(e,t){var n=t.feature;return{isActive:e("core/edit-post").isFeatureActive(n)}}),Object(u.withDispatch)(function(e,t){return{onToggle:function(){e("core/edit-post").toggleFeature(t.feature),t.onToggle()}}})])(function(e){var t=e.onToggle,n=e.isActive,o=e.label,r=e.info;return Object(i.createElement)(C.MenuItem,{icon:n&&"yes",isSelected:n,onClick:t,role:"menuitemcheckbox",label:o,info:r},o)});var tt=Object(l.ifViewportMatches)("medium")(function(e){var t=e.onClose;return Object(i.createElement)(C.MenuGroup,{label:Object(g._x)("View","noun")},Object(i.createElement)(et,{feature:"fixedToolbar",label:Object(g.__)("Top Toolbar"),info:Object(g.__)("Access all block and document tools in a single place"),onToggle:t}),Object(i.createElement)(et,{feature:"focusMode",label:Object(g.__)("Spotlight Mode"),info:Object(g.__)("Focus on one block at a time"),onToggle:t}),Object(i.createElement)(et,{feature:"fullscreenMode",label:Object(g.__)("Fullscreen Mode"),info:Object(g.__)("Work without distraction"),onToggle:t}))}),nt=Object(g.__)("Show more tools & options"),ot=Object(g.__)("Hide more tools & options"),rt=function(){return Object(i.createElement)(C.Dropdown,{className:"edit-post-more-menu",contentClassName:"edit-post-more-menu__content",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(i.createElement)(C.IconButton,{icon:"ellipsis",label:t?ot:nt,onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onClose;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(tt,{onClose:t}),Object(i.createElement)(Qe,{onSelect:t}),Object(i.createElement)($e.Slot,{fillProps:{onClose:t}}),Object(i.createElement)(R.Slot,{fillProps:{onClose:t}}),Object(i.createElement)(C.MenuGroup,null,Object(i.createElement)(Ze,{onSelect:t})))}})};var it=Object(u.withSelect)(function(e){var t=e("core/editor").getCurrentPostType,n=e("core/edit-post").isFeatureActive,o=e("core").getPostType;return{isActive:n("fullscreenMode"),postType:o(t())}})(function(e){var t=e.isActive,n=e.postType;return t&&n?Object(i.createElement)(C.Toolbar,{className:"edit-post-fullscreen-mode-close__toolbar"},Object(i.createElement)(C.IconButton,{icon:"exit",href:Object(He.addQueryArgs)("edit.php",{post_type:n.slug}),label:Object(h.get)(n,["labels","view_items"],Object(g.__)("View Posts"))})):null});var ct=Object(x.compose)([Object(u.withSelect)(function(e){return{hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),showInserter:"visual"===e("core/edit-post").getEditorMode()&&e("core/editor").getEditorSettings().richEditingEnabled}}),Object(l.withViewportMatch)({isLargeViewport:"medium"})])(function(e){var t=e.hasFixedToolbar,n=e.isLargeViewport,o=e.showInserter,r=t?Object(g.__)("Document and block tools"):Object(g.__)("Document tools");return Object(i.createElement)(c.NavigableToolbar,{className:"edit-post-header-toolbar","aria-label":r},Object(i.createElement)(it,null),Object(i.createElement)("div",null,Object(i.createElement)(c.Inserter,{disabled:!o,position:"bottom right"}),Object(i.createElement)(a.DotTip,{tipId:"core/editor.inserter"},Object(g.__)("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(i.createElement)(c.EditorHistoryUndo,null),Object(i.createElement)(c.EditorHistoryRedo,null),Object(i.createElement)(c.TableOfContents,null),Object(i.createElement)(c.BlockNavigationDropdown,null),t&&n&&Object(i.createElement)("div",{className:"edit-post-header-toolbar__block-toolbar"},Object(i.createElement)(c.BlockToolbar,null)))}),at=Object(C.createSlotFill)("PinnedPlugins"),lt=at.Fill,st=at.Slot;lt.Slot=function(e){return Object(i.createElement)(st,e,function(e){return!Object(h.isEmpty)(e)&&Object(i.createElement)("div",{className:"edit-post-pinned-plugins"},e)})};var ut=lt;var dt=Object(x.compose)(Object(u.withSelect)(function(e){return{hasPublishAction:Object(h.get)(e("core/editor").getCurrentPost(),["_links","wp:action-publish"],!1),isBeingScheduled:e("core/editor").isEditedPostBeingScheduled(),isPending:e("core/editor").isCurrentPostPending(),isPublished:e("core/editor").isCurrentPostPublished(),isPublishSidebarEnabled:e("core/editor").isPublishSidebarEnabled(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isScheduled:e("core/editor").isCurrentPostScheduled()}}),Object(u.withDispatch)(function(e){return{togglePublishSidebar:e("core/edit-post").togglePublishSidebar}}),Object(l.withViewportMatch)({isLessThanMediumViewport:"< medium"}))(function(e){var t,n=e.forceIsDirty,o=e.forceIsSaving,r=e.hasPublishAction,a=e.isBeingScheduled,l=e.isLessThanMediumViewport,s=e.isPending,u=e.isPublished,d=e.isPublishSidebarEnabled,b=e.isPublishSidebarOpened,p=e.isScheduled,m=e.togglePublishSidebar;return t=u||p&&a||s&&!r&&!l?"button":l?"toggle":d?"toggle":"button",Object(i.createElement)(c.PostPublishButton,{forceIsDirty:n,forceIsSaving:o,isOpen:b,isToggle:"toggle"===t,onToggle:m})});var bt=Object(x.compose)(Object(u.withSelect)(function(e){return{hasActiveMetaboxes:e("core/edit-post").hasMetaBoxes(),hasBlockSelection:!!e("core/editor").getBlockSelectionStart(),isEditorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isSaving:e("core/edit-post").isSavingMetaBoxes()}}),Object(u.withDispatch)(function(e,t){var n=t.hasBlockSelection,o=e("core/edit-post"),r=o.openGeneralSidebar,i=o.closeGeneralSidebar,c=n?"edit-post/block":"edit-post/document";return{openGeneralSidebar:function(){return r(c)},closeGeneralSidebar:i,hasBlockSelection:void 0}}))(function(e){var t=e.closeGeneralSidebar,n=e.hasActiveMetaboxes,o=e.isEditorSidebarOpened,r=e.isPublishSidebarOpened,l=e.isSaving,s=e.openGeneralSidebar,u=o?t:s;return Object(i.createElement)("div",{role:"region","aria-label":Object(g.__)("Editor top bar"),className:"edit-post-header",tabIndex:"-1"},Object(i.createElement)(ct,null),Object(i.createElement)("div",{className:"edit-post-header__settings"},!r&&Object(i.createElement)(c.PostSavedState,{forceIsDirty:n,forceIsSaving:l}),Object(i.createElement)(c.PostPreviewButton,{forceIsAutosaveable:n,forcePreviewLink:l?null:void 0}),Object(i.createElement)(dt,{forceIsDirty:n,forceIsSaving:l}),Object(i.createElement)("div",null,Object(i.createElement)(C.IconButton,{icon:"admin-generic",label:Object(g.__)("Settings"),onClick:u,isToggled:o,"aria-expanded":o,shortcut:Xe.toggleSidebar}),Object(i.createElement)(a.DotTip,{tipId:"core/editor.settings"},Object(g.__)("You’ll find more settings for your page and blocks in the sidebar. Click “Settings” to open it."))),Object(i.createElement)(ut.Slot,null),Object(i.createElement)(rt,null)))});var pt=Object(x.compose)(Object(u.withSelect)(function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled}}),Object(u.withDispatch)(function(e){return{onExit:function(){e("core/edit-post").switchEditorMode("visual")}}}))(function(e){var t=e.onExit,n=e.isRichEditingEnabled;return Object(i.createElement)("div",{className:"edit-post-text-editor"},n&&Object(i.createElement)("div",{className:"edit-post-text-editor__toolbar"},Object(i.createElement)("h2",null,Object(g.__)("Editing Code")),Object(i.createElement)(C.IconButton,{onClick:t,icon:"no-alt",shortcut:B.displayShortcut.secondary("m")},Object(g.__)("Exit Code Editor"))),Object(i.createElement)("div",{className:"edit-post-text-editor__body"},Object(i.createElement)(c.PostTitle,null),Object(i.createElement)(c.PostTextEditor,null)))});var mt=Object(x.compose)(Object(u.withSelect)(function(e){return{areAdvancedSettingsOpened:"edit-post/block"===e("core/edit-post").getActiveGeneralSidebarName()}}),Object(u.withDispatch)(function(e){return{openEditorSidebar:function(){return e("core/edit-post").openGeneralSidebar("edit-post/block")},closeSidebar:e("core/edit-post").closeGeneralSidebar}}),C.withSpokenMessages)(function(e){var t=e.areAdvancedSettingsOpened,n=e.closeSidebar,o=e.openEditorSidebar,r=e.onClick,c=void 0===r?h.noop:r,a=e.small,l=void 0!==a&&a,s=e.speak,u=t?Object(g.__)("Hide Block Settings"):Object(g.__)("Show Block Settings");return Object(i.createElement)(C.MenuItem,{className:"editor-block-settings-menu__control",onClick:Object(h.flow)(t?n:o,function(){s(t?Object(g.__)("Block settings closed"):Object(g.__)("Additional settings are now available in the Editor block settings sidebar"))},c),icon:"admin-generic",label:l?u:void 0,shortcut:Xe.toggleSidebar},!l&&u)}),Ot=Object(C.createSlotFill)("PluginBlockSettingsMenuGroup"),ft=Ot.Fill,jt=Ot.Slot;ft.Slot=Object(u.withSelect)(function(e,t){var n=t.fillProps.clientIds;return{selectedBlocks:e("core/editor").getBlocksByClientId(n)}})(function(e){var t=e.fillProps,n=e.selectedBlocks;return n=Object(h.map)(n,function(e){return e.name}),Object(i.createElement)(jt,{fillProps:Object(V.a)({},t,{selectedBlocks:n})},function(e){return!Object(h.isEmpty)(e)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"editor-block-settings-menu__separator"}),e)})});var ht=ft;var gt=function(){return Object(i.createElement)(c.BlockSelectionClearer,{className:"edit-post-visual-editor editor-styles-wrapper"},Object(i.createElement)(c.EditorGlobalKeyboardShortcuts,null),Object(i.createElement)(c.CopyHandler,null),Object(i.createElement)(c.MultiSelectScrollIntoView,null),Object(i.createElement)(c.WritingFlow,null,Object(i.createElement)(c.ObserveTyping,null,Object(i.createElement)(c.PostTitle,null),Object(i.createElement)(c.BlockList,null))),Object(i.createElement)(c._BlockSettingsMenuFirstItem,null,function(e){var t=e.onClose;return Object(i.createElement)(mt,{onClick:t})}),Object(i.createElement)(c._BlockSettingsMenuPluginsExtension,null,function(e){var t=e.clientIds,n=e.onClose;return Object(i.createElement)(ht.Slot,{fillProps:{clientIds:t,onClose:n}})}))},Et=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(O.a)(t).apply(this,arguments))).toggleMode=e.toggleMode.bind(Object(j.a)(Object(j.a)(e))),e.toggleSidebar=e.toggleSidebar.bind(Object(j.a)(Object(j.a)(e))),e}return Object(f.a)(t,e),Object(p.a)(t,[{key:"toggleMode",value:function(){var e=this.props,t=e.mode,n=e.switchMode;e.isRichEditingEnabled&&n("visual"===t?"text":"visual")}},{key:"toggleSidebar",value:function(e){e.preventDefault();var t=this.props,n=t.isEditorSidebarOpen,o=t.closeSidebar,r=t.openSidebar;n?o():r()}},{key:"render",value:function(){var e;return Object(i.createElement)(C.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(e={},Object(U.a)(e,Xe.toggleEditorMode.raw,this.toggleMode),Object(U.a)(e,Xe.toggleSidebar.raw,this.toggleSidebar),e)})}}]),t}(i.Component),vt=Object(x.compose)([Object(u.withSelect)(function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,mode:e("core/edit-post").getEditorMode(),isEditorSidebarOpen:e("core/edit-post").isEditorSidebarOpened(),hasBlockSelection:!!e("core/editor").getBlockSelectionStart()}}),Object(u.withDispatch)(function(e,t){var n=t.hasBlockSelection;return{switchMode:function(t){e("core/edit-post").switchEditorMode(t)},openSidebar:function(){var t=n?"edit-post/block":"edit-post/document";e("core/edit-post").openGeneralSidebar(t)},closeSidebar:e("core/edit-post").closeGeneralSidebar}})])(Et),yt=B.displayShortcutList.primary,_t=B.displayShortcutList.primaryShift,St=B.displayShortcutList.primaryAlt,Pt=B.displayShortcutList.secondary,kt=B.displayShortcutList.access,wt=B.displayShortcutList.ctrl,Ct=B.displayShortcutList.alt,xt=B.displayShortcutList.ctrlShift,Tt=B.displayShortcutList.shiftAlt,Nt=[{title:Object(g.__)("Global shortcuts"),shortcuts:[{keyCombination:kt("h"),description:Object(g.__)("Display this help.")},{keyCombination:yt("s"),description:Object(g.__)("Save your changes.")},{keyCombination:yt("z"),description:Object(g.__)("Undo your last changes.")},{keyCombination:_t("z"),description:Object(g.__)("Redo your last undo.")},{keyCombination:_t(","),description:Object(g.__)("Show or hide the settings sidebar."),ariaLabel:B.shortcutAriaLabel.primaryShift(",")},{keyCombination:kt("o"),description:Object(g.__)("Open the block navigation menu.")},{keyCombination:wt("`"),description:Object(g.__)("Navigate to the next part of the editor."),ariaLabel:B.shortcutAriaLabel.ctrl("`")},{keyCombination:xt("`"),description:Object(g.__)("Navigate to the previous part of the editor."),ariaLabel:B.shortcutAriaLabel.ctrlShift("`")},{keyCombination:Tt("n"),description:Object(g.__)("Navigate to the next part of the editor (alternative).")},{keyCombination:Tt("p"),description:Object(g.__)("Navigate to the previous part of the editor (alternative).")},{keyCombination:Ct("F10"),description:Object(g.__)("Navigate to the nearest toolbar.")},{keyCombination:Pt("m"),description:Object(g.__)("Switch between Visual Editor and Code Editor.")}]},{title:Object(g.__)("Selection shortcuts"),shortcuts:[{keyCombination:yt("a"),description:Object(g.__)("Select all text when typing. Press again to select all blocks.")},{keyCombination:"Esc",description:Object(g.__)("Clear selection."),ariaLabel:Object(g.__)("Escape")}]},{title:Object(g.__)("Block shortcuts"),shortcuts:[{keyCombination:_t("d"),description:Object(g.__)("Duplicate the selected block(s).")},{keyCombination:kt("z"),description:Object(g.__)("Remove the selected block(s).")},{keyCombination:St("t"),description:Object(g.__)("Insert a new block before the selected block(s).")},{keyCombination:St("y"),description:Object(g.__)("Insert a new block after the selected block(s).")},{keyCombination:"/",description:Object(g.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(g.__)("Forward-slash")}]},{title:Object(g.__)("Text formatting"),shortcuts:[{keyCombination:yt("b"),description:Object(g.__)("Make the selected text bold.")},{keyCombination:yt("i"),description:Object(g.__)("Make the selected text italic.")},{keyCombination:yt("u"),description:Object(g.__)("Underline the selected text.")},{keyCombination:yt("k"),description:Object(g.__)("Convert the selected text into a link.")},{keyCombination:_t("k"),description:Object(g.__)("Remove a link.")},{keyCombination:kt("d"),description:Object(g.__)("Add a strikethrough to the selected text.")},{keyCombination:kt("x"),description:Object(g.__)("Display the selected text in a monospaced font.")}]}],Mt="edit-post/keyboard-shortcut-help",At=function(e){var t=e.shortcuts;return Object(i.createElement)("dl",{className:"edit-post-keyboard-shortcut-help__shortcut-list"},t.map(function(e,t){var n=e.keyCombination,o=e.description,r=e.ariaLabel;return Object(i.createElement)("div",{className:"edit-post-keyboard-shortcut-help__shortcut",key:t},Object(i.createElement)("dt",{className:"edit-post-keyboard-shortcut-help__shortcut-term"},Object(i.createElement)("kbd",{className:"edit-post-keyboard-shortcut-help__shortcut-key-combination","aria-label":r},function(e){return e.map(function(e,t){return"+"===e?Object(i.createElement)(i.Fragment,{key:t},e):Object(i.createElement)("kbd",{key:t,className:"edit-post-keyboard-shortcut-help__shortcut-key"},e)})}(Object(h.castArray)(n)))),Object(i.createElement)("dd",{className:"edit-post-keyboard-shortcut-help__shortcut-description"},o))}))},Bt=function(e){var t=e.title,n=e.shortcuts;return Object(i.createElement)("section",{className:"edit-post-keyboard-shortcut-help__section"},Object(i.createElement)("h2",{className:"edit-post-keyboard-shortcut-help__section-title"},t),Object(i.createElement)(At,{shortcuts:n}))};var It=Object(x.compose)([Object(u.withSelect)(function(e){return{isModalActive:e("core/edit-post").isModalActive(Mt)}}),Object(u.withDispatch)(function(e,t){var n=t.isModalActive,o=e("core/edit-post"),r=o.openModal,i=o.closeModal;return{toggleModal:function(){return n?i():r(Mt)}}})])(function(e){var t=e.isModalActive,n=e.toggleModal,o=Object(i.createElement)("span",{className:"edit-post-keyboard-shortcut-help__title"},Object(g.__)("Keyboard Shortcuts"));return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(C.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(U.a)({},B.rawShortcut.access("h"),n)}),t&&Object(i.createElement)(C.Modal,{className:"edit-post-keyboard-shortcut-help",title:o,closeLabel:Object(g.__)("Close"),onRequestClose:n},Nt.map(function(e,t){return Object(i.createElement)(Bt,Object(P.a)({key:t},e))})))}),Lt=function(e){var t=e.title,n=e.children;return Object(i.createElement)("section",{className:"edit-post-options-modal__section"},Object(i.createElement)("h2",{className:"edit-post-options-modal__section-title"},t),n)};var Dt=function(e){var t=e.label,n=e.isChecked,o=e.onChange;return Object(i.createElement)(C.CheckboxControl,{className:"edit-post-options-modal__option",label:t,checked:n,onChange:o})},Ft=function(e){function t(e){var n,o=e.isChecked;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(O.a)(t).apply(this,arguments))).toggleCustomFields=n.toggleCustomFields.bind(Object(j.a)(Object(j.a)(n))),n.state={isChecked:o},n}return Object(f.a)(t,e),Object(p.a)(t,[{key:"toggleCustomFields",value:function(){document.getElementById("toggle-custom-fields-form").submit(),this.setState({isChecked:!this.props.isChecked})}},{key:"render",value:function(){var e=this.props.label,t=this.state.isChecked;return Object(i.createElement)(Dt,{label:e,isChecked:t,onChange:this.toggleCustomFields})}}]),t}(i.Component),Rt=Object(u.withSelect)(function(e){return{isChecked:!!e("core/editor").getEditorSettings().enableCustomFields}})(Ft),Gt=Object(x.compose)(Object(u.withSelect)(function(e,t){var n=t.panelName,o=e("core/edit-post"),r=o.isEditorPanelEnabled;return{isRemoved:(0,o.isEditorPanelRemoved)(n),isChecked:r(n)}}),Object(x.ifCondition)(function(e){return!e.isRemoved}),Object(u.withDispatch)(function(e,t){var n=t.panelName;return{onChange:function(){return e("core/edit-post").toggleEditorPanelEnabled(n)}}}))(Dt),Ut=Object(x.compose)(Object(u.withSelect)(function(e){return{isChecked:e("core/editor").isPublishSidebarEnabled()}}),Object(u.withDispatch)(function(e){var t=e("core/editor"),n=t.enablePublishSidebar,o=t.disablePublishSidebar;return{onChange:function(e){return e?n():o()}}}),Object(l.ifViewportMatches)("medium"))(Dt),Vt=function(e){function t(e){var n,o=e.isChecked;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(O.a)(t).apply(this,arguments))).state={isChecked:o},n}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentWillUnmount",value:function(){this.state.isChecked!==this.props.isChecked&&this.props.onChange(this.state.isChecked)}},{key:"render",value:function(){var e=this;return Object(i.createElement)(Dt,{label:this.props.label,isChecked:this.state.isChecked,onChange:function(t){return e.setState({isChecked:t})}})}}]),t}(i.Component),Ht=Object(x.compose)(Object(u.withSelect)(function(e){return{isChecked:e("core/nux").areTipsEnabled()}}),Object(u.withDispatch)(function(e){var t=e("core/nux"),n=t.enableTips,o=t.disableTips;return{onChange:function(e){return e?n():o()}}}))(Vt);var Wt=Object(u.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(k.a)(e,["areCustomFieldsRegistered","metaBoxes"]),r=Object(h.filter)(n,function(e){return"postcustom"!==e.id});return t||0!==r.length?Object(i.createElement)(Lt,o,t&&Object(i.createElement)(Rt,{label:Object(g.__)("Custom Fields")}),Object(h.map)(r,function(e){var t=e.id,n=e.title;return Object(i.createElement)(Gt,{key:t,label:n,panelName:"meta-box-".concat(t)})})):null});var qt=Object(x.compose)(Object(u.withSelect)(function(e){return{isModalActive:e("core/edit-post").isModalActive("edit-post/options")}}),Object(u.withDispatch)(function(e){return{closeModal:function(){return e("core/edit-post").closeModal()}}}))(function(e){var t=e.isModalActive,n=e.closeModal;return t?Object(i.createElement)(C.Modal,{className:"edit-post-options-modal",title:Object(i.createElement)("span",{className:"edit-post-options-modal__title"},Object(g.__)("Options")),closeLabel:Object(g.__)("Close"),onRequestClose:n},Object(i.createElement)(Lt,{title:Object(g.__)("General")},Object(i.createElement)(Ut,{label:Object(g.__)("Enable Pre-publish Checks")}),Object(i.createElement)(Ht,{label:Object(g.__)("Enable Tips")})),Object(i.createElement)(Lt,{title:Object(g.__)("Document Panels")},Object(i.createElement)(c.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(i.createElement)(Gt,{label:Object(h.get)(t,["labels","menu_name"]),panelName:"taxonomy-panel-".concat(t.slug)})}}),Object(i.createElement)(Gt,{label:Object(g.__)("Featured Image"),panelName:"featured-image"}),Object(i.createElement)(c.PostExcerptCheck,null,Object(i.createElement)(Gt,{label:Object(g.__)("Excerpt"),panelName:"post-excerpt"})),Object(i.createElement)(Gt,{label:Object(g.__)("Discussion"),panelName:"discussion-panel"}),Object(i.createElement)(c.PageAttributesCheck,null,Object(i.createElement)(Gt,{label:Object(g.__)("Page Attributes"),panelName:"page-attributes"}))),Object(i.createElement)(Wt,{title:Object(g.__)("Advanced Panels")})):null}),Xt=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(O.a)(t).apply(this,arguments))).bindContainerNode=e.bindContainerNode.bind(Object(j.a)(Object(j.a)(e))),e}return Object(f.a)(t,e),Object(p.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=Ve()("edit-post-meta-boxes-area","is-".concat(t),{"is-loading":n});return Object(i.createElement)("div",{className:o},n&&Object(i.createElement)(C.Spinner,null),Object(i.createElement)("div",{className:"edit-post-meta-boxes-area__container",ref:this.bindContainerNode}),Object(i.createElement)("div",{className:"edit-post-meta-boxes-area__clear"}))}}]),t}(i.Component),Kt=Object(u.withSelect)(function(e){return{isSaving:e("core/edit-post").isSavingMetaBoxes()}})(Xt),Qt=function(e){function t(){return Object(b.a)(this,t),Object(m.a)(this,Object(O.a)(t).apply(this,arguments))}return Object(f.a)(t,e),Object(p.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&&(o.style.display=n?"":"none")}},{key:"render",value:function(){return null}}]),t}(i.Component),zt=Object(u.withSelect)(function(e,t){var n=t.id;return{isVisible:e("core/edit-post").isEditorPanelEnabled("meta-box-".concat(n))}})(Qt);var Jt=Object(u.withSelect)(function(e,t){var n=t.location,o=e("core/edit-post"),r=o.isMetaBoxLocationVisible;return{metaBoxes:(0,o.getMetaBoxesPerLocation)(n),isVisible:r(n)}})(function(e){var t=e.location,n=e.isVisible,o=e.metaBoxes;return Object(i.createElement)(i.Fragment,null,Object(h.map)(o,function(e){var t=e.id;return Object(i.createElement)(zt,{key:t,id:t})}),n&&Object(i.createElement)(Kt,{location:t}))}),Yt=Object(C.createSlotFill)("Sidebar"),$t=Yt.Fill,Zt=Yt.Slot,en=Object(x.compose)(Object(u.withSelect)(function(e,t){var n=t.name;return{isActive:e("core/edit-post").getActiveGeneralSidebarName()===n}}),Object(x.ifCondition)(function(e){return e.isActive}),C.withFocusReturn)(function(e){var t=e.children,n=e.label;return Object(i.createElement)($t,null,Object(i.createElement)("div",{className:"edit-post-sidebar",role:"region","aria-label":n,tabIndex:"-1"},t))});en.Slot=Zt;var tn=en,nn=Object(x.compose)(Object(u.withSelect)(function(e){return{title:e("core/editor").getEditedPostAttribute("title")}}),Object(u.withDispatch)(function(e){return{closeSidebar:e("core/edit-post").closeGeneralSidebar}}))(function(e){var t=e.children,n=e.className,o=e.closeLabel,r=e.closeSidebar,c=e.title;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"components-panel__header edit-post-sidebar-header__small"},Object(i.createElement)("span",{className:"edit-post-sidebar-header__title"},c||Object(g.__)("(no title)")),Object(i.createElement)(C.IconButton,{onClick:r,icon:"no-alt",label:o})),Object(i.createElement)("div",{className:Ve()("components-panel__header edit-post-sidebar-header",n)},t,Object(i.createElement)(C.IconButton,{onClick:r,icon:"no-alt",label:o,shortcut:Xe.toggleSidebar})))}),on=Object(u.withDispatch)(function(e){var t=e("core/edit-post").openGeneralSidebar,n=e("core/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(g.__)("Block"),c="edit-post/document"===o?[Object(g.__)("Document settings (selected)"),"is-active"]:[Object(g.__)("Document settings"),""],a=Object(J.a)(c,2),l=a[0],s=a[1],u="edit-post/block"===o?[Object(g.__)("Block settings (selected)"),"is-active"]:[Object(g.__)("Block settings"),""],d=Object(J.a)(u,2),b=d[0],p=d[1];return Object(i.createElement)(nn,{className:"edit-post-sidebar__panel-tabs",closeLabel:Object(g.__)("Close settings")},Object(i.createElement)("ul",null,Object(i.createElement)("li",null,Object(i.createElement)("button",{onClick:t,className:"edit-post-sidebar__panel-tab ".concat(s),"aria-label":l,"data-label":Object(g.__)("Document")},Object(g.__)("Document"))),Object(i.createElement)("li",null,Object(i.createElement)("button",{onClick:n,className:"edit-post-sidebar__panel-tab ".concat(p),"aria-label":b,"data-label":r},r))))});var rn=function(){return Object(i.createElement)(c.PostVisibilityCheck,{render:function(e){var t=e.canEdit;return Object(i.createElement)(C.PanelRow,{className:"edit-post-post-visibility"},Object(i.createElement)("span",null,Object(g.__)("Visibility")),!t&&Object(i.createElement)("span",null,Object(i.createElement)(c.PostVisibilityLabel,null)),t&&Object(i.createElement)(C.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-visibility__dialog",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(i.createElement)(C.Button,{type:"button","aria-expanded":t,className:"edit-post-post-visibility__toggle",onClick:n,isLink:!0},Object(i.createElement)(c.PostVisibilityLabel,null))},renderContent:function(){return Object(i.createElement)(c.PostVisibility,null)}}))}})};function cn(){return Object(i.createElement)(c.PostTrashCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(c.PostTrash,null)))}var an=Object(x.withInstanceId)(function(e){var t=e.instanceId;return Object(i.createElement)(c.PostScheduleCheck,null,Object(i.createElement)(C.PanelRow,{className:"edit-post-post-schedule"},Object(i.createElement)("label",{htmlFor:"edit-post-post-schedule__toggle-".concat(t),id:"edit-post-post-schedule__heading-".concat(t)},Object(g.__)("Publish")),Object(i.createElement)(C.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-schedule__dialog",renderToggle:function(e){var n=e.onToggle,o=e.isOpen;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("label",{className:"edit-post-post-schedule__label",htmlFor:"edit-post-post-schedule__toggle-".concat(t)},Object(i.createElement)(c.PostScheduleLabel,null)," ",Object(g.__)("Click to change")),Object(i.createElement)(C.Button,{id:"edit-post-post-schedule__toggle-".concat(t),type:"button",className:"edit-post-post-schedule__toggle",onClick:n,"aria-expanded":o,"aria-live":"polite",isLink:!0},Object(i.createElement)(c.PostScheduleLabel,null)))},renderContent:function(){return Object(i.createElement)(c.PostSchedule,null)}})))});var ln=function(){return Object(i.createElement)(c.PostStickyCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(c.PostSticky,null)))};var sn=function(){return Object(i.createElement)(c.PostAuthorCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(c.PostAuthor,null)))};var un=function(){return Object(i.createElement)(c.PostFormatCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(c.PostFormat,null)))};var dn=function(){return Object(i.createElement)(c.PostPendingStatusCheck,null,Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(c.PostPendingStatus,null)))},bn=Object(C.createSlotFill)("PluginPostStatusInfo"),pn=bn.Fill,mn=bn.Slot,On=function(e){var t=e.children,n=e.className;return Object(i.createElement)(pn,null,Object(i.createElement)(C.PanelRow,{className:n},t))};On.Slot=mn;var fn=On;var jn=Object(x.compose)([Object(u.withSelect)(function(e){return{isOpened:e("core/edit-post").isEditorPanelOpened("post-status")}}),Object(u.withDispatch)(function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("post-status")}}})])(function(e){var t=e.isOpened,n=e.onTogglePanel;return Object(i.createElement)(C.PanelBody,{className:"edit-post-post-status",title:Object(g.__)("Status & Visibility"),opened:t,onToggle:n},Object(i.createElement)(fn.Slot,null,function(e){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(rn,null),Object(i.createElement)(an,null),Object(i.createElement)(un,null),Object(i.createElement)(ln,null),Object(i.createElement)(dn,null),Object(i.createElement)(sn,null),e,Object(i.createElement)(cn,null))}))});var hn=function(){return Object(i.createElement)(c.PostLastRevisionCheck,null,Object(i.createElement)(C.PanelBody,{className:"edit-post-last-revision__panel"},Object(i.createElement)(c.PostLastRevision,null)))};var gn=Object(x.compose)(Object(u.withSelect)(function(e,t){var n=Object(h.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(u.withDispatch)(function(e,t){return{onTogglePanel:function(){e("core/edit-post").toggleEditorPanelOpened(t.panelName)}}}))(function(e){var t=e.isEnabled,n=e.taxonomy,o=e.isOpened,r=e.onTogglePanel,c=e.children;if(!t)return null;var a=Object(h.get)(n,["labels","menu_name"]);return a?Object(i.createElement)(C.PanelBody,{title:a,opened:o,onToggle:r},c):null});var En=function(){return Object(i.createElement)(c.PostTaxonomiesCheck,null,Object(i.createElement)(c.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(i.createElement)(gn,{taxonomy:t},e)}}))};var vn=Object(u.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core").getPostType,o=e("core/edit-post"),r=o.isEditorPanelEnabled,i=o.isEditorPanelOpened;return{postType:n(t("type")),isEnabled:r("featured-image"),isOpened:i("featured-image")}}),yn=Object(u.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(h.partial)(t,"featured-image")}}),_n=Object(x.compose)(vn,yn)(function(e){var t=e.isEnabled,n=e.isOpened,o=e.postType,r=e.onTogglePanel;return t?Object(i.createElement)(c.PostFeaturedImageCheck,null,Object(i.createElement)(C.PanelBody,{title:Object(h.get)(o,["labels","featured_image"],Object(g.__)("Featured Image")),opened:n,onToggle:r},Object(i.createElement)(c.PostFeaturedImage,null))):null});var Sn=Object(x.compose)([Object(u.withSelect)(function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("post-excerpt"),isOpened:e("core/edit-post").isEditorPanelOpened("post-excerpt")}}),Object(u.withDispatch)(function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("post-excerpt")}}})])(function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel;return t?Object(i.createElement)(c.PostExcerptCheck,null,Object(i.createElement)(C.PanelBody,{title:Object(g.__)("Excerpt"),opened:n,onToggle:o},Object(i.createElement)(c.PostExcerpt,null))):null});var Pn=Object(x.compose)([Object(u.withSelect)(function(e){var t=e("core/editor"),n=t.isEditedPostNew,o=t.isPermalinkEditable,r=t.getCurrentPost,i=t.isCurrentPostPublished,c=t.getPermalinkParts,a=t.getEditedPostAttribute,l=e("core/edit-post").isEditorPanelOpened,s=e("core").getPostType,u=r(),d=u.link,b=u.id,p=s(a("type"));return{isNew:n(),postLink:d,isEditable:o(),isPublished:i(),isOpened:l("post-link"),permalinkParts:c(),isViewable:Object(h.get)(p,["viewable"],!1),postTitle:a("title"),postSlug:a("slug"),postID:b}}),Object(x.ifCondition)(function(e){var t=e.isNew,n=e.postLink,o=e.isViewable;return!t&&n&&o}),Object(u.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(x.withState)({forceEmptyField:!1})])(function(e){var t,n,o,r=e.isOpened,a=e.onTogglePanel,l=e.isEditable,s=e.postLink,u=e.permalinkParts,d=e.editPermalink,b=e.forceEmptyField,p=e.setState,m=e.postTitle,O=e.postSlug,f=e.postID,j=u.prefix,h=u.suffix,E=O||Object(c.cleanForSlug)(m)||f;return l&&(t=j&&Object(i.createElement)("span",{className:"edit-post-post-link__link-prefix"},j),n=E&&Object(i.createElement)("span",{className:"edit-post-post-link__link-post-name"},E),o=h&&Object(i.createElement)("span",{className:"edit-post-post-link__link-suffix"},h)),Object(i.createElement)(C.PanelBody,{title:Object(g.__)("Permalink"),opened:r,onToggle:a},l&&Object(i.createElement)(C.TextControl,{label:Object(g.__)("URL"),value:b?"":E,onChange:function(e){d(e),e?b&&p({forceEmptyField:!1}):b||p({forceEmptyField:!0})},onBlur:function(e){d(Object(c.cleanForSlug)(e.target.value)),b&&p({forceEmptyField:!1})}}),Object(i.createElement)("p",{className:"edit-post-post-link__preview-label"},Object(g.__)("Preview")),Object(i.createElement)(C.ExternalLink,{className:"edit-post-post-link__link",href:s,target:"_blank"},l?Object(i.createElement)(i.Fragment,null,t,n,o):s))});var kn=Object(x.compose)([Object(u.withSelect)(function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("discussion-panel"),isOpened:e("core/edit-post").isEditorPanelOpened("discussion-panel")}}),Object(u.withDispatch)(function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("discussion-panel")}}})])(function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel;return t?Object(i.createElement)(c.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(i.createElement)(C.PanelBody,{title:Object(g.__)("Discussion"),opened:n,onToggle:o},Object(i.createElement)(c.PostTypeSupportCheck,{supportKeys:"comments"},Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(c.PostComments,null))),Object(i.createElement)(c.PostTypeSupportCheck,{supportKeys:"trackbacks"},Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(c.PostPingbacks,null))))):null});var wn=Object(u.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core/edit-post"),o=n.isEditorPanelEnabled,r=n.isEditorPanelOpened,i=e("core").getPostType;return{isEnabled:o("page-attributes"),isOpened:r("page-attributes"),postType:i(t("type"))}}),Cn=Object(u.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(h.partial)(t,"page-attributes")}}),xn=Object(x.compose)(wn,Cn)(function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel,r=e.postType;return t&&r?Object(i.createElement)(c.PageAttributesCheck,null,Object(i.createElement)(C.PanelBody,{title:Object(h.get)(r,["labels","attributes"],Object(g.__)("Page Attributes")),opened:n,onToggle:o},Object(i.createElement)(c.PageTemplate,null),Object(i.createElement)(c.PageAttributesParent,null),Object(i.createElement)(C.PanelRow,null,Object(i.createElement)(c.PageAttributesOrder,null)))):null}),Tn=Object(x.compose)(Object(u.withSelect)(function(e){var t=e("core/edit-post"),n=t.getActiveGeneralSidebarName;return{isEditorSidebarOpened:(0,t.isEditorSidebarOpened)(),sidebarName:n()}}),Object(x.ifCondition)(function(e){return e.isEditorSidebarOpened}))(function(e){var t=e.sidebarName;return Object(i.createElement)(tn,{name:t,label:Object(g.__)("Editor settings")},Object(i.createElement)(on,{sidebarName:t}),Object(i.createElement)(C.Panel,null,"edit-post/document"===t&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(jn,null),Object(i.createElement)(hn,null),Object(i.createElement)(Pn,null),Object(i.createElement)(En,null),Object(i.createElement)(_n,null),Object(i.createElement)(Sn,null),Object(i.createElement)(kn,null),Object(i.createElement)(xn,null),Object(i.createElement)(Jt,{location:"side"})),"edit-post/block"===t&&Object(i.createElement)(C.PanelBody,{className:"edit-post-settings-sidebar__panel-block"},Object(i.createElement)(c.BlockInspector,null))))}),Nn=Object(C.createSlotFill)("PluginPostPublishPanel"),Mn=Nn.Fill,An=Nn.Slot,Bn=function(e){var t=e.children,n=e.className,o=e.title,r=e.initialOpen,c=void 0!==r&&r;return Object(i.createElement)(Mn,null,Object(i.createElement)(C.PanelBody,{className:n,initialOpen:c||!o,title:o},t))};Bn.Slot=An;var In=Bn,Ln=Object(C.createSlotFill)("PluginPrePublishPanel"),Dn=Ln.Fill,Fn=Ln.Slot,Rn=function(e){var t=e.children,n=e.className,o=e.title,r=e.initialOpen,c=void 0!==r&&r;return Object(i.createElement)(Dn,null,Object(i.createElement)(C.PanelBody,{className:n,initialOpen:c||!o,title:o},t))};Rn.Slot=Fn;var Gn=Rn,Un=function(e){function t(){return Object(b.a)(this,t),Object(m.a)(this,Object(O.a)(t).apply(this,arguments))}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){this.isSticky=!1,this.sync(),document.body.classList.contains("sticky-menu")&&(this.isSticky=!0,document.body.classList.remove("sticky-menu"))}},{key:"componentWillUnmount",value:function(){this.isSticky&&document.body.classList.add("sticky-menu")}},{key:"componentDidUpdate",value:function(e){this.props.isActive!==e.isActive&&this.sync()}},{key:"sync",value:function(){this.props.isActive?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode")}},{key:"render",value:function(){return null}}]),t}(i.Component),Vn=Object(u.withSelect)(function(e){return{isActive:e("core/edit-post").isFeatureActive("fullscreenMode")}})(Un),Hn={"notice-success":"success",updated:"success","notice-warning":"warning","notice-error":"error",error:"error","notice-info":"info"};var Wn=function(e){function t(){return Object(b.a)(this,t),Object(m.a)(this,Object(O.a)(t).apply(this,arguments))}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){this.convertNotices()}},{key:"convertNotices",value:function(){var e=this.props.createNotice;Object(G.a)(document.querySelectorAll("#wpbody-content > .notice")).reverse().forEach(function(t){var n=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=e.classList[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){var c=r.value;if(Hn.hasOwnProperty(c))return Hn[c]}}catch(e){n=!0,o=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw o}}}(t),o=function(e){var t=[],n=!0,o=!1,r=void 0;try{for(var i,c=e.childNodes[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=i.value;a.nodeType!==window.Node.ELEMENT_NODE?a.nodeValue.trim()&&t.push(a.nodeValue):a.classList.contains("notice-dismiss")||t.push(a.outerHTML)}}catch(e){o=!0,r=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw r}}return t.join("")}(t),r=t.classList.contains("is-dismissible");e(n,o,{speak:!1,__unstableHTML:!0,isDismissible:r}),t.parentNode.removeChild(t)})}},{key:"render",value:function(){return null}}]),t}(i.Component),qn=Object(u.withDispatch)(function(e){return{createNotice:e("core/notices").createNotice}})(Wn);var Xn=Object(x.compose)(Object(u.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(u.withDispatch)(function(e){var t=e("core/edit-post");return{closePublishSidebar:t.closePublishSidebar,togglePublishSidebar:t.togglePublishSidebar}}),C.navigateRegions,Object(l.withViewportMatch)({isMobileViewport:"< small"}))(function(e){var t=e.mode,n=e.editorSidebarOpened,o=e.pluginSidebarOpened,r=e.publishSidebarOpened,a=e.hasFixedToolbar,l=e.closePublishSidebar,s=e.togglePublishSidebar,u=e.hasActiveMetaboxes,d=e.isSaving,b=e.isMobileViewport,p=e.isRichEditingEnabled,m=n||o||r,O=Ve()("edit-post-layout",{"is-sidebar-opened":m,"has-fixed-toolbar":a}),f={role:"region","aria-label":Object(g.__)("Editor publish"),tabIndex:-1};return Object(i.createElement)("div",{className:O},Object(i.createElement)(Vn,null),Object(i.createElement)(qe,null),Object(i.createElement)(c.UnsavedChangesWarning,null),Object(i.createElement)(c.AutosaveMonitor,null),Object(i.createElement)(qn,null),Object(i.createElement)(bt,null),Object(i.createElement)("div",{className:"edit-post-layout__content",role:"region","aria-label":Object(g.__)("Editor content"),tabIndex:"-1"},Object(i.createElement)(c.EditorNotices,null),Object(i.createElement)(c.PreserveScrollInReorder,null),Object(i.createElement)(vt,null),Object(i.createElement)(It,null),Object(i.createElement)(qt,null),("text"===t||!p)&&Object(i.createElement)(pt,null),p&&"visual"===t&&Object(i.createElement)(gt,null),Object(i.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(i.createElement)(Jt,{location:"normal"})),Object(i.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(i.createElement)(Jt,{location:"advanced"}))),r?Object(i.createElement)(c.PostPublishPanel,Object(P.a)({},f,{onClose:l,forceIsDirty:u,forceIsSaving:d,PrePublishExtension:Gn.Slot,PostPublishExtension:In.Slot})):Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",Object(P.a)({className:"edit-post-toggle-publish-panel"},f),Object(i.createElement)(C.Button,{isDefault:!0,type:"button",className:"edit-post-toggle-publish-panel__button",onClick:s,"aria-expanded":!1},Object(g.__)("Open publish panel"))),Object(i.createElement)(Tn,null),Object(i.createElement)(tn.Slot,null),b&&m&&Object(i.createElement)(C.ScrollLock,null)),Object(i.createElement)(C.Popover.Slot,null),Object(i.createElement)(M.PluginArea,null))});var Kn=Object(u.withSelect)(function(e,t){var n=t.postId,o=t.postType;return{hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),focusMode:e("core/edit-post").isFeatureActive("focusMode"),post:e("core").getEntityRecord("postType",o,n)}})(function(e){var t=e.settings,n=e.hasFixedToolbar,o=e.focusMode,r=e.post,a=e.initialEdits,l=e.onError,s=Object(k.a)(e,["settings","hasFixedToolbar","focusMode","post","initialEdits","onError"]);if(!r)return null;var u=Object(V.a)({},t,{hasFixedToolbar:n,focusMode:o});return Object(i.createElement)(i.StrictMode,null,Object(i.createElement)(c.EditorProvider,Object(P.a)({settings:u,post:r,initialEdits:a},s),Object(i.createElement)(c.ErrorBoundary,{onError:l},Object(i.createElement)(Xn,null)),Object(i.createElement)(c.PostLockedModal,null)))}),Qn=function(e,t){return!Array.isArray(t)||function(e,t){return 0===Object(h.difference)(e,t).length}(e,t)},zn=function(e){var t=e.allowedBlocks,n=e.icon,o=e.label,r=e.onClick,c=e.small,a=e.role;return Object(i.createElement)(ht,null,function(e){var l=e.selectedBlocks,s=e.onClose;return Qn(l,t)?Object(i.createElement)(C.IconButton,{className:"editor-block-settings-menu__control",onClick:Object(x.compose)(r,s),icon:n||"admin-plugins",label:c?o:void 0,role:a},!c&&o):null})};var Jn=Object(x.compose)(Object(M.withPluginContext)(function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.name)}}),Object(u.withSelect)(function(e,t){var n=t.sidebarName,o=e("core/edit-post"),r=o.getActiveGeneralSidebarName,i=o.isPluginItemPinned;return{isActive:r()===n,isPinned:i(n)}}),Object(u.withDispatch)(function(e,t){var n=t.isActive,o=t.sidebarName,r=e("core/edit-post"),i=r.closeGeneralSidebar,c=r.openGeneralSidebar,a=r.togglePinnedPluginItem;return{togglePin:function(){a(o)},toggleSidebar:function(){n?i():c(o)}}}))(function(e){var t=e.children,n=e.icon,o=e.isActive,r=e.isPinnable,c=void 0===r||r,a=e.isPinned,l=e.sidebarName,s=e.title,u=e.togglePin,d=e.toggleSidebar;return Object(i.createElement)(i.Fragment,null,c&&Object(i.createElement)(ut,null,a&&Object(i.createElement)(C.IconButton,{icon:n,label:s,onClick:d,isToggled:o,"aria-expanded":o})),Object(i.createElement)(tn,{name:l,label:Object(g.__)("Editor plugins")},Object(i.createElement)(nn,{closeLabel:Object(g.__)("Close plugin")},Object(i.createElement)("strong",null,s),c&&Object(i.createElement)(C.IconButton,{icon:a?"star-filled":"star-empty",label:a?Object(g.__)("Unpin from toolbar"):Object(g.__)("Pin to toolbar"),onClick:u,isToggled:a,"aria-expanded":a})),Object(i.createElement)(C.Panel,null,t)))}),Yn=Object(x.compose)(Object(M.withPluginContext)(function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.target)}}),Object(u.withSelect)(function(e,t){var n=t.sidebarName;return{isSelected:(0,e("core/edit-post").getActiveGeneralSidebarName)()===n}}),Object(u.withDispatch)(function(e,t){var n=t.isSelected,o=t.sidebarName,r=e("core/edit-post"),i=r.closeGeneralSidebar,c=r.openGeneralSidebar;return{onClick:n?i:function(){return c(o)}}}))(function(e){var t=e.children,n=e.icon,o=e.isSelected,r=e.onClick;return Object(i.createElement)($e,null,function(e){return Object(i.createElement)(C.MenuItem,{icon:o?"yes":n,isSelected:o,role:"menuitemcheckbox",onClick:Object(x.compose)(r,e.onClose)},t)})});function $n(e,t,n,o,r){Object(i.unmountComponentAtNode)(n);var c=$n.bind(null,e,t,n,o,r);Object(i.render)(Object(i.createElement)(Kn,{settings:o,onError:c,postId:t,postType:e,initialEdits:r,recovery:!0}),n)}function Zn(e,t,n,o,r){var c=document.getElementById(e),a=$n.bind(null,t,n,c,o,r);Object(s.registerCoreBlocks)(),Object(u.dispatch)("core/nux").triggerGuide(["core/editor.inserter","core/editor.settings","core/editor.preview","core/editor.publish"]),Object(i.render)(Object(i.createElement)(Kn,{settings:o,onError:a,postId:n,postType:t,initialEdits:r}),c)}n.d(t,"reinitializeEditor",function(){return $n}),n.d(t,"initializeEditor",function(){return Zn}),n.d(t,"PluginBlockSettingsMenuItem",function(){return zn}),n.d(t,"PluginPostPublishPanel",function(){return In}),n.d(t,"PluginPostStatusInfo",function(){return fn}),n.d(t,"PluginPrePublishPanel",function(){return Gn}),n.d(t,"PluginSidebar",function(){return Jn}),n.d(t,"PluginSidebarMoreMenuItem",function(){return Yn})},31:function(e,t,n){"use strict";var o,r;function i(e){return[e]}function c(e){return!!e&&"object"==typeof e}function a(){var e={clear:function(){e.head=null}};return e}function l(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,"a",function(){return o})},23:function(e,t){!function(){e.exports=this.wp.hooks}()},24:function(e,t){!function(){e.exports=this.wp.url}()},25:function(e,t,n){"use strict";var o=n(35);var i=n(36);function r(e,t){return Object(o.a)(e)||function(e,t){var n=[],o=!0,i=!1,r=void 0;try{for(var c,a=e[Symbol.iterator]();!(o=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);o=!0);}catch(e){i=!0,r=e}finally{try{o||null==a.return||a.return()}finally{if(i)throw r}}return n}(e,t)||Object(i.a)()}n.d(t,"a",function(){return r})},29: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 i(e){return(i="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 i})},3:function(e,t,n){"use strict";function o(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 o})},30:function(e,t){!function(){e.exports=this.wp.apiFetch}()},304:function(e,t,n){"use strict";n.r(t);var o={};n.r(o),n.d(o,"openGeneralSidebar",function(){return ee}),n.d(o,"closeGeneralSidebar",function(){return te}),n.d(o,"openModal",function(){return ne}),n.d(o,"closeModal",function(){return oe}),n.d(o,"openPublishSidebar",function(){return ie}),n.d(o,"closePublishSidebar",function(){return re}),n.d(o,"togglePublishSidebar",function(){return ce}),n.d(o,"toggleEditorPanelEnabled",function(){return ae}),n.d(o,"toggleEditorPanelOpened",function(){return le}),n.d(o,"removeEditorPanel",function(){return se}),n.d(o,"toggleFeature",function(){return ue}),n.d(o,"switchEditorMode",function(){return de}),n.d(o,"togglePinnedPluginItem",function(){return be}),n.d(o,"setAvailableMetaBoxesPerLocation",function(){return pe}),n.d(o,"requestMetaBoxUpdates",function(){return me}),n.d(o,"metaBoxUpdatesSuccess",function(){return Oe});var i={};n.r(i),n.d(i,"getEditorMode",function(){return je}),n.d(i,"isEditorSidebarOpened",function(){return he}),n.d(i,"isPluginSidebarOpened",function(){return ge}),n.d(i,"getActiveGeneralSidebarName",function(){return Ee}),n.d(i,"getPreferences",function(){return ve}),n.d(i,"getPreference",function(){return ye}),n.d(i,"isPublishSidebarOpened",function(){return _e}),n.d(i,"isEditorPanelRemoved",function(){return Se}),n.d(i,"isEditorPanelEnabled",function(){return Pe}),n.d(i,"isEditorPanelOpened",function(){return ke}),n.d(i,"isModalActive",function(){return we}),n.d(i,"isFeatureActive",function(){return Ce}),n.d(i,"isPluginItemPinned",function(){return xe}),n.d(i,"getActiveMetaBoxLocations",function(){return Te}),n.d(i,"isMetaBoxLocationVisible",function(){return Ne}),n.d(i,"isMetaBoxLocationActive",function(){return Me}),n.d(i,"getMetaBoxesPerLocation",function(){return Ae}),n.d(i,"getAllMetaBoxes",function(){return Be}),n.d(i,"hasMetaBoxes",function(){return Ie}),n.d(i,"isSavingMetaBoxes",function(){return Le});var r=n(0),c=(n(79),n(6)),a=n(52),l=n(37),s=(n(121),n(189)),u=n(5),d=n(23),b=n(10),p=n(9),m=n(12),O=n(13),f=n(14),j=n(3),h=n(2),g=n(1),E=function(){return wp.media.view.MediaFrame.Post.extend({createStates:function(){this.states.add([new wp.media.controller.Library({id:"gallery",title:wp.media.view.l10n.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"image"},this.options.library))}),new wp.media.controller.GalleryEdit({library:this.options.selection,editing:this.options.editing,menu:"gallery",displaySettings:!1,multiple:!0}),new wp.media.controller.GalleryAdd])}})},v=function(e){return Object(h.pick)(e,["sizes","mime","type","subtype","id","url","alt","link","caption"])},y=function(e){return wp.media.query({order:"ASC",orderby:"post__in",post__in:e,posts_per_page:-1,query:!0,type:"image"})},S=function(e){function t(e){var n,o=e.allowedTypes,i=e.multiple,r=void 0!==i&&i,c=e.gallery,a=void 0!==c&&c,l=e.title,s=void 0===l?Object(g.__)("Select or Upload Media"):l,u=e.modalClass,d=e.value;if(Object(b.a)(this,t),(n=Object(m.a)(this,Object(O.a)(t).apply(this,arguments))).openModal=n.openModal.bind(Object(j.a)(Object(j.a)(n))),n.onOpen=n.onOpen.bind(Object(j.a)(Object(j.a)(n))),n.onSelect=n.onSelect.bind(Object(j.a)(Object(j.a)(n))),n.onUpdate=n.onUpdate.bind(Object(j.a)(Object(j.a)(n))),n.onClose=n.onClose.bind(Object(j.a)(Object(j.a)(n))),a){var p=d?"gallery-edit":"gallery",f=E(),h=y(d),v=new wp.media.model.Selection(h.models,{props:h.props.toJSON(),multiple:r});n.frame=new f({mimeType:o,state:p,multiple:r,selection:v,editing:!!d}),wp.media.frame=n.frame}else{var _={title:s,button:{text:Object(g.__)("Select")},multiple:r};o&&(_.library={type:o}),n.frame=wp.media(_)}return u&&n.frame.$el.addClass(u),n.frame.on("select",n.onSelect),n.frame.on("update",n.onUpdate),n.frame.on("open",n.onOpen),n.frame.on("close",n.onClose),n}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentWillUnmount",value:function(){this.frame.remove()}},{key:"onUpdate",value:function(e){var t=this.props,n=t.onSelect,o=t.multiple,i=void 0!==o&&o,r=this.frame.state(),c=e||r.get("selection");c&&c.models.length&&n(i?c.models.map(function(e){return v(e.toJSON())}):v(c.models[0].toJSON()))}},{key:"onSelect",value:function(){var e=this.props,t=e.onSelect,n=e.multiple,o=void 0!==n&&n,i=this.frame.state().get("selection").toJSON();t(o?i:i[0])}},{key:"onOpen",value:function(){if(this.updateCollection(),this.props.value){if(!this.props.gallery){var e=this.frame.state().get("selection");Object(h.castArray)(this.props.value).map(function(t){e.add(wp.media.attachment(t))})}y(Object(h.castArray)(this.props.value)).more()}}},{key:"onClose",value:function(){var e=this.props.onClose;e&&e()}},{key:"updateCollection",value:function(){var e=this.frame.content.get();if(e&&e.collection){var t=e.collection;t.toArray().forEach(function(e){return e.trigger("destroy",e)}),t.mirroring._hasMore=!0,t.more()}}},{key:"openModal",value:function(){this.frame.open()}},{key:"render",value:function(){return this.props.render({open:this.openModal})}}]),t}(r.Component);Object(d.addFilter)("editor.MediaUpload","core/edit-post/components/media-upload/replace-media-upload",function(){return S});var P=n(18),k=n(21),w=n(11),C=n(4),x=n(7),T=Object(x.compose)(Object(u.withSelect)(function(e,t){var n=e("core/editor").getBlocks();if(Object(w.hasBlockSupport)(t.name,"multiple",!0))return{};var o=Object(h.find)(n,function(e){var n=e.name;return t.name===n});return{originalBlockClientId:o&&o.clientId!==t.clientId&&o.clientId}}),Object(u.withDispatch)(function(e,t){var n=t.originalBlockClientId;return{selectFirst:function(){return e("core/editor").selectBlock(n)}}})),N=Object(x.createHigherOrderComponent)(function(e){return T(function(t){var n=t.originalBlockClientId,o=t.selectFirst,i=Object(k.a)(t,["originalBlockClientId","selectFirst"]);if(!n)return Object(r.createElement)(e,i);var a=Object(w.getBlockType)(i.name),l=function(e){var t=Object(w.findTransform)(Object(w.getBlockTransforms)("to",e),function(e){var t=e.type,n=e.blocks;return"block"===t&&1===n.length});if(!t)return null;return Object(w.getBlockType)(t.blocks[0])}(i.name);return[Object(r.createElement)("div",{key:"invalid-preview",style:{minHeight:"60px"}},Object(r.createElement)(e,Object(P.a)({key:"block-edit"},i))),Object(r.createElement)(c.Warning,{key:"multiple-use-warning",actions:[Object(r.createElement)(C.Button,{key:"find-original",isLarge:!0,onClick:o},Object(g.__)("Find original")),Object(r.createElement)(C.Button,{key:"remove",isLarge:!0,onClick:function(){return i.onReplace([])}},Object(g.__)("Remove")),l&&Object(r.createElement)(C.Button,{key:"transform",isLarge:!0,onClick:function(){return i.onReplace(Object(w.createBlock)(l.name,i.attributes))}},Object(g.__)("Transform into:")," ",l.title)]},Object(r.createElement)("strong",null,a.title,": "),Object(g.__)("This block can only be used once."))]})},"withMultipleValidation");Object(d.addFilter)("editor.BlockEdit","core/edit-post/validate-multiple-use/with-multiple-validation",N);var M=n(62);var A=Object(x.compose)(Object(u.withSelect)(function(e){return{editedPostContent:e("core/editor").getEditedPostAttribute("content")}}),Object(x.withState)({hasCopied:!1}))(function(e){var t=e.editedPostContent,n=e.hasCopied,o=e.setState;return Object(r.createElement)(C.ClipboardButton,{text:t,className:"components-menu-item__button",onCopy:function(){return o({hasCopied:!0})},onFinishCopy:function(){return o({hasCopied:!1})}},n?Object(g.__)("Copied!"):Object(g.__)("Copy All Content"))}),B=n(17);var I=Object(u.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.openModal,n=e.onSelect;return Object(r.createElement)(C.MenuItem,{onClick:function(){n(),t("edit-post/keyboard-shortcut-help")},shortcut:B.displayShortcut.access("h")},Object(g.__)("Keyboard Shortcuts"))}),L=Object(C.createSlotFill)("ToolsMoreMenuGroup"),D=L.Fill,F=L.Slot;D.Slot=function(e){var t=e.fillProps;return Object(r.createElement)(F,{fillProps:t},function(e){return!Object(h.isEmpty)(e)&&Object(r.createElement)(C.MenuGroup,{label:Object(g.__)("Tools")},e)})};var R=D;Object(M.registerPlugin)("edit-post",{render:function(){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(R,null,function(e){var t=e.onClose;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(C.MenuItem,{role:"menuitem",href:"edit.php?post_type=wp_block"},Object(g.__)("Manage All Reusable Blocks")),Object(r.createElement)(I,{onSelect:t}),Object(r.createElement)(A,null))}))}});var G=n(19),U=n(15),V=n(8),H={editorMode:"visual",isGeneralSidebarDismissed:!1,panels:{"post-status":{opened:!0}},features:{fixedToolbar:!1},pinnedPluginItems:{}},W="edit-post/document",q=Object(u.combineReducers)({isGeneralSidebarDismissed:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_GENERAL_SIDEBAR":case"CLOSE_GENERAL_SIDEBAR":return"CLOSE_GENERAL_SIDEBAR"===t.type}return e},panels:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H.panels,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_PANEL_ENABLED":var n=t.panelName;return Object(V.a)({},e,Object(U.a)({},n,Object(V.a)({},e[n],{enabled:!Object(h.get)(e,[n,"enabled"],!0)})));case"TOGGLE_PANEL_OPENED":var o=t.panelName,i=!0===e[o]||Object(h.get)(e,[o,"opened"],!1);return Object(V.a)({},e,Object(U.a)({},o,Object(V.a)({},e[o],{opened:!i})))}return e},features:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H.features,t=arguments.length>1?arguments[1]:void 0;return"TOGGLE_FEATURE"===t.type?Object(V.a)({},e,Object(U.a)({},t.feature,!e[t.feature])):e},editorMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H.editorMode,t=arguments.length>1?arguments[1]:void 0;return"SWITCH_MODE"===t.type?t.mode:e},pinnedPluginItems:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H.pinnedPluginItems,t=arguments.length>1?arguments[1]:void 0;return"TOGGLE_PINNED_PLUGIN_ITEM"===t.type?Object(V.a)({},e,Object(U.a)({},t.pluginName,!Object(h.get)(e,[t.pluginName],!0))):e}});var X=Object(u.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}}),K=Object(u.combineReducers)({activeGeneralSidebar:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,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:X,preferences:q,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(h.includes)(e,t.panelName))return Object(G.a)(e).concat([t.panelName])}return e}}),Q=n(87),z=n.n(Q),J=n(25),Y=n(44),$=n(30),Z=n.n($);function ee(e){return{type:"OPEN_GENERAL_SIDEBAR",name:e}}function te(){return{type:"CLOSE_GENERAL_SIDEBAR"}}function ne(e){return{type:"OPEN_MODAL",name:e}}function oe(){return{type:"CLOSE_MODAL"}}function ie(){return{type:"OPEN_PUBLISH_SIDEBAR"}}function re(){return{type:"CLOSE_PUBLISH_SIDEBAR"}}function ce(){return{type:"TOGGLE_PUBLISH_SIDEBAR"}}function ae(e){return{type:"TOGGLE_PANEL_ENABLED",panelName:e}}function le(e){return{type:"TOGGLE_PANEL_OPENED",panelName:e}}function se(e){return{type:"REMOVE_PANEL",panelName:e}}function ue(e){return{type:"TOGGLE_FEATURE",feature:e}}function de(e){return{type:"SWITCH_MODE",mode:e}}function be(e){return{type:"TOGGLE_PINNED_PLUGIN_ITEM",pluginName:e}}function pe(e){return{type:"SET_META_BOXES_PER_LOCATIONS",metaBoxesPerLocation:e}}function me(){return{type:"REQUEST_META_BOX_UPDATES"}}function Oe(){return{type:"META_BOX_UPDATES_SUCCESS"}}var fe=n(31);function je(e){return ye(e,"editorMode","visual")}function he(e){var t=Ee(e);return Object(h.includes)(["edit-post/document","edit-post/block"],t)}function ge(e){return!!Ee(e)&&!he(e)}function Ee(e){return ye(e,"isGeneralSidebarDismissed",!1)?null:e.activeGeneralSidebar}function ve(e){return e.preferences}function ye(e,t,n){var o=ve(e)[t];return void 0===o?n:o}function _e(e){return e.publishSidebarActive}function Se(e,t){return Object(h.includes)(e.removedPanels,t)}function Pe(e,t){var n=ye(e,"panels");return!Se(e,t)&&Object(h.get)(n,[t,"enabled"],!0)}function ke(e,t){var n=ye(e,"panels");return!0===n[t]||Object(h.get)(n,[t,"opened"],!1)}function we(e,t){return e.activeModal===t}function Ce(e,t){return!!e.preferences.features[t]}function xe(e,t){var n=ye(e,"pinnedPluginItems",{});return Object(h.get)(n,[t],!0)}var Te=Object(fe.a)(function(e){return Object.keys(e.metaBoxes.locations).filter(function(t){return Me(e,t)})},function(e){return[e.metaBoxes.locations]});function Ne(e,t){return Me(e,t)&&Object(h.some)(Ae(e,t),function(t){var n=t.id;return Pe(e,"meta-box-".concat(n))})}function Me(e,t){var n=Ae(e,t);return!!n&&0!==n.length}function Ae(e,t){return e.metaBoxes.locations[t]}var Be=Object(fe.a)(function(e){return Object(h.flatten)(Object(h.values)(e.metaBoxes.locations))},function(e){return[e.metaBoxes.locations]});function Ie(e){return Te(e).length>0}function Le(e){return e.metaBoxes.isSaving}var De=function(e,t){var n=e();return function(){var o=e();o!==n&&(n=o,t(o))}},Fe={SET_META_BOXES_PER_LOCATIONS:function(e,t){setTimeout(function(){var e=Object(u.select)("core/editor").getCurrentPostType();window.postboxes.page!==e&&window.postboxes.add_postbox_toggles(e)});var n=Object(u.select)("core/editor").isSavingPost(),o=Object(u.select)("core/editor").isAutosavingPost(),i=Object(u.select)("core/editor").isPreviewingPost();Object(u.subscribe)(function(){var e=Object(u.select)("core/editor").isSavingPost(),r=Object(u.select)("core/editor").isAutosavingPost(),c=Object(u.select)("core/editor").isPreviewingPost(),a=Object(u.select)("core/edit-post").hasMetaBoxes()&&(n&&!e&&!o||o&&i&&!c);n=e,o=r,i=c,a&&t.dispatch({type:"REQUEST_META_BOX_UPDATES"})})},REQUEST_META_BOX_UPDATES:function(e,t){var n=t.getState(),o=Object(u.select)("core/editor").getCurrentPost(n),i=[!!o.comment_status&&["comment_status",o.comment_status],!!o.ping_status&&["ping_status",o.ping_status],!!o.sticky&&["sticky",o.sticky],["post_author",o.author]].filter(Boolean),r=[new window.FormData(document.querySelector(".metabox-base-form"))].concat(Object(G.a)(Te(n).map(function(e){return new window.FormData(function(e){var t=document.querySelector(".edit-post-meta-boxes-area.is-".concat(e," .metabox-location-").concat(e));return t||document.querySelector("#metaboxes .metabox-location-"+e)}(e))}))),c=Object(h.reduce)(r,function(e,t){var n=!0,o=!1,i=void 0;try{for(var r,c=t[Symbol.iterator]();!(n=(r=c.next()).done);n=!0){var a=Object(J.a)(r.value,2),l=a[0],s=a[1];e.append(l,s)}}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return e},new window.FormData);i.forEach(function(e){var t=Object(J.a)(e,2),n=t[0],o=t[1];return c.append(n,o)}),Z()({url:window._wpMetaBoxUrl,method:"POST",body:c,parse:!1}).then(function(){return t.dispatch({type:"META_BOX_UPDATES_SUCCESS"})})},SWITCH_MODE:function(e){"visual"!==e.mode&&Object(u.dispatch)("core/editor").clearSelectedBlock();var t="visual"===e.mode?Object(g.__)("Visual editor selected"):Object(g.__)("Code editor selected");Object(Y.speak)(t,"assertive")},INIT:function(e,t){Object(u.subscribe)(De(function(){return!!Object(u.select)("core/editor").getBlockSelectionStart()},function(e){Object(u.select)("core/edit-post").isEditorSidebarOpened()&&(e?t.dispatch(ee("edit-post/block")):t.dispatch(ee("edit-post/document")))}));var n=function(){return Object(u.select)("core/viewport").isViewportMatch("< medium")},o=function(){var e=null;return function(n){n?(e=Ee(t.getState()))&&t.dispatch({type:"CLOSE_GENERAL_SIDEBAR"}):e&&!Ee(t.getState())&&t.dispatch(ee(e))}}();o(n()),Object(u.subscribe)(De(n,o));Object(u.subscribe)(De(function(){return Object(u.select)("core/editor").getCurrentPost().link},function(e){if(e){var t=document.querySelector("#wp-admin-bar-view a");t&&t.setAttribute("href",e)}}))}};var Re=function(e){var t,n=[z()(Fe)],o=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:e.getState,dispatch:function(){return o.apply(void 0,arguments)}};return t=n.map(function(e){return e(i)}),o=h.flowRight.apply(void 0,Object(G.a)(t))(e.dispatch),e.dispatch=o,e},Ge=Object(u.registerStore)("core/edit-post",{reducer:K,actions:o,selectors:i,persist:["preferences"]});Re(Ge),Ge.dispatch({type:"INIT"});var Ue=n(16),Ve=n.n(Ue),He=n(24);var We=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(O.a)(t).apply(this,arguments))).state={historyId:null},e}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.postId,o=t.postStatus,i=t.postType,r=this.state.historyId;"trash"!==o?n===e.postId&&n===r||"auto-draft"===o||this.setBrowserURL(n):this.setTrashURL(n,i)}},{key:"setTrashURL",value:function(e,t){window.location.href=function(e,t){return Object(He.addQueryArgs)("edit.php",{trashed:1,post_type:t,ids:e})}(e,t)}},{key:"setBrowserURL",value:function(e){window.history.replaceState({id:e},"Post "+e,function(e){return Object(He.addQueryArgs)("post.php",{post:e,action:"edit"})}(e)),this.setState(function(){return{historyId:e}})}},{key:"render",value:function(){return null}}]),t}(r.Component),qe=Object(u.withSelect)(function(e){var t=(0,e("core/editor").getCurrentPost)();return{postId:t.id,postStatus:t.status,postType:t.type}})(We),Xe={toggleEditorMode:{raw:B.rawShortcut.secondary("m"),display:B.displayShortcut.secondary("m")},toggleSidebar:{raw:B.rawShortcut.primaryShift(","),display:B.displayShortcut.primaryShift(","),ariaLabel:B.shortcutAriaLabel.primaryShift(",")}},Ke=[{value:"visual",label:Object(g.__)("Visual Editor")},{value:"text",label:Object(g.__)("Code Editor")}];var Qe=Object(x.compose)([Object(u.withSelect)(function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,mode:e("core/edit-post").getEditorMode()}}),Object(x.ifCondition)(function(e){return e.isRichEditingEnabled}),Object(u.withDispatch)(function(e,t){return{onSwitch:function(n){e("core/edit-post").switchEditorMode(n),t.onSelect(n)}}})])(function(e){var t=e.onSwitch,n=e.mode,o=Ke.map(function(e){return e.value!==n?Object(V.a)({},e,{shortcut:Xe.toggleEditorMode.display}):e});return Object(r.createElement)(C.MenuGroup,{label:Object(g.__)("Editor")},Object(r.createElement)(C.MenuItemsChoice,{choices:o,value:n,onSelect:t}))}),ze=Object(C.createSlotFill)("PluginsMoreMenuGroup"),Je=ze.Fill,Ye=ze.Slot;Je.Slot=function(e){var t=e.fillProps;return Object(r.createElement)(Ye,{fillProps:t},function(e){return!Object(h.isEmpty)(e)&&Object(r.createElement)(C.MenuGroup,{label:Object(g.__)("Plugins")},e)})};var $e=Je;var Ze=Object(u.withDispatch)(function(e){return{openModal:e("core/edit-post").openModal}})(function(e){var t=e.openModal,n=e.onSelect;return Object(r.createElement)(C.MenuItem,{onClick:function(){n(),t("edit-post/options")}},Object(g.__)("Options"))});var et=Object(x.compose)([Object(u.withSelect)(function(e,t){var n=t.feature;return{isActive:e("core/edit-post").isFeatureActive(n)}}),Object(u.withDispatch)(function(e,t){return{onToggle:function(){e("core/edit-post").toggleFeature(t.feature),t.onToggle()}}})])(function(e){var t=e.onToggle,n=e.isActive,o=e.label,i=e.info;return Object(r.createElement)(C.MenuItem,{icon:n&&"yes",isSelected:n,onClick:t,role:"menuitemcheckbox",label:o,info:i},o)});var tt=Object(l.ifViewportMatches)("medium")(function(e){var t=e.onClose;return Object(r.createElement)(C.MenuGroup,{label:Object(g._x)("View","noun")},Object(r.createElement)(et,{feature:"fixedToolbar",label:Object(g.__)("Top Toolbar"),info:Object(g.__)("Access all block and document tools in a single place"),onToggle:t}),Object(r.createElement)(et,{feature:"focusMode",label:Object(g.__)("Spotlight Mode"),info:Object(g.__)("Focus on one block at a time"),onToggle:t}),Object(r.createElement)(et,{feature:"fullscreenMode",label:Object(g.__)("Fullscreen Mode"),info:Object(g.__)("Work without distraction"),onToggle:t}))}),nt=Object(g.__)("Show more tools & options"),ot=Object(g.__)("Hide more tools & options"),it=function(){return Object(r.createElement)(C.Dropdown,{className:"edit-post-more-menu",contentClassName:"edit-post-more-menu__content",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)(C.IconButton,{icon:"ellipsis",label:t?ot:nt,labelPosition:"bottom",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onClose;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(tt,{onClose:t}),Object(r.createElement)(Qe,{onSelect:t}),Object(r.createElement)($e.Slot,{fillProps:{onClose:t}}),Object(r.createElement)(R.Slot,{fillProps:{onClose:t}}),Object(r.createElement)(C.MenuGroup,null,Object(r.createElement)(Ze,{onSelect:t})))}})};var rt=Object(u.withSelect)(function(e){var t=e("core/editor").getCurrentPostType,n=e("core/edit-post").isFeatureActive,o=e("core").getPostType;return{isActive:n("fullscreenMode"),postType:o(t())}})(function(e){var t=e.isActive,n=e.postType;return t&&n?Object(r.createElement)(C.Toolbar,{className:"edit-post-fullscreen-mode-close__toolbar"},Object(r.createElement)(C.IconButton,{icon:"exit",href:Object(He.addQueryArgs)("edit.php",{post_type:n.slug}),label:Object(h.get)(n,["labels","view_items"],Object(g.__)("View Posts"))})):null});var ct=Object(x.compose)([Object(u.withSelect)(function(e){return{hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),showInserter:"visual"===e("core/edit-post").getEditorMode()&&e("core/editor").getEditorSettings().richEditingEnabled}}),Object(l.withViewportMatch)({isLargeViewport:"medium"})])(function(e){var t=e.hasFixedToolbar,n=e.isLargeViewport,o=e.showInserter,i=t?Object(g.__)("Document and block tools"):Object(g.__)("Document tools");return Object(r.createElement)(c.NavigableToolbar,{className:"edit-post-header-toolbar","aria-label":i},Object(r.createElement)(rt,null),Object(r.createElement)("div",null,Object(r.createElement)(c.Inserter,{disabled:!o,position:"bottom right"}),Object(r.createElement)(a.DotTip,{tipId:"core/editor.inserter"},Object(g.__)("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(r.createElement)(c.EditorHistoryUndo,null),Object(r.createElement)(c.EditorHistoryRedo,null),Object(r.createElement)(c.TableOfContents,null),Object(r.createElement)(c.BlockNavigationDropdown,null),t&&n&&Object(r.createElement)("div",{className:"edit-post-header-toolbar__block-toolbar"},Object(r.createElement)(c.BlockToolbar,null)))}),at=Object(C.createSlotFill)("PinnedPlugins"),lt=at.Fill,st=at.Slot;lt.Slot=function(e){return Object(r.createElement)(st,e,function(e){return!Object(h.isEmpty)(e)&&Object(r.createElement)("div",{className:"edit-post-pinned-plugins"},e)})};var ut=lt;var dt=Object(x.compose)(Object(u.withSelect)(function(e){return{hasPublishAction:Object(h.get)(e("core/editor").getCurrentPost(),["_links","wp:action-publish"],!1),isBeingScheduled:e("core/editor").isEditedPostBeingScheduled(),isPending:e("core/editor").isCurrentPostPending(),isPublished:e("core/editor").isCurrentPostPublished(),isPublishSidebarEnabled:e("core/editor").isPublishSidebarEnabled(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isScheduled:e("core/editor").isCurrentPostScheduled()}}),Object(u.withDispatch)(function(e){return{togglePublishSidebar:e("core/edit-post").togglePublishSidebar}}),Object(l.withViewportMatch)({isLessThanMediumViewport:"< medium"}))(function(e){var t,n=e.forceIsDirty,o=e.forceIsSaving,i=e.hasPublishAction,a=e.isBeingScheduled,l=e.isLessThanMediumViewport,s=e.isPending,u=e.isPublished,d=e.isPublishSidebarEnabled,b=e.isPublishSidebarOpened,p=e.isScheduled,m=e.togglePublishSidebar;return t=u||p&&a||s&&!i&&!l?"button":l?"toggle":d?"toggle":"button",Object(r.createElement)(c.PostPublishButton,{forceIsDirty:n,forceIsSaving:o,isOpen:b,isToggle:"toggle"===t,onToggle:m})});var bt=Object(x.compose)(Object(u.withSelect)(function(e){return{hasActiveMetaboxes:e("core/edit-post").hasMetaBoxes(),hasBlockSelection:!!e("core/editor").getBlockSelectionStart(),isEditorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isSaving:e("core/edit-post").isSavingMetaBoxes()}}),Object(u.withDispatch)(function(e,t){var n=t.hasBlockSelection,o=e("core/edit-post"),i=o.openGeneralSidebar,r=o.closeGeneralSidebar,c=n?"edit-post/block":"edit-post/document";return{openGeneralSidebar:function(){return i(c)},closeGeneralSidebar:r,hasBlockSelection:void 0}}))(function(e){var t=e.closeGeneralSidebar,n=e.hasActiveMetaboxes,o=e.isEditorSidebarOpened,i=e.isPublishSidebarOpened,l=e.isSaving,s=e.openGeneralSidebar,u=o?t:s;return Object(r.createElement)("div",{role:"region","aria-label":Object(g.__)("Editor top bar"),className:"edit-post-header",tabIndex:"-1"},Object(r.createElement)(ct,null),Object(r.createElement)("div",{className:"edit-post-header__settings"},!i&&Object(r.createElement)(c.PostSavedState,{forceIsDirty:n,forceIsSaving:l}),Object(r.createElement)(c.PostPreviewButton,{forceIsAutosaveable:n,forcePreviewLink:l?null:void 0}),Object(r.createElement)(dt,{forceIsDirty:n,forceIsSaving:l}),Object(r.createElement)("div",null,Object(r.createElement)(C.IconButton,{icon:"admin-generic",label:Object(g.__)("Settings"),onClick:u,isToggled:o,"aria-expanded":o,shortcut:Xe.toggleSidebar}),Object(r.createElement)(a.DotTip,{tipId:"core/editor.settings"},Object(g.__)("You’ll find more settings for your page and blocks in the sidebar. Click “Settings” to open it."))),Object(r.createElement)(ut.Slot,null),Object(r.createElement)(it,null)))});var pt=Object(x.compose)(Object(u.withSelect)(function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled}}),Object(u.withDispatch)(function(e){return{onExit:function(){e("core/edit-post").switchEditorMode("visual")}}}))(function(e){var t=e.onExit,n=e.isRichEditingEnabled;return Object(r.createElement)("div",{className:"edit-post-text-editor"},n&&Object(r.createElement)("div",{className:"edit-post-text-editor__toolbar"},Object(r.createElement)("h2",null,Object(g.__)("Editing Code")),Object(r.createElement)(C.IconButton,{onClick:t,icon:"no-alt",shortcut:B.displayShortcut.secondary("m")},Object(g.__)("Exit Code Editor"))),Object(r.createElement)("div",{className:"edit-post-text-editor__body"},Object(r.createElement)(c.PostTitle,null),Object(r.createElement)(c.PostTextEditor,null)))});var mt=Object(x.compose)(Object(u.withSelect)(function(e){return{areAdvancedSettingsOpened:"edit-post/block"===e("core/edit-post").getActiveGeneralSidebarName()}}),Object(u.withDispatch)(function(e){return{openEditorSidebar:function(){return e("core/edit-post").openGeneralSidebar("edit-post/block")},closeSidebar:e("core/edit-post").closeGeneralSidebar}}),C.withSpokenMessages)(function(e){var t=e.areAdvancedSettingsOpened,n=e.closeSidebar,o=e.openEditorSidebar,i=e.onClick,c=void 0===i?h.noop:i,a=e.small,l=void 0!==a&&a,s=e.speak,u=t?Object(g.__)("Hide Block Settings"):Object(g.__)("Show Block Settings");return Object(r.createElement)(C.MenuItem,{className:"editor-block-settings-menu__control",onClick:Object(h.flow)(t?n:o,function(){s(t?Object(g.__)("Block settings closed"):Object(g.__)("Additional settings are now available in the Editor block settings sidebar"))},c),icon:"admin-generic",label:l?u:void 0,shortcut:Xe.toggleSidebar},!l&&u)}),Ot=Object(C.createSlotFill)("PluginBlockSettingsMenuGroup"),ft=Ot.Fill,jt=Ot.Slot;ft.Slot=Object(u.withSelect)(function(e,t){var n=t.fillProps.clientIds;return{selectedBlocks:e("core/editor").getBlocksByClientId(n)}})(function(e){var t=e.fillProps,n=e.selectedBlocks;return n=Object(h.map)(n,function(e){return e.name}),Object(r.createElement)(jt,{fillProps:Object(V.a)({},t,{selectedBlocks:n})},function(e){return!Object(h.isEmpty)(e)&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"editor-block-settings-menu__separator"}),e)})});var ht=ft;var gt=function(){return Object(r.createElement)(c.BlockSelectionClearer,{className:"edit-post-visual-editor editor-styles-wrapper"},Object(r.createElement)(c.EditorGlobalKeyboardShortcuts,null),Object(r.createElement)(c.CopyHandler,null),Object(r.createElement)(c.MultiSelectScrollIntoView,null),Object(r.createElement)(c.WritingFlow,null,Object(r.createElement)(c.ObserveTyping,null,Object(r.createElement)(c.PostTitle,null),Object(r.createElement)(c.BlockList,null))),Object(r.createElement)(c._BlockSettingsMenuFirstItem,null,function(e){var t=e.onClose;return Object(r.createElement)(mt,{onClick:t})}),Object(r.createElement)(c._BlockSettingsMenuPluginsExtension,null,function(e){var t=e.clientIds,n=e.onClose;return Object(r.createElement)(ht.Slot,{fillProps:{clientIds:t,onClose:n}})}))},Et=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(O.a)(t).apply(this,arguments))).toggleMode=e.toggleMode.bind(Object(j.a)(Object(j.a)(e))),e.toggleSidebar=e.toggleSidebar.bind(Object(j.a)(Object(j.a)(e))),e}return Object(f.a)(t,e),Object(p.a)(t,[{key:"toggleMode",value:function(){var e=this.props,t=e.mode,n=e.switchMode;e.isRichEditingEnabled&&n("visual"===t?"text":"visual")}},{key:"toggleSidebar",value:function(e){e.preventDefault();var t=this.props,n=t.isEditorSidebarOpen,o=t.closeSidebar,i=t.openSidebar;n?o():i()}},{key:"render",value:function(){var e;return Object(r.createElement)(C.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(e={},Object(U.a)(e,Xe.toggleEditorMode.raw,this.toggleMode),Object(U.a)(e,Xe.toggleSidebar.raw,this.toggleSidebar),e)})}}]),t}(r.Component),vt=Object(x.compose)([Object(u.withSelect)(function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,mode:e("core/edit-post").getEditorMode(),isEditorSidebarOpen:e("core/edit-post").isEditorSidebarOpened(),hasBlockSelection:!!e("core/editor").getBlockSelectionStart()}}),Object(u.withDispatch)(function(e,t){var n=t.hasBlockSelection;return{switchMode:function(t){e("core/edit-post").switchEditorMode(t)},openSidebar:function(){var t=n?"edit-post/block":"edit-post/document";e("core/edit-post").openGeneralSidebar(t)},closeSidebar:e("core/edit-post").closeGeneralSidebar}})])(Et),yt=B.displayShortcutList.primary,_t=B.displayShortcutList.primaryShift,St=B.displayShortcutList.primaryAlt,Pt=B.displayShortcutList.secondary,kt=B.displayShortcutList.access,wt=B.displayShortcutList.ctrl,Ct=B.displayShortcutList.alt,xt=B.displayShortcutList.ctrlShift,Tt=B.displayShortcutList.shiftAlt,Nt=[{title:Object(g.__)("Global shortcuts"),shortcuts:[{keyCombination:kt("h"),description:Object(g.__)("Display this help.")},{keyCombination:yt("s"),description:Object(g.__)("Save your changes.")},{keyCombination:yt("z"),description:Object(g.__)("Undo your last changes.")},{keyCombination:_t("z"),description:Object(g.__)("Redo your last undo.")},{keyCombination:_t(","),description:Object(g.__)("Show or hide the settings sidebar."),ariaLabel:B.shortcutAriaLabel.primaryShift(",")},{keyCombination:kt("o"),description:Object(g.__)("Open the block navigation menu.")},{keyCombination:wt("`"),description:Object(g.__)("Navigate to the next part of the editor."),ariaLabel:B.shortcutAriaLabel.ctrl("`")},{keyCombination:xt("`"),description:Object(g.__)("Navigate to the previous part of the editor."),ariaLabel:B.shortcutAriaLabel.ctrlShift("`")},{keyCombination:Tt("n"),description:Object(g.__)("Navigate to the next part of the editor (alternative).")},{keyCombination:Tt("p"),description:Object(g.__)("Navigate to the previous part of the editor (alternative).")},{keyCombination:Ct("F10"),description:Object(g.__)("Navigate to the nearest toolbar.")},{keyCombination:Pt("m"),description:Object(g.__)("Switch between Visual Editor and Code Editor.")}]},{title:Object(g.__)("Selection shortcuts"),shortcuts:[{keyCombination:yt("a"),description:Object(g.__)("Select all text when typing. Press again to select all blocks.")},{keyCombination:"Esc",description:Object(g.__)("Clear selection."),ariaLabel:Object(g.__)("Escape")}]},{title:Object(g.__)("Block shortcuts"),shortcuts:[{keyCombination:_t("d"),description:Object(g.__)("Duplicate the selected block(s).")},{keyCombination:kt("z"),description:Object(g.__)("Remove the selected block(s).")},{keyCombination:St("t"),description:Object(g.__)("Insert a new block before the selected block(s).")},{keyCombination:St("y"),description:Object(g.__)("Insert a new block after the selected block(s).")},{keyCombination:"/",description:Object(g.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(g.__)("Forward-slash")}]},{title:Object(g.__)("Text formatting"),shortcuts:[{keyCombination:yt("b"),description:Object(g.__)("Make the selected text bold.")},{keyCombination:yt("i"),description:Object(g.__)("Make the selected text italic.")},{keyCombination:yt("u"),description:Object(g.__)("Underline the selected text.")},{keyCombination:yt("k"),description:Object(g.__)("Convert the selected text into a link.")},{keyCombination:_t("k"),description:Object(g.__)("Remove a link.")},{keyCombination:kt("d"),description:Object(g.__)("Add a strikethrough to the selected text.")},{keyCombination:kt("x"),description:Object(g.__)("Display the selected text in a monospaced font.")}]}],Mt="edit-post/keyboard-shortcut-help",At=function(e){var t=e.shortcuts;return Object(r.createElement)("dl",{className:"edit-post-keyboard-shortcut-help__shortcut-list"},t.map(function(e,t){var n=e.keyCombination,o=e.description,i=e.ariaLabel;return Object(r.createElement)("div",{className:"edit-post-keyboard-shortcut-help__shortcut",key:t},Object(r.createElement)("dt",{className:"edit-post-keyboard-shortcut-help__shortcut-term"},Object(r.createElement)("kbd",{className:"edit-post-keyboard-shortcut-help__shortcut-key-combination","aria-label":i},function(e){return e.map(function(e,t){return"+"===e?Object(r.createElement)(r.Fragment,{key:t},e):Object(r.createElement)("kbd",{key:t,className:"edit-post-keyboard-shortcut-help__shortcut-key"},e)})}(Object(h.castArray)(n)))),Object(r.createElement)("dd",{className:"edit-post-keyboard-shortcut-help__shortcut-description"},o))}))},Bt=function(e){var t=e.title,n=e.shortcuts;return Object(r.createElement)("section",{className:"edit-post-keyboard-shortcut-help__section"},Object(r.createElement)("h2",{className:"edit-post-keyboard-shortcut-help__section-title"},t),Object(r.createElement)(At,{shortcuts:n}))};var It=Object(x.compose)([Object(u.withSelect)(function(e){return{isModalActive:e("core/edit-post").isModalActive(Mt)}}),Object(u.withDispatch)(function(e,t){var n=t.isModalActive,o=e("core/edit-post"),i=o.openModal,r=o.closeModal;return{toggleModal:function(){return n?r():i(Mt)}}})])(function(e){var t=e.isModalActive,n=e.toggleModal,o=Object(r.createElement)("span",{className:"edit-post-keyboard-shortcut-help__title"},Object(g.__)("Keyboard Shortcuts"));return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(C.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(U.a)({},B.rawShortcut.access("h"),n)}),t&&Object(r.createElement)(C.Modal,{className:"edit-post-keyboard-shortcut-help",title:o,closeLabel:Object(g.__)("Close"),onRequestClose:n},Nt.map(function(e,t){return Object(r.createElement)(Bt,Object(P.a)({key:t},e))})))}),Lt=function(e){var t=e.title,n=e.children;return Object(r.createElement)("section",{className:"edit-post-options-modal__section"},Object(r.createElement)("h2",{className:"edit-post-options-modal__section-title"},t),n)};var Dt=function(e){var t=e.label,n=e.isChecked,o=e.onChange;return Object(r.createElement)(C.CheckboxControl,{className:"edit-post-options-modal__option",label:t,checked:n,onChange:o})},Ft=function(e){function t(e){var n,o=e.isChecked;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(O.a)(t).apply(this,arguments))).toggleCustomFields=n.toggleCustomFields.bind(Object(j.a)(Object(j.a)(n))),n.state={isChecked:o},n}return Object(f.a)(t,e),Object(p.a)(t,[{key:"toggleCustomFields",value:function(){document.getElementById("toggle-custom-fields-form").submit(),this.setState({isChecked:!this.props.isChecked})}},{key:"render",value:function(){var e=this.props.label,t=this.state.isChecked;return Object(r.createElement)(Dt,{label:e,isChecked:t,onChange:this.toggleCustomFields})}}]),t}(r.Component),Rt=Object(u.withSelect)(function(e){return{isChecked:!!e("core/editor").getEditorSettings().enableCustomFields}})(Ft),Gt=Object(x.compose)(Object(u.withSelect)(function(e,t){var n=t.panelName,o=e("core/edit-post"),i=o.isEditorPanelEnabled;return{isRemoved:(0,o.isEditorPanelRemoved)(n),isChecked:i(n)}}),Object(x.ifCondition)(function(e){return!e.isRemoved}),Object(u.withDispatch)(function(e,t){var n=t.panelName;return{onChange:function(){return e("core/edit-post").toggleEditorPanelEnabled(n)}}}))(Dt),Ut=Object(x.compose)(Object(u.withSelect)(function(e){return{isChecked:e("core/editor").isPublishSidebarEnabled()}}),Object(u.withDispatch)(function(e){var t=e("core/editor"),n=t.enablePublishSidebar,o=t.disablePublishSidebar;return{onChange:function(e){return e?n():o()}}}),Object(l.ifViewportMatches)("medium"))(Dt),Vt=function(e){function t(e){var n,o=e.isChecked;return Object(b.a)(this,t),(n=Object(m.a)(this,Object(O.a)(t).apply(this,arguments))).state={isChecked:o},n}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentWillUnmount",value:function(){this.state.isChecked!==this.props.isChecked&&this.props.onChange(this.state.isChecked)}},{key:"render",value:function(){var e=this;return Object(r.createElement)(Dt,{label:this.props.label,isChecked:this.state.isChecked,onChange:function(t){return e.setState({isChecked:t})}})}}]),t}(r.Component),Ht=Object(x.compose)(Object(u.withSelect)(function(e){return{isChecked:e("core/nux").areTipsEnabled()}}),Object(u.withDispatch)(function(e){var t=e("core/nux"),n=t.enableTips,o=t.disableTips;return{onChange:function(e){return e?n():o()}}}))(Vt);var Wt=Object(u.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(k.a)(e,["areCustomFieldsRegistered","metaBoxes"]),i=Object(h.filter)(n,function(e){return"postcustom"!==e.id});return t||0!==i.length?Object(r.createElement)(Lt,o,t&&Object(r.createElement)(Rt,{label:Object(g.__)("Custom Fields")}),Object(h.map)(i,function(e){var t=e.id,n=e.title;return Object(r.createElement)(Gt,{key:t,label:n,panelName:"meta-box-".concat(t)})})):null});var qt=Object(x.compose)(Object(u.withSelect)(function(e){return{isModalActive:e("core/edit-post").isModalActive("edit-post/options")}}),Object(u.withDispatch)(function(e){return{closeModal:function(){return e("core/edit-post").closeModal()}}}))(function(e){var t=e.isModalActive,n=e.closeModal;return t?Object(r.createElement)(C.Modal,{className:"edit-post-options-modal",title:Object(r.createElement)("span",{className:"edit-post-options-modal__title"},Object(g.__)("Options")),closeLabel:Object(g.__)("Close"),onRequestClose:n},Object(r.createElement)(Lt,{title:Object(g.__)("General")},Object(r.createElement)(Ut,{label:Object(g.__)("Enable Pre-publish Checks")}),Object(r.createElement)(Ht,{label:Object(g.__)("Enable Tips")})),Object(r.createElement)(Lt,{title:Object(g.__)("Document Panels")},Object(r.createElement)(c.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(r.createElement)(Gt,{label:Object(h.get)(t,["labels","menu_name"]),panelName:"taxonomy-panel-".concat(t.slug)})}}),Object(r.createElement)(Gt,{label:Object(g.__)("Featured Image"),panelName:"featured-image"}),Object(r.createElement)(c.PostExcerptCheck,null,Object(r.createElement)(Gt,{label:Object(g.__)("Excerpt"),panelName:"post-excerpt"})),Object(r.createElement)(Gt,{label:Object(g.__)("Discussion"),panelName:"discussion-panel"}),Object(r.createElement)(c.PageAttributesCheck,null,Object(r.createElement)(Gt,{label:Object(g.__)("Page Attributes"),panelName:"page-attributes"}))),Object(r.createElement)(Wt,{title:Object(g.__)("Advanced Panels")})):null}),Xt=function(e){function t(){var e;return Object(b.a)(this,t),(e=Object(m.a)(this,Object(O.a)(t).apply(this,arguments))).bindContainerNode=e.bindContainerNode.bind(Object(j.a)(Object(j.a)(e))),e}return Object(f.a)(t,e),Object(p.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=Ve()("edit-post-meta-boxes-area","is-".concat(t),{"is-loading":n});return Object(r.createElement)("div",{className:o},n&&Object(r.createElement)(C.Spinner,null),Object(r.createElement)("div",{className:"edit-post-meta-boxes-area__container",ref:this.bindContainerNode}),Object(r.createElement)("div",{className:"edit-post-meta-boxes-area__clear"}))}}]),t}(r.Component),Kt=Object(u.withSelect)(function(e){return{isSaving:e("core/edit-post").isSavingMetaBoxes()}})(Xt),Qt=function(e){function t(){return Object(b.a)(this,t),Object(m.a)(this,Object(O.a)(t).apply(this,arguments))}return Object(f.a)(t,e),Object(p.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&&(o.style.display=n?"":"none")}},{key:"render",value:function(){return null}}]),t}(r.Component),zt=Object(u.withSelect)(function(e,t){var n=t.id;return{isVisible:e("core/edit-post").isEditorPanelEnabled("meta-box-".concat(n))}})(Qt);var Jt=Object(u.withSelect)(function(e,t){var n=t.location,o=e("core/edit-post"),i=o.isMetaBoxLocationVisible;return{metaBoxes:(0,o.getMetaBoxesPerLocation)(n),isVisible:i(n)}})(function(e){var t=e.location,n=e.isVisible,o=e.metaBoxes;return Object(r.createElement)(r.Fragment,null,Object(h.map)(o,function(e){var t=e.id;return Object(r.createElement)(zt,{key:t,id:t})}),n&&Object(r.createElement)(Kt,{location:t}))}),Yt=Object(C.createSlotFill)("Sidebar"),$t=Yt.Fill,Zt=Yt.Slot,en=Object(x.compose)(Object(u.withSelect)(function(e,t){var n=t.name;return{isActive:e("core/edit-post").getActiveGeneralSidebarName()===n}}),Object(x.ifCondition)(function(e){return e.isActive}),C.withFocusReturn)(function(e){var t=e.children,n=e.label;return Object(r.createElement)($t,null,Object(r.createElement)("div",{className:"edit-post-sidebar",role:"region","aria-label":n,tabIndex:"-1"},t))});en.Slot=Zt;var tn=en,nn=Object(x.compose)(Object(u.withSelect)(function(e){return{title:e("core/editor").getEditedPostAttribute("title")}}),Object(u.withDispatch)(function(e){return{closeSidebar:e("core/edit-post").closeGeneralSidebar}}))(function(e){var t=e.children,n=e.className,o=e.closeLabel,i=e.closeSidebar,c=e.title;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"components-panel__header edit-post-sidebar-header__small"},Object(r.createElement)("span",{className:"edit-post-sidebar-header__title"},c||Object(g.__)("(no title)")),Object(r.createElement)(C.IconButton,{onClick:i,icon:"no-alt",label:o})),Object(r.createElement)("div",{className:Ve()("components-panel__header edit-post-sidebar-header",n)},t,Object(r.createElement)(C.IconButton,{onClick:i,icon:"no-alt",label:o,shortcut:Xe.toggleSidebar})))}),on=Object(u.withDispatch)(function(e){var t=e("core/edit-post").openGeneralSidebar,n=e("core/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,i=Object(g.__)("Block"),c="edit-post/document"===o?[Object(g.__)("Document settings (selected)"),"is-active"]:[Object(g.__)("Document settings"),""],a=Object(J.a)(c,2),l=a[0],s=a[1],u="edit-post/block"===o?[Object(g.__)("Block settings (selected)"),"is-active"]:[Object(g.__)("Block settings"),""],d=Object(J.a)(u,2),b=d[0],p=d[1];return Object(r.createElement)(nn,{className:"edit-post-sidebar__panel-tabs",closeLabel:Object(g.__)("Close settings")},Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(r.createElement)("button",{onClick:t,className:"edit-post-sidebar__panel-tab ".concat(s),"aria-label":l,"data-label":Object(g.__)("Document")},Object(g.__)("Document"))),Object(r.createElement)("li",null,Object(r.createElement)("button",{onClick:n,className:"edit-post-sidebar__panel-tab ".concat(p),"aria-label":b,"data-label":i},i))))});var rn=function(){return Object(r.createElement)(c.PostVisibilityCheck,{render:function(e){var t=e.canEdit;return Object(r.createElement)(C.PanelRow,{className:"edit-post-post-visibility"},Object(r.createElement)("span",null,Object(g.__)("Visibility")),!t&&Object(r.createElement)("span",null,Object(r.createElement)(c.PostVisibilityLabel,null)),t&&Object(r.createElement)(C.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-visibility__dialog",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)(C.Button,{type:"button","aria-expanded":t,className:"edit-post-post-visibility__toggle",onClick:n,isLink:!0},Object(r.createElement)(c.PostVisibilityLabel,null))},renderContent:function(){return Object(r.createElement)(c.PostVisibility,null)}}))}})};function cn(){return Object(r.createElement)(c.PostTrashCheck,null,Object(r.createElement)(C.PanelRow,null,Object(r.createElement)(c.PostTrash,null)))}var an=Object(x.withInstanceId)(function(e){var t=e.instanceId;return Object(r.createElement)(c.PostScheduleCheck,null,Object(r.createElement)(C.PanelRow,{className:"edit-post-post-schedule"},Object(r.createElement)("label",{htmlFor:"edit-post-post-schedule__toggle-".concat(t),id:"edit-post-post-schedule__heading-".concat(t)},Object(g.__)("Publish")),Object(r.createElement)(C.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-schedule__dialog",renderToggle:function(e){var n=e.onToggle,o=e.isOpen;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("label",{className:"edit-post-post-schedule__label",htmlFor:"edit-post-post-schedule__toggle-".concat(t)},Object(r.createElement)(c.PostScheduleLabel,null)," ",Object(g.__)("Click to change")),Object(r.createElement)(C.Button,{id:"edit-post-post-schedule__toggle-".concat(t),type:"button",className:"edit-post-post-schedule__toggle",onClick:n,"aria-expanded":o,"aria-live":"polite",isLink:!0},Object(r.createElement)(c.PostScheduleLabel,null)))},renderContent:function(){return Object(r.createElement)(c.PostSchedule,null)}})))});var ln=function(){return Object(r.createElement)(c.PostStickyCheck,null,Object(r.createElement)(C.PanelRow,null,Object(r.createElement)(c.PostSticky,null)))};var sn=function(){return Object(r.createElement)(c.PostAuthorCheck,null,Object(r.createElement)(C.PanelRow,null,Object(r.createElement)(c.PostAuthor,null)))};var un=function(){return Object(r.createElement)(c.PostFormatCheck,null,Object(r.createElement)(C.PanelRow,null,Object(r.createElement)(c.PostFormat,null)))};var dn=function(){return Object(r.createElement)(c.PostPendingStatusCheck,null,Object(r.createElement)(C.PanelRow,null,Object(r.createElement)(c.PostPendingStatus,null)))},bn=Object(C.createSlotFill)("PluginPostStatusInfo"),pn=bn.Fill,mn=bn.Slot,On=function(e){var t=e.children,n=e.className;return Object(r.createElement)(pn,null,Object(r.createElement)(C.PanelRow,{className:n},t))};On.Slot=mn;var fn=On;var jn=Object(x.compose)([Object(u.withSelect)(function(e){return{isOpened:e("core/edit-post").isEditorPanelOpened("post-status")}}),Object(u.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(r.createElement)(C.PanelBody,{className:"edit-post-post-status",title:Object(g.__)("Status & Visibility"),opened:t,onToggle:n},Object(r.createElement)(fn.Slot,null,function(e){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(rn,null),Object(r.createElement)(an,null),Object(r.createElement)(un,null),Object(r.createElement)(ln,null),Object(r.createElement)(dn,null),Object(r.createElement)(sn,null),e,Object(r.createElement)(cn,null))}))});var hn=function(){return Object(r.createElement)(c.PostLastRevisionCheck,null,Object(r.createElement)(C.PanelBody,{className:"edit-post-last-revision__panel"},Object(r.createElement)(c.PostLastRevision,null)))};var gn=Object(x.compose)(Object(u.withSelect)(function(e,t){var n=Object(h.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(u.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,i=e.onTogglePanel,c=e.children;if(!t)return null;var a=Object(h.get)(n,["labels","menu_name"]);return a?Object(r.createElement)(C.PanelBody,{title:a,opened:o,onToggle:i},c):null});var En=function(){return Object(r.createElement)(c.PostTaxonomiesCheck,null,Object(r.createElement)(c.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(r.createElement)(gn,{taxonomy:t},e)}}))};var vn=Object(u.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core").getPostType,o=e("core/edit-post"),i=o.isEditorPanelEnabled,r=o.isEditorPanelOpened;return{postType:n(t("type")),isEnabled:i("featured-image"),isOpened:r("featured-image")}}),yn=Object(u.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(h.partial)(t,"featured-image")}}),_n=Object(x.compose)(vn,yn)(function(e){var t=e.isEnabled,n=e.isOpened,o=e.postType,i=e.onTogglePanel;return t?Object(r.createElement)(c.PostFeaturedImageCheck,null,Object(r.createElement)(C.PanelBody,{title:Object(h.get)(o,["labels","featured_image"],Object(g.__)("Featured Image")),opened:n,onToggle:i},Object(r.createElement)(c.PostFeaturedImage,null))):null});var Sn=Object(x.compose)([Object(u.withSelect)(function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("post-excerpt"),isOpened:e("core/edit-post").isEditorPanelOpened("post-excerpt")}}),Object(u.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(r.createElement)(c.PostExcerptCheck,null,Object(r.createElement)(C.PanelBody,{title:Object(g.__)("Excerpt"),opened:n,onToggle:o},Object(r.createElement)(c.PostExcerpt,null))):null});var Pn=Object(x.compose)([Object(u.withSelect)(function(e){var t=e("core/editor"),n=t.isEditedPostNew,o=t.isPermalinkEditable,i=t.getCurrentPost,r=t.isCurrentPostPublished,c=t.getPermalinkParts,a=t.getEditedPostAttribute,l=e("core/edit-post").isEditorPanelOpened,s=e("core").getPostType,u=i(),d=u.link,b=u.id,p=s(a("type"));return{isNew:n(),postLink:d,isEditable:o(),isPublished:r(),isOpened:l("post-link"),permalinkParts:c(),isViewable:Object(h.get)(p,["viewable"],!1),postTitle:a("title"),postSlug:a("slug"),postID:b}}),Object(x.ifCondition)(function(e){var t=e.isNew,n=e.postLink,o=e.isViewable;return!t&&n&&o}),Object(u.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(x.withState)({forceEmptyField:!1})])(function(e){var t,n,o,i=e.isOpened,a=e.onTogglePanel,l=e.isEditable,s=e.postLink,u=e.permalinkParts,d=e.editPermalink,b=e.forceEmptyField,p=e.setState,m=e.postTitle,O=e.postSlug,f=e.postID,j=u.prefix,h=u.suffix,E=O||Object(c.cleanForSlug)(m)||f;return l&&(t=j&&Object(r.createElement)("span",{className:"edit-post-post-link__link-prefix"},j),n=E&&Object(r.createElement)("span",{className:"edit-post-post-link__link-post-name"},E),o=h&&Object(r.createElement)("span",{className:"edit-post-post-link__link-suffix"},h)),Object(r.createElement)(C.PanelBody,{title:Object(g.__)("Permalink"),opened:i,onToggle:a},l&&Object(r.createElement)(C.TextControl,{label:Object(g.__)("URL"),value:b?"":E,onChange:function(e){d(e),e?b&&p({forceEmptyField:!1}):b||p({forceEmptyField:!0})},onBlur:function(e){d(Object(c.cleanForSlug)(e.target.value)),b&&p({forceEmptyField:!1})}}),Object(r.createElement)("p",{className:"edit-post-post-link__preview-label"},Object(g.__)("Preview")),Object(r.createElement)(C.ExternalLink,{className:"edit-post-post-link__link",href:s,target:"_blank"},l?Object(r.createElement)(r.Fragment,null,t,n,o):s))});var kn=Object(x.compose)([Object(u.withSelect)(function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("discussion-panel"),isOpened:e("core/edit-post").isEditorPanelOpened("discussion-panel")}}),Object(u.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(r.createElement)(c.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(r.createElement)(C.PanelBody,{title:Object(g.__)("Discussion"),opened:n,onToggle:o},Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"comments"},Object(r.createElement)(C.PanelRow,null,Object(r.createElement)(c.PostComments,null))),Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"trackbacks"},Object(r.createElement)(C.PanelRow,null,Object(r.createElement)(c.PostPingbacks,null))))):null});var wn=Object(u.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core/edit-post"),o=n.isEditorPanelEnabled,i=n.isEditorPanelOpened,r=e("core").getPostType;return{isEnabled:o("page-attributes"),isOpened:i("page-attributes"),postType:r(t("type"))}}),Cn=Object(u.withDispatch)(function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(h.partial)(t,"page-attributes")}}),xn=Object(x.compose)(wn,Cn)(function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel,i=e.postType;return t&&i?Object(r.createElement)(c.PageAttributesCheck,null,Object(r.createElement)(C.PanelBody,{title:Object(h.get)(i,["labels","attributes"],Object(g.__)("Page Attributes")),opened:n,onToggle:o},Object(r.createElement)(c.PageTemplate,null),Object(r.createElement)(c.PageAttributesParent,null),Object(r.createElement)(C.PanelRow,null,Object(r.createElement)(c.PageAttributesOrder,null)))):null}),Tn=Object(x.compose)(Object(u.withSelect)(function(e){var t=e("core/edit-post"),n=t.getActiveGeneralSidebarName;return{isEditorSidebarOpened:(0,t.isEditorSidebarOpened)(),sidebarName:n()}}),Object(x.ifCondition)(function(e){return e.isEditorSidebarOpened}))(function(e){var t=e.sidebarName;return Object(r.createElement)(tn,{name:t,label:Object(g.__)("Editor settings")},Object(r.createElement)(on,{sidebarName:t}),Object(r.createElement)(C.Panel,null,"edit-post/document"===t&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(jn,null),Object(r.createElement)(hn,null),Object(r.createElement)(Pn,null),Object(r.createElement)(En,null),Object(r.createElement)(_n,null),Object(r.createElement)(Sn,null),Object(r.createElement)(kn,null),Object(r.createElement)(xn,null),Object(r.createElement)(Jt,{location:"side"})),"edit-post/block"===t&&Object(r.createElement)(C.PanelBody,{className:"edit-post-settings-sidebar__panel-block"},Object(r.createElement)(c.BlockInspector,null))))}),Nn=Object(C.createSlotFill)("PluginPostPublishPanel"),Mn=Nn.Fill,An=Nn.Slot,Bn=function(e){var t=e.children,n=e.className,o=e.title,i=e.initialOpen,c=void 0!==i&&i;return Object(r.createElement)(Mn,null,Object(r.createElement)(C.PanelBody,{className:n,initialOpen:c||!o,title:o},t))};Bn.Slot=An;var In=Bn,Ln=Object(C.createSlotFill)("PluginPrePublishPanel"),Dn=Ln.Fill,Fn=Ln.Slot,Rn=function(e){var t=e.children,n=e.className,o=e.title,i=e.initialOpen,c=void 0!==i&&i;return Object(r.createElement)(Dn,null,Object(r.createElement)(C.PanelBody,{className:n,initialOpen:c||!o,title:o},t))};Rn.Slot=Fn;var Gn=Rn,Un=function(e){function t(){return Object(b.a)(this,t),Object(m.a)(this,Object(O.a)(t).apply(this,arguments))}return Object(f.a)(t,e),Object(p.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}(r.Component),Vn=Object(u.withSelect)(function(e){return{isActive:e("core/edit-post").isFeatureActive("fullscreenMode")}})(Un),Hn={"notice-success":"success",updated:"success","notice-warning":"warning","notice-error":"error",error:"error","notice-info":"info"};var Wn=function(e){function t(){return Object(b.a)(this,t),Object(m.a)(this,Object(O.a)(t).apply(this,arguments))}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){this.convertNotices()}},{key:"convertNotices",value:function(){var e=this.props.createNotice;Object(G.a)(document.querySelectorAll("#wpbody-content > .notice")).reverse().forEach(function(t){var n=function(e){var t=!0,n=!1,o=void 0;try{for(var i,r=e.classList[Symbol.iterator]();!(t=(i=r.next()).done);t=!0){var c=i.value;if(Hn.hasOwnProperty(c))return Hn[c]}}catch(e){n=!0,o=e}finally{try{t||null==r.return||r.return()}finally{if(n)throw o}}}(t),o=function(e){var t=[],n=!0,o=!1,i=void 0;try{for(var r,c=e.childNodes[Symbol.iterator]();!(n=(r=c.next()).done);n=!0){var a=r.value;a.nodeType!==window.Node.ELEMENT_NODE?a.nodeValue.trim()&&t.push(a.nodeValue):a.classList.contains("notice-dismiss")||t.push(a.outerHTML)}}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return t.join("")}(t),i=t.classList.contains("is-dismissible");e(n,o,{speak:!1,__unstableHTML:!0,isDismissible:i}),t.parentNode.removeChild(t)})}},{key:"render",value:function(){return null}}]),t}(r.Component),qn=Object(u.withDispatch)(function(e){return{createNotice:e("core/notices").createNotice}})(Wn);var Xn=Object(x.compose)(Object(u.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(u.withDispatch)(function(e){var t=e("core/edit-post");return{closePublishSidebar:t.closePublishSidebar,togglePublishSidebar:t.togglePublishSidebar}}),C.navigateRegions,Object(l.withViewportMatch)({isMobileViewport:"< small"}))(function(e){var t=e.mode,n=e.editorSidebarOpened,o=e.pluginSidebarOpened,i=e.publishSidebarOpened,a=e.hasFixedToolbar,l=e.closePublishSidebar,s=e.togglePublishSidebar,u=e.hasActiveMetaboxes,d=e.isSaving,b=e.isMobileViewport,p=e.isRichEditingEnabled,m=n||o||i,O=Ve()("edit-post-layout",{"is-sidebar-opened":m,"has-fixed-toolbar":a}),f={role:"region","aria-label":Object(g.__)("Editor publish"),tabIndex:-1};return Object(r.createElement)("div",{className:O},Object(r.createElement)(Vn,null),Object(r.createElement)(qe,null),Object(r.createElement)(c.UnsavedChangesWarning,null),Object(r.createElement)(c.AutosaveMonitor,null),Object(r.createElement)(qn,null),Object(r.createElement)(bt,null),Object(r.createElement)("div",{className:"edit-post-layout__content",role:"region","aria-label":Object(g.__)("Editor content"),tabIndex:"-1"},Object(r.createElement)(c.EditorNotices,null),Object(r.createElement)(c.PreserveScrollInReorder,null),Object(r.createElement)(vt,null),Object(r.createElement)(It,null),Object(r.createElement)(qt,null),("text"===t||!p)&&Object(r.createElement)(pt,null),p&&"visual"===t&&Object(r.createElement)(gt,null),Object(r.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(r.createElement)(Jt,{location:"normal"})),Object(r.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(r.createElement)(Jt,{location:"advanced"}))),i?Object(r.createElement)(c.PostPublishPanel,Object(P.a)({},f,{onClose:l,forceIsDirty:u,forceIsSaving:d,PrePublishExtension:Gn.Slot,PostPublishExtension:In.Slot})):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",Object(P.a)({className:"edit-post-toggle-publish-panel"},f),Object(r.createElement)(C.Button,{isDefault:!0,type:"button",className:"edit-post-toggle-publish-panel__button",onClick:s,"aria-expanded":!1},Object(g.__)("Open publish panel"))),Object(r.createElement)(Tn,null),Object(r.createElement)(tn.Slot,null),b&&m&&Object(r.createElement)(C.ScrollLock,null)),Object(r.createElement)(C.Popover.Slot,null),Object(r.createElement)(M.PluginArea,null))});var Kn=Object(u.withSelect)(function(e,t){var n=t.postId,o=t.postType;return{hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),focusMode:e("core/edit-post").isFeatureActive("focusMode"),post:e("core").getEntityRecord("postType",o,n)}})(function(e){var t=e.settings,n=e.hasFixedToolbar,o=e.focusMode,i=e.post,a=e.initialEdits,l=e.onError,s=Object(k.a)(e,["settings","hasFixedToolbar","focusMode","post","initialEdits","onError"]);if(!i)return null;var u=Object(V.a)({},t,{hasFixedToolbar:n,focusMode:o});return Object(r.createElement)(r.StrictMode,null,Object(r.createElement)(c.EditorProvider,Object(P.a)({settings:u,post:i,initialEdits:a},s),Object(r.createElement)(c.ErrorBoundary,{onError:l},Object(r.createElement)(Xn,null)),Object(r.createElement)(c.PostLockedModal,null)))}),Qn=function(e,t){return!Array.isArray(t)||function(e,t){return 0===Object(h.difference)(e,t).length}(e,t)},zn=function(e){var t=e.allowedBlocks,n=e.icon,o=e.label,i=e.onClick,c=e.small,a=e.role;return Object(r.createElement)(ht,null,function(e){var l=e.selectedBlocks,s=e.onClose;return Qn(l,t)?Object(r.createElement)(C.IconButton,{className:"editor-block-settings-menu__control",onClick:Object(x.compose)(i,s),icon:n||"admin-plugins",label:c?o:void 0,role:a},!c&&o):null})};var Jn=Object(x.compose)(Object(M.withPluginContext)(function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.name)}}),Object(u.withSelect)(function(e,t){var n=t.sidebarName,o=e("core/edit-post"),i=o.getActiveGeneralSidebarName,r=o.isPluginItemPinned;return{isActive:i()===n,isPinned:r(n)}}),Object(u.withDispatch)(function(e,t){var n=t.isActive,o=t.sidebarName,i=e("core/edit-post"),r=i.closeGeneralSidebar,c=i.openGeneralSidebar,a=i.togglePinnedPluginItem;return{togglePin:function(){a(o)},toggleSidebar:function(){n?r():c(o)}}}))(function(e){var t=e.children,n=e.icon,o=e.isActive,i=e.isPinnable,c=void 0===i||i,a=e.isPinned,l=e.sidebarName,s=e.title,u=e.togglePin,d=e.toggleSidebar;return Object(r.createElement)(r.Fragment,null,c&&Object(r.createElement)(ut,null,a&&Object(r.createElement)(C.IconButton,{icon:n,label:s,onClick:d,isToggled:o,"aria-expanded":o})),Object(r.createElement)(tn,{name:l,label:Object(g.__)("Editor plugins")},Object(r.createElement)(nn,{closeLabel:Object(g.__)("Close plugin")},Object(r.createElement)("strong",null,s),c&&Object(r.createElement)(C.IconButton,{icon:a?"star-filled":"star-empty",label:a?Object(g.__)("Unpin from toolbar"):Object(g.__)("Pin to toolbar"),onClick:u,isToggled:a,"aria-expanded":a})),Object(r.createElement)(C.Panel,null,t)))}),Yn=Object(x.compose)(Object(M.withPluginContext)(function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.target)}}),Object(u.withSelect)(function(e,t){var n=t.sidebarName;return{isSelected:(0,e("core/edit-post").getActiveGeneralSidebarName)()===n}}),Object(u.withDispatch)(function(e,t){var n=t.isSelected,o=t.sidebarName,i=e("core/edit-post"),r=i.closeGeneralSidebar,c=i.openGeneralSidebar;return{onClick:n?r:function(){return c(o)}}}))(function(e){var t=e.children,n=e.icon,o=e.isSelected,i=e.onClick;return Object(r.createElement)($e,null,function(e){return Object(r.createElement)(C.MenuItem,{icon:o?"yes":n,isSelected:o,role:"menuitemcheckbox",onClick:Object(x.compose)(i,e.onClose)},t)})});function $n(e,t,n,o,i){Object(r.unmountComponentAtNode)(n);var c=$n.bind(null,e,t,n,o,i);Object(r.render)(Object(r.createElement)(Kn,{settings:o,onError:c,postId:t,postType:e,initialEdits:i,recovery:!0}),n)}function Zn(e,t,n,o,i){var c=document.getElementById(e),a=$n.bind(null,t,n,c,o,i);Object(s.registerCoreBlocks)(),Object(u.dispatch)("core/nux").triggerGuide(["core/editor.inserter","core/editor.settings","core/editor.preview","core/editor.publish"]),Object(r.render)(Object(r.createElement)(Kn,{settings:o,onError:a,postId:n,postType:t,initialEdits:i}),c)}n.d(t,"reinitializeEditor",function(){return $n}),n.d(t,"initializeEditor",function(){return Zn}),n.d(t,"PluginBlockSettingsMenuItem",function(){return zn}),n.d(t,"PluginPostPublishPanel",function(){return In}),n.d(t,"PluginPostStatusInfo",function(){return fn}),n.d(t,"PluginPrePublishPanel",function(){return Gn}),n.d(t,"PluginSidebar",function(){return Jn}),n.d(t,"PluginSidebarMoreMenuItem",function(){return Yn})},31:function(e,t,n){"use strict";var o,i;function r(e){return[e]}function c(e){return!!e&&"object"==typeof e}function a(){var e={clear:function(){e.head=null}};return e}function l(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o-1},get:function(n){return t[e.indexOf(n)]},set:function(n,r){-1===e.indexOf(n)&&(e.push(n),t.push(r))},delete:function(n){var r=e.indexOf(n);r>-1&&(e.splice(r,1),t.splice(r,1))}}}(),r=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){r=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function o(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!n.has(e)){var t=null,o=null,i=null,c=function(){e.clientWidth!==o&&u()},a=function(t){window.removeEventListener("resize",c,!1),e.removeEventListener("input",u,!1),e.removeEventListener("keyup",u,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",u,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),n.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",u,!1),window.addEventListener("resize",c,!1),e.addEventListener("input",u,!1),e.addEventListener("autosize:update",u,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",n.set(e,{destroy:a,update:u}),function(){var n=window.getComputedStyle(e,null);"vertical"===n.resize?e.style.resize="none":"both"===n.resize&&(e.style.resize="horizontal"),t="content-box"===n.boxSizing?-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),isNaN(t)&&(t=0),u()}()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function l(){if(0!==e.scrollHeight){var n=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",o=e.clientWidth,n.forEach(function(e){e.node.scrollTop=e.scrollTop}),r&&(document.documentElement.scrollTop=r)}}function u(){l();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(o0&&void 0!==arguments[0]?arguments[0]:{};return function(t){(e=Object(d.a)({},j,e)).shouldOverwriteState=Object(O.overSome)([e.shouldOverwriteState,function(t){return Object(O.includes)(e.ignoreTypes,t.type)}]);var n={past:[],present:t(void 0,{}),future:[],lastAction:null,shouldCreateUndoLevel:!1},r=e,o=r.resetTypes,i=void 0===o?[]:o,c=r.shouldOverwriteState,a=void 0===c?function(){return!1}:c;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,r=arguments.length>1?arguments[1]:void 0,o=e.past,c=e.present,s=e.future,l=e.lastAction,u=e.shouldCreateUndoLevel,p=l;switch(r.type){case"UNDO":return o.length?{past:Object(O.dropRight)(o),present:Object(O.last)(o),future:[c].concat(Object(b.a)(s)),lastAction:null,shouldCreateUndoLevel:!1}:e;case"REDO":return s.length?{past:Object(b.a)(o).concat([c]),present:Object(O.first)(s),future:Object(O.drop)(s),lastAction:null,shouldCreateUndoLevel:!1}:e;case"CREATE_UNDO_LEVEL":return Object(d.a)({},e,{lastAction:null,shouldCreateUndoLevel:!0})}var f=t(c,r);if(Object(O.includes)(i,r.type))return{past:[],present:f,future:[],lastAction:null,shouldCreateUndoLevel:!1};if(c===f)return e;var h=o,m=p;return!u&&o.length&&a(r,p)||(h=Object(b.a)(o).concat([c]),m=r),{past:h,present:f,future:[],shouldCreateUndoLevel:!1,lastAction:m}}}},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n,r){var o=t(n,r),i=void 0===n||Object(O.includes)(e.resetTypes,r.type),c=n!==o;if(!c&&!i)return n;c&&void 0!==n||(o=Object(d.a)({},o));var a=Object(O.includes)(e.ignoreTypes,r.type);return o.isDirty=a?n.isDirty:!i&&c,o}}},_=n(1),S={insertUsage:{},isPublishSidebarEnabled:!0},E={alignWide:!1,colors:[{name:Object(_.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(_.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(_.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(_.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(_.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(_.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(_.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(_.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(_.__)("Very light gray"),slug:"very-light-gray",color:"#eeeeee"},{name:Object(_.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(_.__)("Very dark gray"),slug:"very-dark-gray",color:"#313131"}],fontSizes:[{name:Object(_._x)("Small","font size name"),size:13,slug:"small"},{name:Object(_._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(_._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(_._x)("Large","font size name"),size:36,slug:"large"},{name:Object(_._x)("Huge","font size name"),size:48,slug:"huge"}],imageSizes:[{slug:"thumbnail",label:Object(_.__)("Thumbnail")},{slug:"medium",label:Object(_.__)("Medium")},{slug:"large",label:Object(_.__)("Large")},{slug:"full",label:Object(_.__)("Full Size")}],maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,richEditingEnabled:!0},C={};function w(e,t,n){return Object(b.a)(e.slice(0,n)).concat(Object(b.a)(Object(O.castArray)(t)),Object(b.a)(e.slice(n)))}function T(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=Object(b.a)(e);return o.splice(t,r),w(o,e.slice(t,t+r),n)}var P=new Set(["meta"]);function I(e){return e&&"object"===Object(h.a)(e)&&"raw"in e?e.raw:e}function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(f.a)({},t,[]);return e.forEach(function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,B(o,r))}),n}function x(e){for(var t={},n=Object(b.a)(e);n.length;){var r=n.shift(),o=r.innerBlocks,i=Object(p.a)(r,["innerBlocks"]);n.push.apply(n,Object(b.a)(o)),t[i.clientId]=i}return t}function L(e,t){return e===t?Object(d.a)({},e):t}function A(e,t){return Object(O.isEqual)(Object(O.keys)(e),Object(O.keys)(t))}function N(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&e.clientId===t.clientId&&A(e.attributes,t.attributes)}function R(e,t){return"EDIT_POST"===e.type&&A(e.edits,t.edits)}var D=Object(O.flow)([l.combineReducers,function(e){return function(t,n){if(t&&"REMOVE_BLOCKS"===n.type){for(var r=Object(b.a)(n.clientIds),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"EDIT_POST":return Object(O.reduce)(t.edits,function(t,n,r){return n!==e[r]&&(t=L(e,t),P.has(r)?t[r]=Object(d.a)({},t[r],n):t[r]=n),t},e);case"RESET_BLOCKS":return"content"in e?Object(O.omit)(e,"content"):e;case"UPDATE_POST":case"RESET_POST":var n="UPDATE_POST"===t.type?function(e){return t.edits[e]}:function(e){return I(t.post[e])};return Object(O.reduce)(e,function(t,r,o){return Object(O.isEqual)(r,n(o))?(delete(t=L(e,t))[o],t):t},e)}return e},blocks:Object(O.flow)([l.combineReducers,function(e){return function(t,n){if(t&&"RESET_BLOCKS"===n.type){var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(O.reduce)(t[n],function(n,r){return Object(b.a)(n).concat([r],Object(b.a)(e(t,r)))},[])}(t.order);return Object(d.a)({},t,{byClientId:Object(d.a)({},Object(O.omit)(t.byClientId,r),x(n.blocks)),order:Object(d.a)({},Object(O.omit)(t.order,r),B(n.blocks))})}return e(t,n)}},k({resetTypes:["SETUP_EDITOR_STATE","REQUEST_POST_UPDATE_START"],ignoreTypes:["RECEIVE_BLOCKS","RESET_POST","UPDATE_POST"]})])({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"SETUP_EDITOR_STATE":return x(t.blocks);case"RECEIVE_BLOCKS":return Object(d.a)({},e,x(t.blocks));case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(O.reduce)(t.attributes,function(n,r,o){return r!==n[o]&&((n=L(e[t.clientId].attributes,n))[o]=r),n},e[t.clientId].attributes);return n===e[t.clientId].attributes?e:Object(d.a)({},e,Object(f.a)({},t.clientId,Object(d.a)({},e[t.clientId],{attributes:n})));case"UPDATE_BLOCK":return e[t.clientId]?Object(d.a)({},e,Object(f.a)({},t.clientId,Object(d.a)({},e[t.clientId],t.updates))):e;case"INSERT_BLOCKS":return Object(d.a)({},e,x(t.blocks));case"REPLACE_BLOCKS":return t.blocks?Object(d.a)({},Object(O.omit)(e,t.clientIds),x(t.blocks)):e;case"REMOVE_BLOCKS":return Object(O.omit)(e,t.clientIds);case"SAVE_REUSABLE_BLOCK_SUCCESS":var r=t.id,o=t.updatedId;return r===o?e:Object(O.mapValues)(e,function(e){return"core/block"===e.name&&e.attributes.ref===r?Object(d.a)({},e,{attributes:Object(d.a)({},e.attributes,{ref:o})}):e})}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"SETUP_EDITOR_STATE":return B(t.blocks);case"RECEIVE_BLOCKS":return Object(d.a)({},e,Object(O.omit)(B(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=t.blocks,i=e[r]||[],c=B(o,r),a=t.index,s=void 0===a?i.length:a;return Object(d.a)({},e,c,Object(f.a)({},r,w(i,c[r],s)));case"MOVE_BLOCK_TO_POSITION":var l,u=t.fromRootClientId,p=void 0===u?"":u,h=t.toRootClientId,m=void 0===h?"":h,v=t.clientId,g=t.index,j=void 0===g?e[m].length:g;if(p===m){var y=e[m].indexOf(v);return Object(d.a)({},e,Object(f.a)({},m,T(e[m],y,j)))}return Object(d.a)({},e,(l={},Object(f.a)(l,p,Object(O.without)(e[p],v)),Object(f.a)(l,m,w(e[m],v,j)),l));case"MOVE_BLOCKS_UP":var k=t.clientIds,_=t.rootClientId,S=void 0===_?"":_,E=Object(O.first)(k),C=e[S];if(!C.length||E===Object(O.first)(C))return e;var P=C.indexOf(E);return Object(d.a)({},e,Object(f.a)({},S,T(C,P,P-1,k.length)));case"MOVE_BLOCKS_DOWN":var I=t.clientIds,x=t.rootClientId,L=void 0===x?"":x,A=Object(O.first)(I),N=Object(O.last)(I),R=e[L];if(!R.length||N===Object(O.last)(R))return e;var D=R.indexOf(A);return Object(d.a)({},e,Object(f.a)({},L,T(R,D,D+1,I.length)));case"REPLACE_BLOCKS":var F=t.blocks,M=t.clientIds;if(!F)return e;var U=B(F);return Object(O.flow)([function(e){return Object(O.omit)(e,M)},function(e){return Object(d.a)({},e,Object(O.omit)(U,""))},function(e){return Object(O.mapValues)(e,function(e){return Object(O.reduce)(e,function(e,t){return t===M[0]?Object(b.a)(e).concat(Object(b.a)(U[""])):(-1===M.indexOf(t)&&e.push(t),e)},[])})}])(e);case"REMOVE_BLOCKS":return Object(O.flow)([function(e){return Object(O.omit)(e,t.clientIds)},function(e){return Object(O.mapValues)(e,function(e){return O.without.apply(void 0,[e].concat(Object(b.a)(t.clientIds)))})}])(e)}return e}})});var F=Object(l.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(O.reduce)(t.results,function(t,n){var r=n.reusableBlock,o=r.id,i=r.title,c={clientId:n.parsedBlock.clientId,title:i};return Object(O.isEqual)(t[o],c)||((t=L(e,t))[o]=c),t},e);case"UPDATE_REUSABLE_BLOCK_TITLE":var n=t.id,r=t.title;return e[n]&&e[n].title!==r?Object(d.a)({},e,Object(f.a)({},n,Object(d.a)({},e[n],{title:r}))):e;case"SAVE_REUSABLE_BLOCK_SUCCESS":var o=t.id,i=t.updatedId;if(o===i)return e;var c=e[o];return Object(d.a)({},Object(O.omit)(e,o),Object(f.a)({},i,c));case"REMOVE_REUSABLE_BLOCK":var a=t.id;return Object(O.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(d.a)({},e,Object(f.a)({},n,!0)):e;case"FETCH_REUSABLE_BLOCKS_SUCCESS":case"FETCH_REUSABLE_BLOCKS_FAILURE":var r=t.id;return Object(O.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(d.a)({},e,Object(f.a)({},t.id,!0));case"SAVE_REUSABLE_BLOCK_SUCCESS":case"SAVE_REUSABLE_BLOCK_FAILURE":var n=t.id;return Object(O.omit)(e,n)}return e}});var M=v()(Object(l.combineReducers)({editor:D,initialEdits:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SETUP_EDITOR":if(!t.edits)break;return t.edits;case"SETUP_EDITOR_STATE":return"content"in e?Object(O.omit)(e,"content"):e;case"UPDATE_POST":return Object(O.reduce)(t.edits,function(t,n,r){return t.hasOwnProperty(r)?(delete(t=L(e,t))[r],t):t},e);case"RESET_POST":return C}return e},currentPost:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":var n;if(t.post)n=t.post;else{if(!t.edits)return e;n=Object(d.a)({},e,t.edits)}return Object(O.mapValues)(n,I)}return e},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]:{start:null,end:null,isMultiSelecting:!1,isEnabled:!0,initialPosition:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return null!==e.start||null!==e.end||e.isMultiSelecting?Object(d.a)({},e,{start:null,end:null,isMultiSelecting:!1,initialPosition:null}):e;case"START_MULTI_SELECT":return e.isMultiSelecting?e:Object(d.a)({},e,{isMultiSelecting:!0,initialPosition:null});case"STOP_MULTI_SELECT":return e.isMultiSelecting?Object(d.a)({},e,{isMultiSelecting:!1,initialPosition:null}):e;case"MULTI_SELECT":return Object(d.a)({},e,{start:t.start,end:t.end,initialPosition:null});case"SELECT_BLOCK":return t.clientId===e.start&&t.clientId===e.end?e:Object(d.a)({},e,{start:t.clientId,end:t.clientId,initialPosition:t.initialPosition});case"INSERT_BLOCKS":return t.updateSelection?Object(d.a)({},e,{start:t.blocks[0].clientId,end:t.blocks[0].clientId,initialPosition:null,isMultiSelecting:!1}):e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.start)?Object(d.a)({},e,{start:null,end:null,initialPosition:null,isMultiSelecting:!1}):e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.start))return e;var n=Object(O.get)(t.blocks,[0,"clientId"],null);return Object(d.a)({},e,{start:n,end:n,initialPosition:null,isMultiSelecting:!1});case"TOGGLE_SELECTION":return Object(d.a)({},e,{isEnabled:t.isSelectionEnabled})}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(d.a)({},e,Object(f.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(O.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(O.isEqual)(e[n],t.settings)?e:Object(d.a)({},e,Object(f.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(O.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},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S,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(d.a)({},e,{insertUsage:Object(d.a)({},e.insertUsage,Object(f.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})},e);case"REMOVE_REUSABLE_BLOCK":return Object(d.a)({},e,{insertUsage:Object(O.omitBy)(e.insertUsage,function(e){return e.insert.ref===t.id})});case"ENABLE_PUBLISH_SIDEBAR":return Object(d.a)({},e,{isPublishSidebarEnabled:!0});case"DISABLE_PUBLISH_SIDEBAR":return Object(d.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":return{requesting:!0,successful:!1,error:null,options:t.options||{}};case"REQUEST_POST_UPDATE_SUCCESS":return{requesting:!1,successful:!0,error:null,options:t.options||{}};case"REQUEST_POST_UPDATE_FAILURE":return{requesting:!1,successful:!1,error:t.error,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:F,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(d.a)({},e,{isValid:t.isValid})}return e},autosave: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"RESET_AUTOSAVE":var n=t.post,r=["title","excerpt","content"].map(function(e){return I(n[e])}),o=Object(u.a)(r,3);return{title:o[0],excerpt:o[1],content:o[2]}}return e},previewLink: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"REQUEST_POST_UPDATE_SUCCESS":return t.post.preview_link||Object(g.addQueryArgs)(t.post.link,{preview:!0});case"REQUEST_POST_UPDATE_START":if(e&&t.options.isPreview)return null}return e},settings: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"UPDATE_EDITOR_SETTINGS":return Object(d.a)({},e,t.settings)}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(d.a)({},e,Object(f.a)({},t.lockName,!0));case"UNLOCK_POST_SAVING":return Object(O.omit)(e,t.lockName)}return e}})),U=n(87),V=n.n(U),H=n(190),K=n.n(H),z=n(44);function W(e,t){return{type:"SETUP_EDITOR",post:e,edits:t}}function q(e){return{type:"RESET_POST",post:e}}function G(e){return{type:"RESET_AUTOSAVE",post:e}}function $(e){return{type:"UPDATE_POST",edits:e}}function Y(e,t){return{type:"SETUP_EDITOR_STATE",post:e,blocks:t}}function Q(e){return{type:"RESET_BLOCKS",blocks:e}}function X(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function Z(e,t){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientId:e,attributes:t}}function J(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function ee(e){return{type:"SELECT_BLOCK",initialPosition:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function te(){return{type:"START_MULTI_SELECT"}}function ne(){return{type:"STOP_MULTI_SELECT"}}function re(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function oe(){return{type:"CLEAR_SELECTED_BLOCK"}}function ie(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function ce(e,t){return{type:"REPLACE_BLOCKS",clientIds:Object(O.castArray)(e),blocks:Object(O.castArray)(t),time:Date.now()}}function ae(e,t){return ce(e,t)}function se(e){return function(t,n){return{clientIds:Object(O.castArray)(t),type:e,rootClientId:n}}}var le=se("MOVE_BLOCKS_DOWN"),ue=se("MOVE_BLOCKS_UP");function de(e,t,n,r){return{type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r}}function pe(e,t,n){return be([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function be(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return{type:"INSERT_BLOCKS",blocks:Object(O.castArray)(e),index:t,rootClientId:n,time:Date.now(),updateSelection:r}}function fe(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function he(){return{type:"HIDE_INSERTION_POINT"}}function me(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function ve(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Oe(e){return{type:"EDIT_POST",edits:e}}function ge(){return{type:"REQUEST_POST_UPDATE",options:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}function je(){return{type:"REFRESH_POST"}}function ye(e,t){return{type:"TRASH_POST",postId:e,postType:t}}function ke(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function _e(e){return ge(Object(d.a)({isAutosave:!0},e))}function Se(){return{type:"REDO"}}function Ee(){return{type:"UNDO"}}function Ce(){return{type:"CREATE_UNDO_LEVEL"}}function we(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{type:"REMOVE_BLOCKS",clientIds:Object(O.castArray)(e),selectPrevious:t}}function Te(e,t){return we([e],t)}function Pe(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function Ie(){return{type:"START_TYPING"}}function Be(){return{type:"STOP_TYPING"}}function xe(){return{type:"ENTER_FORMATTED_TEXT"}}function Le(){return{type:"EXIT_FORMATTED_TEXT"}}function Ae(e){return{type:"UPDATE_POST_LOCK",lock:e}}function Ne(e){return{type:"FETCH_REUSABLE_BLOCKS",id:e}}function Re(e){return{type:"RECEIVE_REUSABLE_BLOCKS",results:e}}function De(e){return{type:"SAVE_REUSABLE_BLOCK",id:e}}function Fe(e){return{type:"DELETE_REUSABLE_BLOCK",id:e}}function Me(e,t){return{type:"UPDATE_REUSABLE_BLOCK_TITLE",id:e,title:t}}function Ue(e){return{type:"CONVERT_BLOCK_TO_STATIC",clientId:e}}function Ve(e){return{type:"CONVERT_BLOCK_TO_REUSABLE",clientIds:Object(O.castArray)(e)}}function He(e,t,n){return pe(Object(i.createBlock)(Object(i.getDefaultBlockName)(),e),n,t)}function Ke(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function ze(e){return{type:"UPDATE_EDITOR_SETTINGS",settings:e}}function We(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function qe(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function Ge(e){return{type:"LOCK_POST_SAVING",lockName:e}}function $e(e){return{type:"UNLOCK_POST_SAVING",lockName:e}}var Ye=n(31),Qe=n(46),Xe=n(57),Ze="post-update",Je=/%(?:postname|pagename)%/,et=3,tt=2,nt=1,rt=0,ot=6e4,it=[];function ct(e){return e.editor.past.length>0}function at(e){return e.editor.future.length>0}function st(e){return"auto-draft"===pt(e).status}function lt(e){return e.editor.present.blocks.isDirty||"content"in e.editor.present.edits}function ut(e){return!!lt(e)||(Object.keys(e.editor.present.edits).length>0||er(e,ut))}function dt(e){return!ut(e)&&st(e)}function pt(e){return e.currentPost}function bt(e){return e.currentPost.type}function ft(e){return pt(e).id||null}function ht(e){return Object(O.get)(pt(e),["_links","version-history",0,"count"],0)}function mt(e){return Object(O.get)(pt(e),["_links","predecessor-version",0,"id"],null)}var vt=Object(Ye.a)(function(e){return Object(d.a)({},e.initialEdits,e.editor.present.edits)},function(e){return[e.editor.present.edits,e.initialEdits]}),Ot=Object(Ye.a)(function(){return[]},function(e){return[e.editor]});function gt(e,t){var n=pt(e);if(n.hasOwnProperty(t))return n[t]}function jt(e,t){var n=vt(e);switch(t){case"content":return Dn(e)}return n.hasOwnProperty(t)?n[t]:gt(e,t)}function yt(e,t){if(!Bt(e))return null;var n=It(e);return n.hasOwnProperty(t)?n[t]:void 0}function kt(e){var t=jt(e,"status"),n=jt(e,"password");return"private"===t?"private":n?"password":"public"}function _t(e){return"pending"===pt(e).status}function St(e){var t=pt(e);return-1!==["publish","private"].indexOf(t.status)||"future"===t.status&&!Object(Qe.isInTheFuture)(new Date(Number(Object(Qe.getDate)(t.date))-ot))}function Et(e){return"future"===pt(e).status&&!St(e)}function Ct(e){var t=pt(e);return ut(e)||-1===["publish","private","future"].indexOf(t.status)}function wt(e){return!Pn(e)&&(!!jt(e,"title")||!!jt(e,"excerpt")||!Tt(e))}function Tt(e){var t=Rn(e);if(t.length&&!("content"in vt(e))){if(t.length>1)return!1;if(t[0].name!==Object(i.getFreeformContentHandlerName)())return!1}return!Dn(e)}function Pt(e){if(!wt(e))return!1;if(!Bt(e))return!0;if(lt(e))return!0;var t=It(e);return["title","excerpt"].some(function(n){return t[n]!==jt(e,n)})}function It(e){return e.autosave}function Bt(e){return!!It(e)}function xt(e){var t=jt(e,"date"),n=new Date(Number(Object(Qe.getDate)(t))-ot);return Object(Qe.isInTheFuture)(n)}function Lt(e){var t=jt(e,"date"),n=jt(e,"modified"),r=jt(e,"status");return("draft"===r||"auto-draft"===r)&&t===n}var At=Object(Ye.a)(function(){return[]},function(e,t){return Object(O.map)(bn(e,t),function(t){return Dt(e,t)})});function Nt(e,t){var n=e.editor.present.blocks.byClientId[t];return n?n.name:null}function Rt(e,t){var n=e.editor.present.blocks.byClientId[t];return!!n&&n.isValid}var Dt=Object(Ye.a)(function(e,t){var n=e.editor.present.blocks.byClientId[t];if(!n)return null;var r=n.attributes,o=Object(i.getBlockType)(n.name);return o&&(r=Object(O.reduce)(o.attributes,function(t,n,o){return"meta"===n.source&&(t===r&&(t=Object(d.a)({},t)),t[o]=function(e,t){return Object(O.has)(e,["editor","present","edits","meta",t])?Object(O.get)(e,["editor","present","edits","meta",t]):Object(O.get)(e,["currentPost","meta",t])}(e,n.meta)),t},r)),Object(d.a)({},n,{attributes:r,innerBlocks:Ft(e,t)})},function(e,t){return[e.editor.present.blocks.byClientId[t],At(e,t),e.editor.present.edits.meta,e.initialEdits.meta,e.currentPost.meta]});var Ft=Object(Ye.a)(function(e,t){return Object(O.map)(bn(e,t),function(t){return Dt(e,t)})},function(e){return[e.editor.present.blocks]}),Mt=function e(t,n){return Object(O.flatMap)(n,function(n){var r=bn(t,n);return Object(b.a)(r).concat(Object(b.a)(e(t,r)))})},Ut=Object(Ye.a)(function(e){var t=bn(e);return Object(b.a)(t).concat(Object(b.a)(Mt(e,t)))},function(e){return[e.editor.present.blocks.order]}),Vt=Object(Ye.a)(function(e,t){var n=Ut(e);return t?Object(O.reduce)(n,function(n,r){return e.editor.present.blocks.byClientId[r].name===t?n+1:n},0):n.length},function(e){return[e.editor.present.blocks.order,e.editor.present.blocks.byClientId]}),Ht=Object(Ye.a)(function(e,t){return Object(O.map)(Object(O.castArray)(t),function(t){return Dt(e,t)})},function(e){return[e.editor.present.edits.meta,e.initialEdits.meta,e.currentPost.meta,e.editor.present.blocks]});function Kt(e,t){return bn(e,t).length}function zt(e){return e.blockSelection.start}function Wt(e){return e.blockSelection.end}function qt(e){var t=nn(e).length;return t||(e.blockSelection.start?1:0)}function Gt(e){var t=e.blockSelection,n=t.start,r=t.end;return!!n&&n===r}function $t(e){var t=e.blockSelection,n=t.start;return n===t.end&&n?n:null}function Yt(e){var t=$t(e);return t?Dt(e,t):null}var Qt=Object(Ye.a)(function(e,t){var n=e.editor.present.blocks.order;for(var r in n)if(Object(O.includes)(n[r],t))return r;return null},function(e){return[e.editor.present.blocks.order]}),Xt=Object(Ye.a)(function(e,t){for(var n=t,r=t;n;)n=Qt(e,r=n);return r},function(e){return[e.editor.present.blocks.order]});function Zt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=$t(e)),void 0===t&&(t=n<0?on(e):cn(e)),!t)return null;var r=Qt(e,t);if(null===r)return null;var o=e.editor.present.blocks.order[r],i=o.indexOf(t)+1*n;return i<0?null:i===o.length?null:o[i]}function Jt(e,t){return Zt(e,t,-1)}function en(e,t){return Zt(e,t,1)}function tn(e){var t=e.blockSelection,n=t.start;return n===t.end&&n?e.blockSelection.initialPosition:null}var nn=Object(Ye.a)(function(e){var t=e.blockSelection,n=t.start,r=t.end;if(n===r)return[];var o=Qt(e,n);if(null===o)return[];var i=bn(e,o),c=i.indexOf(n),a=i.indexOf(r);return c>a?i.slice(a,c+1):i.slice(c,a+1)},function(e){return[e.editor.present.blocks.order,e.blockSelection.start,e.blockSelection.end]}),rn=Object(Ye.a)(function(e){var t=nn(e);return t.length?t.map(function(t){return Dt(e,t)}):it},function(e){return[e.editor.present.blocks.order,e.blockSelection.start,e.blockSelection.end,e.editor.present.blocks.byClientId,e.editor.present.edits.meta,e.initialEdits.meta,e.currentPost.meta]});function on(e){return Object(O.first)(nn(e))||null}function cn(e){return Object(O.last)(nn(e))||null}var an=Object(Ye.a)(function(e,t,n){for(var r=n;t!==r&&r;)r=Qt(e,r);return t===r},function(e){return[e.editor.present.blocks]});function sn(e,t){return on(e)===t}function ln(e,t){return-1!==nn(e).indexOf(t)}var un=Object(Ye.a)(function(e,t){for(var n=t,r=!1;n&&!r;)r=ln(e,n=Qt(e,n));return r},function(e){return[e.editor.present.blocks.order,e.blockSelection.start,e.blockSelection.end]});function dn(e){var t=e.blockSelection,n=t.start;return n===t.end?null:n||null}function pn(e){var t=e.blockSelection,n=t.start,r=t.end;return n===r?null:r||null}function bn(e,t){return e.editor.present.blocks.order[t||""]||it}function fn(e,t,n){return bn(e,n).indexOf(t)}function hn(e,t){var n=e.blockSelection,r=n.start;return r===n.end&&r===t}function mn(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(O.some)(bn(e,t),function(t){return hn(e,t)||ln(e,t)||n&&mn(e,t,n)})}function vn(e,t){if(!t)return!1;var n=nn(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(O.isBoolean)(e)?e:Object(O.isArray)(e)?Object(O.includes)(e,t):n},o=Object(i.getBlockType)(t);if(!o)return!1;if(!r(nr(e).allowedBlockTypes,t,!0))return!1;if(!!Tn(e,n))return!1;var c=tr(e,n),a=r(Object(O.get)(c,["allowedBlocks"]),t),s=r(o.parent,Nt(e,n));return null!==a&&null!==s?a||s:null!==a?a:null===s||s},Mn=Object(Ye.a)(Fn,function(e,t,n){return[e.blockListSettings[n],e.editor.present.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]});function Un(e,t){return e.preferences.insertUsage[t]||null}var Vn=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&Fn(e,t.name,n)},Hn=function(e,t,n){if(!Fn(e,"core/block",n))return!1;var r=Nt(e,t.clientId);return!!r&&(!!Object(i.getBlockType)(r)&&(!!Fn(e,r,n)&&!an(e,t.clientId,n)))},Kn=Object(Ye.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?et:t>0?tt:"common"===e?nt:rt},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 Vn(e,n,t)}).map(function(t){var o=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(O.some)(Ht(e,Ut(e)),{name:t.name}));var a=Object(O.isArray)(t.parent),s=Un(e,o)||{},l=s.time,u=s.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(l,d),hasChildBlocksWithInserterSupport:Object(i.hasChildBlocksWithInserterSupport)(t.name)}}),c=$n(e).filter(function(n){return Hn(e,n,t)}).map(function(t){var o="core/block/".concat(t.id),c=Nt(e,t.clientId),a=Object(i.getBlockType)(c),s=Un(e,o)||{},l=s.time,u=s.count,d=void 0===u?0:u,p=n("reusable",d,!1),b=r(l,d);return{id:o,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:a.icon,category:"reusable",keywords:[],isDisabled:!1,utility:p,frecency:b}});return Object(O.orderBy)(Object(b.a)(o).concat(Object(b.a)(c)),["utility","frecency"],["desc","desc"])},function(e,t){return[e.blockListSettings[t],e.editor.present.blocks,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,e.reusableBlocks.data,Object(i.getBlockTypes)()]}),zn=Object(Ye.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!!Object(O.some)(Object(i.getBlockTypes)(),function(n){return Vn(e,n,t)})||Object(O.some)($n(e),function(n){return Hn(e,n,t)})},function(e,t){return[e.blockListSettings[t],e.editor.present.blocks,e.settings.allowedBlockTypes,e.settings.templateLock,e.reusableBlocks.data,Object(i.getBlockTypes)()]}),Wn=Object(Ye.a)(function(e,t){var n=e.reusableBlocks.data[t];if(!n)return null;var r=isNaN(parseInt(t));return Object(d.a)({},n,{id:r?t:+t,isTemporary:r})},function(e,t){return[e.reusableBlocks.data[t]]});function qn(e,t){return e.reusableBlocks.isSaving[t]||!1}function Gn(e,t){return!!e.reusableBlocks.isFetching[t]}function $n(e){return Object(O.map)(e.reusableBlocks.data,function(t,n){return Wn(e,n)})}function Yn(e,t){var n=Object(O.find)(e.optimist,function(e){return e.beforeState&&Object(O.get)(e.action,["optimist","id"])===t});return n?n.beforeState:null}function Qn(e){if(!Pn(e))return!1;if(!St(e))return!1;var t=Yn(e,Ze);return!!t&&!St(t)}function Xn(e){var t=jt(e,"permalink_template");return Je.test(t)}function Zn(e){var t=Jn(e),n=t.prefix,r=t.postName,o=t.suffix;return Xn(e)?n+r+o:n}function Jn(e){var t=jt(e,"permalink_template"),n=jt(e,"slug")||jt(e,"generated_slug"),r=t.split(Je),o=Object(u.a)(r,2);return{prefix:o[0],postName:n,suffix:o[1]}}function er(e,t){var n=e.optimist;return!!n&&n.some(function(e){var n=e.beforeState;return n&&t(n)})}function tr(e,t){return e.blockListSettings[t]}function nr(e){return e.settings}function rr(e,t){return t?e.tokens[t]:e.tokens}function or(e){return e.postLock.isLocked}function ir(e){return Object.keys(e.postSavingLock).length>0}function cr(e){return e.postLock.isTakeover}function ar(e){return e.postLock.user}function sr(e){return e.postLock.activePostLock}function lr(e){return Object(O.has)(pt(e),["_links","wp:action-unfiltered-html"])}function ur(e){return e.preferences.hasOwnProperty("isPublishSidebarEnabled")?e.preferences.isPublishSidebarEnabled:S.isPublishSidebarEnabled}var dr=n(38),pr=n(30),br=n.n(pr),fr=function(){var e=Object(dr.a)(regeneratorRuntime.mark(function e(t,n){var r,o,c,a,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.id,o=n.dispatch,e.next=4,br()({path:"/wp/v2/types/wp_block"});case 4:if(c=e.sent){e.next=7;break}return e.abrupt("return");case 7:return a=r?br()({path:"/wp/v2/".concat(c.rest_base,"/").concat(r)}):br()({path:"/wp/v2/".concat(c.rest_base,"?per_page=-1")}),e.prev=8,e.next=11,a;case 11:s=e.sent,o(Re(Object(O.map)(Object(O.castArray)(s),function(e){var t=Object(i.parse)(e.content.raw);return{reusableBlock:{id:e.id,title:I(e.title)},parsedBlock:1===t.length?t[0]:Object(i.createBlock)("core/template",{},t)}}))),o({type:"FETCH_REUSABLE_BLOCKS_SUCCESS",id:r}),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(8),o({type:"FETCH_REUSABLE_BLOCKS_FAILURE",id:r,error:e.t0});case 19:case"end":return e.stop()}},e,this,[[8,16]])}));return function(t,n){return e.apply(this,arguments)}}(),hr=function(){var e=Object(dr.a)(regeneratorRuntime.mark(function e(t,n){var r,o,c,a,s,u,d,p,b,f,h,m,v,O,g;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,br()({path:"/wp/v2/types/wp_block"});case 2:if(r=e.sent){e.next=5;break}return e.abrupt("return");case 5:return o=t.id,c=n.dispatch,a=n.getState(),s=Wn(a,o),u=s.clientId,d=s.title,p=s.isTemporary,b=Dt(a,u),f=Object(i.serialize)("core/template"===b.name?b.innerBlocks:b),h=p?{title:d,content:f,status:"publish"}:{id:o,title:d,content:f,status:"publish"},m=p?"/wp/v2/".concat(r.rest_base):"/wp/v2/".concat(r.rest_base,"/").concat(o),v=p?"POST":"PUT",e.prev=14,e.next=17,br()({path:m,data:h,method:v});case 17:O=e.sent,c({type:"SAVE_REUSABLE_BLOCK_SUCCESS",updatedId:O.id,id:o}),g=p?Object(_.__)("Block created."):Object(_.__)("Block updated."),Object(l.dispatch)("core/notices").createSuccessNotice(g,{id:"REUSABLE_BLOCK_NOTICE_ID"}),e.next=27;break;case 23:e.prev=23,e.t0=e.catch(14),c({type:"SAVE_REUSABLE_BLOCK_FAILURE",id:o}),Object(l.dispatch)("core/notices").createErrorNotice(e.t0.message,{id:"REUSABLE_BLOCK_NOTICE_ID"});case 27:case"end":return e.stop()}},e,this,[[14,23]])}));return function(t,n){return e.apply(this,arguments)}}(),mr=function(){var e=Object(dr.a)(regeneratorRuntime.mark(function e(t,n){var r,o,c,a,s,u,d,p,f,h;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,br()({path:"/wp/v2/types/wp_block"});case 2:if(r=e.sent){e.next=5;break}return e.abrupt("return");case 5:if(o=t.id,c=n.getState,a=n.dispatch,(s=Wn(c(),o))&&!s.isTemporary){e.next=10;break}return e.abrupt("return");case 10:return u=Ft(c()),d=u.filter(function(e){return Object(i.isReusableBlock)(e)&&e.attributes.ref===o}),p=d.map(function(e){return e.clientId}),f=Object(O.uniqueId)(),a({type:"REMOVE_REUSABLE_BLOCK",id:o,optimist:{type:m.BEGIN,id:f}}),a(we(Object(b.a)(p).concat([s.clientId]))),e.prev=16,e.next=19,br()({path:"/wp/v2/".concat(r.rest_base,"/").concat(o),method:"DELETE"});case 19:a({type:"DELETE_REUSABLE_BLOCK_SUCCESS",id:o,optimist:{type:m.COMMIT,id:f}}),h=Object(_.__)("Block deleted."),Object(l.dispatch)("core/notices").createSuccessNotice(h,{id:"REUSABLE_BLOCK_NOTICE_ID"}),e.next=28;break;case 24:e.prev=24,e.t0=e.catch(16),a({type:"DELETE_REUSABLE_BLOCK_FAILURE",id:o,optimist:{type:m.REVERT,id:f}}),Object(l.dispatch)("core/notices").createErrorNotice(e.t0.message,{id:"REUSABLE_BLOCK_NOTICE_ID"});case 28:case"end":return e.stop()}},e,this,[[16,24]])}));return function(t,n){return e.apply(this,arguments)}}();function vr(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.getBlockInsertionParentClientId,n=void 0===t?Gr:t,r=e.getInserterItems,o=void 0===r?$r:r,c=e.getSelectedBlockName,a=void 0===c?Yr:c;return{name:"blocks",className:"editor-autocompleters__block",triggerPrefix:"/",options:function(){var e=a();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 Object(b.a)(r).concat([t])},getOptionLabel:function(e){var t=e.icon,n=e.title;return[Object(wr.createElement)(qr,{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(i.createBlock)(t,n)}},isOptionDisabled:function(e){return e.isDisabled}}}(),Xr={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options:function(e){var t="";return e&&(t="?search="+encodeURIComponent(e)),br()({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:function(e){return[e.slug,e.name]},getOptionLabel:function(e){return[Object(wr.createElement)("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}),Object(wr.createElement)("span",{key:"name",className:"editor-autocompleters__user-name"},e.name),Object(wr.createElement)("span",{key:"slug",className:"editor-autocompleters__user-slug"},e.slug)]},getOptionCompletion:function(e){return"@".concat(e.slug)}},Zr=[{icon:"editor-alignleft",title:Object(_.__)("Align text left"),align:"left"},{icon:"editor-aligncenter",title:Object(_.__)("Align text center"),align:"center"},{icon:"editor-alignright",title:Object(_.__)("Align text right"),align:"right"}];var Jr=Object(Ir.compose)(Hr(function(e){return{clientId:e.clientId}}),Object(s.withViewportMatch)({isLargeViewport:"medium"}),Object(l.withSelect)(function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,i=e("core/editor"),c=i.getBlockRootClientId,a=i.getEditorSettings;return{isCollapsed:o||!r||!a().hasFixedToolbar&&c(n)}}))(function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.alignmentControls,i=void 0===o?Zr:o,c=Object(O.find)(i,function(e){return e.align===n});return Object(wr.createElement)(Fr.Toolbar,{isCollapsed:t,icon:c?c.icon:"editor-alignleft",label:Object(_.__)("Change Text Alignment"),controls:i.map(function(e){var t=e.align,o=n===t;return Object(d.a)({},e,{isActive:o,onClick:function(e){return function(){return r(n===e?void 0:e)}}(t)})})})}),eo={left:{icon:"align-left",title:Object(_.__)("Align left")},center:{icon:"align-center",title:Object(_.__)("Align center")},right:{icon:"align-right",title:Object(_.__)("Align right")},wide:{icon:"align-wide",title:Object(_.__)("Wide width")},full:{icon:"align-full-width",title:Object(_.__)("Full width")}},to=["left","center","right","wide","full"],no=["wide","full"];var ro=Object(Ir.compose)(Hr(function(e){return{clientId:e.clientId}}),Object(s.withViewportMatch)({isLargeViewport:"medium"}),Object(l.withSelect)(function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,i=e("core/editor"),c=i.getBlockRootClientId,a=i.getEditorSettings;return{wideControlsEnabled:e("core/editor").getEditorSettings().alignWide,isCollapsed:o||!r||!a().hasFixedToolbar&&c(n)}}))(function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.controls,i=void 0===o?to:o,c=e.wideControlsEnabled,a=void 0!==c&&c?i:i.filter(function(e){return-1===no.indexOf(e)}),s=eo[n];return Object(wr.createElement)(Fr.Toolbar,{isCollapsed:t,icon:s?s.icon:"align-left",label:Object(_.__)("Change Alignment"),controls:a.map(function(e){return Object(d.a)({},eo[e],{isActive:n===e,onClick:function(e){return function(){return r(n===e?void 0:e)}}(e)})})})}),oo=Object(Fr.createSlotFill)("BlockControls"),io=oo.Fill,co=oo.Slot,ao=Kr(function(e){var t=e.controls,n=e.children;return Object(wr.createElement)(io,null,Object(wr.createElement)(Fr.Toolbar,{controls:t}),n)});ao.Slot=co;var so=ao,lo=Object(Fr.withFilters)("editor.BlockEdit")(function(e){var t=e.attributes,n=void 0===t?{}:t,r=e.name,o=Object(i.getBlockType)(r);if(!o)return null;var c=Object(i.hasBlockSupport)(o,"className",!0)?Object(i.getBlockDefaultClassName)(r):null,a=Pr()(c,n.className),s=o.edit||o.save;return Object(wr.createElement)(s,Object(Cr.a)({},e,{className:a}))}),uo=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).call(this,e))).setFocusedElement=n.setFocusedElement.bind(Object(Dr.a)(Object(Dr.a)(n))),n.state={focusedElement:null,setFocusedElement:n.setFocusedElement},n}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"setFocusedElement",value:function(e){this.setState(function(t){return t.focusedElement===e?null:{focusedElement:e}})}},{key:"render",value:function(){return Object(wr.createElement)(Vr,{value:this.state},Object(wr.createElement)(lo,this.props))}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.clientId;return{name:e.name,isSelected:e.isSelected,clientId:t}}}]),t}(wr.Component),po=Object(Fr.createSlotFill)("BlockFormatControls"),bo=po.Fill,fo=po.Slot,ho=Kr(bo);ho.Slot=fo;var mo=ho,vo=n(17);function Oo(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showNestedBlocks;return Object(wr.createElement)("ul",{className:"editor-block-navigation__list",role:"list"},Object(O.map)(t,function(e){var t=Object(i.getBlockType)(e.name),c=e.clientId===n;return Object(wr.createElement)("li",{key:e.clientId},Object(wr.createElement)("div",{className:"editor-block-navigation__item"},Object(wr.createElement)(Fr.Button,{className:Pr()("editor-block-navigation__item-button",{"is-selected":e.clientId===n}),onClick:function(){return r(e.clientId)},isSelected:c},Object(wr.createElement)(qr,{icon:t.icon,showColors:!0}),t.title,c&&Object(wr.createElement)("span",{className:"screen-reader-text"},Object(_.__)("(selected block)")))),o&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(wr.createElement)(Oo,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,showNestedBlocks:!0}))}))}var go=Object(Ir.compose)(Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,i=t.getBlocks,c=n();return{rootBlocks:i(),rootBlock:c?o(r(c)):null,selectedBlockClientId:c}}),Object(l.withDispatch)(function(e,t){var n=t.onSelect,r=void 0===n?O.noop:n;return{selectBlock:function(t){e("core/editor").selectBlock(t),r(t)}}}))(function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock,i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(wr.createElement)(Fr.NavigableMenu,{role:"presentation",className:"editor-block-navigation__container"},Object(wr.createElement)("p",{className:"editor-block-navigation__label"},Object(_.__)("Block Navigation")),i&&Object(wr.createElement)(Oo,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(wr.createElement)(Oo,{blocks:n,selectedBlockClientId:r,selectBlock:o}),(!n||0===n.length)&&Object(wr.createElement)("p",{className:"editor-block-navigation__paragraph"},Object(_.__)("No blocks created yet.")))}),jo=Object(wr.createElement)(Fr.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(wr.createElement)(Fr.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var yo=function(){return Object(wr.createElement)(Fr.Dropdown,{renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(f.a)({},vo.rawShortcut.access("o"),n)}),Object(wr.createElement)(Fr.IconButton,{icon:jo,"aria-expanded":t,onClick:n,label:Object(_.__)("Block Navigation"),className:"editor-block-navigation",shortcut:vo.displayShortcut.access("o")}))},renderContent:function(e){var t=e.onClose;return Object(wr.createElement)(go,{onSelect:t})}})},ko=Object(Ir.createHigherOrderComponent)(Object(l.withSelect)(function(e,t){var n=e("core/editor").getEditorSettings(),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(O.isEmpty)(r)||!o}}),"withColorContext"),_o=ko(Fr.ColorPalette),So=n(45),Eo=n.n(So),Co=function(e,t,n){if(t){var r=Object(O.find)(e,{slug:t});if(r)return r}return{color:n}},wo=function(e,t){return Object(O.find)(e,{color:t})};function To(e,t){if(e&&t)return"has-".concat(Object(O.kebabCase)(t),"-").concat(e)}var Po=[],Io=function(){for(var e=arguments.length,t=new Array(e),n=0;n=24?"large":"small"}))return null;var l=a.getBrightness()1?function(e,t,n,r,o){var i=t+1;if(o<0&&n)return Object(_.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(_.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(_.sprintf)(Object(_._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(_.sprintf)(Object(_._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(_.sprintf)(Object(_.__)("Block %s is the only block, and cannot be moved"),t):i>0&&!o?Object(_.sprintf)(Object(_.__)("Move %1$s block from position %2$d down to position %3$d"),t,c,c+1):i>0&&o?Object(_.sprintf)(Object(_.__)("Block %s is at the end of the content and can’t be moved down"),t):i<0&&!r?Object(_.sprintf)(Object(_.__)("Move %1$s block from position %2$d up to position %3$d"),t,c,c-1):i<0&&r?Object(_.sprintf)(Object(_.__)("Block %s is at the beginning of the content and can’t be moved up"),t):void 0}var Uo=Object(wr.createElement)(Fr.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(wr.createElement)(Fr.Polygon,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),Vo=Object(wr.createElement)(Fr.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(wr.createElement)(Fr.Polygon,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),Ho=Object(wr.createElement)(Fr.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(wr.createElement)(Fr.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"})),Ko=Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor"),o=r.getBlockIndex,i=r.getBlockRootClientId;return{index:o(n),rootClientId:i(n)}})(function(e){var t=e.children,n=e.clientId,r=e.rootClientId,o=e.blockElementId,i=e.index,c=e.onDragStart,a=e.onDragEnd,s={type:"block",srcIndex:i,srcRootClientId:r,srcClientId:n};return Object(wr.createElement)(Fr.Draggable,{elementId:o,transferData:s,onDragStart:c,onDragEnd:a},function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})})}),zo=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 s=Pr()("editor-block-mover__control-drag-handle",n);return Object(wr.createElement)(Ko,{clientId:a,blockElementId:c,onDragStart:o,onDragEnd:i},function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(wr.createElement)("div",{className:s,"aria-hidden":"true",onDragStart:t,onDragEnd:n,draggable:!0},r)})},Wo=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onBlur=e.onBlur.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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,s=e.clientIds,l=e.blockElementId,u=e.blockType,d=e.firstIndex,p=e.isLocked,b=e.instanceId,f=e.isHidden,h=this.state.isFocused,m=Object(O.castArray)(s).length;return p||r&&o?null:Object(wr.createElement)("div",{className:Pr()("editor-block-mover",{"is-visible":h||!f})},Object(wr.createElement)(Fr.IconButton,{className:"editor-block-mover__control",onClick:r?null:t,icon:Uo,label:Object(_.__)("Move up"),"aria-describedby":"editor-block-mover__up-description-".concat(b),"aria-disabled":r,onFocus:this.onFocus,onBlur:this.onBlur}),Object(wr.createElement)(zo,{className:"editor-block-mover__control",icon:Ho,clientId:s,blockElementId:l,isVisible:i,onDragStart:c,onDragEnd:a}),Object(wr.createElement)(Fr.IconButton,{className:"editor-block-mover__control",onClick:o?null:n,icon:Vo,label:Object(_.__)("Move down"),"aria-describedby":"editor-block-mover__down-description-".concat(b),"aria-disabled":o,onFocus:this.onFocus,onBlur:this.onBlur}),Object(wr.createElement)("span",{id:"editor-block-mover__up-description-".concat(b),className:"editor-block-mover__description"},Mo(m,u&&u.title,d,r,o,-1)),Object(wr.createElement)("span",{id:"editor-block-mover__down-description-".concat(b),className:"editor-block-mover__description"},Mo(m,u&&u.title,d,r,o,1)))}}]),t}(wr.Component),qo=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.clientIds,r=e("core/editor"),o=r.getBlock,c=r.getBlockIndex,a=r.getTemplateLock,s=r.getBlockRootClientId,l=Object(O.first)(Object(O.castArray)(n)),u=o(l),d=s(Object(O.first)(Object(O.castArray)(n)));return{firstIndex:c(l,d),blockType:u?Object(i.getBlockType)(u.name):null,isLocked:"all"===a(d),rootClientId:d}}),Object(l.withDispatch)(function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/editor"),i=o.moveBlocksDown,c=o.moveBlocksUp;return{onMoveDown:Object(O.partial)(i,n,r),onMoveUp:Object(O.partial)(c,n,r)}}),Ir.withInstanceId)(Wo);var Go=Object(l.withSelect)(function(e){return{hasUploadPermissions:(0,e("core").hasUploadPermissions)()}})(function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r}),$o=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onFilesDrop=e.onFilesDrop.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onHTMLDrop=e.onHTMLDrop.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onDrop=e.onDrop.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"getInsertIndex",value:function(e){var t=this.props.index;if(void 0!==t)return"top"===e.y?t:t+1}},{key:"onFilesDrop",value:function(e,t){var n=Object(i.findTransform)(Object(i.getBlockTransforms)("from"),function(t){return"files"===t.type&&t.isMatch(e)});if(n){var r=this.getInsertIndex(t),o=n.transform(e,this.props.updateBlockAttributes);this.props.insertBlocks(o,r)}}},{key:"onHTMLDrop",value:function(e,t){var n=Object(i.pasteHandler)({HTML:e,mode:"BLOCKS"});n.length&&this.props.insertBlocks(n,this.getInsertIndex(t))}},{key:"onDrop",value:function(e,t){var n=this.props,r=n.rootClientId,o=n.clientId,i=n.index,c=n.getClientIdsOfDescendants,a=function(e){var t={srcRootClientId:null,srcClientId:null,srcIndex:null,type:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(e){return t}return t}(e),s=a.srcRootClientId,l=a.srcClientId,u=a.srcIndex;if(function(e){return"block"===e}(a.type)&&!function(e,t){return e===t}(l,o)&&!function(e,t){return c([e]).some(function(e){return e===t})}(l,o)){var d=this.getInsertIndex(t),p=i&&u0&&Object(wr.createElement)("div",{className:"editor-warning__actions"},wr.Children.map(n,function(e,t){return Object(wr.createElement)("span",{key:t,className:"editor-warning__action"},e)}))),o&&Object(wr.createElement)(Fr.Dropdown,{className:"editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(wr.createElement)(Fr.IconButton,{icon:"ellipsis",label:Object(_.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(wr.createElement)(Fr.MenuGroup,{label:Object(_.__)("More options")},o.map(function(e,t){return Object(wr.createElement)(Fr.MenuItem,{onClick:e.onClick,key:t},e.title)}))}}))},Xo=n(191),Zo=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,c=e.className;return Object(wr.createElement)("div",{className:c},Object(wr.createElement)("div",{className:"editor-block-compare__content"},Object(wr.createElement)("h1",{className:"editor-block-compare__heading"},t),Object(wr.createElement)("div",{className:"editor-block-compare__html"},n),Object(wr.createElement)("div",{className:"editor-block-compare__preview edit-post-visual-editor"},r)),Object(wr.createElement)("div",{className:"editor-block-compare__action"},Object(wr.createElement)(Fr.Button,{isLarge:!0,tabIndex:"0",onClick:o},i)))},Jo=function(e){function t(){return Object(xr.a)(this,t),Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"getDifference",value:function(e,t){return Object(Xo.diffChars)(e,t).map(function(e,t){var n=Pr()({"editor-block-compare__added":e.added,"editor-block-compare__removed":e.removed});return Object(wr.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(O.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)),s=this.getDifference(c.rawContent,a.rawContent);return Object(wr.createElement)("div",{className:"editor-block-compare__wrapper"},Object(wr.createElement)(Zo,{title:Object(_.__)("Current"),className:"editor-block-compare__current",action:n,actionText:Object(_.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(wr.createElement)(Zo,{title:Object(_.__)("After Conversion"),className:"editor-block-compare__converted",action:r,actionText:i,rawContent:s,renderedContent:a.renderedContent}))}}]),t}(wr.Component),ei=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onCompareClose=n.onCompareClose.bind(Object(Dr.a)(Object(Dr.a)(n))),n}return Object(Rr.a)(t,e),Object(Lr.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.block,c=!!Object(i.getBlockType)("core/html"),a=this.state.compare,s=[{title:Object(_.__)("Convert to Classic Block"),onClick:r}];return a?Object(wr.createElement)(Fr.Modal,{title:Object(_.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"editor-block-compare"},Object(wr.createElement)(Jo,{block:o,onKeep:t,onConvert:n,convertor:ti,convertButtonText:Object(_.__)("Convert to Blocks")})):Object(wr.createElement)(Qo,{actions:[Object(wr.createElement)(Fr.Button,{key:"convert",onClick:this.onCompare,isLarge:!0,isPrimary:!c},Object(_._x)("Resolve","imperative verb")),c&&Object(wr.createElement)(Fr.Button,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},Object(_.__)("Convert to HTML"))],secondaryActions:s},Object(_.__)("This block contains unexpected or invalid content."))}}]),t}(wr.Component),ti=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},ni=Object(l.withDispatch)(function(e,t){var n=t.block,r=e("core/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,ti(n))}}})(ei),ri=Object(wr.createElement)(Qo,null,Object(_.__)("This block has encountered an error and cannot be previewed.")),oi=function(){return ri},ii=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(Rr.a)(t,e),Object(Lr.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}(wr.Component),ci=n(54),ai=n.n(ci),si=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onChange=n.onChange.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onBlur=n.onBlur.bind(Object(Dr.a)(Object(Dr.a)(n))),n.state={html:e.block.isValid?Object(i.getBlockContent)(e.block):e.block.originalContent},n}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidUpdate",value:function(e){Object(O.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(wr.createElement)(ai.a,{className:"editor-block-list__block-html-textarea",value:e,onBlur:this.onBlur,onChange:this.onChange})}}]),t}(wr.Component),li=Object(Ir.compose)([Object(l.withSelect)(function(e,t){return{block:e("core/editor").getBlock(t.clientId)}}),Object(l.withDispatch)(function(e){return{onChange:function(t,n,r,o){e("core/editor").updateBlock(t,{attributes:n,originalContent:r,isValid:o})}}})])(si);var ui=Object(l.withSelect)(function(e,t){return{name:(0,e("core/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}),di=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onBlur=e.onBlur.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"onFocus",value:function(e){this.setState({isFocused:!0}),e.stopPropagation()}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.clientId,n=e.rootClientId;return Object(wr.createElement)("div",{className:"editor-block-list__breadcrumb"},Object(wr.createElement)(Fr.Toolbar,null,n&&Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(ui,{clientId:n}),Object(wr.createElement)("span",{className:"editor-block-list__descendant-arrow"})),Object(wr.createElement)(ui,{clientId:t})))}}]),t}(wr.Component),pi=Object(Ir.compose)([Object(l.withSelect)(function(e,t){return{rootClientId:(0,e("core/editor").getBlockRootClientId)(t.clientId)}})])(di),bi=window,fi=bi.Node,hi=bi.getSelection,mi=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).focusToolbar=e.focusToolbar.bind(Object(Dr.a)(Object(Dr.a)(e))),e.focusSelection=e.focusSelection.bind(Object(Dr.a)(Object(Dr.a)(e))),e.switchOnKeyDown=Object(O.cond)([[Object(O.matchesProperty)(["keyCode"],vo.ESCAPE),e.focusSelection]]),e.toolbar=Object(wr.createRef)(),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"focusToolbar",value:function(){var e=Fo.focus.tabbable.find(this.toolbar.current);e.length&&e[0].focus()}},{key:"focusSelection",value:function(){var e=hi();if(e){var t=e.focusNode;t.nodeType!==fi.ELEMENT_NODE&&(t=t.parentElement),t&&t.focus()}}},{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusToolbar()}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(p.a)(e,["children"]);return Object(wr.createElement)(Fr.NavigableMenu,Object(Cr.a)({orientation:"horizontal",role:"toolbar",ref:this.toolbar,onKeyDown:this.switchOnKeyDown},Object(O.omit)(n,["focusOnMount"])),Object(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(wr.Component);var vi=function(e){var t=e.focusOnMount;return Object(wr.createElement)(mi,{focusOnMount:t,className:"editor-block-contextual-toolbar","aria-label":Object(_.__)("Block tools")},Object(wr.createElement)(Rl,null))};var Oi=Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor"),o=r.getMultiSelectedBlockClientIds,i=r.isMultiSelecting,c=r.getBlockIndex,a=r.getBlockCount,s=o(),l=c(Object(O.first)(s),n),u=c(Object(O.last)(s),n);return{multiSelectedBlockClientIds:s,isSelecting:i(),isFirst:0===l,isLast:u+1===a()}})(function(e){var t=e.multiSelectedBlockClientIds,n=e.clientId,r=e.isSelecting,o=e.isFirst,i=e.isLast;return r?null:Object(wr.createElement)(qo,{key:"mover",clientId:n,clientIds:t,isFirst:o,isLast:i})}),gi=n(58),ji=n.n(gi);function yi(e){var t=e.name,n=e.attributes,r=Object(i.createBlock)(t,n);return Object(wr.createElement)(Fr.Disabled,{className:"editor-block-preview__content editor-styles-wrapper","aria-hidden":!0},Object(wr.createElement)(uo,{name:t,focus:!1,attributes:r.attributes,setAttributes:O.noop}))}var ki=function(e){return Object(wr.createElement)("div",{className:"editor-block-preview"},Object(wr.createElement)("div",{className:"editor-block-preview__title"},Object(_.__)("Preview")),Object(wr.createElement)(yi,e))};var _i=function(e){var t=e.icon,n=e.hasChildBlocksWithInserterSupport,r=e.onClick,o=e.isDisabled,i=e.title,c=e.className,a=Object(p.a)(e,["icon","hasChildBlocksWithInserterSupport","onClick","isDisabled","title","className"]),s=t?{backgroundColor:t.background,color:t.foreground}:{},l=t&&t.shadowColor?{backgroundColor:t.shadowColor}:{};return Object(wr.createElement)("li",{className:"editor-block-types-list__list-item"},Object(wr.createElement)("button",Object(Cr.a)({className:Pr()("editor-block-types-list__item",c,{"editor-block-types-list__item-has-children":n}),onClick:function(e){e.preventDefault(),r()},disabled:o,"aria-label":i},a),Object(wr.createElement)("span",{className:"editor-block-types-list__item-icon",style:s},Object(wr.createElement)(qr,{icon:t,showColors:!0}),n&&Object(wr.createElement)("span",{className:"editor-block-types-list__item-icon-stack",style:l})),Object(wr.createElement)("span",{className:"editor-block-types-list__item-title"},i)))};var Si=function(e){var t=e.items,n=e.onSelect,r=e.onHover,o=void 0===r?function(){}:r,c=e.children;return Object(wr.createElement)("ul",{role:"list",className:"editor-block-types-list"},t&&t.map(function(e){return Object(wr.createElement)(_i,{key:e.id,className:Object(i.getBlockMenuDefaultClassName)(e.id),icon:e.icon,hasChildBlocksWithInserterSupport:e.hasChildBlocksWithInserterSupport,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 Ei=Object(Ir.compose)(Object(Ir.ifCondition)(function(e){var t=e.items;return t&&t.length>0}),Object(l.withSelect)(function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/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(p.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(wr.createElement)("div",{className:"editor-inserter__child-blocks"},(t||n)&&Object(wr.createElement)("div",{className:"editor-inserter__parent-block-header"},Object(wr.createElement)(qr,{icon:t,showColors:!0}),n&&Object(wr.createElement)("h2",null,n)),Object(wr.createElement)(Si,Object(Cr.a)({items:r},o)))}),Ci=function(e){var t=e.filterValue;return Object(wr.createElement)(Fr.Slot,{name:"Inserter.InlineElements",fillProps:{filterValue:t}},function(e){return!Object(O.isEmpty)(e)&&Object(wr.createElement)(Fr.PanelBody,{title:Object(_.__)("Inline Elements"),initialOpen:!1,className:"editor-inserter__inline-elements"},Object(wr.createElement)(Si,null,e))})},wi=function(e){return e.stopPropagation()},Ti=function(e){return e=(e=(e=(e=Object(O.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},Pi=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onHover=e.onHover.bind(Object(Dr.a)(Object(Dr.a)(e))),e.panels={},e.inserterResults=Object(wr.createRef)(),e}return Object(Rr.a)(t,e),Object(Lr.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;if(e){var o=this.props;n(o.rootClientId,o.index)}else 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(O.without)(t.state.openPanels,e)}):(t.setState({openPanels:Object(b.a)(t.state.openPanels).concat([e])}),t.props.setTimeout(function(){ji()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})}))}}},{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=Ti(t),r=function(e){return-1!==Ti(e).indexOf(n)},o=Object(i.getCategories)();return e.filter(function(e){var t=Object(O.find)(o,{slug:e.category});return r(e.title)||Object(O.some)(e.keywords,r)||t&&r(t.title)})}(r,e),a=Object(O.filter)(c,function(e){var t=e.name;return Object(O.includes)(o,t)}),s=[];if(!e){var l=this.props.maxSuggestedItems||9;s=Object(O.filter)(r,function(e){return e.utility>0}).slice(0,l)}var u=Object(O.filter)(c,{category:"reusable"}),d=function(e){return Object(O.findIndex)(Object(i.getCategories)(),function(t){return t.slug===e.category})},p=Object(O.flow)(function(e){return Object(O.filter)(e,function(e){return"reusable"!==e.category})},function(e){return Object(O.sortBy)(e,d)},function(e){return Object(O.groupBy)(e,"category")})(c),b=this.state.openPanels;if(e!==this.state.filterValue)if(e){if(u.length)b=["reusable"];else if(c.length){b=[Object(O.find)(Object(i.getCategories)(),function(e){var t=e.slug;return p[t]&&p[t].length}).slug]}}else b=["suggested"];this.setState({hoveredItem:null,childItems:a,filterValue:e,suggestedItems:s,reusableItems:u,itemsPerCategory:p,openPanels:b});var f=Object.keys(p).reduce(function(e,t){return e+p[t].length},0);n(Object(_.sprintf)(Object(_._n)("%d result found.","%d results found.",f),f),"assertive")}},{key:"onKeyDown",value:function(e){Object(O.includes)([vo.LEFT,vo.DOWN,vo.RIGHT,vo.UP,vo.BACKSPACE,vo.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=this.state,a=c.childItems,s=c.filterValue,l=c.hoveredItem,u=c.suggestedItems,d=c.reusableItems,p=c.itemsPerCategory,b=c.openPanels,f=function(e){return-1!==b.indexOf(e)},h=!!s;return Object(wr.createElement)("div",{className:"editor-inserter__menu",onKeyPress:wi,onKeyDown:this.onKeyDown},Object(wr.createElement)("label",{htmlFor:"editor-inserter__search-".concat(n),className:"screen-reader-text"},Object(_.__)("Search for a block")),Object(wr.createElement)("input",{id:"editor-inserter__search-".concat(n),type:"search",placeholder:Object(_.__)("Search for a block"),className:"editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(wr.createElement)("div",{className:"editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(_.__)("Available block types")},Object(wr.createElement)(Ei,{rootClientId:o,items:a,onSelect:r,onHover:this.onHover}),!!u.length&&Object(wr.createElement)(Fr.PanelBody,{title:Object(_._x)("Most Used","blocks"),opened:f("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(wr.createElement)(Si,{items:u,onSelect:r,onHover:this.onHover})),Object(wr.createElement)(Ci,{filterValue:s}),Object(O.map)(Object(i.getCategories)(),function(t){var n=p[t.slug];return n&&n.length?Object(wr.createElement)(Fr.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:h||f(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(wr.createElement)(Si,{items:n,onSelect:r,onHover:e.onHover})):null}),!!d.length&&Object(wr.createElement)(Fr.PanelBody,{className:"editor-inserter__reusable-blocks-panel",title:Object(_.__)("Reusable"),opened:f("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(wr.createElement)(Si,{items:d,onSelect:r,onHover:this.onHover}),Object(wr.createElement)("a",{className:"editor-inserter__manage-reusable-blocks",href:"edit.php?post_type=wp_block"},Object(_.__)("Manage All Reusable Blocks"))),Object(O.isEmpty)(u)&&Object(O.isEmpty)(d)&&Object(O.isEmpty)(p)&&Object(wr.createElement)("p",{className:"editor-inserter__no-results"},Object(_.__)("No blocks found."))),l&&Object(i.isReusableBlock)(l)&&Object(wr.createElement)(ki,{name:l.name,attributes:l.initialAttributes}))}}]),t}(wr.Component),Ii=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.rootClientId,r=e("core/editor"),o=r.getEditedPostAttribute,i=r.getSelectedBlock,c=r.getInserterItems,a=r.getBlockName,s=e("core/blocks").getChildBlockNames,l=a(n);return{selectedBlock:i(),rootChildBlocks:s(l),title:o("title"),items:c(n),rootClientId:n}}),Object(l.withDispatch)(function(e,t){var n=e("core/editor");return{fetchReusableBlocks:n.__experimentalFetchReusableBlocks,showInsertionPoint:n.showInsertionPoint,hideInsertionPoint:n.hideInsertionPoint,onSelect:function(n){var r=e("core/editor"),o=r.replaceBlocks,c=r.insertBlock,a=t.selectedBlock,s=t.index,l=t.rootClientId,u=n.name,d=n.initialAttributes,p=Object(i.createBlock)(u,d);a&&Object(i.isUnmodifiedDefaultBlock)(a)?o(a.clientId,p):c(p,s,l),t.onSelect()}}}),Fr.withSpokenMessages,Ir.withInstanceId,Ir.withSafeTimeout)(Pi),Bi=function(e){var t=e.onToggle,n=e.disabled,r=e.isOpen;return Object(wr.createElement)(Fr.IconButton,{icon:"insert",label:Object(_.__)("Add block"),onClick:t,className:"editor-inserter__toggle","aria-haspopup":"true","aria-expanded":r,disabled:n})},xi=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(Dr.a)(Object(Dr.a)(e))),e.renderToggle=e.renderToggle.bind(Object(Dr.a)(Object(Dr.a)(e))),e.renderContent=e.renderContent.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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?Bi: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.index;return Object(wr.createElement)(Ii,{onSelect:t,rootClientId:r,index:o})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.title;return Object(wr.createElement)(Fr.Dropdown,{className:"editor-inserter",contentClassName:"editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:n,renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(wr.Component),Li=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=t.rootClientId,r=t.index,o=e("core/editor"),i=o.getEditedPostAttribute,c=o.getBlockInsertionPoint,a=o.hasInserterItems;if(void 0===n&&void 0===r){var s=c();n=s.rootClientId,r=s.index}return{title:i("title"),hasItems:a(n),rootClientId:n,index:r}}),Object(Ir.ifCondition)(function(e){return e.hasItems})])(xi);var Ai=Object(s.ifViewportMatches)("< small")(function(e){var t=e.clientId;return Object(wr.createElement)("div",{className:"editor-block-list__block-mobile-toolbar"},Object(wr.createElement)(Li,null),Object(wr.createElement)(qo,{clientIds:[t]}))}),Ni=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={isInserterFocused:!1},e.onBlurInserter=e.onBlurInserter.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onFocusInserter=e.onFocusInserter.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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.canShowInserter,o=t.rootClientId,i=t.insertIndex;return Object(wr.createElement)("div",{className:"editor-block-list__insertion-point"},n&&Object(wr.createElement)("div",{className:"editor-block-list__insertion-point-indicator"}),r&&Object(wr.createElement)("div",{onFocus:this.onFocusInserter,onBlur:this.onBlurInserter,tabIndex:-1,className:Pr()("editor-block-list__insertion-point-inserter",{"is-visible":e})},Object(wr.createElement)(Li,{rootClientId:o,index:i})))}}]),t}(wr.Component),Ri=Object(l.withSelect)(function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/editor"),c=o.getBlockIndex,a=o.getBlockInsertionPoint,s=o.getBlock,l=o.isBlockInsertionPointVisible,u=c(n,r),d=a(),p=s(n);return{showInsertionPoint:l()&&d.index===u&&d.rootClientId===r&&!Object(i.isUnmodifiedDefaultBlock)(p),insertIndex:u}})(Ni),Di=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).proxyEvent=e.proxyEvent.bind(Object(Dr.a)(Object(Dr.a)(e))),e.eventMap={},e}return Object(Rr.a)(t,e),Object(Lr.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=Object(p.a)(t,["childHandledEvents","forwardedRef"]),c=Object(O.reduce)(Object(b.a)(r).concat(Object(b.a)(Object.keys(i))),function(t,n){var r=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(r){!!r[2]&&delete i[n];var o="on"+r[1];t[o]=e.proxyEvent,e.eventMap[r[1].toLowerCase()]=o}return t},{});return Object(wr.createElement)("div",Object(Cr.a)({ref:o},i,c))}}]),t}(wr.Component),Fi=function(e,t){return Object(wr.createElement)(Di,Object(Cr.a)({},e,{forwardedRef:t}))};Fi.displayName="IgnoreNestedEvents";var Mi=Object(wr.forwardRef)(Fi);var Ui=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.rootClientId,r=e("core/editor"),o=r.getInserterItems,i=r.getTemplateLock;return{items:o(n),isLocked:!!i(n)}}),Object(l.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/editor").replaceBlocks(n,a):e("core/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(O.filter)(t,function(e){return!(e.isDisabled||e.name===Object(i.getDefaultBlockName)()&&Object(O.isEmpty)(e.initialAttributes))}).slice(0,3);return Object(wr.createElement)("div",{className:"editor-inserter-with-shortcuts"},o.map(function(e){return Object(wr.createElement)(Fr.IconButton,{key:e.id,className:"editor-inserter-with-shortcuts__block",onClick:function(){return r(e)},label:Object(_.sprintf)(Object(_.__)("Add %s"),e.title),icon:Object(wr.createElement)(qr,{icon:e.icon})})}))}),Vi=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={hoverArea:null},e.onMouseLeave=e.onMouseLeave.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onMouseMove=e.onMouseMove.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentWillUnmount",value:function(){this.props.container&&this.toggleListeners(this.props.container,!1)}},{key:"componentDidMount",value:function(){this.props.container&&this.toggleListeners(this.props.container)}},{key:"componentDidUpdate",value:function(e){e.container!==this.props.container&&(e.container&&this.toggleListeners(e.container,!1),this.props.container&&this.toggleListeners(this.props.container,!0))}},{key:"toggleListeners",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?"addEventListener":"removeEventListener";e[t]("mousemove",this.onMouseMove),e[t]("mouseleave",this.onMouseLeave)}},{key:"onMouseLeave",value:function(){this.state.hoverArea&&this.setState({hoverArea:null})}},{key:"onMouseMove",value:function(e){var t=this.props,n=t.isRTL,r=t.container.getBoundingClientRect(),o=r.width,i=r.left,c=r.right,a=null;e.clientX-i0&&void 0!==arguments[0]&&arguments[0],t=this.props,n=t.block,r=t.previousBlockClientId,o=t.nextBlockClientId,i=t.onMerge;!e&&!r||e&&!o||(e?i(n.clientId,o):i(r,n.clientId))}},{key:"insertBlocksAfter",value:function(e){this.props.onInsertBlocks(e,this.props.order+1)}},{key:"onFocus",value:function(){this.props.isSelected||this.props.isPartOfMultiSelection||this.props.onSelect()}},{key:"preventDrag",value:function(e){e.preventDefault()}},{key:"onPointerDown",value:function(e){0===e.button&&(e.shiftKey?this.props.isSelected||(this.onShiftSelection(),e.preventDefault()):(this.props.onSelectionStart(this.props.clientId),this.props.isPartOfMultiSelection&&this.props.onSelect()))}},{key:"deleteOrInsertAfterWrapper",value:function(e){var t=e.keyCode,n=e.target;if(this.props.isSelected&&n===this.wrapperNode&&!this.props.isLocked)switch(t){case vo.ENTER:this.props.onInsertDefaultBlockAfter(),e.preventDefault();break;case vo.BACKSPACE:case vo.DELETE:var r=this.props,o=r.clientId;(0,r.onRemove)(o),e.preventDefault()}}},{key:"onBlockError",value:function(e){this.setState({error:e})}},{key:"onDragStart",value:function(){this.setState({dragging:!0})}},{key:"onDragEnd",value:function(){this.setState({dragging:!1})}},{key:"selectOnOpen",value:function(e){e&&!this.props.isSelected&&this.props.onSelect()}},{key:"onShiftSelection",value:function(){if(this.props.isSelectionEnabled){var e=this.props,t=e.getBlockSelectionStart,n=e.onMultiSelect,r=e.onSelect;t()?n(t(),this.props.clientId):r(this.props.clientId)}}},{key:"forceFocusedContextualToolbar",value:function(){this.isForcingContextualToolbar=!0,this.setState(function(){return{}})}},{key:"render",value:function(){var e=this;return Object(wr.createElement)(Hi,{container:this.wrapperNode},function(t){var n=t.hoverArea,r=e.props,o=r.block,c=r.order,a=r.mode,s=r.isFocusMode,l=r.hasFixedToolbar,u=r.isLocked,p=r.isFirst,b=r.isLast,f=r.clientId,h=r.rootClientId,m=r.isSelected,v=r.isPartOfMultiSelection,O=r.isFirstMultiSelected,g=r.isTypingWithinBlock,j=r.isCaretWithinFormattedText,y=r.isMultiSelecting,k=r.isEmptyDefaultBlock,S=r.isMovable,E=r.isPreviousBlockADefaultEmptyBlock,C=r.isParentOfSelectedBlock,w=r.isDraggable,T=r.className,P=e.state.isHovered&&!y,I=o.name,B=o.isValid,x=Object(i.getBlockType)(I),L=Object(_.sprintf)(Object(_.__)("Block: %s"),x.title),A=o.name===Object(i.getUnregisteredTypeHandlerName)(),N=(m||P)&&k&&B,R=(m||P)&&k,D=!s&&!R&&m&&!g,F=!s&&!l&&P&&!k,M=!s&&(m||"left"===n)&&!N&&!y&&!v&&!g,U=!s&&P&&!k,V=!l&&!R&&(m&&(!g||j)||O),H=D,K=e.state,z=K.error,W=K.dragging,q=v&&O||!v,G=!k&&!E,$=Pr()("wp-block editor-block-list__block",{"has-warning":!B||!!z||A,"is-selected":D,"is-multi-selected":v,"is-hovered":F,"is-reusable":Object(i.isReusableBlock)(x),"is-dragging":W,"is-typing":g,"is-focused":s&&(m||C),"is-focus-mode":s},T),Y=e.props.onReplace,Q=e.props.wrapperProps;x.getEditWrapperProps&&(Q=Object(d.a)({},Q,x.getEditWrapperProps(o.attributes)));var X="block-".concat(f),Z=Object(wr.createElement)(uo,{name:I,isSelected:m,attributes:o.attributes,setAttributes:e.setAttributes,insertBlocksAfter:u?void 0:e.insertBlocksAfter,onReplace:u?void 0:Y,mergeBlocks:u?void 0:e.mergeBlocks,clientId:f,isSelectionEnabled:e.props.isSelectionEnabled,toggleSelection:e.props.toggleSelection});return"visual"!==a&&(Z=Object(wr.createElement)("div",{style:{display:"none"}},Z)),Object(wr.createElement)(Mi,Object(Cr.a)({id:X,ref:e.setBlockListRef,onMouseOver:e.maybeHover,onMouseOverHandled:e.hideHoverEffects,onMouseLeave:e.hideHoverEffects,className:$,"data-type":o.name,onTouchStart:e.onTouchStart,onFocus:e.onFocus,onClick:e.onClick,onKeyDown:e.deleteOrInsertAfterWrapper,tabIndex:"0","aria-label":L,childHandledEvents:["onDragStart","onMouseDown"]},Q),q&&Object(wr.createElement)(Ri,{clientId:f,rootClientId:h,canShowInserter:G}),Object(wr.createElement)(Yo,{index:c,clientId:f,rootClientId:h}),M&&Object(wr.createElement)(qo,{clientIds:f,blockElementId:X,isFirst:p,isLast:b,isHidden:!(P||m)||"left"!==n,isDraggable:!1!==w&&!v&&S,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd}),O&&Object(wr.createElement)(Oi,{rootClientId:h}),Object(wr.createElement)("div",{className:"editor-block-list__block-edit"},U&&Object(wr.createElement)(pi,{clientId:f,isHidden:!(P||m)||"left"!==n}),(V||e.isForcingContextualToolbar)&&Object(wr.createElement)(vi,{focusOnMount:e.isForcingContextualToolbar}),!V&&m&&!l&&!k&&Object(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":e.forceFocusedContextualToolbar}}),Object(wr.createElement)(Mi,{ref:e.bindBlockNode,onDragStart:e.preventDrag,onMouseDown:e.onPointerDown,"data-block":f},Object(wr.createElement)(ii,{onError:e.onBlockError},B&&Z,B&&"html"===a&&Object(wr.createElement)(li,{clientId:f}),!B&&[Object(wr.createElement)(ni,{key:"invalid-warning",block:o}),Object(wr.createElement)("div",{key:"invalid-preview"},Object(i.getSaveElement)(x,o.attributes))]),H&&Object(wr.createElement)(Ai,{clientId:f}),!!z&&Object(wr.createElement)(oi,null))),N&&Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)("div",{className:"editor-block-list__side-inserter"},Object(wr.createElement)(Ui,{clientId:f,rootClientId:h,onToggle:e.selectOnOpen})),Object(wr.createElement)("div",{className:"editor-block-list__empty-block-inserter"},Object(wr.createElement)(Li,{position:"top right",onToggle:e.selectOnOpen}))))})}}]),t}(wr.Component),Wi=Object(l.withSelect)(function(e,t){var n=t.clientId,r=t.rootClientId,o=t.isLargeViewport,c=e("core/editor"),a=c.isBlockSelected,s=c.getPreviousBlockClientId,l=c.getNextBlockClientId,u=c.getBlock,d=c.isAncestorMultiSelected,p=c.isBlockMultiSelected,b=c.isFirstMultiSelectedBlock,f=c.isMultiSelecting,h=c.isTyping,m=c.isCaretWithinFormattedText,v=c.getBlockIndex,O=c.getBlockMode,g=c.isSelectionEnabled,j=c.getSelectedBlocksInitialCaretPosition,y=c.getEditorSettings,k=c.hasSelectedInnerBlock,_=c.getTemplateLock,S=c.getBlockSelectionStart,E=a(n),C=y(),w=C.hasFixedToolbar,T=C.focusMode,P=u(n),I=s(n),B=u(I),x=_(r),L=k(n,!0);return{nextBlockClientId:l(n),isPartOfMultiSelection:p(n)||d(n),isFirstMultiSelected:b(n),isMultiSelecting:f(),isTypingWithinBlock:(E||L)&&h(),isCaretWithinFormattedText:m(),order:v(n,r),mode:O(n),isSelectionEnabled:g(),initialPosition:j(),isEmptyDefaultBlock:P&&Object(i.isUnmodifiedDefaultBlock)(P),isPreviousBlockADefaultEmptyBlock:B&&Object(i.isUnmodifiedDefaultBlock)(B),isMovable:"all"!==x,isLocked:!!x,isFocusMode:T&&o,hasFixedToolbar:w&&o,previousBlockClientId:I,block:P,isSelected:E,isParentOfSelectedBlock:L,getBlockSelectionStart:S}}),qi=Object(l.withDispatch)(function(e,t){var n=e("core/editor"),r=n.updateBlockAttributes,o=n.selectBlock,i=n.multiSelect,c=n.insertBlocks,a=n.insertDefaultBlock,s=n.removeBlock,l=n.mergeBlocks,u=n.replaceBlocks,d=n.editPost,p=n.toggleSelection;return{onChange:function(e,t){r(e,t)},onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.clientId,n=arguments.length>1?arguments[1]:void 0;o(e,n)},onMultiSelect:i,onInsertBlocks:function(e,n){var r=t.rootClientId;c(e,n,r)},onInsertDefaultBlockAfter:function(){var e=t.order,n=t.rootClientId;a({},n,e+1)},onRemove:function(e){s(e)},onMerge:function(){l.apply(void 0,arguments)},onReplace:function(e){u([t.clientId],e)},onMetaChange:function(e){d({meta:e})},toggleSelection:function(e){p(e)}}}),Gi=Object(Ir.compose)(Object(s.withViewportMatch)({isLargeViewport:"medium"}),Wi,qi,Object(Fr.withFilters)("editor.BlockListBlock"))(zi),$i=n(49);var Yi=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=e("core/editor"),r=n.getBlockCount,o=n.getBlockName,c=n.isBlockValid,a=n.getEditorSettings,s=n.getTemplateLock,l=!r(t.rootClientId),u=o(t.lastBlockClientId)===Object(i.getDefaultBlockName)(),d=c(t.lastBlockClientId),p=a().bodyPlaceholder;return{isVisible:l||!u||!d,showPrompt:l,isLocked:!!s(t.rootClientId),placeholder:p}}),Object(l.withDispatch)(function(e,t){var n=e("core/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;if(t||!n)return null;var a=Object($i.decodeEntities)(i)||Object(_.__)("Start writing or type / to choose a block");return Object(wr.createElement)("div",{"data-root-client-id":c||"",className:"wp-block editor-default-block-appender"},Object(wr.createElement)(Yo,{rootClientId:c}),Object(wr.createElement)(ai.a,{role:"button","aria-label":Object(_.__)("Add block"),className:"editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?a:""}),Object(wr.createElement)(Ui,{rootClientId:c}),Object(wr.createElement)(Li,{position:"top right"}))});var Qi=Object(l.withSelect)(function(e,t){var n=t.rootClientId,r=e("core/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;return e.isLocked?null:r?Object(wr.createElement)(Mi,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(wr.createElement)(Yi,{rootClientId:n,lastBlockClientId:Object(O.last)(t)})):Object(wr.createElement)("div",{className:"block-list-appender"},Object(wr.createElement)(Li,{rootClientId:n,renderToggle:function(e){var t=e.onToggle,n=e.disabled,r=e.isOpen;return Object(wr.createElement)(Fr.Button,{"aria-label":Object(_.__)("Add block"),onClick:t,className:"block-list-appender__toggle","aria-haspopup":"true","aria-expanded":r,disabled:n},Object(wr.createElement)(Fr.Dashicon,{icon:"insert"}))}}))}),Xi=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).call(this,e))).onSelectionStart=n.onSelectionStart.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onSelectionEnd=n.onSelectionEnd.bind(Object(Dr.a)(Object(Dr.a)(n))),n.setBlockRef=n.setBlockRef.bind(Object(Dr.a)(Object(Dr.a)(n))),n.setLastClientY=n.setLastClientY.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onPointerMove=Object(O.throttle)(n.onPointerMove.bind(Object(Dr.a)(Object(Dr.a)(n))),100),n.onScroll=function(){return n.onPointerMove({clientY:n.lastClientY})},n.lastClientY=0,n.nodes={},n}return Object(Rr.a)(t,e),Object(Lr.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(d.a)({},this.nodes,Object(f.a)({},t,e))}},{key:"onPointerMove",value:function(e){var t=e.clientY;this.props.isMultiSelecting||this.props.onStartMultiSelect();var n=Ki(this.selectionAtStart).getBoundingClientRect();if(!(t>=n.top&&t<=n.bottom)){var r=t-n.top,o=Object(O.findLast)(this.coordMapKeys,function(e){return e0&&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(p.a)(e,["children","colors","colorSettings","disableCustomColors","title"]),a=Object(wr.createElement)("span",{className:"".concat("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=wo(i||t,r),a=c&&c.name,s=Object(_.sprintf)(bc,o.toLowerCase(),a||r);return Object(wr.createElement)(Fr.ColorIndicator,{key:n,colorValue:r,"aria-label":s})})}(r,n));return Object(wr.createElement)(Fr.PanelBody,Object(Cr.a)({className:"editor-panel-color-settings",title:a},c),r.map(function(e,t){return Object(wr.createElement)(pc,Object(Cr.a)({key:t},Object(d.a)({colors:n,disableCustomColors:o},e)))}),t)}),hc=ko(fc);var mc=function(e){var t=e.onChange,n=e.className,r=Object(p.a)(e,["onChange","className"]);return Object(wr.createElement)(ai.a,Object(Cr.a)({className:Pr()("editor-plain-text",n),onChange:function(e){return t(e.target.value)}},r))},vc=n(41),Oc=n.n(vc),gc=n(33),jc=n(65),yc=n.n(jc),kc=Object(l.withSelect)(function(e){return{formatTypes:(0,e("core/rich-text").getFormatTypes)()}})(function(e){var t=e.formatTypes,n=e.onChange,r=e.value;return Object(wr.createElement)(wr.Fragment,null,t.map(function(e){var t=e.name,o=e.edit;if(!o)return null;var i=Object(a.getActiveFormat)(r,t),c=void 0!==i,s=c&&i.attributes||{};return Object(wr.createElement)(o,{key:t,isActive:c,activeAttributes:s,value:r,onChange:n})}))}),_c=function(e){var t=e.controls;return Object(wr.createElement)("div",{className:"editor-format-toolbar"},Object(wr.createElement)(Fr.Toolbar,null,t.map(function(e){return Object(wr.createElement)(Fr.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})}),Object(wr.createElement)(Fr.Slot,{name:"RichText.ToolbarControls"})))},Sc=n(192),Ec=n.n(Sc),Cc=function(e){return Object(O.pickBy)(e,function(e,t){return function(e){return Object(O.startsWith)(e,"aria-")}(t)&&!Object(O.isNil)(e)})},wc=window.getSelection,Tc=window.Node.TEXT_NODE;var Pc=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).call(this))).bindEditorNode=e.bindEditorNode.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onFocus=e.onFocus.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"onFocus",value:function(){this.props.onFocus&&this.props.onFocus(),this.initialize()}},{key:"shouldComponentUpdate",value:function(e){var t=this;this.configureIsPlaceholderVisible(e.isPlaceholderVisible),Object(O.isEqual)(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),Object.assign(this.editorNode.style,e.style)),Object(O.isEqual)(this.props.className,e.className)||(this.editorNode.className=Pr()(e.className,"editor-rich-text__tinymce"));var n=function(e,t){var n=Object(O.keys)(Cc(e)),r=Object(O.keys)(Cc(t));return{removedKeys:Object(O.difference)(n,r),updatedKeys:r.filter(function(n){return!Object(O.isEqual)(e[n],t[n])})}}(this.props,e),r=n.removedKeys,o=n.updatedKeys;return r.forEach(function(e){return t.editorNode.removeAttribute(e)}),o.forEach(function(n){return t.editorNode.setAttribute(n,e[n])}),!1}},{key:"componentWillUnmount",value:function(){this.editor&&(this.editor.destroy(),delete this.editor)}},{key:"configureIsPlaceholderVisible",value:function(e){var t=String(!!e);this.editorNode.getAttribute("data-is-placeholder-visible")!==t&&this.editorNode.setAttribute("data-is-placeholder-visible",t)}},{key:"initialize",value:function(){var e=this,t=this.props.multilineTag,n={theme:!1,inline:!0,toolbar:!1,browser_spellcheck:!0,entity_encoding:"raw",convert_urls:!1,verify_html:!1,inline_boundaries_selector:"a[href],code,b,i,strong,em,del,ins,sup,sub",plugins:[],forced_root_block:t||!1,custom_undo_redo_levels:1,lists_indent_on_tab:!1};"li"===t&&n.plugins.push("lists"),Ec.a.init(Object(d.a)({},n,{target:this.editorNode,setup:function(t){var n;e.editor=t,e.props.onSetup(t),t.on("preinit",function(){n=t.dom.setHTML,t.dom.setHTML=function(){}}),t.on("init",function(){["z","y"].forEach(function(e){t.shortcuts.remove("meta+".concat(e))}),t.shortcuts.remove("meta+shift+z"),["b","i","u"].forEach(function(e){t.shortcuts.remove("meta+".concat(e))}),[1,2,3,4,5,6,7,8,9].forEach(function(e){t.shortcuts.remove("access+".concat(e))}),t.dom.setHTML=n}),t.on("keydown",e.onKeyDown,!0)}}))}},{key:"bindEditorNode",value:function(e){this.editorNode=e,this.props.setRef&&this.props.setRef(e),this.removeInternetExplorerInputFix&&(this.removeInternetExplorerInputFix(),this.removeInternetExplorerInputFix=null),e&&function(e){return/Trident/.test(window.navigator.userAgent)&&!/input/i.test(e.tagName)&&!/textarea/i.test(e.tagName)}(e)&&(this.removeInternetExplorerInputFix=function(e){function t(e){e.stopImmediatePropagation();var t=document.createEvent("Event");t.initEvent("input",!0,!1),t.data=e.data,e.target.dispatchEvent(t)}function n(t){var n=t.target,r=t.keyCode;if((vo.BACKSPACE===r||vo.DELETE===r)&&e.contains(n)){var o=document.createEvent("Event");o.initEvent("input",!0,!1),o.data=null,n.dispatchEvent(o)}}return e.addEventListener("textinput",t),document.addEventListener("keyup",n,!0),function(){e.removeEventListener("textinput",t),document.removeEventListener("keyup",n,!0)}}(e))}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=t===vo.DELETE||t===vo.BACKSPACE;if(t===vo.ENTER||n&&Object(Fo.isEntirelySelected)(this.editorNode))return e.preventDefault(),!1;if(t===vo.LEFT||t===vo.RIGHT){var r=wc().focusNode,o=r.nodeType,i=r.nodeValue;if(o===Tc)if(1===i.length&&"\ufeff"===i[0])r[e.keyCode===vo.LEFT?"previousSibling":"nextSibling"]||(e.preventDefault=O.noop)}}},{key:"render",value:function(){var e,t=Cc(this.props),n=this.props,r=n.tagName,o=void 0===r?"div":r,i=n.style,c=n.defaultValue,a=n.className,s=n.isPlaceholderVisible,l=n.onPaste,u=n.onInput,p=n.onKeyDown,b=n.onCompositionEnd;return"table"!==o&&(t.role="textbox",t["aria-multiline"]=!0),Object(wr.createElement)(o,Object(d.a)({},t,(e={className:Pr()(a,"editor-rich-text__tinymce"),contentEditable:!0},Object(f.a)(e,"data-is-placeholder-visible",s),Object(f.a)(e,"ref",this.bindEditorNode),Object(f.a)(e,"style",i),Object(f.a)(e,"suppressContentEditableWarning",!0),Object(f.a)(e,"dangerouslySetInnerHTML",{__html:c}),Object(f.a)(e,"onPaste",l),Object(f.a)(e,"onInput",u),Object(f.a)(e,"onFocus",this.onFocus),Object(f.a)(e,"onKeyDown",p),Object(f.a)(e,"onCompositionEnd",b),e)))}}]),t}(wr.Component);var Ic=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(f.a)({},vo.rawShortcut[n](t),this.onUse)})}}]),t}(wr.Component);function Bc(e){return!e.selection||e.selection.getNode().closest("ol,ul")===e.getBody()}function xc(e,t,n){if(document.activeElement!==e.getBody())return t===n;var r=e.selection.getNode().closest("ol,ul");return r?r.nodeName.toLowerCase()===t:void 0}var Lc=function(e){var t=e.editor,n=e.onTagNameChange,r=e.tagName,o=e.onSyncDOM;return Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Ic,{type:"primary",character:"[",onUse:function(){t.execCommand("Outdent"),o()}}),Object(wr.createElement)(Ic,{type:"primary",character:"]",onUse:function(){t.execCommand("Indent"),o()}}),Object(wr.createElement)(Ic,{type:"primary",character:"m",onUse:function(){t.execCommand("Indent"),o()}}),Object(wr.createElement)(Ic,{type:"primaryShift",character:"m",onUse:function(){t.execCommand("Outdent"),o()}}),Object(wr.createElement)(mo,null,Object(wr.createElement)(Fr.Toolbar,{controls:[{icon:"editor-ul",title:Object(_.__)("Convert to unordered list"),isActive:xc(t,"ul",r),onClick:function(){Bc(t)?n("ul"):(t.execCommand("InsertUnorderedList"),o())}},{icon:"editor-ol",title:Object(_.__)("Convert to ordered list"),isActive:xc(t,"ol",r),onClick:function(){Bc(t)?n("ol"):(t.execCommand("InsertOrderedList"),o())}},{icon:"editor-outdent",title:Object(_.__)("Outdent list item"),onClick:function(){t.execCommand("Outdent"),o()}},{icon:"editor-indent",title:Object(_.__)("Indent list item"),onClick:function(){t.execCommand("Indent"),o()}}]})))},Ac=[vo.rawShortcut.primary("z"),vo.rawShortcut.primaryShift("z"),vo.rawShortcut.primary("y")],Nc=Object(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(O.fromPairs)(Ac.map(function(e){return[e,function(e){return e.preventDefault()}]}))}),Rc=function(){return Nc};function Dc(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,i=Object(p.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),r&&o&&(t=vo.displayShortcut[r](o)),Object(wr.createElement)(Fr.Fill,{name:c},Object(wr.createElement)(Fr.ToolbarButton,Object(Cr.a)({},i,{shortcut:t})))}var Fc=Object(l.withSelect)(function(e,t){var n=t.name;return{formatType:e("core/rich-text").getFormatType(n)}})(function(e){return Object(wr.createElement)(Fr.Fill,{name:"Inserter.InlineElements"},function(t){var n=t.filterValue,r=e.formatType,o=r.keywords,c=void 0===o?[]:o,a=r.title;return c.push(a,e.title),n&&!function(e,t){return e.some(function(e){return-1!==Ti(e).indexOf(Ti(t))})}(c,n)?null:Object(wr.createElement)(_i,Object(Cr.a)({},e,{icon:Object(i.normalizeIconObject)(e.icon)}))})}),Mc=window.getSelection,Uc=function(e){function t(e){var n,r=e.value,o=e.onReplace,c=e.multiline;return Object(xr.a)(this,t),n=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments)),!0!==c&&"p"!==c&&"li"!==c||(n.multilineTag=!0===c?"p":c),"li"===n.multilineTag&&(n.multilineWrapperTags=["ul","ol"]),n.props.onSplit?(n.onSplit=n.props.onSplit,yc()("wp.editor.RichText onSplit prop",{plugin:"Gutenberg",alternative:"wp.editor.RichText unstableOnSplit prop"})):n.props.unstableOnSplit&&(n.onSplit=n.props.unstableOnSplit),n.onSetup=n.onSetup.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onFocus=n.onFocus.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onChange=n.onChange.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onDeleteKeyDown=n.onDeleteKeyDown.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onKeyDown=n.onKeyDown.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onPaste=n.onPaste.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(Object(Dr.a)(Object(Dr.a)(n))),n.setFocusedElement=n.setFocusedElement.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onInput=n.onInput.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onCompositionEnd=n.onCompositionEnd.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onSelectionChange=n.onSelectionChange.bind(Object(Dr.a)(Object(Dr.a)(n))),n.getRecord=n.getRecord.bind(Object(Dr.a)(Object(Dr.a)(n))),n.createRecord=n.createRecord.bind(Object(Dr.a)(Object(Dr.a)(n))),n.applyRecord=n.applyRecord.bind(Object(Dr.a)(Object(Dr.a)(n))),n.isEmpty=n.isEmpty.bind(Object(Dr.a)(Object(Dr.a)(n))),n.valueToFormat=n.valueToFormat.bind(Object(Dr.a)(Object(Dr.a)(n))),n.setRef=n.setRef.bind(Object(Dr.a)(Object(Dr.a)(n))),n.isActive=n.isActive.bind(Object(Dr.a)(Object(Dr.a)(n))),n.formatToValue=Oc()(n.formatToValue.bind(Object(Dr.a)(Object(Dr.a)(n))),{size:1}),n.savedContent=r,n.patterns=function(e){var t=e.onReplace,n=e.valueToFormat,r=e.onCreateUndoLevel,o=e.onChange,c=Object(i.getBlockTransforms)("from").filter(function(e){return"prefix"===e.type});return[function(e){if(!t)return e;var o=Object(a.getSelectionStart)(e),s=Object(a.getTextContent)(e),l=s.slice(o-1,o);if(!/\s/.test(l))return e;var u=s.slice(0,o).trim(),d=Object(i.findTransform)(c,function(e){var t=e.prefix;return u===t});if(!d)return e;var p=n(Object(a.slice)(e,o,s.length)),b=d.transform(p);return r(),t([b]),e},function(e){var t=Object(a.getSelectionStart)(e),n=Object(a.getTextContent)(e);if("`"!==n.slice(t-1,t))return e;var r=n.slice(0,t-1).lastIndexOf("`");if(-1===r)return e;var i=r,c=t-2;return i===c?e:(o(e),e=Object(a.remove)(e,i,i+1),e=Object(a.remove)(e,c,c+1),e=Object(a.applyFormat)(e,{type:"code"},i,c))}]}({onReplace:o,onCreateUndoLevel:n.onCreateUndoLevel,valueToFormat:n.valueToFormat,onChange:n.onChange}),n.enterPatterns=Object(i.getBlockTransforms)("from").filter(function(e){return"enter"===e.type}),n.state={},n.usedDeprecatedChildrenSource=Array.isArray(r),n.lastHistoryValue=r,n}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidMount",value:function(){document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"setRef",value:function(e){this.editableRef=e}},{key:"isActive",value:function(){return this.editableRef===document.activeElement}},{key:"onSetup",value:function(e){this.editor=e}},{key:"setFocusedElement",value:function(){this.props.setFocusedElement&&this.props.setFocusedElement(this.props.instanceId)}},{key:"getRecord",value:function(){var e=this.formatToValue(this.props.value),t=e.formats,n=e.text,r=this.state;return{formats:t,text:n,start:r.start,end:r.end}}},{key:"createRecord",value:function(){var e=Mc().getRangeAt(0);return Object(a.create)({element:this.editableRef,range:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,removeNode:function(e){return"all"===e.getAttribute("data-mce-bogus")},unwrapNode:function(e){return!!e.getAttribute("data-mce-bogus")},removeAttribute:function(e){return 0===e.indexOf("data-mce-")},filterString:function(e){return e.replace("\ufeff","")},prepareEditableTree:this.props.prepareEditableTree})}},{key:"applyRecord",value:function(e){Object(a.apply)({value:e,current:this.editableRef,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,createLinePadding:function(e){var t=e.createElement("br");return t.setAttribute("data-mce-bogus","1"),t},prepareEditableTree:this.props.prepareEditableTree})}},{key:"isEmpty",value:function(){return Object(a.isEmpty)(this.formatToValue(this.props.value))}},{key:"onPaste",value:function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(O.isNil)(n)?[]:n,r=Object(O.isNil)(r)?[]:r;var o=Object(O.find)(Object(b.a)(n).concat(Object(b.a)(r)),function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}),c="",s="";try{c=t.getData("text/plain"),s=t.getData("text/html")}catch(e){try{s=t.getData("Text")}catch(e){return}}if(e.preventDefault(),window.console.log("Received HTML:\n\n",s),window.console.log("Received plain text:\n\n",c),o&&!s){var l=o.getAsFile?o.getAsFile():o,u=Object(i.pasteHandler)({HTML:'
'),mode:"BLOCKS",tagName:this.props.tagName}),d=this.props.onReplace&&this.isEmpty();return window.console.log("Received item:\n\n",l),void(d?this.props.onReplace(u):this.onSplit&&this.splitContent(u))}var p=this.getRecord();if(!Object(a.isCollapsed)(p)){var f=(s||c).replace(/<[^>]+>/g,"").trim();if(Object(g.isURL)(f))return this.onChange(Object(a.applyFormat)(p,{type:"a",attributes:{href:Object($i.decodeEntities)(f)}})),void window.console.log("Created link:\n\n",f)}var h=this.props.onReplace&&this.isEmpty(),m="INLINE";h?m="BLOCKS":this.onSplit&&(m="AUTO");var v=Object(i.pasteHandler)({HTML:s,plainText:c,mode:m,tagName:this.props.tagName,canUserUseUnfilteredHTML:this.props.canUserUseUnfilteredHTML});if("string"==typeof v){var j=Object(a.create)({html:v});this.onChange(Object(a.insert)(p,j))}else if(this.onSplit){if(!v.length)return;h?this.props.onReplace(v):this.splitContent(v,{paste:!0})}}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;e&&e()}},{key:"onInput",value:function(e){if(!e.nativeEvent.isComposing){var t=this.createRecord(),n=this.patterns.reduce(function(e,t){return t(e)},t);this.onChange(n,{withoutHistory:!0}),this.props.clearTimeout(this.onInput.timeout),this.onInput.timeout=this.props.setTimeout(this.onCreateUndoLevel,1e3)}}},{key:"onCompositionEnd",value:function(){this.onChange(this.createRecord())}},{key:"onSelectionChange",value:function(){if(this.isActive()){var e=this.createRecord(),t=e.start,n=e.end,r=e.formats;if(t!==this.state.start||n!==this.state.end){var o=this.props.isCaretWithinFormattedText;!o&&r[t]?this.props.onEnterFormattedText():o&&!r[t]&&this.props.onExitFormattedText(),this.setState({start:t,end:n})}}}},{key:"onChangeEditableValue",value:function(e){var t=e.formats,n=e.text;Object(O.get)(this.props,["onChangeEditableValue"],[]).forEach(function(e){e(t,n)})}},{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;this.onChangeEditableValue(e),this.savedContent=this.valueToFormat(e),this.props.onChange(this.savedContent),this.setState({start:n,end:r}),t||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.savedContent&&(this.props.onCreateUndoLevel(),this.lastHistoryValue=this.savedContent)}},{key:"onDeleteKeyDown",value:function(e){var t=this.props,n=t.onMerge,r=t.onRemove;if(n||r){var o=e.keyCode===vo.BACKSPACE;if(Object(a.isCollapsed)(this.createRecord())){var i=this.isEmpty();(i||Object(Fo.isHorizontalEdge)(this.editableRef,o))&&(n&&n(!o),r&&i&&o&&r(!o),e.preventDefault())}}}},{key:"onKeyDown",value:function(e){var t=e.keyCode;if(t===vo.DELETE||t===vo.BACKSPACE){var n,r=this.createRecord(),o=Object(a.getSelectionStart)(r),c=Object(a.getSelectionEnd)(r);if(0===o&&0!==c&&c===r.text.length)return this.onChange(Object(a.remove)(r)),void e.preventDefault();if(this.multilineTag)t===vo.BACKSPACE?Object(a.charAt)(r,o-1)===a.LINE_SEPARATOR&&(n=Object(a.remove)(r,Object(a.isCollapsed)(r)?o-1:o,c)):Object(a.charAt)(r,c)===a.LINE_SEPARATOR&&(n=Object(a.remove)(r,o,Object(a.isCollapsed)(r)?c+1:c)),n&&(this.onChange(n),e.preventDefault());this.onDeleteKeyDown(e)}else if(t===vo.ENTER){e.preventDefault();var s=this.createRecord();if(this.props.onReplace){var l=Object(a.getTextContent)(s),u=Object(i.findTransform)(this.enterPatterns,function(e){return e.regExp.test(l)});if(u)return void this.props.onReplace([u.transform({content:l})])}if(this.multilineTag)this.onSplit&&Object(a.isEmptyLine)(s)?this.onSplit.apply(this,Object(b.a)(Object(a.split)(s).map(this.valueToFormat))):this.onChange(Object(a.insertLineSeparator)(s));else if(e.shiftKey||!this.onSplit){var d=Object(a.getTextContent)(s),p=d.length,f="\n";s.end!==p||"\n"===d.charAt(p-1)&&0!==p||(f="\n\n"),this.onChange(Object(a.insert)(s,f))}else this.splitContent()}}},{key:"splitContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.createRecord();if(this.onSplit){var r=Object(a.split)(n),o=Object(u.a)(r,2),i=o[0],c=o[1];Object(a.isEmpty)(c)?i=n:Object(a.isEmpty)(i)&&(c=n),t.paste&&(i=Object(a.isEmpty)(i)?null:i,c=Object(a.isEmpty)(c)?null:c),i&&(i=this.valueToFormat(i)),c&&(c=this.valueToFormat(c)),this.onSplit.apply(this,[i,c].concat(Object(b.a)(e)))}}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.tagName,o=n.value,i=n.isSelected;if(r===e.tagName&&o!==e.value&&o!==this.savedContent){if(Array.isArray(o)&&Object(O.isEqual)(o,this.savedContent))return;var c=this.formatToValue(o);if(i){var s=this.formatToValue(e.value),l=Object(a.getTextContent)(s).length;c.start=l,c.end=l}this.applyRecord(c),this.savedContent=o}if(i&&!e.isSelected&&!this.isActive()){var u=this.formatToValue(o),d=this.formatToValue(e.value),p=Object(a.getTextContent)(d).length;u.start=p,u.end=p,this.applyRecord(u)}if(Object.keys(this.props).some(function(n){return 0===n.indexOf("format_")&&(Object(O.isPlainObject)(t.props[n])?Object.keys(t.props[n]).some(function(r){return t.props[n][r]!==e[n][r]}):t.props[n]!==e[n])})){var b=this.formatToValue(o);b.start=this.state.start,b.end=this.state.end,this.applyRecord(b)}}},{key:"getFormatProps",value:function(){return Object(O.pickBy)(this.props,function(e,t){return t.startsWith("format_")})}},{key:"formatToValue",value:function(e){return Array.isArray(e)?Object(a.create)({html:i.children.toHTML(e),multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):"string"===this.props.format?Object(a.create)({html:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):null===e?Object(a.create)():e}},{key:"valueToEditableHTML",value:function(e){return Object(a.unstableToDom)({value:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,createLinePadding:function(e){var t=e.createElement("br");return t.setAttribute("data-mce-bogus","1"),t},prepareEditableTree:this.props.prepareEditableTree}).body.innerHTML}},{key:"removeEditorOnlyFormats",value:function(e){return this.props.formatTypes.forEach(function(t){t.__experimentalCreatePrepareEditableTree&&(e=Object(a.removeFormat)(e,t.name,0,e.text.length))}),e}},{key:"valueToFormat",value:function(e){return e=this.removeEditorOnlyFormats(e),this.usedDeprecatedChildrenSource?i.children.fromDOM(Object(a.unstableToDom)({value:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}).body.childNodes):"string"===this.props.format?Object(a.toHTMLString)({value:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):e}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,r=void 0===n?"div":n,o=t.style,i=t.wrapperClassName,c=t.className,a=t.inlineToolbar,s=void 0!==a&&a,l=t.formattingControls,u=t.placeholder,d=t.keepPlaceholderOnFocus,p=void 0!==d&&d,b=t.isSelected,f=t.autocompleters,h=t.onTagNameChange,m=this.multilineTag,v=Cc(this.props),O=["editor",r].join(),g=u&&(!b||p)&&this.isEmpty(),j=Pr()(i,"editor-rich-text"),y=this.getRecord();return Object(wr.createElement)("div",{className:j,onFocus:this.setFocusedElement},b&&this.editor&&"li"===this.multilineTag&&Object(wr.createElement)(Lc,{editor:this.editor,onTagNameChange:h,tagName:r,onSyncDOM:function(){return e.onChange(e.createRecord())}}),b&&!s&&Object(wr.createElement)(mo,null,Object(wr.createElement)(_c,{controls:l})),b&&s&&Object(wr.createElement)(Fr.IsolatedEventContainer,{className:"editor-rich-text__inline-toolbar"},Object(wr.createElement)(_c,{controls:l})),Object(wr.createElement)(Wr,{onReplace:this.props.onReplace,completers:f,record:y,onChange:this.onChange},function(t){var n=t.isExpanded,i=t.listBoxId,a=t.activeId;return Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Pc,Object(Cr.a)({tagName:r,onSetup:e.onSetup,style:o,defaultValue:e.valueToEditableHTML(y),isPlaceholderVisible:g,"aria-label":u,"aria-autocomplete":"list","aria-expanded":n,"aria-owns":i,"aria-activedescendant":a},v,{className:c,key:O,onPaste:e.onPaste,onInput:e.onInput,onCompositionEnd:e.onCompositionEnd,onKeyDown:e.onKeyDown,onFocus:e.onFocus,multilineTag:e.multilineTag,multilineWrapperTags:e.multilineWrapperTags,setRef:e.setRef})),g&&Object(wr.createElement)(r,{className:Pr()("editor-rich-text__tinymce",c),style:o},m?Object(wr.createElement)(m,null,u):u),b&&Object(wr.createElement)(kc,{value:y,onChange:e.onChange}))}),b&&Object(wr.createElement)(Rc,null))}}]),t}(wr.Component);Uc.defaultProps={formattingControls:["bold","italic","link","strikethrough"],format:"string",value:""};var Vc=Object(Ir.compose)([Ir.withInstanceId,Hr(function(e,t){return!1===t.isSelected?{clientId:e.clientId}:!0===t.isSelected?{isSelected:e.isSelected,clientId:e.clientId}:{isSelected:e.isSelected&&e.focusedElement===t.instanceId,setFocusedElement:e.setFocusedElement,clientId:e.clientId}}),Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.canUserUseUnfilteredHTML,r=t.isCaretWithinFormattedText,o=e("core/rich-text").getFormatTypes;return{canUserUseUnfilteredHTML:n(),isCaretWithinFormattedText:r(),formatTypes:o()}}),Object(l.withDispatch)(function(e){var t=e("core/editor");return{onCreateUndoLevel:t.createUndoLevel,onRedo:t.redo,onUndo:t.undo,onEnterFormattedText:t.enterFormattedText,onExitFormattedText:t.exitFormattedText}}),Ir.withSafeTimeout,Object(Fr.withFilters)("experimentalRichText")])(Uc);Vc.Content=function(e){var t,n=e.value,r=e.tagName,o=e.multiline,c=Object(p.a)(e,["value","tagName","multiline"]),a=n;!0!==o&&"p"!==o&&"li"!==o||(t=!0===o?"p":o),Array.isArray(n)&&(a=i.children.toHTML(n)),!a&&t&&(a="<".concat(t,">").concat(t,">"));var s=Object(wr.createElement)(wr.RawHTML,null,a);return r?Object(wr.createElement)(r,Object(O.omit)(c,["format"]),s):s},Vc.isEmpty=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Array.isArray(e)&&!e||0===e.length},Vc.Content.defaultProps={format:"string",value:""};var Hc=Vc,Kc=function(e){var t=e.urlQueryArgs,n=void 0===t?{}:t,r=Object(p.a)(e,["urlQueryArgs"]),o=Object(l.select)("core/editor").getCurrentPostId;return n=Object(d.a)({post_id:o()},n),Object(wr.createElement)(Fr.ServerSideRender,Object(Cr.a)({urlQueryArgs:n},r))},zc=Object(Fr.withFilters)("editor.MediaUpload")(function(){return null}),Wc=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={isSettingsExpanded:!1},e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.renderSettings,r=e.onClose,o=e.onClickOutside,i=e.position,c=void 0===i?"bottom center":i,a=e.focusOnMount,s=void 0===a?"firstElement":a,l=this.state.isSettingsExpanded,u=!!n&&l;return Object(wr.createElement)(Fr.Popover,{className:"editor-url-popover",focusOnMount:s,position:c,onClose:r,onClickOutside:o},Object(wr.createElement)("div",{className:"editor-url-popover__row"},t,!!n&&Object(wr.createElement)(Fr.IconButton,{className:"editor-url-popover__settings-toggle",icon:"ellipsis",label:Object(_.__)("Link Settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":l})),u&&Object(wr.createElement)("div",{className:"editor-url-popover__row editor-url-popover__settings"},n()))}}]),t}(wr.Component);function qc(e){return e?Object(O.flatMap)(e,function(e,t){var n=e.split("/"),r=Object(u.a)(n,1)[0],o=t.split("|");return[e].concat(Object(b.a)(Object(O.map)(o,function(e){return"".concat(r,"/").concat(e)})))}):e}function Gc(){return(Gc=Object(dr.a)(regeneratorRuntime.mark(function e(t){var n,r,o,i,c,a,s,l,u,p,f,h,m,v,g,j,y,k,S,E,C,w,T,P,I,B,x,L,A;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=t.allowedTypes,r=t.additionalData,o=void 0===r?{}:r,i=t.filesList,c=t.maxUploadFileSize,a=t.onError,s=void 0===a?O.noop:a,l=t.onFileChange,u=t.wpAllowedMimeTypes,p=void 0===u?null:u,f=Object(b.a)(i),h=[],m=function(e,t){Object(gc.revokeBlobURL)(Object(O.get)(h,[e,"url"])),h[e]=t,l(Object(O.compact)(h))},v=function(e){return!n||Object(O.some)(n,function(t){return Object(O.includes)(t,"/")?t===e:Object(O.startsWith)(e,"".concat(t,"/"))})},g=qc(p),j=function(e){return Object(O.includes)(g,e)},y=function(e){e.message=[Object(wr.createElement)("strong",{key:"filename"},e.file.name),": ",e.message],s(e)},k=[],S=!0,E=!1,C=void 0,e.prev=12,w=f[Symbol.iterator]();case 14:if(S=(T=w.next()).done){e.next=34;break}if(P=T.value,!g||j(P.type)){e.next=19;break}return y({code:"MIME_TYPE_NOT_ALLOWED_FOR_USER",message:Object(_.__)("Sorry, this file type is not permitted for security reasons."),file:P}),e.abrupt("continue",31);case 19:if(v(P.type)){e.next=22;break}return y({code:"MIME_TYPE_NOT_SUPPORTED",message:Object(_.__)("Sorry, this file type is not supported here."),file:P}),e.abrupt("continue",31);case 22:if(!(c&&P.size>c)){e.next=25;break}return y({code:"SIZE_ABOVE_LIMIT",message:Object(_.__)("This file exceeds the maximum upload size for this site."),file:P}),e.abrupt("continue",31);case 25:if(!(P.size<=0)){e.next=28;break}return y({code:"EMPTY_FILE",message:Object(_.__)("This file is empty."),file:P}),e.abrupt("continue",31);case 28:k.push(P),h.push({url:Object(gc.createBlobURL)(P)}),l(h);case 31:S=!0,e.next=14;break;case 34:e.next=40;break;case 36:e.prev=36,e.t0=e.catch(12),E=!0,C=e.t0;case 40:e.prev=40,e.prev=41,S||null==w.return||w.return();case 43:if(e.prev=43,!E){e.next=46;break}throw C;case 46:return e.finish(43);case 47:return e.finish(40);case 48:I=0;case 49:if(!(I0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(O.flatMap)(t,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===t.name?Object(d.a)({},t,{path:n,level:t.attributes.level,isEmpty:ba(t)}):e(t.innerBlocks,Object(b.a)(n).concat([t]))})}(n);if(c.length<1)return null;var a=1,s=i&&r,l=Object(O.countBy)(c,"level")[1]>1;return Object(wr.createElement)("div",{className:"document-outline"},Object(wr.createElement)("ul",null,s&&Object(wr.createElement)(sa,{level:Object(_.__)("Title"),isValid:!0,onClick:function(){var e=document.querySelector(".editor-post-title__input");e&&e.focus()}},r),c.map(function(e,t){var n=e.level>a+1,r=!(e.isEmpty||n||!e.level||1===e.level&&(l||s));return a=e.level,Object(wr.createElement)(sa,{key:t,level:"H".concat(e.level),isValid:r,onClick:function(){return function(e){return o(e)}(e.clientId)},path:e.path},e.isEmpty?la:Object(wr.createElement)(Hc.Content,{tagName:"span",value:e.attributes.content}),n&&ua,1===e.level&&l&&pa,s&&1===e.level&&!l&&da)})))});var ha=Object(l.withSelect)(function(e){return{blocks:e("core/editor").getBlocks()}})(function(e){var t=e.blocks,n=e.children;return Object(O.filter)(t,function(e){return"core/heading"===e.name}).length<1?null:n});var ma=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=e("core/editor"),r=n.getBlocksByClientId,o=n.getBlockIndex,c=n.getTemplateLock,a=n.getBlockRootClientId,s=r(t.clientIds),l=Object(O.every)(s,function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)}),u=a(t.clientIds[0]);return{firstSelectedIndex:o(Object(O.first)(Object(O.castArray)(t.clientIds)),u),lastSelectedIndex:o(Object(O.last)(Object(O.castArray)(t.clientIds)),u),isLocked:!!c(u),blocks:s,canDuplicate:l,rootClientId:u,extraProps:t}}),Object(l.withDispatch)(function(e,t){var n=t.clientIds,r=t.rootClientId,o=t.blocks,c=t.firstSelectedIndex,a=t.lastSelectedIndex,s=t.isLocked,l=t.canDuplicate,u=e("core/editor"),d=u.insertBlocks,p=u.multiSelect,b=u.removeBlocks,f=u.insertDefaultBlock;return{onDuplicate:function(){if(!s&&l){var e=o.map(function(e){return Object(i.cloneBlock)(e)});d(e,a+1,r),e.length>1&&p(Object(O.first)(e).clientId,Object(O.last)(e).clientId)}},onRemove:function(){s||b(n)},onInsertBefore:function(){s||f({},r,c)},onInsertAfter:function(){s||f({},r,a+1)}}})])(function(e){var t=e.onDuplicate,n=e.onRemove,r=e.onInsertBefore,o=e.onInsertAfter,i=e.isLocked,c=e.canDuplicate;return(0,e.children)({onDuplicate:t,onRemove:n,onInsertAfter:o,onInsertBefore:r,isLocked:i,canDuplicate:c})}),va=function(e){return e.preventDefault(),e},Oa={duplicate:{raw:vo.rawShortcut.primaryShift("d"),display:vo.displayShortcut.primaryShift("d")},removeBlock:{raw:vo.rawShortcut.access("z"),display:vo.displayShortcut.access("z")},insertBefore:{raw:vo.rawShortcut.primaryAlt("t"),display:vo.displayShortcut.primaryAlt("t")},insertAfter:{raw:vo.rawShortcut.primaryAlt("y"),display:vo.displayShortcut.primaryAlt("y")}},ga=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).selectAll=e.selectAll.bind(Object(Dr.a)(Object(Dr.a)(e))),e.undoOrRedo=e.undoOrRedo.bind(Object(Dr.a)(Object(Dr.a)(e))),e.save=e.save.bind(Object(Dr.a)(Object(Dr.a)(e))),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(Object(Dr.a)(Object(Dr.a)(e))),e.clearMultiSelection=e.clearMultiSelection.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.rootBlocksClientIds,r=t.onMultiSelect;e.preventDefault(),r(Object(O.first)(n),Object(O.last)(n))}},{key:"undoOrRedo",value:function(e){var t=this.props,n=t.onRedo,r=t.onUndo;e.shiftKey?n():r(),e.preventDefault()}},{key:"save",value:function(e){e.preventDefault(),this.props.onSave()}},{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(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Fr.KeyboardShortcuts,{shortcuts:(e={},Object(f.a)(e,vo.rawShortcut.primary("a"),this.selectAll),Object(f.a)(e,vo.rawShortcut.primary("z"),this.undoOrRedo),Object(f.a)(e,vo.rawShortcut.primaryShift("z"),this.undoOrRedo),Object(f.a)(e,"backspace",this.deleteSelectedBlocks),Object(f.a)(e,"del",this.deleteSelectedBlocks),Object(f.a)(e,"escape",this.clearMultiSelection),e)}),Object(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(f.a)({},vo.rawShortcut.primary("s"),this.save)}),t.length>0&&Object(wr.createElement)(ma,{clientIds:t},function(e){var t,n=e.onDuplicate,r=e.onRemove,o=e.onInsertAfter,i=e.onInsertBefore;return Object(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(t={},Object(f.a)(t,Oa.duplicate.raw,Object(O.flow)(va,n)),Object(f.a)(t,Oa.removeBlock.raw,Object(O.flow)(va,r)),Object(f.a)(t,Oa.insertBefore.raw,Object(O.flow)(va,i)),Object(f.a)(t,Oa.insertAfter.raw,Object(O.flow)(va,o)),t)})}))}}]),t}(wr.Component),ja=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getBlockOrder,r=t.getMultiSelectedBlockClientIds,o=t.hasMultiSelection,i=t.isEditedPostDirty,c=t.getBlockRootClientId,a=t.getTemplateLock,s=(0,t.getSelectedBlockClientId)(),l=s?[s]:r();return{rootBlocksClientIds:n(),hasMultiSelection:o(),isLocked:Object(O.some)(l,function(e){return!!a(c(e))}),isDirty:i(),selectedBlockClientIds:l}}),Object(l.withDispatch)(function(e,t){var n=e("core/editor"),r=n.clearSelectedBlock,o=n.multiSelect,i=n.redo,c=n.undo,a=n.removeBlocks,s=n.savePost;return{onSave:function(){t.isDirty&&s()},clearSelectedBlock:r,onMultiSelect:o,onRedo:i,onUndo:c,onRemove:a}})])(ga);var ya=Object(Ir.compose)([Object(l.withSelect)(function(e){return{hasRedo:e("core/editor").hasEditorRedo()}}),Object(l.withDispatch)(function(e){return{redo:e("core/editor").redo}})])(function(e){var t=e.hasRedo,n=e.redo;return Object(wr.createElement)(Fr.IconButton,{icon:"redo",label:Object(_.__)("Redo"),shortcut:vo.displayShortcut.primaryShift("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__redo"})});var ka=Object(Ir.compose)([Object(l.withSelect)(function(e){return{hasUndo:e("core/editor").hasEditorUndo()}}),Object(l.withDispatch)(function(e){return{undo:e("core/editor").undo}})])(function(e){var t=e.hasUndo,n=e.undo;return Object(wr.createElement)(Fr.IconButton,{icon:"undo",label:Object(_.__)("Undo"),shortcut:vo.displayShortcut.primary("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__undo"})});var _a=Object(Ir.compose)([Object(l.withSelect)(function(e){return{isValid:e("core/editor").isValidTemplate()}}),Object(l.withDispatch)(function(e){var t=e("core/editor"),n=t.setTemplateValidity;return{resetTemplateValidity:function(){return n(!0)},synchronizeTemplate:t.synchronizeTemplate}})])(function(e){var t=e.isValid,n=Object(p.a)(e,["isValid"]);return t?null:Object(wr.createElement)(Fr.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning"},Object(wr.createElement)("p",null,Object(_.__)("The content of your post doesn’t match the template assigned to your post type.")),Object(wr.createElement)("div",null,Object(wr.createElement)(Fr.Button,{isDefault:!0,onClick:n.resetTemplateValidity},Object(_.__)("Keep it as is")),Object(wr.createElement)(Fr.Button,{onClick:function(){window.confirm(Object(_.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()},isPrimary:!0},Object(_.__)("Reset the template"))))});var Sa=Object(Ir.compose)([Object(l.withSelect)(function(e){return{notices:e("core/notices").getNotices()}}),Object(l.withDispatch)(function(e){return{onRemove:e("core/notices").removeNotice}})])(function(e){return Object(wr.createElement)(Fr.NoticeList,e,Object(wr.createElement)(_a,null))});var Ea=Object(l.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(O.get)(n,["supports","page-attributes"],!1)&&Object(O.isEmpty)(t)?null:r});var Ca=Object(l.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(O.some)(Object(O.castArray)(r),function(e){return!!t.supports[e]})),o?n:null}),wa=Object(Ir.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(wr.createElement)(Fr.TextControl,{className:"editor-page-attributes__order",type:"number",label:Object(_.__)("Order"),value:c,onChange:function(e){i({orderInput:e});var n=Number(e);Number.isInteger(n)&&""!==Object(O.invoke)(e,["trim"])&&t(Number(e))},size:6,onBlur:function(){i({orderInput:null})}})});var Ta=Object(Ir.compose)([Object(l.withSelect)(function(e){return{order:e("core/editor").getEditedPostAttribute("menu_order")}}),Object(l.withDispatch)(function(e){return{onUpdateOrder:function(t){e("core/editor").editPost({menu_order:t})}}})])(function(e){return Object(wr.createElement)(Ca,{supportKeys:"page-attributes"},Object(wr.createElement)(wa,e))});function Pa(e){var t=Object(O.groupBy)(e,"parent");return function e(n){return n.map(function(n){var r=t[n.id];return Object(d.a)({},n,{children:r&&r.length?e(r):[]})})}(t[0]||[])}var Ia=Object(l.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),l=i(),u=Object(O.get)(s,["hierarchical"],!1),d={per_page:-1,exclude:l,parent_exclude:l,orderby:"menu_order",order:"asc"};return{parent:c("parent"),items:u?r("postType",a,d):[],postType:s}}),Ba=Object(l.withDispatch)(function(e){var t=e("core/editor").editPost;return{onUpdateParent:function(e){t({parent:e||0})}}}),xa=Object(Ir.compose)([Ia,Ba])(function(e){var t=e.parent,n=e.postType,r=e.items,o=e.onUpdateParent,i=Object(O.get)(n,["hierarchical"],!1),c=Object(O.get)(n,["labels","parent_item_colon"]),a=r||[];if(!i||!c||!a.length)return null;var s=Pa(a.map(function(e){return{id:e.id,parent:e.parent,name:e.title.raw?e.title.raw:"#".concat(e.id," (").concat(Object(_.__)("no title"),")")}}));return Object(wr.createElement)(Fr.TreeSelect,{label:c,noOptionLabel:"(".concat(Object(_.__)("no parent"),")"),tree:s,selectedId:t,onChange:o})});var La=Object(Ir.compose)(Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=(0,t.getEditorSettings)().availableTemplates;return{selectedTemplate:n("template"),availableTemplates:r}}),Object(l.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(O.isEmpty)(t)?null:Object(wr.createElement)(Fr.SelectControl,{label:Object(_.__)("Template:"),value:n,onChange:r,className:"editor-page-attributes__template",options:Object(O.map)(t,function(e,t){return{value:t,label:e}})})});var Aa=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{hasAssignAuthorAction:Object(O.get)(t,["_links","wp:action-assign-author"],!1),postType:e("core/editor").getCurrentPostType(),authors:e("core").getAuthors()}}),Ir.withInstanceId])(function(e){var t=e.hasAssignAuthorAction,n=e.authors,r=e.children;return!t||n.length<2?null:Object(wr.createElement)(Ca,{supportKeys:"author"},r)}),Na=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).setAuthorId=e.setAuthorId.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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(wr.createElement)(Aa,null,Object(wr.createElement)("label",{htmlFor:o},Object(_.__)("Author")),Object(wr.createElement)("select",{id:o,value:t,onChange:this.setAuthorId,className:"editor-post-author__select"},r.map(function(e){return Object(wr.createElement)("option",{key:e.id,value:e.id},e.name)})))}}]),t}(wr.Component),Ra=Object(Ir.compose)([Object(l.withSelect)(function(e){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors()}}),Object(l.withDispatch)(function(e){return{onUpdateAuthor:function(t){e("core/editor").editPost({author:t})}}}),Ir.withInstanceId])(Na);var Da=Object(Ir.compose)([Object(l.withSelect)(function(e){return{commentStatus:e("core/editor").getEditedPostAttribute("comment_status")}}),Object(l.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(function(e){var t=e.commentStatus,n=void 0===t?"open":t,r=Object(p.a)(e,["commentStatus"]);return Object(wr.createElement)(Fr.CheckboxControl,{label:Object(_.__)("Allow Comments"),checked:"open"===n,onChange:function(){return r.editPost({comment_status:"open"===n?"closed":"open"})}})});var Fa=Object(Ir.compose)([Object(l.withSelect)(function(e){return{excerpt:e("core/editor").getEditedPostAttribute("excerpt")}}),Object(l.withDispatch)(function(e){return{onUpdateExcerpt:function(t){e("core/editor").editPost({excerpt:t})}}})])(function(e){var t=e.excerpt,n=e.onUpdateExcerpt;return Object(wr.createElement)("div",{className:"editor-post-excerpt"},Object(wr.createElement)(Fr.TextareaControl,{label:Object(_.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:function(e){return n(e)},value:t}),Object(wr.createElement)(Fr.ExternalLink,{href:"https://codex.wordpress.org/Excerpt"},Object(_.__)("Learn more about manual excerpts")))});var Ma=function(e){return Object(wr.createElement)(Ca,Object(Cr.a)({},e,{supportKeys:"excerpt"}))};var Ua=Object(l.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(O.some)(Object(O.castArray)(o),function(e){var n=Object(O.get)(t,[e],!1);return"post-thumbnails"===e&&Object(O.isArray)(n)?Object(O.includes)(n,r):n})?n:null});var Va=function(e){return Object(wr.createElement)(Ua,{supportKeys:"post-thumbnails"},Object(wr.createElement)(Ca,Object(Cr.a)({},e,{supportKeys:"thumbnail"})))},Ha=["image"],Ka=Object(_.__)("Featured Image"),za=Object(_.__)("Set featured image"),Wa=Object(_.__)("Remove image");var qa=Object(l.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}}),Ga=Object(l.withDispatch)(function(e){var t=e("core/editor").editPost;return{onUpdateImage:function(e){t({featured_media:e.id})},onRemoveImage:function(){t({featured_media:0})}}}),$a=Object(Ir.compose)(qa,Ga,Object(Fr.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,u=Object(O.get)(l,["labels"],{}),d=Object(wr.createElement)("p",null,Object(_.__)("To edit the featured image, you need permission to upload media."));if(s){var p=Object(Br.applyFilters)("editor.PostFeaturedImage.imageSize","post-thumbnail",s.id,o);Object(O.has)(s,["media_details","sizes",p])?(t=s.media_details.sizes[p].width,n=s.media_details.sizes[p].height,r=s.media_details.sizes[p].source_url):(t=s.media_details.width,n=s.media_details.height,r=s.source_url)}return Object(wr.createElement)(Va,null,Object(wr.createElement)("div",{className:"editor-post-featured-image"},!!i&&Object(wr.createElement)(Go,{fallback:d},Object(wr.createElement)(zc,{title:u.featured_image||Ka,onSelect:c,allowedTypes:Ha,modalClass:"editor-post-featured-image__media-modal",render:function(e){var o=e.open;return Object(wr.createElement)(Fr.Button,{className:"editor-post-featured-image__preview",onClick:o,"aria-label":Object(_.__)("Edit or update the image")},s&&Object(wr.createElement)(Fr.ResponsiveWrapper,{naturalWidth:t,naturalHeight:n},Object(wr.createElement)("img",{src:r,alt:""})),!s&&Object(wr.createElement)(Fr.Spinner,null))},value:i})),!!i&&s&&!s.isLoading&&Object(wr.createElement)(Go,null,Object(wr.createElement)(zc,{title:u.featured_image||Ka,onSelect:c,allowedTypes:Ha,modalClass:"editor-post-featured-image__media-modal",render:function(e){var t=e.open;return Object(wr.createElement)(Fr.Button,{onClick:t,isDefault:!0,isLarge:!0},Object(_.__)("Replace image"))}})),!i&&Object(wr.createElement)("div",null,Object(wr.createElement)(Go,{fallback:d},Object(wr.createElement)(zc,{title:u.featured_image||Ka,onSelect:c,allowedTypes:Ha,modalClass:"editor-post-featured-image__media-modal",render:function(e){var t=e.open;return Object(wr.createElement)(Fr.Button,{className:"editor-post-featured-image__toggle",onClick:t},u.set_featured_image||za)}}))),!!i&&Object(wr.createElement)(Go,null,Object(wr.createElement)(Fr.Button,{onClick:a,isLink:!0,isDestructive:!0},u.remove_featured_image||Wa))))});var Ya=Object(l.withSelect)(function(e){return{disablePostFormats:e("core/editor").getEditorSettings().disablePostFormats}})(function(e){var t=e.disablePostFormats,n=Object(p.a)(e,["disablePostFormats"]);return!t&&Object(wr.createElement)(Ca,Object(Cr.a)({},n,{supportKeys:"post-formats"}))}),Qa=[{id:"aside",caption:Object(_.__)("Aside")},{id:"gallery",caption:Object(_.__)("Gallery")},{id:"link",caption:Object(_.__)("Link")},{id:"image",caption:Object(_.__)("Image")},{id:"quote",caption:Object(_.__)("Quote")},{id:"standard",caption:Object(_.__)("Standard")},{id:"status",caption:Object(_.__)("Status")},{id:"video",caption:Object(_.__)("Video")},{id:"audio",caption:Object(_.__)("Audio")},{id:"chat",caption:Object(_.__)("Chat")}];var Xa=Object(Ir.compose)([Object(l.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(O.union)([o],Object(O.get)(i,["formats"],[])),suggestedFormat:r()}}),Object(l.withDispatch)(function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}}),Ir.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=Qa.filter(function(e){return Object(O.includes)(o,e.id)}),s=Object(O.find)(a,function(e){return e.id===i});return Object(wr.createElement)(Ya,null,Object(wr.createElement)("div",{className:"editor-post-format"},Object(wr.createElement)("div",{className:"editor-post-format__content"},Object(wr.createElement)("label",{htmlFor:c},Object(_.__)("Post Format")),Object(wr.createElement)(Fr.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(wr.createElement)("div",{className:"editor-post-format__suggestion"},Object(_.__)("Suggestion:")," ",Object(wr.createElement)(Fr.Button,{isLink:!0,onClick:function(){return t(s.id)}},s.caption))))});var Za=Object(l.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(wr.createElement)(Ca,{supportKeys:"revisions"},r)});var Ja=Object(l.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(wr.createElement)(Za,null,Object(wr.createElement)(Fr.IconButton,{href:Qc("revision.php",{revision:t,gutenberg:!0}),className:"editor-post-last-revision__title",icon:"backup"},Object(_.sprintf)(Object(_._n)("%d Revision","%d Revisions",n),n)))}),es=n(99),ts=n.n(es);var ns=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).openPreviewWindow=e.openPreviewWindow.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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){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}),function(e){var t=Object(wr.renderToString)(Object(wr.createElement)("div",{className:"editor-post-preview-button__interstitial-message"},Object(wr.createElement)(Fr.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},Object(wr.createElement)(Fr.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(wr.createElement)(Fr.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(wr.createElement)("p",null,Object(_.__)("Generating preview…"))));t+='\n\t\t\n\t',e.write(t),e.close()}(this.previewWindow.document)):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(wr.createElement)(Fr.Button,{isLarge:!0,className:"editor-post-preview",href:o,target:this.getWindowTarget(),disabled:!r,onClick:this.openPreviewWindow},Object(_._x)("Preview","imperative verb"),Object(wr.createElement)("span",{className:"screen-reader-text"},Object(_.__)("(opens in a new tab)")),Object(wr.createElement)(c.DotTip,{tipId:"core/editor.preview"},Object(_.__)("Click “Preview” to load a preview of this page, so you can make sure you’re happy with your blocks.")))}}]),t}(wr.Component),rs=Object(Ir.compose)([Object(l.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,l=o.isEditedPostAutosaveable,u=o.getEditedPostPreviewLink,d=e("core").getPostType,p=u(),b=d(a("type"));return{postId:i(),currentPostLink:c("link"),previewLink:void 0!==n?n:p,isSaveable:s(),isAutosaveable:r||l(),isViewable:Object(O.get)(b,["viewable"],!1),isDraft:-1!==["draft","auto-draft"].indexOf(a("status"))}}),Object(l.withDispatch)(function(e){return{autosave:e("core/editor").autosave,savePost:e("core/editor").savePost}}),Object(Ir.ifCondition)(function(e){return e.isViewable})])(ns),os=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).sendPostLock=e.sendPostLock.bind(Object(Dr.a)(Object(Dr.a)(e))),e.receivePostLock=e.receivePostLock.bind(Object(Dr.a)(Object(Dr.a)(e))),e.releasePostLock=e.releasePostLock.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidMount",value:function(){ts()(document).on("heartbeat-send.refresh-lock",this.sendPostLock).on("heartbeat-tick.refresh-lock",this.receivePostLock)}},{key:"componentWillUnmount",value:function(){ts()(document).off("heartbeat-send.refresh-lock",this.sendPostLock).off("heartbeat-tick.refresh-lock",this.receivePostLock)}},{key:"sendPostLock",value:function(e,t){var n=this.props,r=n.isLocked,o=n.activePostLock,i=n.postId;r||(t["wp-refresh-post-lock"]={lock:o,post_id:i})}},{key:"receivePostLock",value:function(e,t){if(t["wp-refresh-post-lock"]){var n=this.props,r=n.autosave,o=n.updatePostLock,i=t["wp-refresh-post-lock"];i.lock_error?(r(),o({isLocked:!0,isTakeover:!0,user:{avatar:i.lock_error.avatar_src}})):i.new_lock&&o({isLocked:!1,activePostLock:i.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={action:"wp-remove-post-lock",_wpnonce:r.unlockNonce,post_ID:o,active_post_lock:n};ts.a.post({async:!1,url:r.ajaxUrl,data: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,l=Object(g.addQueryArgs)("post.php",{"get-post-lock":"1",lockKey:!0,post:n,action:"edit",_wpnonce:i.nonce}),u=Qc("edit.php",{post_type:Object(O.get)(c,["slug"])}),d=Object(O.get)(c,["labels","all_items"]);return Object(wr.createElement)(Fr.Modal,{title:o?Object(_.__)("Someone else has taken over this post."):Object(_.__)("This post is already being edited."),focusOnMount:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissable:!1,className:"editor-post-locked-modal"},!!s&&Object(wr.createElement)("img",{src:s,alt:Object(_.__)("Avatar"),className:"editor-post-locked-modal__avatar"}),!!o&&Object(wr.createElement)("div",null,Object(wr.createElement)("div",null,a?Object(_.sprintf)(Object(_.__)("%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved."),a):Object(_.__)("Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.")),Object(wr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(wr.createElement)(Fr.Button,{isPrimary:!0,isLarge:!0,href:u},d))),!o&&Object(wr.createElement)("div",null,Object(wr.createElement)("div",null,a?Object(_.sprintf)(Object(_.__)("%s is currently working on this post, which means you cannot make changes, unless you take over."),a):Object(_.__)("Another user is currently working on this post, which means you cannot make changes, unless you take over.")),Object(wr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(wr.createElement)(Fr.Button,{isDefault:!0,isLarge:!0,href:u},d),Object(wr.createElement)(rs,null),Object(wr.createElement)(Fr.Button,{isPrimary:!0,isLarge:!0,href:l},Object(_.__)("Take Over")))))}}]),t}(wr.Component),is=Object(Ir.compose)(Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getEditorSettings,r=t.isPostLocked,o=t.isPostLockTakeover,i=t.getPostLockUser,c=t.getCurrentPostId,a=t.getActivePostLock,s=t.getEditedPostAttribute,l=e("core").getPostType;return{isLocked:r(),isTakeover:o(),user:i(),postId:c(),postLockUtils:n().postLockUtils,activePostLock:a(),postType:l(s("type"))}}),Object(l.withDispatch)(function(e){var t=e("core/editor");return{autosave:t.autosave,updatePostLock:t.updatePostLock}}),Object(Ir.withGlobalEvents)({beforeunload:"releasePostLock"}))(os);var cs=Object(Ir.compose)(Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.isCurrentPostPublished,r=t.getCurrentPostType,o=t.getCurrentPost;return{hasPublishAction:Object(O.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 as=Object(Ir.compose)(Object(l.withSelect)(function(e){return{status:e("core/editor").getEditedPostAttribute("status")}}),Object(l.withDispatch)(function(e){return{onUpdateStatus:function(t){e("core/editor").editPost({status:t})}}}))(function(e){var t=e.status,n=e.onUpdateStatus;return Object(wr.createElement)(cs,null,Object(wr.createElement)(Fr.CheckboxControl,{label:Object(_.__)("Pending Review"),checked:"pending"===t,onChange:function(){n("pending"===t?"draft":"pending")}}))});var ss=Object(Ir.compose)([Object(l.withSelect)(function(e){return{pingStatus:e("core/editor").getEditedPostAttribute("ping_status")}}),Object(l.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(function(e){var t=e.pingStatus,n=void 0===t?"open":t,r=Object(p.a)(e,["pingStatus"]);return Object(wr.createElement)(Fr.CheckboxControl,{label:Object(_.__)("Allow Pingbacks & Trackbacks"),checked:"open"===n,onChange:function(){return r.editPost({ping_status:"open"===n?"closed":"open"})}})});var ls=Object(Ir.compose)([Object(l.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,l=r.getCurrentPostType,u=r.isAutosavingPost;return{isPublished:o(),isBeingScheduled:i(),isSaving:n||c(),isPublishing:a(),hasPublishAction:Object(O.get)(s(),["_links","wp:action-publish"],!1),postType:l(),isAutosaving:u()}})])(function(e){var t=e.isPublished,n=e.isBeingScheduled,r=e.isSaving,o=e.isPublishing,i=e.hasPublishAction,c=e.isAutosaving;return o?Object(_.__)("Publishing…"):t&&r&&!c?Object(_.__)("Updating…"):n&&r&&!c?Object(_.__)("Scheduling…"):i?t?Object(_.__)("Update"):n?Object(_.__)("Schedule"):Object(_.__)("Publish"):Object(_.__)("Submit for Review")}),us=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).call(this,e))).buttonNode=Object(wr.createRef)(),n}return Object(Rr.a)(t,e),Object(Lr.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,a=t.isOpen,s=t.isPostSavingLocked,l=t.isPublishable,u=t.isPublished,d=t.isSaveable,p=t.isSaving,b=t.isToggle,f=t.onSave,h=t.onStatusChange,m=t.onSubmit,v=void 0===m?O.noop:m,g=t.onToggle,j=t.visibility;e=o?i?"future":"private"===j?"private":"publish":"pending";var y={"aria-disabled":p||r||!d||s||!l&&!n,className:"editor-post-publish-button",isBusy:p&&u,isLarge:!0,isPrimary:!0,onClick:function(){v(),h(e),f()}},k={"aria-disabled":u||p||r||!d||!l&&!n,"aria-expanded":a,className:"editor-post-publish-panel__toggle",isBusy:p&&u,isPrimary:!0,onClick:g},S=i?Object(_.__)("Schedule…"):Object(_.__)("Publish…"),E=Object(wr.createElement)(ls,{forceIsSaving:r}),C=b?k:y,w=b?S:E;return Object(wr.createElement)(Fr.Button,Object(Cr.a)({ref:this.buttonNode},C),w,Object(wr.createElement)(c.DotTip,{tipId:"core/editor.publish"},Object(_.__)("Finished writing? That’s great, let’s get this published right now. Just click “Publish” and you’re good to go.")))}}]),t}(wr.Component),ds=Object(Ir.compose)([Object(l.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,l=t.getCurrentPost,u=t.getCurrentPostType;return{isSaving:n(),isBeingScheduled:r(),visibility:o(),isSaveable:c(),isPostSavingLocked:s(),isPublishable:a(),isPublished:i(),hasPublishAction:Object(O.get)(l(),["_links","wp:action-publish"],!1),postType:u()}}),Object(l.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost;return{onStatusChange:function(e){return n({status:e})},onSave:t.savePost}})])(us),ps=[{value:"public",label:Object(_.__)("Public"),info:Object(_.__)("Visible to everyone.")},{value:"private",label:Object(_.__)("Private"),info:Object(_.__)("Only visible to site admins and editors.")},{value:"password",label:Object(_.__)("Password Protected"),info:Object(_.__)("Protected with a password you choose. Only those with the password can view this post.")}],bs=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).setPublic=n.setPublic.bind(Object(Dr.a)(Object(Dr.a)(n))),n.setPrivate=n.setPrivate.bind(Object(Dr.a)(Object(Dr.a)(n))),n.setPasswordProtected=n.setPasswordProtected.bind(Object(Dr.a)(Object(Dr.a)(n))),n.updatePassword=n.updatePassword.bind(Object(Dr.a)(Object(Dr.a)(n))),n.state={hasPassword:!!e.password},n}return Object(Rr.a)(t,e),Object(Lr.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(_.__)("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,o=e.password;n("private"===t?"draft":r,o||""),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(wr.createElement)("fieldset",{key:"visibility-selector",className:"editor-post-visibility__dialog-fieldset"},Object(wr.createElement)("legend",{className:"editor-post-visibility__dialog-legend"},Object(_.__)("Post Visibility")),ps.map(function(e){var t=e.value,n=e.label,i=e.info;return Object(wr.createElement)("div",{key:t,className:"editor-post-visibility__choice"},Object(wr.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(wr.createElement)("label",{htmlFor:"editor-post-".concat(t,"-").concat(r),className:"editor-post-visibility__dialog-label"},n),Object(wr.createElement)("p",{id:"editor-post-".concat(t,"-").concat(r,"-description"),className:"editor-post-visibility__dialog-info"},i))})),this.state.hasPassword&&Object(wr.createElement)("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},Object(wr.createElement)("label",{htmlFor:"editor-post-visibility__dialog-password-input-".concat(r),className:"screen-reader-text"},Object(_.__)("Create password")),Object(wr.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(_.__)("Use a secure password")}))]}}]),t}(wr.Component),fs=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditedPostVisibility;return{status:n("status"),visibility:r(),password:n("password")}}),Object(l.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]:null;r({status:e,password:t})}}}),Ir.withInstanceId])(bs);var hs=Object(l.withSelect)(function(e){return{visibility:e("core/editor").getEditedPostVisibility()}})(function(e){var t=e.visibility;return Object(O.find)(ps,{value:t}).label});var ms=Object(Ir.compose)([Object(l.withSelect)(function(e){return{date:e("core/editor").getEditedPostAttribute("date")}}),Object(l.withDispatch)(function(e){return{onUpdateDate:function(t){e("core/editor").editPost({date:t})}}})])(function(e){var t=e.date,n=e.onUpdateDate,r=Object(Qe.__experimentalGetSettings)(),o=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return Object(wr.createElement)(Fr.DateTimePicker,{key:"date-time-picker",currentDate:t,onChange:n,is12Hour:o})});var vs=Object(l.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(Qe.__experimentalGetSettings)();return t&&!n?Object(Qe.dateI18n)(r.formats.datetimeAbbreviated,t):Object(_.__)("Immediately")}),Os={per_page:-1,orderby:"count",order:"desc",_fields:"id,name"},gs=function(e,t){return e.toLowerCase()===t.toLowerCase()},js=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(Dr.a)(Object(Dr.a)(e))),e.searchTerms=Object(O.throttle)(e.searchTerms.bind(Object(Dr.a)(Object(Dr.a)(e))),500),e.findOrCreateTerm=e.findOrCreateTerm.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={loading:!1,availableTerms:[],selectedTerms:[]},e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidMount",value:function(){var e=this;Object(O.isEmpty)(this.props.terms)||(this.setState({loading:!1}),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(O.invoke)(this.initRequest,["abort"]),Object(O.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(d.a)({},Os,t),o=br()({path:Object(g.addQueryArgs)("/wp/v2/".concat(n.rest_base),r)});return o.then(function(t){e.setState(function(e){return{availableTerms:e.availableTerms.concat(t.filter(function(t){return!Object(O.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(O.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;return br()({path:"/wp/v2/".concat(n.rest_base),method:"POST",data:{name:e}}).catch(function(r){return"term_exists"===r.code?(t.addRequest=br()({path:Object(g.addQueryArgs)("/wp/v2/".concat(n.rest_base),Object(d.a)({},Os,{search:e}))}),t.addRequest.then(function(t){return Object(O.find)(t,function(t){return gs(t.name,e)})})):Promise.reject(r)})}},{key:"onChange",value:function(e){var t=this,n=Object(O.uniqBy)(e,function(e){return e.toLowerCase()});this.setState({selectedTerms:n});var r=n.filter(function(e){return!Object(O.find)(t.state.availableTerms,function(t){return gs(t.name,e)})}),o=function(e,t){return e.map(function(e){return Object(O.find)(t,function(t){return gs(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(O.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(O.get)(n,["labels","add_new_item"],"post_tag"===t?Object(_.__)("Add New Tag"):Object(_.__)("Add New Term")),l=Object(O.get)(n,["labels","singular_name"],"post_tag"===t?Object(_.__)("Tag"):Object(_.__)("Term")),u=Object(_.sprintf)(Object(_._x)("%s added","term"),l),d=Object(_.sprintf)(Object(_._x)("%s removed","term"),l),p=Object(_.sprintf)(Object(_._x)("Remove %s","term"),l);return Object(wr.createElement)(Fr.FormTokenField,{value:c,displayTransform:O.unescape,suggestions:a,onChange:this.onChange,onInputChange:this.searchTerms,maxSuggestions:20,disabled:o,label:s,messages:{added:u,removed:d,remove:p}})}}]),t}(wr.Component),ys=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(O.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(O.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}}),Object(l.withDispatch)(function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(f.a)({},n,t))}}}),Object(Fr.withFilters)("editor.PostTaxonomyType"))(js),ks=function(){var e=[Object(_.__)("Suggestion:"),Object(wr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(_.__)("Add tags"))];return Object(wr.createElement)(Fr.PanelBody,{initialOpen:!1,title:e},Object(wr.createElement)("p",null,Object(_.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),Object(wr.createElement)(ys,{slug:"post_tag"}))},_s=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).call(this,e))).state={hadTagsWhenOpeningThePanel:e.hasTags},n}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"render",value:function(){return this.state.hadTagsWhenOpeningThePanel?null:Object(wr.createElement)(ks,null)}}]),t}(wr.Component),Ss=Object(Ir.compose)(Object(l.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(O.some)(n.types,function(e){return e===t}),hasTags:r&&r.length}}),Object(Ir.ifCondition)(function(e){var t=e.areTagsFetched;return e.isPostTypeSupported&&t}))(_s),Es=function(e){var t=e.suggestedPostFormat,n=e.suggestionText,r=e.onUpdatePostFormat;return Object(wr.createElement)(Fr.Button,{isLink:!0,onClick:function(){return r(t)}},n)},Cs=Object(Ir.compose)(Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getSuggestedPostFormat,o=Object(O.get)(e("core").getThemeSupports(),["formats"],[]);return{currentPostFormat:n("format"),suggestion:function(e,t){var n=Qa.filter(function(t){return Object(O.includes)(e,t.id)});return Object(O.find)(n,function(e){return e.id===t})}(o,r())}}),Object(l.withDispatch)(function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}}),Object(Ir.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(_.__)("Suggestion:"),Object(wr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(_.__)("Use a post format"))];return Object(wr.createElement)(Fr.PanelBody,{initialOpen:!1,title:r},Object(wr.createElement)("p",null,Object(_.__)("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(wr.createElement)("p",null,Object(wr.createElement)(Es,{onUpdatePostFormat:n,suggestedPostFormat:t.id,suggestionText:Object(_.sprintf)(Object(_.__)('Apply the "%1$s" format.'),t.caption)})))});var ws=Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.isEditedPostBeingScheduled;return{hasPublishAction:Object(O.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(_.__)("Are you ready to schedule?"),n=Object(_.__)("Your work will be published at the specified date and time.")):(t=Object(_.__)("Are you ready to publish?"),n=Object(_.__)("Double-check your settings before publishing.")):(t=Object(_.__)("Are you ready to submit for review?"),n=Object(_.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),Object(wr.createElement)("div",{className:"editor-post-publish-panel__prepublish"},Object(wr.createElement)("div",null,Object(wr.createElement)("strong",null,t)),Object(wr.createElement)("p",null,n),r&&Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Fr.PanelBody,{initialOpen:!1,title:[Object(_.__)("Visibility:"),Object(wr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(wr.createElement)(hs,null))]},Object(wr.createElement)(fs,null)),Object(wr.createElement)(Fr.PanelBody,{initialOpen:!1,title:[Object(_.__)("Publish:"),Object(wr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(wr.createElement)(vs,null))]},Object(wr.createElement)(ms,null)),Object(wr.createElement)(Cs,null),Object(wr.createElement)(Ss,null),i))}),Ts=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={showCopyConfirmation:!1},e.onCopy=e.onCopy.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onSelectInput=e.onSelectInput.bind(Object(Dr.a)(Object(Dr.a)(e))),e.postLink=Object(wr.createRef)(),e}return Object(Rr.a)(t,e),Object(Lr.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(O.get)(o,["labels","singular_name"]),c=Object(O.get)(o,["labels","view_item"]),a=n?Object(wr.createElement)(wr.Fragment,null,Object(_.__)("is now scheduled. It will go live on")," ",Object(wr.createElement)(vs,null),"."):Object(_.__)("is now live.");return Object(wr.createElement)("div",{className:"post-publish-panel__postpublish"},Object(wr.createElement)(Fr.PanelBody,{className:"post-publish-panel__postpublish-header"},Object(wr.createElement)("a",{ref:this.postLink,href:r.link},r.title||Object(_.__)("(no title)"))," ",a),Object(wr.createElement)(Fr.PanelBody,null,Object(wr.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},Object(wr.createElement)("strong",null,Object(_.__)("What’s next?"))),Object(wr.createElement)(Fr.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:Object(_.sprintf)(Object(_.__)("%s address"),i),value:r.link,onFocus:this.onSelectInput}),Object(wr.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!n&&Object(wr.createElement)(Fr.Button,{isDefault:!0,href:r.link},c),Object(wr.createElement)(Fr.ClipboardButton,{isDefault:!0,text:r.link,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(_.__)("Copied!"):Object(_.__)("Copy Link")))),t)}}]),t}(wr.Component),Ps=Object(l.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()}})(Ts),Is=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onSubmit=e.onSubmit.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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,l=e.onTogglePublishSidebar,u=e.PostPublishExtension,d=e.PrePublishExtension,b=Object(p.a)(e,["forceIsDirty","forceIsSaving","isBeingScheduled","isPublished","isPublishSidebarEnabled","isScheduled","isSaving","onClose","onTogglePublishSidebar","PostPublishExtension","PrePublishExtension"]),f=Object(O.omit)(b,["hasPublishAction","isDirty","isPostTypeViewable"]),h=o||c&&r,m=!h&&!a,v=h&&!a;return Object(wr.createElement)("div",Object(Cr.a)({className:"editor-post-publish-panel"},f),Object(wr.createElement)("div",{className:"editor-post-publish-panel__header"},v?Object(wr.createElement)("div",{className:"editor-post-publish-panel__header-published"},c?Object(_.__)("Scheduled"):Object(_.__)("Published")):Object(wr.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},Object(wr.createElement)(ds,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:t,forceIsSaving:n}),Object(wr.createElement)("span",{className:"editor-post-publish-panel__spacer"})),Object(wr.createElement)(Fr.IconButton,{"aria-expanded":!0,onClick:s,icon:"no-alt",label:Object(_.__)("Close panel")})),Object(wr.createElement)("div",{className:"editor-post-publish-panel__content"},m&&Object(wr.createElement)(ws,null,d&&Object(wr.createElement)(d,null)),v&&Object(wr.createElement)(Ps,{focusOnMount:!0},u&&Object(wr.createElement)(u,null)),a&&Object(wr.createElement)(Fr.Spinner,null)),Object(wr.createElement)("div",{className:"editor-post-publish-panel__footer"},Object(wr.createElement)(Fr.CheckboxControl,{label:Object(_.__)("Always show pre-publish checks."),checked:i,onChange:l})))}}]),t}(wr.Component),Bs=Object(Ir.compose)([Object(l.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,l=n.isSavingPost,u=e("core/editor").isPublishSidebarEnabled,d=t(o("type"));return{hasPublishAction:Object(O.get)(r(),["_links","wp:action-publish"],!1),isPostTypeViewable:Object(O.get)(d,["viewable"],!1),isBeingScheduled:a(),isDirty:s(),isPublished:i(),isPublishSidebarEnabled:u(),isSaving:l(),isScheduled:c()}}),Object(l.withDispatch)(function(e,t){var n=t.isPublishSidebarEnabled,r=e("core/editor"),o=r.disablePublishSidebar,i=r.enablePublishSidebar;return{onTogglePublishSidebar:function(){n?o():i()}}}),Fr.withFocusReturn,Fr.withConstrainedTabbing])(Is);var xs=Object(Ir.compose)([Object(l.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(l.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost,r=t.savePost;return{onClick:function(){n({status:"draft"}),r()}}})])(function(e){var t=e.isSaving,n=e.isPublished,r=e.isScheduled,o=e.onClick;return n||r?Object(wr.createElement)(Fr.Button,{className:"editor-post-switch-to-draft",onClick:function(){var e;n?e=Object(_.__)("Are you sure you want to unpublish this post?"):r&&(e=Object(_.__)("Are you sure you want to unschedule this post?")),window.confirm(e)&&o()},disabled:t,isTertiary:!0},Object(_.__)("Switch to Draft")):null}),Ls=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={forceSavedMessage:!1},e}return Object(Rr.a)(t,e),Object(Lr.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,l=e.isAutosaving,u=e.isPending,d=e.isLargeViewport,p=this.state.forceSavedMessage,b=Object(O.get)(t,["_links","wp:action-publish"],!1);if(c){var f=Pr()("editor-post-saved-state","is-saving",{"is-autosaving":l});return Object(wr.createElement)("span",{className:f},Object(wr.createElement)(Fr.Dashicon,{icon:"cloud"}),l?Object(_.__)("Autosaving"):Object(_.__)("Saving"))}if(o||r)return Object(wr.createElement)(xs,null);if(!a)return null;if(p||!n&&!i)return Object(wr.createElement)("span",{className:"editor-post-saved-state is-saved"},Object(wr.createElement)(Fr.Dashicon,{icon:"saved"}),Object(_.__)("Saved"));if(!b&&u)return null;var h=u?Object(_.__)("Save as Pending"):Object(_.__)("Save Draft");return d?Object(wr.createElement)(Fr.Button,{className:"editor-post-save-draft",onClick:s,shortcut:vo.displayShortcut.primary("s"),isTertiary:!0},h):Object(wr.createElement)(Fr.IconButton,{className:"editor-post-save-draft",label:h,onClick:s,shortcut:vo.displayShortcut.primary("s"),icon:"cloud-upload"})}}]),t}(wr.Component),As=Object(Ir.compose)([Object(l.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,l=o.isSavingPost,u=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||l(),isSaveable:u(),isAutosaving:p(),isPending:"pending"===b("status")}}),Object(l.withDispatch)(function(e){return{onSave:e("core/editor").savePost}}),Ir.withSafeTimeout,Object(s.withViewportMatch)({isLargeViewport:"medium"})])(Ls);var Ns=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(O.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(e){var t=e.hasPublishAction,n=e.children;return t?n:null});var Rs=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{hasStickyAction:Object(O.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 Ds=Object(Ir.compose)([Object(l.withSelect)(function(e){return{postSticky:e("core/editor").getEditedPostAttribute("sticky")}}),Object(l.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(wr.createElement)(Rs,null,Object(wr.createElement)(Fr.CheckboxControl,{label:Object(_.__)("Stick to the Front Page"),checked:r,onChange:function(){return t(!r)}}))}),Fs={per_page:-1,orderby:"name",order:"asc",_fields:"id,name,parent"},Ms=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).findTerm=e.findTerm.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onChange=e.onChange.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onChangeFormName=e.onChangeFormName.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onChangeFormParent=e.onChangeFormParent.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onAddTerm=e.onAddTerm.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onToggleForm=e.onToggleForm.bind(Object(Dr.a)(Object(Dr.a)(e))),e.setFilterValue=e.setFilterValue.bind(Object(Dr.a)(Object(Dr.a)(e))),e.sortBySelected=e.sortBySelected.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={loading:!0,availableTermsTree:[],availableTerms:[],adding:!1,formName:"",formParent:"",showForm:!1,filterValue:"",filteredTermsTree:[]},e}return Object(Rr.a)(t,e),Object(Lr.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(O.without)(o,c):Object(b.a)(o).concat([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(O.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,l=a.formParent,u=a.adding,p=a.availableTerms;if(""!==s&&!u){var f=this.findTerm(p,l,s);if(f)return Object(O.some)(i,function(e){return e===f.id})||r(Object(b.a)(i).concat([f.id]),o.rest_base),void this.setState({formName:"",formParent:""});this.setState({adding:!0}),this.addRequest=br()({path:"/wp/v2/".concat(o.rest_base),method:"POST",data:{name:s,parent:l||void 0}}),this.addRequest.catch(function(e){return"term_exists"===e.code?(t.addRequest=br()({path:Object(g.addQueryArgs)("/wp/v2/".concat(o.rest_base),Object(d.a)({},Fs,{parent:l||0,search:s}))}),t.addRequest.then(function(e){return t.findTerm(e,l,s)})):Promise.reject(e)}).then(function(e){var n=!!Object(O.find)(t.state.availableTerms,function(t){return t.id===e.id})?t.state.availableTerms:[e].concat(Object(b.a)(t.state.availableTerms)),a=Object(_.sprintf)(Object(_._x)("%s added","term"),Object(O.get)(t.props.taxonomy,["labels","singular_name"],"category"===c?Object(_.__)("Category"):Object(_.__)("Term")));t.props.speak(a,"assertive"),t.addRequest=null,t.setState({adding:!1,formName:"",formParent:"",availableTerms:n,availableTermsTree:t.sortBySelected(Pa(n))}),r(Object(b.a)(i).concat([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(O.invoke)(this.fetchRequest,["abort"]),Object(O.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=br()({path:Object(g.addQueryArgs)("/wp/v2/".concat(t.rest_base),Fs)}),this.fetchRequest.then(function(t){var n=e.sortBySelected(Pa(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)||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(wr.createElement)("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},Object(wr.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(wr.createElement)("label",{htmlFor:n},Object(O.unescape)(e.name)),!!e.children.length&&Object(wr.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,l=i.formName,u=i.formParent,d=i.loading,p=i.showForm,b=i.filterValue,f=function(e,r,o){return Object(O.get)(n,["labels",e],"category"===t?r:o)},h=f("add_new_item",Object(_.__)("Add new category"),Object(_.__)("Add new term")),m=f("new_item_name",Object(_.__)("Add new category"),Object(_.__)("Add new term")),v=f("parent_item",Object(_.__)("Parent Category"),Object(_.__)("Parent Term")),g="— ".concat(v," —"),j=h,y="editor-post-taxonomies__hierarchical-terms-input-".concat(r),k="editor-post-taxonomies__hierarchical-terms-filter-".concat(r),S=Object(_.sprintf)(Object(_._x)("Search %s","term"),Object(O.get)(this.props.taxonomy,["name"],"category"===t?Object(_.__)("Categories"):Object(_.__)("Terms"))),E=Object(_.sprintf)(Object(_._x)("Available %s","term"),Object(O.get)(this.props.taxonomy,["name"],"category"===t?Object(_.__)("Categories"):Object(_.__)("Terms"))),C=a.length>=8;return[C&&Object(wr.createElement)("label",{key:"filter-label",htmlFor:k},S),C&&Object(wr.createElement)("input",{type:"search",id:k,value:b,onChange:this.setFilterValue,className:"editor-post-taxonomies__hierarchical-terms-filter",key:"term-filter-input"}),Object(wr.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(wr.createElement)(Fr.Button,{key:"term-add-button",onClick:this.onToggleForm,className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":p,isLink:!0},h),p&&Object(wr.createElement)("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},Object(wr.createElement)("label",{htmlFor:y,className:"editor-post-taxonomies__hierarchical-terms-label"},m),Object(wr.createElement)("input",{type:"text",id:y,className:"editor-post-taxonomies__hierarchical-terms-input",value:l,onChange:this.onChangeFormName,required:!0}),!!a.length&&Object(wr.createElement)(Fr.TreeSelect,{label:v,noOptionLabel:g,onChange:this.onChangeFormParent,selectedId:u,tree:c}),Object(wr.createElement)(Fr.Button,{isDefault:!0,type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},j))]}}]),t}(wr.Component),Us=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(O.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(O.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}}),Object(l.withDispatch)(function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(f.a)({},n,t))}}}),Fr.withSpokenMessages,Ir.withInstanceId,Object(Fr.withFilters)("editor.PostTaxonomyType")])(Ms);var Vs=Object(Ir.compose)([Object(l.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?O.identity:r,i=Object(O.filter)(n,function(e){return Object(O.includes)(e.types,t)});return Object(O.filter)(i,function(e){return e.visibility.show_ui}).map(function(e){var t=e.hierarchical?Us:ys;return Object(wr.createElement)(wr.Fragment,{key:"taxonomy-".concat(e.slug)},o(Object(wr.createElement)(t,{slug:e.slug}),e))})});var Hs=Object(Ir.compose)([Object(l.withSelect)(function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies()}})])(function(e){var t=e.postType,n=e.taxonomies,r=e.children;return Object(O.some)(n,function(e){return Object(O.includes)(e.types,t)})?r:null}),Ks=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).edit=e.edit.bind(Object(Dr.a)(Object(Dr.a)(e))),e.stopEditing=e.stopEditing.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={},e}return Object(Rr.a)(t,e),Object(Lr.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(wr.createElement)(wr.Fragment,null,Object(wr.createElement)("label",{htmlFor:"post-content-".concat(t),className:"screen-reader-text"},Object(_.__)("Type text or HTML")),Object(wr.createElement)(ai.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(_.__)("Start writing with text or HTML")}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return t.isDirty?null:{value:e.value,isDirty:!1}}}]),t}(wr.Component),zs=Object(Ir.compose)([Object(l.withSelect)(function(e){return{value:(0,e("core/editor").getEditedPostContent)()}}),Object(l.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost,r=t.resetBlocks;return{onChange:function(e){n({content:e})},onPersist:function(e){r(Object(i.parse)(e))}}}),Ir.withInstanceId])(Ks),Ws=function(e){function t(e){var n,r=e.permalinkParts,o=e.slug;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={editedPostName:o||r.postName},n.onSavePermalink=n.onSavePermalink.bind(Object(Dr.a)(Object(Dr.a)(n))),n}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"onSavePermalink",value:function(e){var t=Xc(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(wr.createElement)("form",{className:"editor-post-permalink-editor",onSubmit:this.onSavePermalink},Object(wr.createElement)("span",{className:"editor-post-permalink__editor-container"},Object(wr.createElement)("span",{className:"editor-post-permalink-editor__prefix"},n),Object(wr.createElement)("input",{className:"editor-post-permalink-editor__edit","aria-label":Object(_.__)("Edit post permalink"),value:o,onChange:function(t){return e.setState({editedPostName:t.target.value})},type:"text",autoFocus:!0}),Object(wr.createElement)("span",{className:"editor-post-permalink-editor__suffix"},r),""),Object(wr.createElement)(Fr.Button,{className:"editor-post-permalink-editor__save",isLarge:!0,onClick:this.onSavePermalink},Object(_.__)("Save")))}}]),t}(wr.Component),qs=Object(Ir.compose)([Object(l.withSelect)(function(e){return{permalinkParts:(0,e("core/editor").getPermalinkParts)()}}),Object(l.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(Ws),Gs=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).addVisibilityCheck=e.addVisibilityCheck.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onVisibilityChange=e.onVisibilityChange.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={isCopied:!1,isEditingPermalink:!1},e}return Object(Rr.a)(t,e),Object(Lr.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.isNew,r=t.postLink,o=t.permalinkParts,i=t.postSlug,c=t.postTitle,a=t.postID,s=t.isEditable,l=t.isPublished;if(n||!r)return null;var u=this.state,d=u.isCopied,p=u.isEditingPermalink,b=d?Object(_.__)("Permalink copied"):Object(_.__)("Copy the permalink"),f=o.prefix,h=o.suffix,m=i||Xc(c)||a,v=s?f+m+h:f;return Object(wr.createElement)("div",{className:"editor-post-permalink"},Object(wr.createElement)(Fr.ClipboardButton,{className:Pr()("editor-post-permalink__copy",{"is-copied":d}),text:v,label:b,onCopy:function(){return e.setState({isCopied:!0})},"aria-disabled":d,icon:"admin-links"}),Object(wr.createElement)("span",{className:"editor-post-permalink__label"},Object(_.__)("Permalink:")),!p&&Object(wr.createElement)(Fr.ExternalLink,{className:"editor-post-permalink__link",href:l?v:r,target:"_blank",ref:function(t){return e.linkElement=t}},Object(g.safeDecodeURI)(v),""),p&&Object(wr.createElement)(qs,{slug:m,onSave:function(){return e.setState({isEditingPermalink:!1})}}),s&&!p&&Object(wr.createElement)(Fr.Button,{className:"editor-post-permalink__edit",isLarge:!0,onClick:function(){return e.setState({isEditingPermalink:!0})}},Object(_.__)("Edit")),!s&&Object(wr.createElement)(Fr.Button,{className:"editor-post-permalink__change",isLarge:!0,href:Qc("options-permalink.php"),onClick:this.addVisibilityCheck,target:"_blank"},Object(_.__)("Change Permalinks")))}}]),t}(wr.Component),$s=Object(Ir.compose)([Object(l.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=o(),l=s.id,u=s.link;return{isNew:n(),postLink:u,permalinkParts:i(),postSlug:c("slug"),isEditable:r(),isPublished:a(),postTitle:c("title"),postID:l}}),Object(l.withDispatch)(function(e){return{refreshPost:e("core/editor").refreshPost}})])(Gs),Ys=/[\r\n]+/g,Qs=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onSelect=e.onSelect.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onUnselect=e.onUnselect.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(Dr.a)(Object(Dr.a)(e))),e.redirectHistory=e.redirectHistory.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={isSelected:!1},e}return Object(Rr.a)(t,e),Object(Lr.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(Ys," ");this.props.onUpdate(t)}},{key:"onKeyDown",value:function(e){e.keyCode===vo.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,l=Pr()("wp-block editor-post-title__block",{"is-selected":s,"is-focus-mode":r,"has-fixed-toolbar":t}),u=Object($i.decodeEntities)(c);return Object(wr.createElement)(Ca,{supportKeys:"title"},Object(wr.createElement)("div",{className:"editor-post-title"},Object(wr.createElement)("div",{className:l},Object(wr.createElement)(Fr.KeyboardShortcuts,{shortcuts:{"mod+z":this.redirectHistory,"mod+shift+z":this.redirectHistory}},Object(wr.createElement)("label",{htmlFor:"post-title-".concat(i),className:"screen-reader-text"},u||Object(_.__)("Add title")),Object(wr.createElement)(ai.a,{id:"post-title-".concat(i),className:"editor-post-title__input",value:a,onChange:this.onChange,placeholder:u||Object(_.__)("Add title"),onFocus:this.onSelect,onKeyDown:this.onKeyDown,onKeyPress:this.onUnselect,autoFocus:n})),s&&o&&Object(wr.createElement)($s,null))))}}]),t}(wr.Component),Xs=Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditorSettings,o=t.isCleanNewPost,i=(0,e("core").getPostType)(n("type")),c=r(),a=c.titlePlaceholder,s=c.focusMode,l=c.hasFixedToolbar;return{isCleanNewPost:o(),title:n("title"),isPostTypeViewable:Object(O.get)(i,["viewable"],!1),placeholder:a,isFocusMode:s,hasFixedToolbar:l}}),Zs=Object(l.withDispatch)(function(e){var t=e("core/editor"),n=t.insertDefaultBlock,r=t.editPost,o=t.clearSelectedBlock;return{onEnterPress:function(){n(void 0,void 0,0)},onUpdate:function(e){r({title:e})},onUndo:t.undo,onRedo:t.redo,clearSelectedBlock:o}}),Js=Object(Ir.compose)(Xs,Zs,Ir.withInstanceId,Fr.withFocusOutside)(Qs);var el=Object(Ir.compose)([Object(l.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(l.withDispatch)(function(e){return{trashPost:e("core/editor").trashPost}})])(function(e){var t=e.isNew,n=e.postId,r=e.postType,o=Object(p.a)(e,["isNew","postId","postType"]);return t||!n?null:Object(wr.createElement)(Fr.Button,{className:"editor-post-trash button-link-delete",onClick:function(){return o.trashPost(n,r)},isDefault:!0,isLarge:!0},Object(_.__)("Move to trash"))});var tl=Object(l.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 nl=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(O.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(e){var t=e.hasPublishAction;return(0,e.render)({canEdit:t})}),rl=n(97);var ol=Object(l.withSelect)(function(e){return{content:e("core/editor").getEditedPostAttribute("content")}})(function(e){var t=e.content;return Object(wr.createElement)("span",{className:"word-count"},Object(rl.count)(t,"words"))});var il=Object(l.withSelect)(function(e){var t=e("core/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;return Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)("div",{className:"table-of-contents__counts",role:"note","aria-label":Object(_.__)("Document Statistics"),tabIndex:"0"},Object(wr.createElement)("div",{className:"table-of-contents__count"},Object(_.__)("Words"),Object(wr.createElement)(ol,null)),Object(wr.createElement)("div",{className:"table-of-contents__count"},Object(_.__)("Headings"),Object(wr.createElement)("span",{className:"table-of-contents__number"},t)),Object(wr.createElement)("div",{className:"table-of-contents__count"},Object(_.__)("Paragraphs"),Object(wr.createElement)("span",{className:"table-of-contents__number"},n)),Object(wr.createElement)("div",{className:"table-of-contents__count"},Object(_.__)("Blocks"),Object(wr.createElement)("span",{className:"table-of-contents__number"},r))),t>0&&Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)("hr",null),Object(wr.createElement)("span",{className:"table-of-contents__title"},Object(_.__)("Document Outline")),Object(wr.createElement)(fa,null)))});var cl=Object(l.withSelect)(function(e){return{hasBlocks:!!e("core/editor").getBlockCount()}})(function(e){var t=e.hasBlocks;return Object(wr.createElement)(Fr.Dropdown,{position:"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(wr.createElement)(Fr.IconButton,{onClick:r,icon:"info-outline","aria-expanded":n,label:Object(_.__)("Content structure"),disabled:!t})},renderContent:function(){return Object(wr.createElement)(il,null)}})}),al=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).warnIfUnsavedChanges=e.warnIfUnsavedChanges.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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(_.__)("You have unsaved changes. If you proceed, they will be lost."),e.returnValue}},{key:"render",value:function(){return null}}]),t}(wr.Component),sl=Object(l.withSelect)(function(e){return{isDirty:e("core/editor").isEditedPostDirty()}})(al),ll=Object(l.withSelect)(function(e){return{selectedBlockClientId:e("core/editor").getBlockSelectionStart()}})(function(e){var t=e.selectedBlockClientId;return t&&Object(wr.createElement)(Fr.Button,{isDefault:!0,type:"button",className:"editor-skip-to-selected-block",onClick:function(){(function(e){return Ki(e).closest(".editor-block-list__block")})(t).focus()}},Object(_.__)("Skip to the selected block"))}),ul=n(124),dl=n.n(ul);function pl(e,t,n){var r=new dl.a(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var bl=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor").getBlock,o=e("core/blocks").getBlockStyles,i=r(n);return{name:i.name,attributes:i.attributes,className:i.attributes.className||"",styles:o(i.name)}}),Object(l.withDispatch)(function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/editor").updateBlockAttributes(n,{className:t})}}})])(function(e){var t=e.styles,n=e.className,r=e.onChangeClassName,o=e.name,i=e.attributes,c=e.onSwitch,a=void 0===c?O.noop:c,s=e.onHoverClassName,l=void 0===s?O.noop:s;if(!t||0===t.length)return null;var u=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,c=new dl.a(t).values()[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=i.value;if(-1!==a.indexOf("is-style-")){var s=a.substring(9),l=Object(O.find)(e,{name:s});if(l)return l}}}catch(e){r=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw o}}return Object(O.find)(e,"isDefault")}(t,n);function p(e){var t=pl(n,u,e);r(t),a()}return Object(wr.createElement)("div",{className:"editor-block-styles"},t.map(function(e){var t=pl(n,u,e);return Object(wr.createElement)("div",{key:e.name,className:Pr()("editor-block-styles__item",{"is-active":u===e}),onClick:function(){return p(e)},onKeyDown:function(t){vo.ENTER!==t.keyCode&&vo.SPACE!==t.keyCode||(t.preventDefault(),p(e))},onMouseEnter:function(){return l(t)},onMouseLeave:function(){return l(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(wr.createElement)("div",{className:"editor-block-styles__item-preview"},Object(wr.createElement)(yi,{name:o,attributes:Object(d.a)({},i,{className:t})})),Object(wr.createElement)("div",{className:"editor-block-styles__item-label"},e.label||e.name))}))});var fl=Object(l.withSelect)(function(e){return{blocks:(0,e("core/editor").getMultiSelectedBlocks)()}})(function(e){var t=e.blocks,n=Object(rl.count)(Object(i.serialize)(t),"words");return Object(wr.createElement)("div",{className:"editor-multi-selection-inspector__card"},Object(wr.createElement)(qr,{icon:Object(wr.createElement)(Fr.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(wr.createElement)(Fr.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(wr.createElement)("div",{className:"editor-multi-selection-inspector__card-content"},Object(wr.createElement)("div",{className:"editor-multi-selection-inspector__card-title"},Object(_.sprintf)(Object(_._n)("%d block","%d blocks",t.length),t.length)),Object(wr.createElement)("div",{className:"editor-multi-selection-inspector__card-description"},Object(_.sprintf)(Object(_._n)("%d word","%d words",n),n))))}),hl=Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,c=e("core/blocks").getBlockStyles,a=n(),s=a&&o(a),l=a&&Object(i.getBlockType)(s),u=a&&c(s);return{count:r(),hasBlockStyles:u&&u.length>0,selectedBlockName:s,selectedBlockClientId:a,blockType:l}})(function(e){var t=e.selectedBlockClientId,n=e.selectedBlockName,r=e.blockType,o=e.count,c=e.hasBlockStyles;if(o>1)return Object(wr.createElement)(fl,null);var a=n===Object(i.getUnregisteredTypeHandlerName)();return r&&t&&!a?Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)("div",{className:"editor-block-inspector__card"},Object(wr.createElement)(qr,{icon:r.icon,showColors:!0}),Object(wr.createElement)("div",{className:"editor-block-inspector__card-content"},Object(wr.createElement)("div",{className:"editor-block-inspector__card-title"},r.title),Object(wr.createElement)("div",{className:"editor-block-inspector__card-description"},r.description))),c&&Object(wr.createElement)("div",null,Object(wr.createElement)(Fr.PanelBody,{title:Object(_.__)("Styles"),initialOpen:!1},Object(wr.createElement)(bl,{clientId:t}))),Object(wr.createElement)("div",null,Object(wr.createElement)(uc.Slot,null)),Object(wr.createElement)("div",null,Object(wr.createElement)(ic.Slot,null,function(e){return!Object(O.isEmpty)(e)&&Object(wr.createElement)(Fr.PanelBody,{className:"editor-block-inspector__advanced",title:Object(_.__)("Advanced"),initialOpen:!1},e)})),Object(wr.createElement)(ll,{key:"back"})):Object(wr.createElement)("span",{className:"editor-block-inspector__no-blocks"},Object(_.__)("No block selected."))}),ml=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(Dr.a)(Object(Dr.a)(e))),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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(wr.createElement)("div",Object(Cr.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(O.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(wr.Component),vl=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}}),Object(l.withDispatch)(function(e){return{clearSelectedBlock:e("core/editor").clearSelectedBlock}})])(ml);var Ol=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor"),o=r.getBlock,c=r.getBlockMode,a=o(n);return{mode:c(n),blockType:a?Object(i.getBlockType)(a.name):null}}),Object(l.withDispatch)(function(e,t){var n=t.onToggle,r=void 0===n?O.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/editor").toggleBlockMode(o),r()}}})])(function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,c=void 0!==o&&o;if(!Object(i.hasBlockSupport)(t,"html",!0))return null;var a="visual"===n?Object(_.__)("Edit as HTML"):Object(_.__)("Edit visually");return Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",onClick:r,icon:"html",label:c?a:void 0},!c&&a)});var gl=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=t.clientIds,r=e("core/editor"),o=r.getBlocksByClientId,c=r.canInsertBlockType,a=r.__experimentalGetReusableBlock,s=o(n),l=c("core/block")&&Object(O.every)(s,function(e){return!!e&&e.isValid&&Object(i.hasBlockSupport)(e.name,"reusable",!0)});return{isVisible:l,isStaticBlock:l&&(1!==s.length||!Object(i.isReusableBlock)(s[0])||!a(s[0].attributes.ref))}}),Object(l.withDispatch)(function(e,t){var n=t.clientIds,r=t.onToggle,o=void 0===r?O.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.isStaticBlock,r=e.onConvertToStatic,o=e.onConvertToReusable;return t?Object(wr.createElement)(wr.Fragment,null,n&&Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",icon:"controls-repeat",onClick:o},Object(_.__)("Add to Reusable Blocks")),!n&&Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",icon:"controls-repeat",onClick:r},Object(_.__)("Convert to Regular Block"))):null});var jl=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor"),o=r.getBlock,c=r.__experimentalGetReusableBlock,a=o(n);return{reusableBlock:a&&Object(i.isReusableBlock)(a)?c(a.attributes.ref):null}}),Object(l.withDispatch)(function(e,t){var n=t.onToggle,r=void 0===n?O.noop:n,o=e("core/editor").__experimentalDeleteReusableBlock;return{onDelete:function(e){window.confirm(Object(_.__)("Are you sure you want to delete this Reusable Block?\n\nIt will be permanently removed from all posts and pages that use it."))&&(o(e),r())}}})])(function(e){var t=e.reusableBlock,n=e.onDelete;return t?Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",icon:"no",disabled:t.isTemporary,onClick:function(){return n(t.id)}},Object(_.__)("Remove from Reusable Blocks")):null});function yl(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(_.__)("Convert to Blocks");return Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",onClick:n,icon:"screenoptions",label:r?o:void 0},!r&&o)}var kl=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}}),Object(l.withDispatch)(function(e,t){var n=t.block;return{onClick:function(){return e("core/editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.getBlockContent)(n)}))}}}))(yl),_l=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor").getBlock(n);return{block:r,shouldRender:r&&r.name===Object(i.getFreeformContentHandlerName)()}}),Object(l.withDispatch)(function(e,t){var n=t.block;return{onClick:function(){return e("core/editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.serialize)(n)}))}}}))(yl),Sl=Object(Fr.createSlotFill)("_BlockSettingsMenuFirstItem"),El=Sl.Fill,Cl=Sl.Slot;El.Slot=Cl;var wl=El,Tl=Object(Fr.createSlotFill)("_BlockSettingsMenuPluginsExtension"),Pl=Tl.Fill,Il=Tl.Slot;Pl.Slot=Il;var Bl=Pl;var xl=Object(l.withDispatch)(function(e){var t=e("core/editor").selectBlock;return{onSelect:function(e){t(e)}}})(function(e){var t=e.clientIds,n=e.onSelect,r=Object(O.castArray)(t),o=r.length,i=r[0];return Object(wr.createElement)(ma,{clientIds:t},function(e){var r=e.onDuplicate,c=e.onRemove,a=e.onInsertAfter,s=e.onInsertBefore,l=e.canDuplicate,u=e.isLocked;return Object(wr.createElement)(Fr.Dropdown,{contentClassName:"editor-block-settings-menu__popover",position:"bottom right",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,c=Pr()("editor-block-settings-menu__toggle",{"is-opened":r}),a=r?Object(_.__)("Hide options"):Object(_.__)("More options");return Object(wr.createElement)(Fr.Toolbar,{controls:[{icon:"ellipsis",title:a,onClick:function(){1===o&&n(i),t()},className:c,extraProps:{"aria-expanded":r}}]})},renderContent:function(e){var n=e.onClose;return Object(wr.createElement)(Fr.NavigableMenu,{className:"editor-block-settings-menu__content"},Object(wr.createElement)(wl.Slot,{fillProps:{onClose:n}}),1===o&&Object(wr.createElement)(_l,{clientId:i}),1===o&&Object(wr.createElement)(kl,{clientId:i}),!u&&l&&Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",onClick:r,icon:"admin-page",shortcut:Oa.duplicate.display},Object(_.__)("Duplicate")),!u&&Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",onClick:s,icon:"insert-before",shortcut:Oa.insertBefore.display},Object(_.__)("Insert Before")),Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",onClick:a,icon:"insert-after",shortcut:Oa.insertAfter.display},Object(_.__)("Insert After"))),1===o&&Object(wr.createElement)(Ol,{clientId:i,onToggle:n}),Object(wr.createElement)(gl,{clientIds:t,onToggle:n}),Object(wr.createElement)(Bl.Slot,{fillProps:{clientIds:t,onClose:n}}),Object(wr.createElement)("div",{className:"editor-block-settings-menu__separator"}),1===o&&Object(wr.createElement)(jl,{clientId:i,onToggle:n}),!u&&Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",onClick:c,icon:"trash",shortcut:Oa.removeBlock.display},Object(_.__)("Remove Block")))}})})}),Ll=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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=Object(O.mapKeys)(o,function(e){return e.name}),l=Object(O.orderBy)(Object(O.filter)(Object(i.getPossibleBlockTransformations)(n),function(e){return!!s[e.name]}),function(e){return s[e.name].frecency},"desc"),u=n[0].name,p=Object(i.getBlockType)(u);return c||l.length?Object(wr.createElement)(Fr.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,o=1===n.length?Object(_.__)("Change block type"):Object(_.sprintf)(Object(_._n)("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(wr.createElement)(Fr.Toolbar,null,Object(wr.createElement)(Fr.IconButton,{className:"editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":r,label:o,tooltip:o,onKeyDown:function(e){r||e.keyCode!==vo.DOWN||(e.preventDefault(),e.stopPropagation(),t())}},Object(wr.createElement)(qr,{icon:p.icon,showColors:!0}),Object(wr.createElement)(Fr.SVG,{className:"editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(wr.createElement)(Fr.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(wr.createElement)(wr.Fragment,null,c&&Object(wr.createElement)(Fr.PanelBody,{title:Object(_.__)("Block Styles"),initialOpen:!0},Object(wr.createElement)(bl,{clientId:n[0].clientId,onSwitch:o,onHoverClassName:e.onHoverClassName})),0!==l.length&&Object(wr.createElement)(Fr.PanelBody,{title:Object(_.__)("Transform To:"),initialOpen:!0},Object(wr.createElement)(Si,{items:l.map(function(e){return{id:e.name,icon:e.icon,title:e.title,hasChildBlocksWithInserterSupport:Object(i.hasChildBlocksWithInserterSupport)(e.name)}}),onSelect:function(e){r(n,e.id),o()}})),null!==a&&Object(wr.createElement)(ki,{name:n[0].name,attributes:Object(d.a)({},n[0].attributes,{className:a})}))}}):n.length>1?null:Object(wr.createElement)(Fr.Toolbar,null,Object(wr.createElement)(Fr.IconButton,{disabled:!0,className:"editor-block-switcher__no-switcher-icon",label:Object(_.__)("Block icon")},Object(wr.createElement)(qr,{icon:p.icon,showColors:!0})))}}]),t}(wr.Component),Al=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.clientIds,r=e("core/editor"),o=r.getBlocksByClientId,i=r.getBlockRootClientId,c=r.getInserterItems,a=e("core/blocks").getBlockStyles,s=i(Object(O.first)(Object(O.castArray)(n))),l=o(n),u=l&&1===l.length?l[0]:null,d=u&&a(u.name);return{blocks:l,inserterItems:c(s),hasBlockStyles:d&&d.length>0}}),Object(l.withDispatch)(function(e,t){return{onTransform:function(n,r){e("core/editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,r))}}}))(Ll);var Nl=Object(l.withSelect)(function(e){var t=e("core/editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}})(function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(wr.createElement)(Al,{key:"switcher",clientIds:n}):null});var Rl=Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlockClientId,r=t.getBlockMode,o=t.getMultiSelectedBlockClientIds,i=t.isBlockValid,c=n();return{blockClientIds:c?[c]:o(),isValid:c?i(c):null,mode:c?r(c):null}})(function(e){var t=e.blockClientIds,n=e.isValid,r=e.mode;return 0===t.length?null:t.length>1?Object(wr.createElement)("div",{className:"editor-block-toolbar"},Object(wr.createElement)(Nl,null),Object(wr.createElement)(xl,{clientIds:t})):Object(wr.createElement)("div",{className:"editor-block-toolbar"},"visual"===r&&n&&Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Al,{clientIds:t}),Object(wr.createElement)(so.Slot,null),Object(wr.createElement)(mo.Slot,null)),Object(wr.createElement)(xl,{clientIds:t}))}),Dl=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onCopy=e.onCopy.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onCut=e.onCut.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.onCopy),document.addEventListener("cut",this.onCut)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.onCopy),document.removeEventListener("cut",this.onCut)}},{key:"onCopy",value:function(e){var t=this.props,n=t.hasMultiSelection,r=t.selectedBlockClientIds,o=t.getBlocksByClientId;if(0!==r.length&&(n||!Object(Fo.documentHasSelection)())){var c=Object(i.serialize)(o(r));e.clipboardData.setData("text/plain",c),e.clipboardData.setData("text/html",c),e.preventDefault()}}},{key:"onCut",value:function(e){var t=this.props,n=t.hasMultiSelection,r=t.selectedBlockClientIds;this.onCopy(e),n&&this.props.onRemove(r)}},{key:"render",value:function(){return null}}]),t}(wr.Component),Fl=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getMultiSelectedBlockClientIds,r=t.getSelectedBlockClientId,o=t.getBlocksByClientId,i=t.hasMultiSelection,c=r(),a=c?[c]:n();return{hasMultiSelection:i(),selectedBlockClientIds:a,getBlocksByClientId:o}}),Object(l.withDispatch)(function(e){return{onRemove:e("core/editor").removeBlocks}})])(Dl),Ml=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).reboot=e.reboot.bind(Object(Dr.a)(Object(Dr.a)(e))),e.getContent=e.getContent.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={error:null},e}return Object(Rr.a)(t,e),Object(Lr.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(l.select)("core/editor").getEditedPostContent()}catch(e){}}},{key:"render",value:function(){var e=this.state.error;return e?Object(wr.createElement)(Qo,{className:"editor-error-boundary",actions:[Object(wr.createElement)(Fr.Button,{key:"recovery",onClick:this.reboot,isLarge:!0},Object(_.__)("Attempt Recovery")),Object(wr.createElement)(Fr.ClipboardButton,{key:"copy-post",text:this.getContent,isLarge:!0},Object(_.__)("Copy Post Text")),Object(wr.createElement)(Fr.ClipboardButton,{key:"copy-error",text:e.stack,isLarge:!0},Object(_.__)("Copy Error"))]},Object(_.__)("The editor has encountered an unexpected error.")):this.props.children}}]),t}(wr.Component),Ul=function(e){function t(){return Object(xr.a)(this,t),Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidUpdate",value:function(){this.scrollIntoView()}},{key:"scrollIntoView",value:function(){var e=this.props.extentClientId;if(e){var t=Ki(e);if(t){var n=Object(Fo.getScrollContainer)(t);n&&ji()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(wr.Component),Vl=Object(l.withSelect)(function(e){return{extentClientId:(0,e("core/editor").getLastMultiSelectedBlockClientId)()}})(Ul),Hl=[vo.UP,vo.RIGHT,vo.DOWN,vo.LEFT,vo.ENTER,vo.BACKSPACE];var Kl=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(Object(Dr.a)(Object(Dr.a)(e))),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(Object(Dr.a)(Object(Dr.a)(e))),e.startTypingInTextField=e.startTypingInTextField.bind(Object(Dr.a)(Object(Dr.a)(e))),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(Object(Dr.a)(Object(Dr.a)(e))),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onKeyDown=Object(O.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Object(Rr.a)(t,e),Object(Lr.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===vo.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(Fo.isTextField)(i)||i.closest(".editor-block-toolbar")||("keydown"!==o||function(e){var t=e.keyCode;return!e.shiftKey&&Object(O.includes)(Hl,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(Fo.isTextField)(i)&&o()})}},{key:"render",value:function(){var e=this.props.children;return Object(wr.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(wr.Component),zl=Object(Ir.compose)([Object(l.withSelect)(function(e){return{isTyping:(0,e("core/editor").isTyping)()}}),Object(l.withDispatch)(function(e){var t=e("core/editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}}),Ir.withSafeTimeout])(Kl),Wl=function(e){function t(){return Object(xr.a)(this,t),Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))}return Object(Rr.a)(t,e),Object(Lr.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=Ki(e);return t?t.getBoundingClientRect().top:null}},{key:"restorePreviousOffset",value:function(e){var t=Ki(this.props.selectionStart);if(t){var n=Object(Fo.getScrollContainer)(t);n&&(n.scrollTop=n.scrollTop+t.getBoundingClientRect().top-e)}}},{key:"render",value:function(){return null}}]),t}(wr.Component),ql=Object(l.withSelect)(function(e){return{blockOrder:e("core/editor").getBlockOrder(),selectionStart:e("core/editor").getBlockSelectionStart()}})(Wl),Gl=window.getSelection,$l=Object(O.overEvery)([Fo.isTextField,Fo.focus.tabbable.isTabbableIndex]);var Yl=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(Object(Dr.a)(Object(Dr.a)(e))),e.bindContainer=e.bindContainer.bind(Object(Dr.a)(Object(Dr.a)(e))),e.clearVerticalRect=e.clearVerticalRect.bind(Object(Dr.a)(Object(Dr.a)(e))),e.focusLastTextField=e.focusLastTextField.bind(Object(Dr.a)(Object(Dr.a)(e))),e.verticalRect=null,e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearVerticalRect",value:function(){this.verticalRect=null}},{key:"getClosestTabbable",value:function(e,t){var n=Fo.focus.focusable.find(this.container);return t&&(n=Object(O.reverse)(n)),n=n.slice(n.indexOf(e)+1),Object(O.find)(n,function t(n,r,o){if(!Fo.focus.tabbable.isTabbableIndex(n))return!1;if(Object(Fo.isTextField)(n))return!0;if(!function(e){return e.classList.contains("editor-block-list__block")}(n))return!1;if(function(e){return!!e.querySelector(".editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var i,c=1;(i=o[r+c])&&n.contains(i);c++)if(t(i,r+c,o))return!1;return!0})}},{key:"expandSelection",value:function(e){var t=this.props,n=t.selectedBlockClientId,r=t.selectionStartClientId,o=t.selectionBeforeEndClientId,i=t.selectionAfterEndClientId,c=e?o:i;c&&this.props.onMultiSelect(r||n,c)}},{key:"moveSelection",value:function(e){var t=this.props,n=t.selectedFirstClientId,r=t.selectedLastClientId,o=e?n:r;o&&this.props.onSelectBlock(o)}},{key:"isTabbableEdge",value:function(e,t){var n=this.getClosestTabbable(e,t);return!n||!function(e,t){return e.closest("[data-block]")===t.closest("[data-block]")}(e,n)}},{key:"onKeyDown",value:function(e){var t=this.props,n=t.hasMultiSelection,r=t.onMultiSelect,o=t.blocks,i=e.keyCode,c=e.target,a=i===vo.UP,s=i===vo.DOWN,l=i===vo.LEFT,u=i===vo.RIGHT,d=a||l,p=l||u,b=a||s,f=p||b,h=e.shiftKey,m=h||e.ctrlKey||e.altKey||e.metaKey,v=b?Fo.isVerticalEdge:Fo.isHorizontalEdge;if(!f)return vo.isKeyboardEvent.primary(e)&&(this.isEntirelySelected=Object(Fo.isEntirelySelected)(c)),void(vo.isKeyboardEvent.primary(e,"a")&&((c.isContentEditable?this.isEntirelySelected:Object(Fo.isEntirelySelected)(c))&&(r(Object(O.first)(o),Object(O.last)(o)),e.preventDefault()),this.isEntirelySelected=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===vo.UP||t===vo.DOWN)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(c,i,m))if(b?this.verticalRect||(this.verticalRect=Object(Fo.computeCaretRect)(c)):this.verticalRect=null,h&&(n||this.isTabbableEdge(c,d)&&v(c,d)))this.expandSelection(d),e.preventDefault();else if(n)this.moveSelection(d),e.preventDefault();else if(b&&Object(Fo.isVerticalEdge)(c,d)){var g=this.getClosestTabbable(c,d);g&&(Object(Fo.placeCaretAtVerticalEdge)(g,d,this.verticalRect),e.preventDefault())}else if(p&&Gl().isCollapsed&&Object(Fo.isHorizontalEdge)(c,d)){var j=this.getClosestTabbable(c,d);Object(Fo.placeCaretAtHorizontalEdge)(j,d),e.preventDefault()}}},{key:"focusLastTextField",value:function(){var e=Fo.focus.focusable.find(this.container),t=Object(O.findLast)(e,$l);t&&Object(Fo.placeCaretAtHorizontalEdge)(t,!0)}},{key:"render",value:function(){var e=this.props.children;return Object(wr.createElement)("div",{className:"editor-writing-flow"},Object(wr.createElement)("div",{ref:this.bindContainer,onKeyDown:this.onKeyDown,onMouseDown:this.clearVerticalRect},e),Object(wr.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:this.focusLastTextField,className:"wp-block editor-writing-flow__click-redirect"}))}}]),t}(wr.Component),Ql=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,c=t.getNextBlockClientId,a=t.getFirstMultiSelectedBlockClientId,s=t.getLastMultiSelectedBlockClientId,l=t.hasMultiSelection,u=t.getBlockOrder,d=n(),p=r(),b=o();return{selectedBlockClientId:d,selectionStartClientId:p,selectionBeforeEndClientId:i(b||d),selectionAfterEndClientId:c(b||d),selectedFirstClientId:a(),selectedLastClientId:s(),hasMultiSelection:l(),blocks:u()}}),Object(l.withDispatch)(function(e){var t=e("core/editor");return{onMultiSelect:t.multiSelect,onSelectBlock:t.selectBlock}})])(Yl),Xl=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Zl=function(e,t){t=t||{};var n=1,r=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(){var e={line:n,column:r};return function(t){return t.position=new c(e),b(),t}}function c(e){this.start=e,this.end={line:n,column:r},this.source=t.source}c.prototype.content=e;var a=[];function s(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 l(){return p(/^{\s*/)}function u(){return p(/^}/)}function d(){var t,n=[];for(b(),f(n);e.length&&"}"!==e.charAt(0)&&(t=E()||C());)!1!==t&&(n.push(t),f(n));return n}function p(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function b(){p(/^\s*/)}function f(e){var t;for(e=e||[];t=m();)!1!==t&&e.push(t);return e}function m(){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 s("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 v(){var e=p(/^([^{]+)/);if(e)return Jl(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 O(){var e=i(),t=p(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=Jl(t[0]),!p(/^:\s*/))return s("property missing ':'");var n=p(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(Xl,""),value:n?Jl(n[0]).replace(Xl,""):""});return p(/^[;\s]*/),r}}function g(){var e,t=[];if(!l())return s("missing '{'");for(f(t);e=O();)!1!==e&&(t.push(e),f(t));return u()?t:s("missing '}'")}function j(){for(var e,t=[],n=i();e=p(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),p(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:g()})}var y=S("import"),k=S("charset"),_=S("namespace");function S(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=i(),r=p(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function E(){if("@"===e[0])return function(){var e=i(),t=p(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=p(/^([-\w]+)\s*/)))return s("@keyframes missing name");var r,o=t[1];if(!l())return s("@keyframes missing '{'");for(var c=f();r=j();)c.push(r),c=c.concat(f());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:c}):s("@keyframes missing '}'")}}()||function(){var e=i(),t=p(/^@media *([^{]+)/);if(t){var n=Jl(t[1]);if(!l())return s("@media missing '{'");var r=f().concat(d());return u()?e({type:"media",media:n,rules:r}):s("@media missing '}'")}}()||function(){var e=i(),t=p(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:Jl(t[1]),media:Jl(t[2])})}()||function(){var e=i(),t=p(/^@supports *([^{]+)/);if(t){var n=Jl(t[1]);if(!l())return s("@supports missing '{'");var r=f().concat(d());return u()?e({type:"supports",supports:n,rules:r}):s("@supports missing '}'")}}()||y()||k()||_()||function(){var e=i(),t=p(/^@([-\w]+)?document *([^{]+)/);if(t){var n=Jl(t[1]),r=Jl(t[2]);if(!l())return s("@document missing '{'");var o=f().concat(d());return u()?e({type:"document",document:r,vendor:n,rules:o}):s("@document missing '}'")}}()||function(){var e=i();if(p(/^@page */)){var t=v()||[];if(!l())return s("@page missing '{'");for(var n,r=f();n=O();)r.push(n),r=r.concat(f());return u()?e({type:"page",selectors:t,declarations:r}):s("@page missing '}'")}}()||function(){var e=i();if(p(/^@host\s*/)){if(!l())return s("@host missing '{'");var t=f().concat(d());return u()?e({type:"host",rules:t}):s("@host missing '}'")}}()||function(){var e=i();if(p(/^@font-face\s*/)){if(!l())return s("@font-face missing '{'");for(var t,n=f();t=O();)n.push(t),n=n.concat(f());return u()?e({type:"font-face",declarations:n}):s("@font-face missing '}'")}}()}function C(){var e=i(),t=v();return t?(f(),e({type:"rule",selectors:t,declarations:g()})):s("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(h.a)(c)&&e(c,o)}r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}(function(){var e=d();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:a}}}())};function Jl(e){return e?e.replace(/^\s+|\s+$/g,""):""}var eu=n(98),tu=n.n(eu),nu=ru;function ru(e){this.options=e||{}}ru.prototype.emit=function(e){return e},ru.prototype.visit=function(e){return this[e.type](e)},ru.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(d.a)({},n,{selectors:n.selectors.map(function(n){return Object(O.includes)(t,n.trim())?n:n.match(mu)?n.replace(/^(body|html)/,e):e+" "+n})}):n}},Ou=function(e){function t(e){var n;return Object(xr.a)(this,t),n=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments)),e.recovery?Object(Ar.a)(n):(e.updateEditorSettings(e.settings),e.updatePostLock(e.settings.postLock),e.setupEditor(e.post,e.initialEdits),e.settings.autosave&&e.createWarningNotice(Object(_.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:Object(_.__)("View the autosave"),url:e.settings.autosave.editLink}]}),n)}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidMount",value:function(){this.props.settings.styles&&Object(O.map)(this.props.settings.styles,function(e){var t=e.css,n=e.baseURL,r=[vu(".editor-styles-wrapper")];n&&r.push(hu(n));var o=du(t,Object(Ir.compose)(r));if(o){var i=document.createElement("style");i.innerHTML=o,document.body.appendChild(i)}})}},{key:"componentDidUpdate",value:function(e){this.props.settings!==e.settings&&this.props.updateEditorSettings(this.props.settings)}},{key:"render",value:function(){var e=this.props.children,t=[[Fr.SlotFillProvider],[Fr.DropZoneProvider]];return Object(O.flow)(t.map(function(e){var t=Object(u.a)(e,2),n=t[0],r=t[1];return function(e){return Object(wr.createElement)(n,r,e)}}))(e)}}]),t}(wr.Component),gu=Object(l.withDispatch)(function(e){var t=e("core/editor");return{setupEditor:t.setupEditor,updateEditorSettings:t.updateEditorSettings,updatePostLock:t.updatePostLock,createWarningNotice:e("core/notices").createWarningNotice}})(Ou),ju=["left","center","right","wide","full"],yu=["wide","full"];function ku(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?ju:[],!r||!0===e&&!n?O.without.apply(void 0,[t].concat(yu)):t}var _u=Object(Ir.createHigherOrderComponent)(function(e){return function(t){var n=t.name,r=ku(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(wr.createElement)(so,{key:"align-controls"},Object(wr.createElement)(ro,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(O.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:r})),Object(wr.createElement)(e,Object(Cr.a)({key:"edit"},t))]}},"withToolbarControls"),Su=Object(Ir.createHigherOrderComponent)(Object(Ir.compose)([Object(l.withSelect)(function(e){return{hasWideEnabled:!!(0,e("core/editor").getEditorSettings)().alignWide}}),function(e){return function(t){var n=t.block,r=t.hasWideEnabled,o=n.name,c=n.attributes.align,a=ku(Object(i.getBlockSupport)(o,"align"),Object(i.hasBlockSupport)(o,"alignWide",!0),r),s=t.wrapperProps;return Object(O.includes)(a,c)&&(s=Object(d.a)({},s,{"data-align":c})),Object(wr.createElement)(e,Object(Cr.a)({},t,{wrapperProps:s}))}}]));Object(Br.addFilter)("blocks.registerBlockType","core/align/addAttribute",function(e){return Object(O.has)(e.attributes,["align","type"])?e:(Object(i.hasBlockSupport)(e,"align")&&(e.attributes=Object(O.assign)(e.attributes,{align:{type:"string"}})),e)}),Object(Br.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",Su),Object(Br.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",_u),Object(Br.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(O.includes)(ku(o,c),r)&&(e.className=Pr()("align".concat(r),e.className)),e});var Eu=/[\s#]/g;var Cu=Object(Ir.createHigherOrderComponent)(function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(e,t),Object(wr.createElement)(ic,null,Object(wr.createElement)(Fr.TextControl,{label:Object(_.__)("HTML Anchor"),help:Object(_.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(Eu,"-"),t.setAttributes({anchor:e})}}))):Object(wr.createElement)(e,t)}},"withInspectorControl");Object(Br.addFilter)("blocks.registerBlockType","core/anchor/attribute",function(e){return Object(i.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(O.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}),Object(Br.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",Cu),Object(Br.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",function(e,t,n){return Object(i.hasBlockSupport)(t,"anchor")&&(e.id=n.anchor),e});var wu=Object(Ir.createHigherOrderComponent)(function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(e,t),Object(wr.createElement)(ic,null,Object(wr.createElement)(Fr.TextControl,{label:Object(_.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:e})}}))):Object(wr.createElement)(e,t)}},"withInspectorControl");function Tu(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(Br.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(O.assign)(e.attributes,{className:{type:"string"}})),e}),Object(Br.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",wu),Object(Br.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=Pr()(e.className,n.className)),e}),Object(Br.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var r=Object(O.omit)(e,["className"]),o=Object(i.getSaveContent)(t,r),c=Tu(o),a=Tu(n),s=Object(O.difference)(a,c);s.length?e.className=s.join(" "):o&&delete e.className}return e});var Pu=[Xr],Iu=Object(O.once)(function(){return Object(l.dispatch)("core/editor").__experimentalFetchReusableBlocks()});Object(Br.addFilter)("editor.Autocomplete.completers","editor/autocompleters/set-default-completers",function(e,t){return e||(e=Pu.map(O.clone),t===Object(i.getDefaultBlockName)()&&(e.push(Object(O.clone)(Qr)),Iu())),e}),Object(Br.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(O.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(b.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}),n.d(t,"Autocomplete",function(){return Wr}),n.d(t,"AlignmentToolbar",function(){return Jr}),n.d(t,"BlockAlignmentToolbar",function(){return ro}),n.d(t,"BlockControls",function(){return so}),n.d(t,"BlockEdit",function(){return uo}),n.d(t,"BlockFormatControls",function(){return mo}),n.d(t,"BlockNavigationDropdown",function(){return yo}),n.d(t,"BlockIcon",function(){return qr}),n.d(t,"ColorPalette",function(){return _o}),n.d(t,"withColorContext",function(){return ko}),n.d(t,"ContrastChecker",function(){return Bo}),n.d(t,"InnerBlocks",function(){return ec}),n.d(t,"InspectorAdvancedControls",function(){return ic}),n.d(t,"InspectorControls",function(){return uc}),n.d(t,"PanelColorSettings",function(){return hc}),n.d(t,"PlainText",function(){return mc}),n.d(t,"RichText",function(){return Hc}),n.d(t,"RichTextShortcut",function(){return Ic}),n.d(t,"RichTextToolbarButton",function(){return Dc}),n.d(t,"RichTextInserterItem",function(){return Fc}),n.d(t,"ServerSideRender",function(){return Kc}),n.d(t,"MediaPlaceholder",function(){return ta}),n.d(t,"MediaUpload",function(){return zc}),n.d(t,"MediaUploadCheck",function(){return Go}),n.d(t,"URLInput",function(){return oa}),n.d(t,"URLInputButton",function(){return ia}),n.d(t,"URLPopover",function(){return Wc}),n.d(t,"AutosaveMonitor",function(){return aa}),n.d(t,"DocumentOutline",function(){return fa}),n.d(t,"DocumentOutlineCheck",function(){return ha}),n.d(t,"EditorGlobalKeyboardShortcuts",function(){return ja}),n.d(t,"EditorHistoryRedo",function(){return ya}),n.d(t,"EditorHistoryUndo",function(){return ka}),n.d(t,"EditorNotices",function(){return Sa}),n.d(t,"PageAttributesCheck",function(){return Ea}),n.d(t,"PageAttributesOrder",function(){return Ta}),n.d(t,"PageAttributesParent",function(){return xa}),n.d(t,"PageTemplate",function(){return La}),n.d(t,"PostAuthor",function(){return Ra}),n.d(t,"PostAuthorCheck",function(){return Aa}),n.d(t,"PostComments",function(){return Da}),n.d(t,"PostExcerpt",function(){return Fa}),n.d(t,"PostExcerptCheck",function(){return Ma}),n.d(t,"PostFeaturedImage",function(){return $a}),n.d(t,"PostFeaturedImageCheck",function(){return Va}),n.d(t,"PostFormat",function(){return Xa}),n.d(t,"PostFormatCheck",function(){return Ya}),n.d(t,"PostLastRevision",function(){return Ja}),n.d(t,"PostLastRevisionCheck",function(){return Za}),n.d(t,"PostLockedModal",function(){return is}),n.d(t,"PostPendingStatus",function(){return as}),n.d(t,"PostPendingStatusCheck",function(){return cs}),n.d(t,"PostPingbacks",function(){return ss}),n.d(t,"PostPreviewButton",function(){return rs}),n.d(t,"PostPublishButton",function(){return ds}),n.d(t,"PostPublishButtonLabel",function(){return ls}),n.d(t,"PostPublishPanel",function(){return Bs}),n.d(t,"PostSavedState",function(){return As}),n.d(t,"PostSchedule",function(){return ms}),n.d(t,"PostScheduleCheck",function(){return Ns}),n.d(t,"PostScheduleLabel",function(){return vs}),n.d(t,"PostSticky",function(){return Ds}),n.d(t,"PostStickyCheck",function(){return Rs}),n.d(t,"PostSwitchToDraftButton",function(){return xs}),n.d(t,"PostTaxonomies",function(){return Vs}),n.d(t,"PostTaxonomiesCheck",function(){return Hs}),n.d(t,"PostTextEditor",function(){return zs}),n.d(t,"PostTitle",function(){return Js}),n.d(t,"PostTrash",function(){return el}),n.d(t,"PostTrashCheck",function(){return tl}),n.d(t,"PostTypeSupportCheck",function(){return Ca}),n.d(t,"PostVisibility",function(){return fs}),n.d(t,"PostVisibilityLabel",function(){return hs}),n.d(t,"PostVisibilityCheck",function(){return nl}),n.d(t,"TableOfContents",function(){return cl}),n.d(t,"UnsavedChangesWarning",function(){return sl}),n.d(t,"WordCount",function(){return ol}),n.d(t,"BlockInspector",function(){return hl}),n.d(t,"BlockList",function(){return Zi}),n.d(t,"BlockMover",function(){return qo}),n.d(t,"BlockSelectionClearer",function(){return vl}),n.d(t,"BlockSettingsMenu",function(){return xl}),n.d(t,"_BlockSettingsMenuFirstItem",function(){return wl}),n.d(t,"_BlockSettingsMenuPluginsExtension",function(){return Bl}),n.d(t,"BlockTitle",function(){return ui}),n.d(t,"BlockToolbar",function(){return Rl}),n.d(t,"CopyHandler",function(){return Fl}),n.d(t,"DefaultBlockAppender",function(){return Yi}),n.d(t,"ErrorBoundary",function(){return Ml}),n.d(t,"Inserter",function(){return Li}),n.d(t,"MultiBlocksSwitcher",function(){return Nl}),n.d(t,"MultiSelectScrollIntoView",function(){return Vl}),n.d(t,"NavigableToolbar",function(){return mi}),n.d(t,"ObserveTyping",function(){return zl}),n.d(t,"PreserveScrollInReorder",function(){return ql}),n.d(t,"SkipToSelectedBlock",function(){return ll}),n.d(t,"Warning",function(){return Qo}),n.d(t,"WritingFlow",function(){return Ql}),n.d(t,"EditorProvider",function(){return gu}),n.d(t,"blockAutocompleter",function(){return Qr}),n.d(t,"userAutocompleter",function(){return Xr}),n.d(t,"getColorClassName",function(){return To}),n.d(t,"getColorObjectByAttributeValues",function(){return Co}),n.d(t,"getColorObjectByColorValue",function(){return wo}),n.d(t,"withColors",function(){return Io}),n.d(t,"getFontSize",function(){return xo}),n.d(t,"getFontSizeClass",function(){return Lo}),n.d(t,"FontSizePicker",function(){return Ao}),n.d(t,"withFontSizes",function(){return No}),n.d(t,"mediaUpload",function(){return Yc}),n.d(t,"cleanForSlug",function(){return Xc})}]);
\ No newline at end of file
+*/o=[e,t],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n="function"==typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,r){-1===e.indexOf(n)&&(e.push(n),t.push(r))},delete:function(n){var r=e.indexOf(n);r>-1&&(e.splice(r,1),t.splice(r,1))}}}(),r=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){r=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function o(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!n.has(e)){var t=null,o=null,i=null,c=function(){e.clientWidth!==o&&u()},a=function(t){window.removeEventListener("resize",c,!1),e.removeEventListener("input",u,!1),e.removeEventListener("keyup",u,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",u,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),n.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",u,!1),window.addEventListener("resize",c,!1),e.addEventListener("input",u,!1),e.addEventListener("autosize:update",u,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",n.set(e,{destroy:a,update:u}),function(){var n=window.getComputedStyle(e,null);"vertical"===n.resize?e.style.resize="none":"both"===n.resize&&(e.style.resize="horizontal"),t="content-box"===n.boxSizing?-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),isNaN(t)&&(t=0),u()}()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function l(){if(0!==e.scrollHeight){var n=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",o=e.clientWidth,n.forEach(function(e){e.node.scrollTop=e.scrollTop}),r&&(document.documentElement.scrollTop=r)}}function u(){l();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(o0&&void 0!==arguments[0]?arguments[0]:{};return function(t){(e=Object(d.a)({},j,e)).shouldOverwriteState=Object(O.overSome)([e.shouldOverwriteState,function(t){return Object(O.includes)(e.ignoreTypes,t.type)}]);var n={past:[],present:t(void 0,{}),future:[],lastAction:null,shouldCreateUndoLevel:!1},r=e,o=r.resetTypes,i=void 0===o?[]:o,c=r.shouldOverwriteState,a=void 0===c?function(){return!1}:c;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,r=arguments.length>1?arguments[1]:void 0,o=e.past,c=e.present,s=e.future,l=e.lastAction,u=e.shouldCreateUndoLevel,p=l;switch(r.type){case"UNDO":return o.length?{past:Object(O.dropRight)(o),present:Object(O.last)(o),future:[c].concat(Object(b.a)(s)),lastAction:null,shouldCreateUndoLevel:!1}:e;case"REDO":return s.length?{past:Object(b.a)(o).concat([c]),present:Object(O.first)(s),future:Object(O.drop)(s),lastAction:null,shouldCreateUndoLevel:!1}:e;case"CREATE_UNDO_LEVEL":return Object(d.a)({},e,{lastAction:null,shouldCreateUndoLevel:!0})}var f=t(c,r);if(Object(O.includes)(i,r.type))return{past:[],present:f,future:[],lastAction:null,shouldCreateUndoLevel:!1};if(c===f)return e;var h=o,m=p;return!u&&o.length&&a(r,p)||(h=Object(b.a)(o).concat([c]),m=r),{past:h,present:f,future:[],shouldCreateUndoLevel:!1,lastAction:m}}}},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n,r){var o=t(n,r),i=void 0===n||Object(O.includes)(e.resetTypes,r.type),c=n!==o;if(!c&&!i)return n;c&&void 0!==n||(o=Object(d.a)({},o));var a=Object(O.includes)(e.ignoreTypes,r.type);return o.isDirty=a?n.isDirty:!i&&c,o}}},_=n(1),S={insertUsage:{},isPublishSidebarEnabled:!0},E={alignWide:!1,colors:[{name:Object(_.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(_.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(_.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(_.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(_.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(_.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(_.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(_.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(_.__)("Very light gray"),slug:"very-light-gray",color:"#eeeeee"},{name:Object(_.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(_.__)("Very dark gray"),slug:"very-dark-gray",color:"#313131"}],fontSizes:[{name:Object(_._x)("Small","font size name"),size:13,slug:"small"},{name:Object(_._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(_._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(_._x)("Large","font size name"),size:36,slug:"large"},{name:Object(_._x)("Huge","font size name"),size:48,slug:"huge"}],imageSizes:[{slug:"thumbnail",label:Object(_.__)("Thumbnail")},{slug:"medium",label:Object(_.__)("Medium")},{slug:"large",label:Object(_.__)("Large")},{slug:"full",label:Object(_.__)("Full Size")}],maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,richEditingEnabled:!0},C={};function w(e,t,n){return Object(b.a)(e.slice(0,n)).concat(Object(b.a)(Object(O.castArray)(t)),Object(b.a)(e.slice(n)))}function T(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=Object(b.a)(e);return o.splice(t,r),w(o,e.slice(t,t+r),n)}var P=new Set(["meta"]);function I(e){return e&&"object"===Object(h.a)(e)&&"raw"in e?e.raw:e}function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(f.a)({},t,[]);return e.forEach(function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,B(o,r))}),n}function x(e){for(var t={},n=Object(b.a)(e);n.length;){var r=n.shift(),o=r.innerBlocks,i=Object(p.a)(r,["innerBlocks"]);n.push.apply(n,Object(b.a)(o)),t[i.clientId]=i}return t}function L(e,t){return e===t?Object(d.a)({},e):t}function A(e,t){return Object(O.isEqual)(Object(O.keys)(e),Object(O.keys)(t))}function N(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&e.clientId===t.clientId&&A(e.attributes,t.attributes)}function R(e,t){return"EDIT_POST"===e.type&&A(e.edits,t.edits)}var D=Object(O.flow)([l.combineReducers,function(e){return function(t,n){if(t&&"REMOVE_BLOCKS"===n.type){for(var r=Object(b.a)(n.clientIds),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"EDIT_POST":return Object(O.reduce)(t.edits,function(t,n,r){return n!==e[r]&&(t=L(e,t),P.has(r)?t[r]=Object(d.a)({},t[r],n):t[r]=n),t},e);case"RESET_BLOCKS":return"content"in e?Object(O.omit)(e,"content"):e;case"UPDATE_POST":case"RESET_POST":var n="UPDATE_POST"===t.type?function(e){return t.edits[e]}:function(e){return I(t.post[e])};return Object(O.reduce)(e,function(t,r,o){return Object(O.isEqual)(r,n(o))?(delete(t=L(e,t))[o],t):t},e)}return e},blocks:Object(O.flow)([l.combineReducers,function(e){return function(t,n){if(t&&"RESET_BLOCKS"===n.type){var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(O.reduce)(t[n],function(n,r){return Object(b.a)(n).concat([r],Object(b.a)(e(t,r)))},[])}(t.order);return Object(d.a)({},t,{byClientId:Object(d.a)({},Object(O.omit)(t.byClientId,r),x(n.blocks)),order:Object(d.a)({},Object(O.omit)(t.order,r),B(n.blocks))})}return e(t,n)}},k({resetTypes:["SETUP_EDITOR_STATE","REQUEST_POST_UPDATE_START"],ignoreTypes:["RECEIVE_BLOCKS","RESET_POST","UPDATE_POST"]})])({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"SETUP_EDITOR_STATE":return x(t.blocks);case"RECEIVE_BLOCKS":return Object(d.a)({},e,x(t.blocks));case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(O.reduce)(t.attributes,function(n,r,o){return r!==n[o]&&((n=L(e[t.clientId].attributes,n))[o]=r),n},e[t.clientId].attributes);return n===e[t.clientId].attributes?e:Object(d.a)({},e,Object(f.a)({},t.clientId,Object(d.a)({},e[t.clientId],{attributes:n})));case"UPDATE_BLOCK":return e[t.clientId]?Object(d.a)({},e,Object(f.a)({},t.clientId,Object(d.a)({},e[t.clientId],t.updates))):e;case"INSERT_BLOCKS":return Object(d.a)({},e,x(t.blocks));case"REPLACE_BLOCKS":return t.blocks?Object(d.a)({},Object(O.omit)(e,t.clientIds),x(t.blocks)):e;case"REMOVE_BLOCKS":return Object(O.omit)(e,t.clientIds);case"SAVE_REUSABLE_BLOCK_SUCCESS":var r=t.id,o=t.updatedId;return r===o?e:Object(O.mapValues)(e,function(e){return"core/block"===e.name&&e.attributes.ref===r?Object(d.a)({},e,{attributes:Object(d.a)({},e.attributes,{ref:o})}):e})}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"SETUP_EDITOR_STATE":return B(t.blocks);case"RECEIVE_BLOCKS":return Object(d.a)({},e,Object(O.omit)(B(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=t.blocks,i=e[r]||[],c=B(o,r),a=t.index,s=void 0===a?i.length:a;return Object(d.a)({},e,c,Object(f.a)({},r,w(i,c[r],s)));case"MOVE_BLOCK_TO_POSITION":var l,u=t.fromRootClientId,p=void 0===u?"":u,h=t.toRootClientId,m=void 0===h?"":h,v=t.clientId,g=t.index,j=void 0===g?e[m].length:g;if(p===m){var y=e[m].indexOf(v);return Object(d.a)({},e,Object(f.a)({},m,T(e[m],y,j)))}return Object(d.a)({},e,(l={},Object(f.a)(l,p,Object(O.without)(e[p],v)),Object(f.a)(l,m,w(e[m],v,j)),l));case"MOVE_BLOCKS_UP":var k=t.clientIds,_=t.rootClientId,S=void 0===_?"":_,E=Object(O.first)(k),C=e[S];if(!C.length||E===Object(O.first)(C))return e;var P=C.indexOf(E);return Object(d.a)({},e,Object(f.a)({},S,T(C,P,P-1,k.length)));case"MOVE_BLOCKS_DOWN":var I=t.clientIds,x=t.rootClientId,L=void 0===x?"":x,A=Object(O.first)(I),N=Object(O.last)(I),R=e[L];if(!R.length||N===Object(O.last)(R))return e;var D=R.indexOf(A);return Object(d.a)({},e,Object(f.a)({},L,T(R,D,D+1,I.length)));case"REPLACE_BLOCKS":var F=t.blocks,M=t.clientIds;if(!F)return e;var U=B(F);return Object(O.flow)([function(e){return Object(O.omit)(e,M)},function(e){return Object(d.a)({},e,Object(O.omit)(U,""))},function(e){return Object(O.mapValues)(e,function(e){return Object(O.reduce)(e,function(e,t){return t===M[0]?Object(b.a)(e).concat(Object(b.a)(U[""])):(-1===M.indexOf(t)&&e.push(t),e)},[])})}])(e);case"REMOVE_BLOCKS":return Object(O.flow)([function(e){return Object(O.omit)(e,t.clientIds)},function(e){return Object(O.mapValues)(e,function(e){return O.without.apply(void 0,[e].concat(Object(b.a)(t.clientIds)))})}])(e)}return e}})});var F=Object(l.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(O.reduce)(t.results,function(t,n){var r=n.reusableBlock,o=r.id,i=r.title,c={clientId:n.parsedBlock.clientId,title:i};return Object(O.isEqual)(t[o],c)||((t=L(e,t))[o]=c),t},e);case"UPDATE_REUSABLE_BLOCK_TITLE":var n=t.id,r=t.title;return e[n]&&e[n].title!==r?Object(d.a)({},e,Object(f.a)({},n,Object(d.a)({},e[n],{title:r}))):e;case"SAVE_REUSABLE_BLOCK_SUCCESS":var o=t.id,i=t.updatedId;if(o===i)return e;var c=e[o];return Object(d.a)({},Object(O.omit)(e,o),Object(f.a)({},i,c));case"REMOVE_REUSABLE_BLOCK":var a=t.id;return Object(O.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(d.a)({},e,Object(f.a)({},n,!0)):e;case"FETCH_REUSABLE_BLOCKS_SUCCESS":case"FETCH_REUSABLE_BLOCKS_FAILURE":var r=t.id;return Object(O.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(d.a)({},e,Object(f.a)({},t.id,!0));case"SAVE_REUSABLE_BLOCK_SUCCESS":case"SAVE_REUSABLE_BLOCK_FAILURE":var n=t.id;return Object(O.omit)(e,n)}return e}});var M=v()(Object(l.combineReducers)({editor:D,initialEdits:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SETUP_EDITOR":if(!t.edits)break;return t.edits;case"SETUP_EDITOR_STATE":return"content"in e?Object(O.omit)(e,"content"):e;case"UPDATE_POST":return Object(O.reduce)(t.edits,function(t,n,r){return t.hasOwnProperty(r)?(delete(t=L(e,t))[r],t):t},e);case"RESET_POST":return C}return e},currentPost:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":var n;if(t.post)n=t.post;else{if(!t.edits)return e;n=Object(d.a)({},e,t.edits)}return Object(O.mapValues)(n,I)}return e},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]:{start:null,end:null,isMultiSelecting:!1,isEnabled:!0,initialPosition:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return null!==e.start||null!==e.end||e.isMultiSelecting?Object(d.a)({},e,{start:null,end:null,isMultiSelecting:!1,initialPosition:null}):e;case"START_MULTI_SELECT":return e.isMultiSelecting?e:Object(d.a)({},e,{isMultiSelecting:!0,initialPosition:null});case"STOP_MULTI_SELECT":return e.isMultiSelecting?Object(d.a)({},e,{isMultiSelecting:!1,initialPosition:null}):e;case"MULTI_SELECT":return Object(d.a)({},e,{start:t.start,end:t.end,initialPosition:null});case"SELECT_BLOCK":return t.clientId===e.start&&t.clientId===e.end?e:Object(d.a)({},e,{start:t.clientId,end:t.clientId,initialPosition:t.initialPosition});case"INSERT_BLOCKS":return t.updateSelection?Object(d.a)({},e,{start:t.blocks[0].clientId,end:t.blocks[0].clientId,initialPosition:null,isMultiSelecting:!1}):e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.start)?Object(d.a)({},e,{start:null,end:null,initialPosition:null,isMultiSelecting:!1}):e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.start))return e;var n=Object(O.get)(t.blocks,[0,"clientId"],null);return Object(d.a)({},e,{start:n,end:n,initialPosition:null,isMultiSelecting:!1});case"TOGGLE_SELECTION":return Object(d.a)({},e,{isEnabled:t.isSelectionEnabled})}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(d.a)({},e,Object(f.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(O.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(O.isEqual)(e[n],t.settings)?e:Object(d.a)({},e,Object(f.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(O.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},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S,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(d.a)({},e,{insertUsage:Object(d.a)({},e.insertUsage,Object(f.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})},e);case"REMOVE_REUSABLE_BLOCK":return Object(d.a)({},e,{insertUsage:Object(O.omitBy)(e.insertUsage,function(e){return e.insert.ref===t.id})});case"ENABLE_PUBLISH_SIDEBAR":return Object(d.a)({},e,{isPublishSidebarEnabled:!0});case"DISABLE_PUBLISH_SIDEBAR":return Object(d.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":return{requesting:!0,successful:!1,error:null,options:t.options||{}};case"REQUEST_POST_UPDATE_SUCCESS":return{requesting:!1,successful:!0,error:null,options:t.options||{}};case"REQUEST_POST_UPDATE_FAILURE":return{requesting:!1,successful:!1,error:t.error,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:F,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(d.a)({},e,{isValid:t.isValid})}return e},autosave: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"RESET_AUTOSAVE":var n=t.post,r=["title","excerpt","content"].map(function(e){return I(n[e])}),o=Object(u.a)(r,3);return{title:o[0],excerpt:o[1],content:o[2]}}return e},previewLink: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"REQUEST_POST_UPDATE_SUCCESS":return t.post.preview_link||Object(g.addQueryArgs)(t.post.link,{preview:!0});case"REQUEST_POST_UPDATE_START":if(e&&t.options.isPreview)return null}return e},settings: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"UPDATE_EDITOR_SETTINGS":return Object(d.a)({},e,t.settings)}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(d.a)({},e,Object(f.a)({},t.lockName,!0));case"UNLOCK_POST_SAVING":return Object(O.omit)(e,t.lockName)}return e}})),U=n(87),V=n.n(U),H=n(190),K=n.n(H),z=n(44);function W(e,t){return{type:"SETUP_EDITOR",post:e,edits:t}}function q(e){return{type:"RESET_POST",post:e}}function G(e){return{type:"RESET_AUTOSAVE",post:e}}function $(e){return{type:"UPDATE_POST",edits:e}}function Y(e,t){return{type:"SETUP_EDITOR_STATE",post:e,blocks:t}}function Q(e){return{type:"RESET_BLOCKS",blocks:e}}function X(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function Z(e,t){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientId:e,attributes:t}}function J(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function ee(e){return{type:"SELECT_BLOCK",initialPosition:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function te(){return{type:"START_MULTI_SELECT"}}function ne(){return{type:"STOP_MULTI_SELECT"}}function re(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function oe(){return{type:"CLEAR_SELECTED_BLOCK"}}function ie(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function ce(e,t){return{type:"REPLACE_BLOCKS",clientIds:Object(O.castArray)(e),blocks:Object(O.castArray)(t),time:Date.now()}}function ae(e,t){return ce(e,t)}function se(e){return function(t,n){return{clientIds:Object(O.castArray)(t),type:e,rootClientId:n}}}var le=se("MOVE_BLOCKS_DOWN"),ue=se("MOVE_BLOCKS_UP");function de(e,t,n,r){return{type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r}}function pe(e,t,n){return be([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function be(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return{type:"INSERT_BLOCKS",blocks:Object(O.castArray)(e),index:t,rootClientId:n,time:Date.now(),updateSelection:r}}function fe(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function he(){return{type:"HIDE_INSERTION_POINT"}}function me(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function ve(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Oe(e){return{type:"EDIT_POST",edits:e}}function ge(){return{type:"REQUEST_POST_UPDATE",options:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}function je(){return{type:"REFRESH_POST"}}function ye(e,t){return{type:"TRASH_POST",postId:e,postType:t}}function ke(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function _e(e){return ge(Object(d.a)({isAutosave:!0},e))}function Se(){return{type:"REDO"}}function Ee(){return{type:"UNDO"}}function Ce(){return{type:"CREATE_UNDO_LEVEL"}}function we(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{type:"REMOVE_BLOCKS",clientIds:Object(O.castArray)(e),selectPrevious:t}}function Te(e,t){return we([e],t)}function Pe(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function Ie(){return{type:"START_TYPING"}}function Be(){return{type:"STOP_TYPING"}}function xe(){return{type:"ENTER_FORMATTED_TEXT"}}function Le(){return{type:"EXIT_FORMATTED_TEXT"}}function Ae(e){return{type:"UPDATE_POST_LOCK",lock:e}}function Ne(e){return{type:"FETCH_REUSABLE_BLOCKS",id:e}}function Re(e){return{type:"RECEIVE_REUSABLE_BLOCKS",results:e}}function De(e){return{type:"SAVE_REUSABLE_BLOCK",id:e}}function Fe(e){return{type:"DELETE_REUSABLE_BLOCK",id:e}}function Me(e,t){return{type:"UPDATE_REUSABLE_BLOCK_TITLE",id:e,title:t}}function Ue(e){return{type:"CONVERT_BLOCK_TO_STATIC",clientId:e}}function Ve(e){return{type:"CONVERT_BLOCK_TO_REUSABLE",clientIds:Object(O.castArray)(e)}}function He(e,t,n){return pe(Object(i.createBlock)(Object(i.getDefaultBlockName)(),e),n,t)}function Ke(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function ze(e){return{type:"UPDATE_EDITOR_SETTINGS",settings:e}}function We(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function qe(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function Ge(e){return{type:"LOCK_POST_SAVING",lockName:e}}function $e(e){return{type:"UNLOCK_POST_SAVING",lockName:e}}var Ye=n(31),Qe=n(46),Xe=n(57),Ze="post-update",Je=/%(?:postname|pagename)%/,et=3,tt=2,nt=1,rt=0,ot=6e4,it=[];function ct(e){return e.editor.past.length>0}function at(e){return e.editor.future.length>0}function st(e){return"auto-draft"===pt(e).status}function lt(e){return e.editor.present.blocks.isDirty||"content"in e.editor.present.edits}function ut(e){return!!lt(e)||(Object.keys(e.editor.present.edits).length>0||er(e,ut))}function dt(e){return!ut(e)&&st(e)}function pt(e){return e.currentPost}function bt(e){return e.currentPost.type}function ft(e){return pt(e).id||null}function ht(e){return Object(O.get)(pt(e),["_links","version-history",0,"count"],0)}function mt(e){return Object(O.get)(pt(e),["_links","predecessor-version",0,"id"],null)}var vt=Object(Ye.a)(function(e){return Object(d.a)({},e.initialEdits,e.editor.present.edits)},function(e){return[e.editor.present.edits,e.initialEdits]}),Ot=Object(Ye.a)(function(){return[]},function(e){return[e.editor]});function gt(e,t){var n=pt(e);if(n.hasOwnProperty(t))return n[t]}function jt(e,t){var n=vt(e);switch(t){case"content":return Dn(e)}return n.hasOwnProperty(t)?n[t]:gt(e,t)}function yt(e,t){if(!Bt(e))return null;var n=It(e);return n.hasOwnProperty(t)?n[t]:void 0}function kt(e){var t=jt(e,"status"),n=jt(e,"password");return"private"===t?"private":n?"password":"public"}function _t(e){return"pending"===pt(e).status}function St(e){var t=pt(e);return-1!==["publish","private"].indexOf(t.status)||"future"===t.status&&!Object(Qe.isInTheFuture)(new Date(Number(Object(Qe.getDate)(t.date))-ot))}function Et(e){return"future"===pt(e).status&&!St(e)}function Ct(e){var t=pt(e);return ut(e)||-1===["publish","private","future"].indexOf(t.status)}function wt(e){return!Pn(e)&&(!!jt(e,"title")||!!jt(e,"excerpt")||!Tt(e))}function Tt(e){var t=Rn(e);if(t.length&&!("content"in vt(e))){if(t.length>1)return!1;if(t[0].name!==Object(i.getFreeformContentHandlerName)())return!1}return!Dn(e)}function Pt(e){if(!wt(e))return!1;if(!Bt(e))return!0;if(lt(e))return!0;var t=It(e);return["title","excerpt"].some(function(n){return t[n]!==jt(e,n)})}function It(e){return e.autosave}function Bt(e){return!!It(e)}function xt(e){var t=jt(e,"date"),n=new Date(Number(Object(Qe.getDate)(t))-ot);return Object(Qe.isInTheFuture)(n)}function Lt(e){var t=jt(e,"date"),n=jt(e,"modified"),r=jt(e,"status");return("draft"===r||"auto-draft"===r)&&t===n}var At=Object(Ye.a)(function(){return[]},function(e,t){return Object(O.map)(bn(e,t),function(t){return Dt(e,t)})});function Nt(e,t){var n=e.editor.present.blocks.byClientId[t];return n?n.name:null}function Rt(e,t){var n=e.editor.present.blocks.byClientId[t];return!!n&&n.isValid}var Dt=Object(Ye.a)(function(e,t){var n=e.editor.present.blocks.byClientId[t];if(!n)return null;var r=n.attributes,o=Object(i.getBlockType)(n.name);return o&&(r=Object(O.reduce)(o.attributes,function(t,n,o){return"meta"===n.source&&(t===r&&(t=Object(d.a)({},t)),t[o]=function(e,t){return Object(O.has)(e,["editor","present","edits","meta",t])?Object(O.get)(e,["editor","present","edits","meta",t]):Object(O.get)(e,["currentPost","meta",t])}(e,n.meta)),t},r)),Object(d.a)({},n,{attributes:r,innerBlocks:Ft(e,t)})},function(e,t){return[e.editor.present.blocks.byClientId[t],At(e,t),e.editor.present.edits.meta,e.initialEdits.meta,e.currentPost.meta]});var Ft=Object(Ye.a)(function(e,t){return Object(O.map)(bn(e,t),function(t){return Dt(e,t)})},function(e){return[e.editor.present.blocks]}),Mt=function e(t,n){return Object(O.flatMap)(n,function(n){var r=bn(t,n);return Object(b.a)(r).concat(Object(b.a)(e(t,r)))})},Ut=Object(Ye.a)(function(e){var t=bn(e);return Object(b.a)(t).concat(Object(b.a)(Mt(e,t)))},function(e){return[e.editor.present.blocks.order]}),Vt=Object(Ye.a)(function(e,t){var n=Ut(e);return t?Object(O.reduce)(n,function(n,r){return e.editor.present.blocks.byClientId[r].name===t?n+1:n},0):n.length},function(e){return[e.editor.present.blocks.order,e.editor.present.blocks.byClientId]}),Ht=Object(Ye.a)(function(e,t){return Object(O.map)(Object(O.castArray)(t),function(t){return Dt(e,t)})},function(e){return[e.editor.present.edits.meta,e.initialEdits.meta,e.currentPost.meta,e.editor.present.blocks]});function Kt(e,t){return bn(e,t).length}function zt(e){return e.blockSelection.start}function Wt(e){return e.blockSelection.end}function qt(e){var t=nn(e).length;return t||(e.blockSelection.start?1:0)}function Gt(e){var t=e.blockSelection,n=t.start,r=t.end;return!!n&&n===r}function $t(e){var t=e.blockSelection,n=t.start;return n===t.end&&n?n:null}function Yt(e){var t=$t(e);return t?Dt(e,t):null}var Qt=Object(Ye.a)(function(e,t){var n=e.editor.present.blocks.order;for(var r in n)if(Object(O.includes)(n[r],t))return r;return null},function(e){return[e.editor.present.blocks.order]}),Xt=Object(Ye.a)(function(e,t){for(var n=t,r=t;n;)n=Qt(e,r=n);return r},function(e){return[e.editor.present.blocks.order]});function Zt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=$t(e)),void 0===t&&(t=n<0?on(e):cn(e)),!t)return null;var r=Qt(e,t);if(null===r)return null;var o=e.editor.present.blocks.order[r],i=o.indexOf(t)+1*n;return i<0?null:i===o.length?null:o[i]}function Jt(e,t){return Zt(e,t,-1)}function en(e,t){return Zt(e,t,1)}function tn(e){var t=e.blockSelection,n=t.start;return n===t.end&&n?e.blockSelection.initialPosition:null}var nn=Object(Ye.a)(function(e){var t=e.blockSelection,n=t.start,r=t.end;if(n===r)return[];var o=Qt(e,n);if(null===o)return[];var i=bn(e,o),c=i.indexOf(n),a=i.indexOf(r);return c>a?i.slice(a,c+1):i.slice(c,a+1)},function(e){return[e.editor.present.blocks.order,e.blockSelection.start,e.blockSelection.end]}),rn=Object(Ye.a)(function(e){var t=nn(e);return t.length?t.map(function(t){return Dt(e,t)}):it},function(e){return[e.editor.present.blocks.order,e.blockSelection.start,e.blockSelection.end,e.editor.present.blocks.byClientId,e.editor.present.edits.meta,e.initialEdits.meta,e.currentPost.meta]});function on(e){return Object(O.first)(nn(e))||null}function cn(e){return Object(O.last)(nn(e))||null}var an=Object(Ye.a)(function(e,t,n){for(var r=n;t!==r&&r;)r=Qt(e,r);return t===r},function(e){return[e.editor.present.blocks]});function sn(e,t){return on(e)===t}function ln(e,t){return-1!==nn(e).indexOf(t)}var un=Object(Ye.a)(function(e,t){for(var n=t,r=!1;n&&!r;)r=ln(e,n=Qt(e,n));return r},function(e){return[e.editor.present.blocks.order,e.blockSelection.start,e.blockSelection.end]});function dn(e){var t=e.blockSelection,n=t.start;return n===t.end?null:n||null}function pn(e){var t=e.blockSelection,n=t.start,r=t.end;return n===r?null:r||null}function bn(e,t){return e.editor.present.blocks.order[t||""]||it}function fn(e,t,n){return bn(e,n).indexOf(t)}function hn(e,t){var n=e.blockSelection,r=n.start;return r===n.end&&r===t}function mn(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(O.some)(bn(e,t),function(t){return hn(e,t)||ln(e,t)||n&&mn(e,t,n)})}function vn(e,t){if(!t)return!1;var n=nn(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(O.isBoolean)(e)?e:Object(O.isArray)(e)?Object(O.includes)(e,t):n},o=Object(i.getBlockType)(t);if(!o)return!1;if(!r(nr(e).allowedBlockTypes,t,!0))return!1;if(!!Tn(e,n))return!1;var c=tr(e,n),a=r(Object(O.get)(c,["allowedBlocks"]),t),s=r(o.parent,Nt(e,n));return null!==a&&null!==s?a||s:null!==a?a:null===s||s},Mn=Object(Ye.a)(Fn,function(e,t,n){return[e.blockListSettings[n],e.editor.present.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]});function Un(e,t){return e.preferences.insertUsage[t]||null}var Vn=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&Fn(e,t.name,n)},Hn=function(e,t,n){if(!Fn(e,"core/block",n))return!1;var r=Nt(e,t.clientId);return!!r&&(!!Object(i.getBlockType)(r)&&(!!Fn(e,r,n)&&!an(e,t.clientId,n)))},Kn=Object(Ye.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?et:t>0?tt:"common"===e?nt:rt},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 Vn(e,n,t)}).map(function(t){var o=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(O.some)(Ht(e,Ut(e)),{name:t.name}));var a=Object(O.isArray)(t.parent),s=Un(e,o)||{},l=s.time,u=s.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(l,d),hasChildBlocksWithInserterSupport:Object(i.hasChildBlocksWithInserterSupport)(t.name)}}),c=$n(e).filter(function(n){return Hn(e,n,t)}).map(function(t){var o="core/block/".concat(t.id),c=Nt(e,t.clientId),a=Object(i.getBlockType)(c),s=Un(e,o)||{},l=s.time,u=s.count,d=void 0===u?0:u,p=n("reusable",d,!1),b=r(l,d);return{id:o,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:a.icon,category:"reusable",keywords:[],isDisabled:!1,utility:p,frecency:b}});return Object(O.orderBy)(Object(b.a)(o).concat(Object(b.a)(c)),["utility","frecency"],["desc","desc"])},function(e,t){return[e.blockListSettings[t],e.editor.present.blocks,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,e.reusableBlocks.data,Object(i.getBlockTypes)()]}),zn=Object(Ye.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!!Object(O.some)(Object(i.getBlockTypes)(),function(n){return Vn(e,n,t)})||Object(O.some)($n(e),function(n){return Hn(e,n,t)})},function(e,t){return[e.blockListSettings[t],e.editor.present.blocks,e.settings.allowedBlockTypes,e.settings.templateLock,e.reusableBlocks.data,Object(i.getBlockTypes)()]}),Wn=Object(Ye.a)(function(e,t){var n=e.reusableBlocks.data[t];if(!n)return null;var r=isNaN(parseInt(t));return Object(d.a)({},n,{id:r?t:+t,isTemporary:r})},function(e,t){return[e.reusableBlocks.data[t]]});function qn(e,t){return e.reusableBlocks.isSaving[t]||!1}function Gn(e,t){return!!e.reusableBlocks.isFetching[t]}function $n(e){return Object(O.map)(e.reusableBlocks.data,function(t,n){return Wn(e,n)})}function Yn(e,t){var n=Object(O.find)(e.optimist,function(e){return e.beforeState&&Object(O.get)(e.action,["optimist","id"])===t});return n?n.beforeState:null}function Qn(e){if(!Pn(e))return!1;if(!St(e))return!1;var t=Yn(e,Ze);return!!t&&!St(t)}function Xn(e){var t=jt(e,"permalink_template");return Je.test(t)}function Zn(e){var t=Jn(e);if(!t)return null;var n=t.prefix,r=t.postName,o=t.suffix;return Xn(e)?n+r+o:n}function Jn(e){var t=jt(e,"permalink_template");if(!t)return null;var n=jt(e,"slug")||jt(e,"generated_slug"),r=t.split(Je),o=Object(u.a)(r,2);return{prefix:o[0],postName:n,suffix:o[1]}}function er(e,t){var n=e.optimist;return!!n&&n.some(function(e){var n=e.beforeState;return n&&t(n)})}function tr(e,t){return e.blockListSettings[t]}function nr(e){return e.settings}function rr(e,t){return t?e.tokens[t]:e.tokens}function or(e){return e.postLock.isLocked}function ir(e){return Object.keys(e.postSavingLock).length>0}function cr(e){return e.postLock.isTakeover}function ar(e){return e.postLock.user}function sr(e){return e.postLock.activePostLock}function lr(e){return Object(O.has)(pt(e),["_links","wp:action-unfiltered-html"])}function ur(e){return e.preferences.hasOwnProperty("isPublishSidebarEnabled")?e.preferences.isPublishSidebarEnabled:S.isPublishSidebarEnabled}var dr=n(38),pr=n(30),br=n.n(pr),fr=function(){var e=Object(dr.a)(regeneratorRuntime.mark(function e(t,n){var r,o,c,a,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.id,o=n.dispatch,e.next=4,br()({path:"/wp/v2/types/wp_block"});case 4:if(c=e.sent){e.next=7;break}return e.abrupt("return");case 7:return a=r?br()({path:"/wp/v2/".concat(c.rest_base,"/").concat(r)}):br()({path:"/wp/v2/".concat(c.rest_base,"?per_page=-1")}),e.prev=8,e.next=11,a;case 11:s=e.sent,o(Re(Object(O.map)(Object(O.castArray)(s),function(e){var t=Object(i.parse)(e.content.raw);return{reusableBlock:{id:e.id,title:I(e.title)},parsedBlock:1===t.length?t[0]:Object(i.createBlock)("core/template",{},t)}}))),o({type:"FETCH_REUSABLE_BLOCKS_SUCCESS",id:r}),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(8),o({type:"FETCH_REUSABLE_BLOCKS_FAILURE",id:r,error:e.t0});case 19:case"end":return e.stop()}},e,this,[[8,16]])}));return function(t,n){return e.apply(this,arguments)}}(),hr=function(){var e=Object(dr.a)(regeneratorRuntime.mark(function e(t,n){var r,o,c,a,s,u,d,p,b,f,h,m,v,O,g;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,br()({path:"/wp/v2/types/wp_block"});case 2:if(r=e.sent){e.next=5;break}return e.abrupt("return");case 5:return o=t.id,c=n.dispatch,a=n.getState(),s=Wn(a,o),u=s.clientId,d=s.title,p=s.isTemporary,b=Dt(a,u),f=Object(i.serialize)("core/template"===b.name?b.innerBlocks:b),h=p?{title:d,content:f,status:"publish"}:{id:o,title:d,content:f,status:"publish"},m=p?"/wp/v2/".concat(r.rest_base):"/wp/v2/".concat(r.rest_base,"/").concat(o),v=p?"POST":"PUT",e.prev=14,e.next=17,br()({path:m,data:h,method:v});case 17:O=e.sent,c({type:"SAVE_REUSABLE_BLOCK_SUCCESS",updatedId:O.id,id:o}),g=p?Object(_.__)("Block created."):Object(_.__)("Block updated."),Object(l.dispatch)("core/notices").createSuccessNotice(g,{id:"REUSABLE_BLOCK_NOTICE_ID"}),e.next=27;break;case 23:e.prev=23,e.t0=e.catch(14),c({type:"SAVE_REUSABLE_BLOCK_FAILURE",id:o}),Object(l.dispatch)("core/notices").createErrorNotice(e.t0.message,{id:"REUSABLE_BLOCK_NOTICE_ID"});case 27:case"end":return e.stop()}},e,this,[[14,23]])}));return function(t,n){return e.apply(this,arguments)}}(),mr=function(){var e=Object(dr.a)(regeneratorRuntime.mark(function e(t,n){var r,o,c,a,s,u,d,p,f,h;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,br()({path:"/wp/v2/types/wp_block"});case 2:if(r=e.sent){e.next=5;break}return e.abrupt("return");case 5:if(o=t.id,c=n.getState,a=n.dispatch,(s=Wn(c(),o))&&!s.isTemporary){e.next=10;break}return e.abrupt("return");case 10:return u=Ft(c()),d=u.filter(function(e){return Object(i.isReusableBlock)(e)&&e.attributes.ref===o}),p=d.map(function(e){return e.clientId}),f=Object(O.uniqueId)(),a({type:"REMOVE_REUSABLE_BLOCK",id:o,optimist:{type:m.BEGIN,id:f}}),a(we(Object(b.a)(p).concat([s.clientId]))),e.prev=16,e.next=19,br()({path:"/wp/v2/".concat(r.rest_base,"/").concat(o),method:"DELETE"});case 19:a({type:"DELETE_REUSABLE_BLOCK_SUCCESS",id:o,optimist:{type:m.COMMIT,id:f}}),h=Object(_.__)("Block deleted."),Object(l.dispatch)("core/notices").createSuccessNotice(h,{id:"REUSABLE_BLOCK_NOTICE_ID"}),e.next=28;break;case 24:e.prev=24,e.t0=e.catch(16),a({type:"DELETE_REUSABLE_BLOCK_FAILURE",id:o,optimist:{type:m.REVERT,id:f}}),Object(l.dispatch)("core/notices").createErrorNotice(e.t0.message,{id:"REUSABLE_BLOCK_NOTICE_ID"});case 28:case"end":return e.stop()}},e,this,[[16,24]])}));return function(t,n){return e.apply(this,arguments)}}();function vr(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.getBlockInsertionParentClientId,n=void 0===t?Gr:t,r=e.getInserterItems,o=void 0===r?$r:r,c=e.getSelectedBlockName,a=void 0===c?Yr:c;return{name:"blocks",className:"editor-autocompleters__block",triggerPrefix:"/",options:function(){var e=a();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 Object(b.a)(r).concat([t])},getOptionLabel:function(e){var t=e.icon,n=e.title;return[Object(wr.createElement)(qr,{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(i.createBlock)(t,n)}},isOptionDisabled:function(e){return e.isDisabled}}}(),Xr={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options:function(e){var t="";return e&&(t="?search="+encodeURIComponent(e)),br()({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:function(e){return[e.slug,e.name]},getOptionLabel:function(e){return[Object(wr.createElement)("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}),Object(wr.createElement)("span",{key:"name",className:"editor-autocompleters__user-name"},e.name),Object(wr.createElement)("span",{key:"slug",className:"editor-autocompleters__user-slug"},e.slug)]},getOptionCompletion:function(e){return"@".concat(e.slug)}},Zr=[{icon:"editor-alignleft",title:Object(_.__)("Align text left"),align:"left"},{icon:"editor-aligncenter",title:Object(_.__)("Align text center"),align:"center"},{icon:"editor-alignright",title:Object(_.__)("Align text right"),align:"right"}];var Jr=Object(Ir.compose)(Hr(function(e){return{clientId:e.clientId}}),Object(s.withViewportMatch)({isLargeViewport:"medium"}),Object(l.withSelect)(function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,i=e("core/editor"),c=i.getBlockRootClientId,a=i.getEditorSettings;return{isCollapsed:o||!r||!a().hasFixedToolbar&&c(n)}}))(function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.alignmentControls,i=void 0===o?Zr:o,c=Object(O.find)(i,function(e){return e.align===n});return Object(wr.createElement)(Fr.Toolbar,{isCollapsed:t,icon:c?c.icon:"editor-alignleft",label:Object(_.__)("Change Text Alignment"),controls:i.map(function(e){var t=e.align,o=n===t;return Object(d.a)({},e,{isActive:o,onClick:function(e){return function(){return r(n===e?void 0:e)}}(t)})})})}),eo={left:{icon:"align-left",title:Object(_.__)("Align left")},center:{icon:"align-center",title:Object(_.__)("Align center")},right:{icon:"align-right",title:Object(_.__)("Align right")},wide:{icon:"align-wide",title:Object(_.__)("Wide width")},full:{icon:"align-full-width",title:Object(_.__)("Full width")}},to=["left","center","right","wide","full"],no=["wide","full"];var ro=Object(Ir.compose)(Hr(function(e){return{clientId:e.clientId}}),Object(s.withViewportMatch)({isLargeViewport:"medium"}),Object(l.withSelect)(function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,i=e("core/editor"),c=i.getBlockRootClientId,a=i.getEditorSettings;return{wideControlsEnabled:e("core/editor").getEditorSettings().alignWide,isCollapsed:o||!r||!a().hasFixedToolbar&&c(n)}}))(function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.controls,i=void 0===o?to:o,c=e.wideControlsEnabled,a=void 0!==c&&c?i:i.filter(function(e){return-1===no.indexOf(e)}),s=eo[n];return Object(wr.createElement)(Fr.Toolbar,{isCollapsed:t,icon:s?s.icon:"align-left",label:Object(_.__)("Change Alignment"),controls:a.map(function(e){return Object(d.a)({},eo[e],{isActive:n===e,onClick:function(e){return function(){return r(n===e?void 0:e)}}(e)})})})}),oo=Object(Fr.createSlotFill)("BlockControls"),io=oo.Fill,co=oo.Slot,ao=Kr(function(e){var t=e.controls,n=e.children;return Object(wr.createElement)(io,null,Object(wr.createElement)(Fr.Toolbar,{controls:t}),n)});ao.Slot=co;var so=ao,lo=Object(Fr.withFilters)("editor.BlockEdit")(function(e){var t=e.attributes,n=void 0===t?{}:t,r=e.name,o=Object(i.getBlockType)(r);if(!o)return null;var c=Object(i.hasBlockSupport)(o,"className",!0)?Object(i.getBlockDefaultClassName)(r):null,a=Pr()(c,n.className),s=o.edit||o.save;return Object(wr.createElement)(s,Object(Cr.a)({},e,{className:a}))}),uo=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).call(this,e))).setFocusedElement=n.setFocusedElement.bind(Object(Dr.a)(Object(Dr.a)(n))),n.state={focusedElement:null,setFocusedElement:n.setFocusedElement},n}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"setFocusedElement",value:function(e){this.setState(function(t){return t.focusedElement===e?null:{focusedElement:e}})}},{key:"render",value:function(){return Object(wr.createElement)(Vr,{value:this.state},Object(wr.createElement)(lo,this.props))}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.clientId;return{name:e.name,isSelected:e.isSelected,clientId:t}}}]),t}(wr.Component),po=Object(Fr.createSlotFill)("BlockFormatControls"),bo=po.Fill,fo=po.Slot,ho=Kr(bo);ho.Slot=fo;var mo=ho,vo=n(17);function Oo(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showNestedBlocks;return Object(wr.createElement)("ul",{className:"editor-block-navigation__list",role:"list"},Object(O.map)(t,function(e){var t=Object(i.getBlockType)(e.name),c=e.clientId===n;return Object(wr.createElement)("li",{key:e.clientId},Object(wr.createElement)("div",{className:"editor-block-navigation__item"},Object(wr.createElement)(Fr.Button,{className:Pr()("editor-block-navigation__item-button",{"is-selected":e.clientId===n}),onClick:function(){return r(e.clientId)},isSelected:c},Object(wr.createElement)(qr,{icon:t.icon,showColors:!0}),t.title,c&&Object(wr.createElement)("span",{className:"screen-reader-text"},Object(_.__)("(selected block)")))),o&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(wr.createElement)(Oo,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,showNestedBlocks:!0}))}))}var go=Object(Ir.compose)(Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,i=t.getBlocks,c=n();return{rootBlocks:i(),rootBlock:c?o(r(c)):null,selectedBlockClientId:c}}),Object(l.withDispatch)(function(e,t){var n=t.onSelect,r=void 0===n?O.noop:n;return{selectBlock:function(t){e("core/editor").selectBlock(t),r(t)}}}))(function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock,i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(wr.createElement)(Fr.NavigableMenu,{role:"presentation",className:"editor-block-navigation__container"},Object(wr.createElement)("p",{className:"editor-block-navigation__label"},Object(_.__)("Block Navigation")),i&&Object(wr.createElement)(Oo,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(wr.createElement)(Oo,{blocks:n,selectedBlockClientId:r,selectBlock:o}),(!n||0===n.length)&&Object(wr.createElement)("p",{className:"editor-block-navigation__paragraph"},Object(_.__)("No blocks created yet.")))}),jo=Object(wr.createElement)(Fr.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(wr.createElement)(Fr.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var yo=function(){return Object(wr.createElement)(Fr.Dropdown,{renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(f.a)({},vo.rawShortcut.access("o"),n)}),Object(wr.createElement)(Fr.IconButton,{icon:jo,"aria-expanded":t,onClick:n,label:Object(_.__)("Block Navigation"),className:"editor-block-navigation",shortcut:vo.displayShortcut.access("o")}))},renderContent:function(e){var t=e.onClose;return Object(wr.createElement)(go,{onSelect:t})}})},ko=Object(Ir.createHigherOrderComponent)(Object(l.withSelect)(function(e,t){var n=e("core/editor").getEditorSettings(),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(O.isEmpty)(r)||!o}}),"withColorContext"),_o=ko(Fr.ColorPalette),So=n(45),Eo=n.n(So),Co=function(e,t,n){if(t){var r=Object(O.find)(e,{slug:t});if(r)return r}return{color:n}},wo=function(e,t){return Object(O.find)(e,{color:t})};function To(e,t){if(e&&t)return"has-".concat(Object(O.kebabCase)(t),"-").concat(e)}var Po=[],Io=function(){for(var e=arguments.length,t=new Array(e),n=0;n=24?"large":"small"}))return null;var l=a.getBrightness()1?function(e,t,n,r,o){var i=t+1;if(o<0&&n)return Object(_.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(_.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(_.sprintf)(Object(_._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(_.sprintf)(Object(_._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(_.sprintf)(Object(_.__)("Block %s is the only block, and cannot be moved"),t):i>0&&!o?Object(_.sprintf)(Object(_.__)("Move %1$s block from position %2$d down to position %3$d"),t,c,c+1):i>0&&o?Object(_.sprintf)(Object(_.__)("Block %s is at the end of the content and can’t be moved down"),t):i<0&&!r?Object(_.sprintf)(Object(_.__)("Move %1$s block from position %2$d up to position %3$d"),t,c,c-1):i<0&&r?Object(_.sprintf)(Object(_.__)("Block %s is at the beginning of the content and can’t be moved up"),t):void 0}var Uo=Object(wr.createElement)(Fr.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(wr.createElement)(Fr.Polygon,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),Vo=Object(wr.createElement)(Fr.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(wr.createElement)(Fr.Polygon,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),Ho=Object(wr.createElement)(Fr.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(wr.createElement)(Fr.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"})),Ko=Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor"),o=r.getBlockIndex,i=r.getBlockRootClientId;return{index:o(n),rootClientId:i(n)}})(function(e){var t=e.children,n=e.clientId,r=e.rootClientId,o=e.blockElementId,i=e.index,c=e.onDragStart,a=e.onDragEnd,s={type:"block",srcIndex:i,srcRootClientId:r,srcClientId:n};return Object(wr.createElement)(Fr.Draggable,{elementId:o,transferData:s,onDragStart:c,onDragEnd:a},function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})})}),zo=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 s=Pr()("editor-block-mover__control-drag-handle",n);return Object(wr.createElement)(Ko,{clientId:a,blockElementId:c,onDragStart:o,onDragEnd:i},function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(wr.createElement)("div",{className:s,"aria-hidden":"true",onDragStart:t,onDragEnd:n,draggable:!0},r)})},Wo=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onBlur=e.onBlur.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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,s=e.clientIds,l=e.blockElementId,u=e.blockType,d=e.firstIndex,p=e.isLocked,b=e.instanceId,f=e.isHidden,h=this.state.isFocused,m=Object(O.castArray)(s).length;return p||r&&o?null:Object(wr.createElement)("div",{className:Pr()("editor-block-mover",{"is-visible":h||!f})},Object(wr.createElement)(Fr.IconButton,{className:"editor-block-mover__control",onClick:r?null:t,icon:Uo,label:Object(_.__)("Move up"),"aria-describedby":"editor-block-mover__up-description-".concat(b),"aria-disabled":r,onFocus:this.onFocus,onBlur:this.onBlur}),Object(wr.createElement)(zo,{className:"editor-block-mover__control",icon:Ho,clientId:s,blockElementId:l,isVisible:i,onDragStart:c,onDragEnd:a}),Object(wr.createElement)(Fr.IconButton,{className:"editor-block-mover__control",onClick:o?null:n,icon:Vo,label:Object(_.__)("Move down"),"aria-describedby":"editor-block-mover__down-description-".concat(b),"aria-disabled":o,onFocus:this.onFocus,onBlur:this.onBlur}),Object(wr.createElement)("span",{id:"editor-block-mover__up-description-".concat(b),className:"editor-block-mover__description"},Mo(m,u&&u.title,d,r,o,-1)),Object(wr.createElement)("span",{id:"editor-block-mover__down-description-".concat(b),className:"editor-block-mover__description"},Mo(m,u&&u.title,d,r,o,1)))}}]),t}(wr.Component),qo=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.clientIds,r=e("core/editor"),o=r.getBlock,c=r.getBlockIndex,a=r.getTemplateLock,s=r.getBlockRootClientId,l=Object(O.first)(Object(O.castArray)(n)),u=o(l),d=s(Object(O.first)(Object(O.castArray)(n)));return{firstIndex:c(l,d),blockType:u?Object(i.getBlockType)(u.name):null,isLocked:"all"===a(d),rootClientId:d}}),Object(l.withDispatch)(function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/editor"),i=o.moveBlocksDown,c=o.moveBlocksUp;return{onMoveDown:Object(O.partial)(i,n,r),onMoveUp:Object(O.partial)(c,n,r)}}),Ir.withInstanceId)(Wo);var Go=Object(l.withSelect)(function(e){return{hasUploadPermissions:(0,e("core").hasUploadPermissions)()}})(function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r}),$o=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onFilesDrop=e.onFilesDrop.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onHTMLDrop=e.onHTMLDrop.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onDrop=e.onDrop.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"getInsertIndex",value:function(e){var t=this.props.index;if(void 0!==t)return"top"===e.y?t:t+1}},{key:"onFilesDrop",value:function(e,t){var n=Object(i.findTransform)(Object(i.getBlockTransforms)("from"),function(t){return"files"===t.type&&t.isMatch(e)});if(n){var r=this.getInsertIndex(t),o=n.transform(e,this.props.updateBlockAttributes);this.props.insertBlocks(o,r)}}},{key:"onHTMLDrop",value:function(e,t){var n=Object(i.pasteHandler)({HTML:e,mode:"BLOCKS"});n.length&&this.props.insertBlocks(n,this.getInsertIndex(t))}},{key:"onDrop",value:function(e,t){var n=this.props,r=n.rootClientId,o=n.clientId,i=n.index,c=n.getClientIdsOfDescendants,a=function(e){var t={srcRootClientId:null,srcClientId:null,srcIndex:null,type:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(e){return t}return t}(e),s=a.srcRootClientId,l=a.srcClientId,u=a.srcIndex;if(function(e){return"block"===e}(a.type)&&!function(e,t){return e===t}(l,o)&&!function(e,t){return c([e]).some(function(e){return e===t})}(l,o)){var d=this.getInsertIndex(t),p=i&&u0&&Object(wr.createElement)("div",{className:"editor-warning__actions"},wr.Children.map(n,function(e,t){return Object(wr.createElement)("span",{key:t,className:"editor-warning__action"},e)}))),o&&Object(wr.createElement)(Fr.Dropdown,{className:"editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(wr.createElement)(Fr.IconButton,{icon:"ellipsis",label:Object(_.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(wr.createElement)(Fr.MenuGroup,{label:Object(_.__)("More options")},o.map(function(e,t){return Object(wr.createElement)(Fr.MenuItem,{onClick:e.onClick,key:t},e.title)}))}}))},Xo=n(191),Zo=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,c=e.className;return Object(wr.createElement)("div",{className:c},Object(wr.createElement)("div",{className:"editor-block-compare__content"},Object(wr.createElement)("h1",{className:"editor-block-compare__heading"},t),Object(wr.createElement)("div",{className:"editor-block-compare__html"},n),Object(wr.createElement)("div",{className:"editor-block-compare__preview edit-post-visual-editor"},r)),Object(wr.createElement)("div",{className:"editor-block-compare__action"},Object(wr.createElement)(Fr.Button,{isLarge:!0,tabIndex:"0",onClick:o},i)))},Jo=function(e){function t(){return Object(xr.a)(this,t),Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"getDifference",value:function(e,t){return Object(Xo.diffChars)(e,t).map(function(e,t){var n=Pr()({"editor-block-compare__added":e.added,"editor-block-compare__removed":e.removed});return Object(wr.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(O.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)),s=this.getDifference(c.rawContent,a.rawContent);return Object(wr.createElement)("div",{className:"editor-block-compare__wrapper"},Object(wr.createElement)(Zo,{title:Object(_.__)("Current"),className:"editor-block-compare__current",action:n,actionText:Object(_.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(wr.createElement)(Zo,{title:Object(_.__)("After Conversion"),className:"editor-block-compare__converted",action:r,actionText:i,rawContent:s,renderedContent:a.renderedContent}))}}]),t}(wr.Component),ei=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onCompareClose=n.onCompareClose.bind(Object(Dr.a)(Object(Dr.a)(n))),n}return Object(Rr.a)(t,e),Object(Lr.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.block,c=!!Object(i.getBlockType)("core/html"),a=this.state.compare,s=[{title:Object(_.__)("Convert to Classic Block"),onClick:r}];return a?Object(wr.createElement)(Fr.Modal,{title:Object(_.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"editor-block-compare"},Object(wr.createElement)(Jo,{block:o,onKeep:t,onConvert:n,convertor:ti,convertButtonText:Object(_.__)("Convert to Blocks")})):Object(wr.createElement)(Qo,{actions:[Object(wr.createElement)(Fr.Button,{key:"convert",onClick:this.onCompare,isLarge:!0,isPrimary:!c},Object(_._x)("Resolve","imperative verb")),c&&Object(wr.createElement)(Fr.Button,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},Object(_.__)("Convert to HTML"))],secondaryActions:s},Object(_.__)("This block contains unexpected or invalid content."))}}]),t}(wr.Component),ti=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},ni=Object(l.withDispatch)(function(e,t){var n=t.block,r=e("core/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,ti(n))}}})(ei),ri=Object(wr.createElement)(Qo,null,Object(_.__)("This block has encountered an error and cannot be previewed.")),oi=function(){return ri},ii=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(Rr.a)(t,e),Object(Lr.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}(wr.Component),ci=n(54),ai=n.n(ci),si=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onChange=n.onChange.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onBlur=n.onBlur.bind(Object(Dr.a)(Object(Dr.a)(n))),n.state={html:e.block.isValid?Object(i.getBlockContent)(e.block):e.block.originalContent},n}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidUpdate",value:function(e){Object(O.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(wr.createElement)(ai.a,{className:"editor-block-list__block-html-textarea",value:e,onBlur:this.onBlur,onChange:this.onChange})}}]),t}(wr.Component),li=Object(Ir.compose)([Object(l.withSelect)(function(e,t){return{block:e("core/editor").getBlock(t.clientId)}}),Object(l.withDispatch)(function(e){return{onChange:function(t,n,r,o){e("core/editor").updateBlock(t,{attributes:n,originalContent:r,isValid:o})}}})])(si);var ui=Object(l.withSelect)(function(e,t){return{name:(0,e("core/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}),di=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onBlur=e.onBlur.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"onFocus",value:function(e){this.setState({isFocused:!0}),e.stopPropagation()}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.clientId,n=e.rootClientId;return Object(wr.createElement)("div",{className:"editor-block-list__breadcrumb"},Object(wr.createElement)(Fr.Toolbar,null,n&&Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(ui,{clientId:n}),Object(wr.createElement)("span",{className:"editor-block-list__descendant-arrow"})),Object(wr.createElement)(ui,{clientId:t})))}}]),t}(wr.Component),pi=Object(Ir.compose)([Object(l.withSelect)(function(e,t){return{rootClientId:(0,e("core/editor").getBlockRootClientId)(t.clientId)}})])(di),bi=window,fi=bi.Node,hi=bi.getSelection,mi=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).focusToolbar=e.focusToolbar.bind(Object(Dr.a)(Object(Dr.a)(e))),e.focusSelection=e.focusSelection.bind(Object(Dr.a)(Object(Dr.a)(e))),e.switchOnKeyDown=Object(O.cond)([[Object(O.matchesProperty)(["keyCode"],vo.ESCAPE),e.focusSelection]]),e.toolbar=Object(wr.createRef)(),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"focusToolbar",value:function(){var e=Fo.focus.tabbable.find(this.toolbar.current);e.length&&e[0].focus()}},{key:"focusSelection",value:function(){var e=hi();if(e){var t=e.focusNode;t.nodeType!==fi.ELEMENT_NODE&&(t=t.parentElement),t&&t.focus()}}},{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusToolbar()}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(p.a)(e,["children"]);return Object(wr.createElement)(Fr.NavigableMenu,Object(Cr.a)({orientation:"horizontal",role:"toolbar",ref:this.toolbar,onKeyDown:this.switchOnKeyDown},Object(O.omit)(n,["focusOnMount"])),Object(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(wr.Component);var vi=function(e){var t=e.focusOnMount;return Object(wr.createElement)(mi,{focusOnMount:t,className:"editor-block-contextual-toolbar","aria-label":Object(_.__)("Block tools")},Object(wr.createElement)(Rl,null))};var Oi=Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor"),o=r.getMultiSelectedBlockClientIds,i=r.isMultiSelecting,c=r.getBlockIndex,a=r.getBlockCount,s=o(),l=c(Object(O.first)(s),n),u=c(Object(O.last)(s),n);return{multiSelectedBlockClientIds:s,isSelecting:i(),isFirst:0===l,isLast:u+1===a()}})(function(e){var t=e.multiSelectedBlockClientIds,n=e.clientId,r=e.isSelecting,o=e.isFirst,i=e.isLast;return r?null:Object(wr.createElement)(qo,{key:"mover",clientId:n,clientIds:t,isFirst:o,isLast:i})}),gi=n(58),ji=n.n(gi);function yi(e){var t=e.name,n=e.attributes,r=Object(i.createBlock)(t,n);return Object(wr.createElement)(Fr.Disabled,{className:"editor-block-preview__content editor-styles-wrapper","aria-hidden":!0},Object(wr.createElement)(uo,{name:t,focus:!1,attributes:r.attributes,setAttributes:O.noop}))}var ki=function(e){return Object(wr.createElement)("div",{className:"editor-block-preview"},Object(wr.createElement)("div",{className:"editor-block-preview__title"},Object(_.__)("Preview")),Object(wr.createElement)(yi,e))};var _i=function(e){var t=e.icon,n=e.hasChildBlocksWithInserterSupport,r=e.onClick,o=e.isDisabled,i=e.title,c=e.className,a=Object(p.a)(e,["icon","hasChildBlocksWithInserterSupport","onClick","isDisabled","title","className"]),s=t?{backgroundColor:t.background,color:t.foreground}:{},l=t&&t.shadowColor?{backgroundColor:t.shadowColor}:{};return Object(wr.createElement)("li",{className:"editor-block-types-list__list-item"},Object(wr.createElement)("button",Object(Cr.a)({className:Pr()("editor-block-types-list__item",c,{"editor-block-types-list__item-has-children":n}),onClick:function(e){e.preventDefault(),r()},disabled:o,"aria-label":i},a),Object(wr.createElement)("span",{className:"editor-block-types-list__item-icon",style:s},Object(wr.createElement)(qr,{icon:t,showColors:!0}),n&&Object(wr.createElement)("span",{className:"editor-block-types-list__item-icon-stack",style:l})),Object(wr.createElement)("span",{className:"editor-block-types-list__item-title"},i)))};var Si=function(e){var t=e.items,n=e.onSelect,r=e.onHover,o=void 0===r?function(){}:r,c=e.children;return Object(wr.createElement)("ul",{role:"list",className:"editor-block-types-list"},t&&t.map(function(e){return Object(wr.createElement)(_i,{key:e.id,className:Object(i.getBlockMenuDefaultClassName)(e.id),icon:e.icon,hasChildBlocksWithInserterSupport:e.hasChildBlocksWithInserterSupport,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 Ei=Object(Ir.compose)(Object(Ir.ifCondition)(function(e){var t=e.items;return t&&t.length>0}),Object(l.withSelect)(function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/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(p.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(wr.createElement)("div",{className:"editor-inserter__child-blocks"},(t||n)&&Object(wr.createElement)("div",{className:"editor-inserter__parent-block-header"},Object(wr.createElement)(qr,{icon:t,showColors:!0}),n&&Object(wr.createElement)("h2",null,n)),Object(wr.createElement)(Si,Object(Cr.a)({items:r},o)))}),Ci=function(e){var t=e.filterValue;return Object(wr.createElement)(Fr.Slot,{name:"Inserter.InlineElements",fillProps:{filterValue:t}},function(e){return!Object(O.isEmpty)(e)&&Object(wr.createElement)(Fr.PanelBody,{title:Object(_.__)("Inline Elements"),initialOpen:!1,className:"editor-inserter__inline-elements"},Object(wr.createElement)(Si,null,e))})},wi=function(e){return e.stopPropagation()},Ti=function(e){return e=(e=(e=(e=Object(O.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},Pi=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onHover=e.onHover.bind(Object(Dr.a)(Object(Dr.a)(e))),e.panels={},e.inserterResults=Object(wr.createRef)(),e}return Object(Rr.a)(t,e),Object(Lr.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;if(e){var o=this.props;n(o.rootClientId,o.index)}else 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(O.without)(t.state.openPanels,e)}):(t.setState({openPanels:Object(b.a)(t.state.openPanels).concat([e])}),t.props.setTimeout(function(){ji()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})}))}}},{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=Ti(t),r=function(e){return-1!==Ti(e).indexOf(n)},o=Object(i.getCategories)();return e.filter(function(e){var t=Object(O.find)(o,{slug:e.category});return r(e.title)||Object(O.some)(e.keywords,r)||t&&r(t.title)})}(r,e),a=Object(O.filter)(c,function(e){var t=e.name;return Object(O.includes)(o,t)}),s=[];if(!e){var l=this.props.maxSuggestedItems||9;s=Object(O.filter)(r,function(e){return e.utility>0}).slice(0,l)}var u=Object(O.filter)(c,{category:"reusable"}),d=function(e){return Object(O.findIndex)(Object(i.getCategories)(),function(t){return t.slug===e.category})},p=Object(O.flow)(function(e){return Object(O.filter)(e,function(e){return"reusable"!==e.category})},function(e){return Object(O.sortBy)(e,d)},function(e){return Object(O.groupBy)(e,"category")})(c),b=this.state.openPanels;if(e!==this.state.filterValue)if(e){if(u.length)b=["reusable"];else if(c.length){b=[Object(O.find)(Object(i.getCategories)(),function(e){var t=e.slug;return p[t]&&p[t].length}).slug]}}else b=["suggested"];this.setState({hoveredItem:null,childItems:a,filterValue:e,suggestedItems:s,reusableItems:u,itemsPerCategory:p,openPanels:b});var f=Object.keys(p).reduce(function(e,t){return e+p[t].length},0);n(Object(_.sprintf)(Object(_._n)("%d result found.","%d results found.",f),f),"assertive")}},{key:"onKeyDown",value:function(e){Object(O.includes)([vo.LEFT,vo.DOWN,vo.RIGHT,vo.UP,vo.BACKSPACE,vo.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=this.state,a=c.childItems,s=c.filterValue,l=c.hoveredItem,u=c.suggestedItems,d=c.reusableItems,p=c.itemsPerCategory,b=c.openPanels,f=function(e){return-1!==b.indexOf(e)},h=!!s;return Object(wr.createElement)("div",{className:"editor-inserter__menu",onKeyPress:wi,onKeyDown:this.onKeyDown},Object(wr.createElement)("label",{htmlFor:"editor-inserter__search-".concat(n),className:"screen-reader-text"},Object(_.__)("Search for a block")),Object(wr.createElement)("input",{id:"editor-inserter__search-".concat(n),type:"search",placeholder:Object(_.__)("Search for a block"),className:"editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(wr.createElement)("div",{className:"editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(_.__)("Available block types")},Object(wr.createElement)(Ei,{rootClientId:o,items:a,onSelect:r,onHover:this.onHover}),!!u.length&&Object(wr.createElement)(Fr.PanelBody,{title:Object(_._x)("Most Used","blocks"),opened:f("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(wr.createElement)(Si,{items:u,onSelect:r,onHover:this.onHover})),Object(wr.createElement)(Ci,{filterValue:s}),Object(O.map)(Object(i.getCategories)(),function(t){var n=p[t.slug];return n&&n.length?Object(wr.createElement)(Fr.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:h||f(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(wr.createElement)(Si,{items:n,onSelect:r,onHover:e.onHover})):null}),!!d.length&&Object(wr.createElement)(Fr.PanelBody,{className:"editor-inserter__reusable-blocks-panel",title:Object(_.__)("Reusable"),opened:f("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(wr.createElement)(Si,{items:d,onSelect:r,onHover:this.onHover}),Object(wr.createElement)("a",{className:"editor-inserter__manage-reusable-blocks",href:"edit.php?post_type=wp_block"},Object(_.__)("Manage All Reusable Blocks"))),Object(O.isEmpty)(u)&&Object(O.isEmpty)(d)&&Object(O.isEmpty)(p)&&Object(wr.createElement)("p",{className:"editor-inserter__no-results"},Object(_.__)("No blocks found."))),l&&Object(i.isReusableBlock)(l)&&Object(wr.createElement)(ki,{name:l.name,attributes:l.initialAttributes}))}}]),t}(wr.Component),Ii=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.rootClientId,r=e("core/editor"),o=r.getEditedPostAttribute,i=r.getSelectedBlock,c=r.getInserterItems,a=r.getBlockName,s=e("core/blocks").getChildBlockNames,l=a(n);return{selectedBlock:i(),rootChildBlocks:s(l),title:o("title"),items:c(n),rootClientId:n}}),Object(l.withDispatch)(function(e,t){var n=e("core/editor");return{fetchReusableBlocks:n.__experimentalFetchReusableBlocks,showInsertionPoint:n.showInsertionPoint,hideInsertionPoint:n.hideInsertionPoint,onSelect:function(n){var r=e("core/editor"),o=r.replaceBlocks,c=r.insertBlock,a=t.selectedBlock,s=t.index,l=t.rootClientId,u=n.name,d=n.initialAttributes,p=Object(i.createBlock)(u,d);a&&Object(i.isUnmodifiedDefaultBlock)(a)?o(a.clientId,p):c(p,s,l),t.onSelect()}}}),Fr.withSpokenMessages,Ir.withInstanceId,Ir.withSafeTimeout)(Pi),Bi=function(e){var t=e.onToggle,n=e.disabled,r=e.isOpen;return Object(wr.createElement)(Fr.IconButton,{icon:"insert",label:Object(_.__)("Add block"),labelPosition:"bottom",onClick:t,className:"editor-inserter__toggle","aria-haspopup":"true","aria-expanded":r,disabled:n})},xi=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(Dr.a)(Object(Dr.a)(e))),e.renderToggle=e.renderToggle.bind(Object(Dr.a)(Object(Dr.a)(e))),e.renderContent=e.renderContent.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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?Bi: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.index;return Object(wr.createElement)(Ii,{onSelect:t,rootClientId:r,index:o})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.title;return Object(wr.createElement)(Fr.Dropdown,{className:"editor-inserter",contentClassName:"editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:n,renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(wr.Component),Li=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=t.rootClientId,r=t.index,o=e("core/editor"),i=o.getEditedPostAttribute,c=o.getBlockInsertionPoint,a=o.hasInserterItems;if(void 0===n&&void 0===r){var s=c();n=s.rootClientId,r=s.index}return{title:i("title"),hasItems:a(n),rootClientId:n,index:r}}),Object(Ir.ifCondition)(function(e){return e.hasItems})])(xi);var Ai=Object(s.ifViewportMatches)("< small")(function(e){var t=e.clientId;return Object(wr.createElement)("div",{className:"editor-block-list__block-mobile-toolbar"},Object(wr.createElement)(Li,null),Object(wr.createElement)(qo,{clientIds:[t]}))}),Ni=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={isInserterFocused:!1},e.onBlurInserter=e.onBlurInserter.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onFocusInserter=e.onFocusInserter.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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.canShowInserter,o=t.rootClientId,i=t.insertIndex;return Object(wr.createElement)("div",{className:"editor-block-list__insertion-point"},n&&Object(wr.createElement)("div",{className:"editor-block-list__insertion-point-indicator"}),r&&Object(wr.createElement)("div",{onFocus:this.onFocusInserter,onBlur:this.onBlurInserter,tabIndex:-1,className:Pr()("editor-block-list__insertion-point-inserter",{"is-visible":e})},Object(wr.createElement)(Li,{rootClientId:o,index:i})))}}]),t}(wr.Component),Ri=Object(l.withSelect)(function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/editor"),c=o.getBlockIndex,a=o.getBlockInsertionPoint,s=o.getBlock,l=o.isBlockInsertionPointVisible,u=c(n,r),d=a(),p=s(n);return{showInsertionPoint:l()&&d.index===u&&d.rootClientId===r&&!Object(i.isUnmodifiedDefaultBlock)(p),insertIndex:u}})(Ni),Di=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).proxyEvent=e.proxyEvent.bind(Object(Dr.a)(Object(Dr.a)(e))),e.eventMap={},e}return Object(Rr.a)(t,e),Object(Lr.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=Object(p.a)(t,["childHandledEvents","forwardedRef"]),c=Object(O.reduce)(Object(b.a)(r).concat(Object(b.a)(Object.keys(i))),function(t,n){var r=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(r){!!r[2]&&delete i[n];var o="on"+r[1];t[o]=e.proxyEvent,e.eventMap[r[1].toLowerCase()]=o}return t},{});return Object(wr.createElement)("div",Object(Cr.a)({ref:o},i,c))}}]),t}(wr.Component),Fi=function(e,t){return Object(wr.createElement)(Di,Object(Cr.a)({},e,{forwardedRef:t}))};Fi.displayName="IgnoreNestedEvents";var Mi=Object(wr.forwardRef)(Fi);var Ui=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.rootClientId,r=e("core/editor"),o=r.getInserterItems,i=r.getTemplateLock;return{items:o(n),isLocked:!!i(n)}}),Object(l.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/editor").replaceBlocks(n,a):e("core/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(O.filter)(t,function(e){return!(e.isDisabled||e.name===Object(i.getDefaultBlockName)()&&Object(O.isEmpty)(e.initialAttributes))}).slice(0,3);return Object(wr.createElement)("div",{className:"editor-inserter-with-shortcuts"},o.map(function(e){return Object(wr.createElement)(Fr.IconButton,{key:e.id,className:"editor-inserter-with-shortcuts__block",onClick:function(){return r(e)},label:Object(_.sprintf)(Object(_.__)("Add %s"),e.title),icon:Object(wr.createElement)(qr,{icon:e.icon})})}))}),Vi=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={hoverArea:null},e.onMouseLeave=e.onMouseLeave.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onMouseMove=e.onMouseMove.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentWillUnmount",value:function(){this.props.container&&this.toggleListeners(this.props.container,!1)}},{key:"componentDidMount",value:function(){this.props.container&&this.toggleListeners(this.props.container)}},{key:"componentDidUpdate",value:function(e){e.container!==this.props.container&&(e.container&&this.toggleListeners(e.container,!1),this.props.container&&this.toggleListeners(this.props.container,!0))}},{key:"toggleListeners",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?"addEventListener":"removeEventListener";e[t]("mousemove",this.onMouseMove),e[t]("mouseleave",this.onMouseLeave)}},{key:"onMouseLeave",value:function(){this.state.hoverArea&&this.setState({hoverArea:null})}},{key:"onMouseMove",value:function(e){var t=this.props,n=t.isRTL,r=t.container.getBoundingClientRect(),o=r.width,i=r.left,c=r.right,a=null;e.clientX-i0&&void 0!==arguments[0]&&arguments[0],t=this.props,n=t.block,r=t.previousBlockClientId,o=t.nextBlockClientId,i=t.onMerge;!e&&!r||e&&!o||(e?i(n.clientId,o):i(r,n.clientId))}},{key:"insertBlocksAfter",value:function(e){this.props.onInsertBlocks(e,this.props.order+1)}},{key:"onFocus",value:function(){this.props.isSelected||this.props.isPartOfMultiSelection||this.props.onSelect()}},{key:"preventDrag",value:function(e){e.preventDefault()}},{key:"onPointerDown",value:function(e){0===e.button&&(e.shiftKey?this.props.isSelected||(this.onShiftSelection(),e.preventDefault()):(this.props.onSelectionStart(this.props.clientId),this.props.isPartOfMultiSelection&&this.props.onSelect()))}},{key:"deleteOrInsertAfterWrapper",value:function(e){var t=e.keyCode,n=e.target;if(this.props.isSelected&&n===this.wrapperNode&&!this.props.isLocked)switch(t){case vo.ENTER:this.props.onInsertDefaultBlockAfter(),e.preventDefault();break;case vo.BACKSPACE:case vo.DELETE:var r=this.props,o=r.clientId;(0,r.onRemove)(o),e.preventDefault()}}},{key:"onBlockError",value:function(e){this.setState({error:e})}},{key:"onDragStart",value:function(){this.setState({dragging:!0})}},{key:"onDragEnd",value:function(){this.setState({dragging:!1})}},{key:"selectOnOpen",value:function(e){e&&!this.props.isSelected&&this.props.onSelect()}},{key:"onShiftSelection",value:function(){if(this.props.isSelectionEnabled){var e=this.props,t=e.getBlockSelectionStart,n=e.onMultiSelect,r=e.onSelect;t()?n(t(),this.props.clientId):r(this.props.clientId)}}},{key:"forceFocusedContextualToolbar",value:function(){this.isForcingContextualToolbar=!0,this.setState(function(){return{}})}},{key:"render",value:function(){var e=this;return Object(wr.createElement)(Hi,{container:this.wrapperNode},function(t){var n=t.hoverArea,r=e.props,o=r.block,c=r.order,a=r.mode,s=r.isFocusMode,l=r.hasFixedToolbar,u=r.isLocked,p=r.isFirst,b=r.isLast,f=r.clientId,h=r.rootClientId,m=r.isSelected,v=r.isPartOfMultiSelection,O=r.isFirstMultiSelected,g=r.isTypingWithinBlock,j=r.isCaretWithinFormattedText,y=r.isMultiSelecting,k=r.isEmptyDefaultBlock,S=r.isMovable,E=r.isPreviousBlockADefaultEmptyBlock,C=r.isParentOfSelectedBlock,w=r.isDraggable,T=r.className,P=e.state.isHovered&&!y,I=o.name,B=o.isValid,x=Object(i.getBlockType)(I),L=Object(_.sprintf)(Object(_.__)("Block: %s"),x.title),A=o.name===Object(i.getUnregisteredTypeHandlerName)(),N=(m||P)&&k&&B,R=(m||P)&&k,D=!s&&!R&&m&&!g,F=!s&&!l&&P&&!k,M=!s&&(m||"left"===n)&&!N&&!y&&!v&&!g,U=!s&&P&&!k,V=!l&&!R&&(m&&(!g||j)||O),H=D,K=e.state,z=K.error,W=K.dragging,q=v&&O||!v,G=!k&&!E,$=Pr()("wp-block editor-block-list__block",{"has-warning":!B||!!z||A,"is-selected":D,"is-multi-selected":v,"is-hovered":F,"is-reusable":Object(i.isReusableBlock)(x),"is-dragging":W,"is-typing":g,"is-focused":s&&(m||C),"is-focus-mode":s},T),Y=e.props.onReplace,Q=e.props.wrapperProps;x.getEditWrapperProps&&(Q=Object(d.a)({},Q,x.getEditWrapperProps(o.attributes)));var X="block-".concat(f),Z=Object(wr.createElement)(uo,{name:I,isSelected:m,attributes:o.attributes,setAttributes:e.setAttributes,insertBlocksAfter:u?void 0:e.insertBlocksAfter,onReplace:u?void 0:Y,mergeBlocks:u?void 0:e.mergeBlocks,clientId:f,isSelectionEnabled:e.props.isSelectionEnabled,toggleSelection:e.props.toggleSelection});return"visual"!==a&&(Z=Object(wr.createElement)("div",{style:{display:"none"}},Z)),Object(wr.createElement)(Mi,Object(Cr.a)({id:X,ref:e.setBlockListRef,onMouseOver:e.maybeHover,onMouseOverHandled:e.hideHoverEffects,onMouseLeave:e.hideHoverEffects,className:$,"data-type":o.name,onTouchStart:e.onTouchStart,onFocus:e.onFocus,onClick:e.onClick,onKeyDown:e.deleteOrInsertAfterWrapper,tabIndex:"0","aria-label":L,childHandledEvents:["onDragStart","onMouseDown"]},Q),q&&Object(wr.createElement)(Ri,{clientId:f,rootClientId:h,canShowInserter:G}),Object(wr.createElement)(Yo,{index:c,clientId:f,rootClientId:h}),M&&Object(wr.createElement)(qo,{clientIds:f,blockElementId:X,isFirst:p,isLast:b,isHidden:!(P||m)||"left"!==n,isDraggable:!1!==w&&!v&&S,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd}),O&&Object(wr.createElement)(Oi,{rootClientId:h}),Object(wr.createElement)("div",{className:"editor-block-list__block-edit"},U&&Object(wr.createElement)(pi,{clientId:f,isHidden:!(P||m)||"left"!==n}),(V||e.isForcingContextualToolbar)&&Object(wr.createElement)(vi,{focusOnMount:e.isForcingContextualToolbar}),!V&&m&&!l&&!k&&Object(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":e.forceFocusedContextualToolbar}}),Object(wr.createElement)(Mi,{ref:e.bindBlockNode,onDragStart:e.preventDrag,onMouseDown:e.onPointerDown,"data-block":f},Object(wr.createElement)(ii,{onError:e.onBlockError},B&&Z,B&&"html"===a&&Object(wr.createElement)(li,{clientId:f}),!B&&[Object(wr.createElement)(ni,{key:"invalid-warning",block:o}),Object(wr.createElement)("div",{key:"invalid-preview"},Object(i.getSaveElement)(x,o.attributes))]),H&&Object(wr.createElement)(Ai,{clientId:f}),!!z&&Object(wr.createElement)(oi,null))),N&&Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)("div",{className:"editor-block-list__side-inserter"},Object(wr.createElement)(Ui,{clientId:f,rootClientId:h,onToggle:e.selectOnOpen})),Object(wr.createElement)("div",{className:"editor-block-list__empty-block-inserter"},Object(wr.createElement)(Li,{position:"top right",onToggle:e.selectOnOpen}))))})}}]),t}(wr.Component),Wi=Object(l.withSelect)(function(e,t){var n=t.clientId,r=t.rootClientId,o=t.isLargeViewport,c=e("core/editor"),a=c.isBlockSelected,s=c.getPreviousBlockClientId,l=c.getNextBlockClientId,u=c.getBlock,d=c.isAncestorMultiSelected,p=c.isBlockMultiSelected,b=c.isFirstMultiSelectedBlock,f=c.isMultiSelecting,h=c.isTyping,m=c.isCaretWithinFormattedText,v=c.getBlockIndex,O=c.getBlockMode,g=c.isSelectionEnabled,j=c.getSelectedBlocksInitialCaretPosition,y=c.getEditorSettings,k=c.hasSelectedInnerBlock,_=c.getTemplateLock,S=c.getBlockSelectionStart,E=a(n),C=y(),w=C.hasFixedToolbar,T=C.focusMode,P=u(n),I=s(n),B=u(I),x=_(r),L=k(n,!0);return{nextBlockClientId:l(n),isPartOfMultiSelection:p(n)||d(n),isFirstMultiSelected:b(n),isMultiSelecting:f(),isTypingWithinBlock:(E||L)&&h(),isCaretWithinFormattedText:m(),order:v(n,r),mode:O(n),isSelectionEnabled:g(),initialPosition:j(),isEmptyDefaultBlock:P&&Object(i.isUnmodifiedDefaultBlock)(P),isPreviousBlockADefaultEmptyBlock:B&&Object(i.isUnmodifiedDefaultBlock)(B),isMovable:"all"!==x,isLocked:!!x,isFocusMode:T&&o,hasFixedToolbar:w&&o,previousBlockClientId:I,block:P,isSelected:E,isParentOfSelectedBlock:L,getBlockSelectionStart:S}}),qi=Object(l.withDispatch)(function(e,t){var n=e("core/editor"),r=n.updateBlockAttributes,o=n.selectBlock,i=n.multiSelect,c=n.insertBlocks,a=n.insertDefaultBlock,s=n.removeBlock,l=n.mergeBlocks,u=n.replaceBlocks,d=n.editPost,p=n.toggleSelection;return{onChange:function(e,t){r(e,t)},onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.clientId,n=arguments.length>1?arguments[1]:void 0;o(e,n)},onMultiSelect:i,onInsertBlocks:function(e,n){var r=t.rootClientId;c(e,n,r)},onInsertDefaultBlockAfter:function(){var e=t.order,n=t.rootClientId;a({},n,e+1)},onRemove:function(e){s(e)},onMerge:function(){l.apply(void 0,arguments)},onReplace:function(e){u([t.clientId],e)},onMetaChange:function(e){d({meta:e})},toggleSelection:function(e){p(e)}}}),Gi=Object(Ir.compose)(Object(s.withViewportMatch)({isLargeViewport:"medium"}),Wi,qi,Object(Fr.withFilters)("editor.BlockListBlock"))(zi),$i=n(49);var Yi=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=e("core/editor"),r=n.getBlockCount,o=n.getBlockName,c=n.isBlockValid,a=n.getEditorSettings,s=n.getTemplateLock,l=!r(t.rootClientId),u=o(t.lastBlockClientId)===Object(i.getDefaultBlockName)(),d=c(t.lastBlockClientId),p=a().bodyPlaceholder;return{isVisible:l||!u||!d,showPrompt:l,isLocked:!!s(t.rootClientId),placeholder:p}}),Object(l.withDispatch)(function(e,t){var n=e("core/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;if(t||!n)return null;var a=Object($i.decodeEntities)(i)||Object(_.__)("Start writing or type / to choose a block");return Object(wr.createElement)("div",{"data-root-client-id":c||"",className:"wp-block editor-default-block-appender"},Object(wr.createElement)(Yo,{rootClientId:c}),Object(wr.createElement)(ai.a,{role:"button","aria-label":Object(_.__)("Add block"),className:"editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?a:""}),Object(wr.createElement)(Ui,{rootClientId:c}),Object(wr.createElement)(Li,{position:"top right"}))});var Qi=Object(l.withSelect)(function(e,t){var n=t.rootClientId,r=e("core/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;return e.isLocked?null:r?Object(wr.createElement)(Mi,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(wr.createElement)(Yi,{rootClientId:n,lastBlockClientId:Object(O.last)(t)})):Object(wr.createElement)("div",{className:"block-list-appender"},Object(wr.createElement)(Li,{rootClientId:n,renderToggle:function(e){var t=e.onToggle,n=e.disabled,r=e.isOpen;return Object(wr.createElement)(Fr.Button,{"aria-label":Object(_.__)("Add block"),onClick:t,className:"block-list-appender__toggle","aria-haspopup":"true","aria-expanded":r,disabled:n},Object(wr.createElement)(Fr.Dashicon,{icon:"insert"}))}}))}),Xi=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).call(this,e))).onSelectionStart=n.onSelectionStart.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onSelectionEnd=n.onSelectionEnd.bind(Object(Dr.a)(Object(Dr.a)(n))),n.setBlockRef=n.setBlockRef.bind(Object(Dr.a)(Object(Dr.a)(n))),n.setLastClientY=n.setLastClientY.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onPointerMove=Object(O.throttle)(n.onPointerMove.bind(Object(Dr.a)(Object(Dr.a)(n))),100),n.onScroll=function(){return n.onPointerMove({clientY:n.lastClientY})},n.lastClientY=0,n.nodes={},n}return Object(Rr.a)(t,e),Object(Lr.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(d.a)({},this.nodes,Object(f.a)({},t,e))}},{key:"onPointerMove",value:function(e){var t=e.clientY;this.props.isMultiSelecting||this.props.onStartMultiSelect();var n=Ki(this.selectionAtStart).getBoundingClientRect();if(!(t>=n.top&&t<=n.bottom)){var r=t-n.top,o=Object(O.findLast)(this.coordMapKeys,function(e){return e0&&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(p.a)(e,["children","colors","colorSettings","disableCustomColors","title"]),a=Object(wr.createElement)("span",{className:"".concat("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=wo(i||t,r),a=c&&c.name,s=Object(_.sprintf)(bc,o.toLowerCase(),a||r);return Object(wr.createElement)(Fr.ColorIndicator,{key:n,colorValue:r,"aria-label":s})})}(r,n));return Object(wr.createElement)(Fr.PanelBody,Object(Cr.a)({className:"editor-panel-color-settings",title:a},c),r.map(function(e,t){return Object(wr.createElement)(pc,Object(Cr.a)({key:t},Object(d.a)({colors:n,disableCustomColors:o},e)))}),t)}),hc=ko(fc);var mc=function(e){var t=e.onChange,n=e.className,r=Object(p.a)(e,["onChange","className"]);return Object(wr.createElement)(ai.a,Object(Cr.a)({className:Pr()("editor-plain-text",n),onChange:function(e){return t(e.target.value)}},r))},vc=n(41),Oc=n.n(vc),gc=n(33),jc=n(65),yc=n.n(jc),kc=Object(l.withSelect)(function(e){return{formatTypes:(0,e("core/rich-text").getFormatTypes)()}})(function(e){var t=e.formatTypes,n=e.onChange,r=e.value;return Object(wr.createElement)(wr.Fragment,null,t.map(function(e){var t=e.name,o=e.edit;if(!o)return null;var i=Object(a.getActiveFormat)(r,t),c=void 0!==i,s=c&&i.attributes||{};return Object(wr.createElement)(o,{key:t,isActive:c,activeAttributes:s,value:r,onChange:n})}))}),_c=function(e){var t=e.controls;return Object(wr.createElement)("div",{className:"editor-format-toolbar"},Object(wr.createElement)(Fr.Toolbar,null,t.map(function(e){return Object(wr.createElement)(Fr.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})}),Object(wr.createElement)(Fr.Slot,{name:"RichText.ToolbarControls"})))},Sc=n(192),Ec=n.n(Sc),Cc=function(e){return Object(O.pickBy)(e,function(e,t){return function(e){return Object(O.startsWith)(e,"aria-")}(t)&&!Object(O.isNil)(e)})},wc=window.getSelection,Tc=window.Node.TEXT_NODE;var Pc=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).call(this))).bindEditorNode=e.bindEditorNode.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onFocus=e.onFocus.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"onFocus",value:function(){this.props.onFocus&&this.props.onFocus(),this.initialize()}},{key:"shouldComponentUpdate",value:function(e){var t=this;this.configureIsPlaceholderVisible(e.isPlaceholderVisible),Object(O.isEqual)(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),Object.assign(this.editorNode.style,e.style)),Object(O.isEqual)(this.props.className,e.className)||(this.editorNode.className=Pr()(e.className,"editor-rich-text__tinymce"));var n=function(e,t){var n=Object(O.keys)(Cc(e)),r=Object(O.keys)(Cc(t));return{removedKeys:Object(O.difference)(n,r),updatedKeys:r.filter(function(n){return!Object(O.isEqual)(e[n],t[n])})}}(this.props,e),r=n.removedKeys,o=n.updatedKeys;return r.forEach(function(e){return t.editorNode.removeAttribute(e)}),o.forEach(function(n){return t.editorNode.setAttribute(n,e[n])}),!1}},{key:"componentWillUnmount",value:function(){this.editor&&(this.editor.destroy(),delete this.editor)}},{key:"configureIsPlaceholderVisible",value:function(e){var t=String(!!e);this.editorNode.getAttribute("data-is-placeholder-visible")!==t&&this.editorNode.setAttribute("data-is-placeholder-visible",t)}},{key:"initialize",value:function(){var e=this,t=this.props.multilineTag,n={theme:!1,inline:!0,toolbar:!1,browser_spellcheck:!0,entity_encoding:"raw",convert_urls:!1,verify_html:!1,inline_boundaries_selector:"a[href],code,b,i,strong,em,del,ins,sup,sub",plugins:[],forced_root_block:t||!1,custom_undo_redo_levels:1,lists_indent_on_tab:!1};"li"===t&&n.plugins.push("lists"),Ec.a.init(Object(d.a)({},n,{target:this.editorNode,setup:function(t){var n;e.editor=t,e.props.onSetup(t),t.on("preinit",function(){n=t.dom.setHTML,t.dom.setHTML=function(){}}),t.on("init",function(){["z","y"].forEach(function(e){t.shortcuts.remove("meta+".concat(e))}),t.shortcuts.remove("meta+shift+z"),["b","i","u"].forEach(function(e){t.shortcuts.remove("meta+".concat(e))}),[1,2,3,4,5,6,7,8,9].forEach(function(e){t.shortcuts.remove("access+".concat(e))}),t.dom.setHTML=n}),t.on("keydown",e.onKeyDown,!0)}}))}},{key:"bindEditorNode",value:function(e){this.editorNode=e,this.props.setRef&&this.props.setRef(e),this.removeInternetExplorerInputFix&&(this.removeInternetExplorerInputFix(),this.removeInternetExplorerInputFix=null),e&&function(e){return/Trident/.test(window.navigator.userAgent)&&!/input/i.test(e.tagName)&&!/textarea/i.test(e.tagName)}(e)&&(this.removeInternetExplorerInputFix=function(e){function t(e){e.stopImmediatePropagation();var t=document.createEvent("Event");t.initEvent("input",!0,!1),t.data=e.data,e.target.dispatchEvent(t)}function n(t){var n=t.target,r=t.keyCode;if((vo.BACKSPACE===r||vo.DELETE===r)&&e.contains(n)){var o=document.createEvent("Event");o.initEvent("input",!0,!1),o.data=null,n.dispatchEvent(o)}}return e.addEventListener("textinput",t),document.addEventListener("keyup",n,!0),function(){e.removeEventListener("textinput",t),document.removeEventListener("keyup",n,!0)}}(e))}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=t===vo.DELETE||t===vo.BACKSPACE;if(t===vo.ENTER||n&&Object(Fo.isEntirelySelected)(this.editorNode))return e.preventDefault(),!1;if(t===vo.LEFT||t===vo.RIGHT){var r=wc().focusNode,o=r.nodeType,i=r.nodeValue;if(o===Tc)if(1===i.length&&"\ufeff"===i[0])r[e.keyCode===vo.LEFT?"previousSibling":"nextSibling"]||(e.preventDefault=O.noop)}}},{key:"render",value:function(){var e,t=Cc(this.props),n=this.props,r=n.tagName,o=void 0===r?"div":r,i=n.style,c=n.defaultValue,a=n.className,s=n.isPlaceholderVisible,l=n.onPaste,u=n.onInput,p=n.onKeyDown,b=n.onCompositionEnd;return"table"!==o&&(t.role="textbox",t["aria-multiline"]=!0),Object(wr.createElement)(o,Object(d.a)({},t,(e={className:Pr()(a,"editor-rich-text__tinymce"),contentEditable:!0},Object(f.a)(e,"data-is-placeholder-visible",s),Object(f.a)(e,"ref",this.bindEditorNode),Object(f.a)(e,"style",i),Object(f.a)(e,"suppressContentEditableWarning",!0),Object(f.a)(e,"dangerouslySetInnerHTML",{__html:c}),Object(f.a)(e,"onPaste",l),Object(f.a)(e,"onInput",u),Object(f.a)(e,"onFocus",this.onFocus),Object(f.a)(e,"onKeyDown",p),Object(f.a)(e,"onCompositionEnd",b),e)))}}]),t}(wr.Component);var Ic=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(f.a)({},vo.rawShortcut[n](t),this.onUse)})}}]),t}(wr.Component);function Bc(e){return!e.selection||e.selection.getNode().closest("ol,ul")===e.getBody()}function xc(e,t,n){if(document.activeElement!==e.getBody())return t===n;var r=e.selection.getNode().closest("ol,ul");return r?r.nodeName.toLowerCase()===t:void 0}var Lc=function(e){var t=e.editor,n=e.onTagNameChange,r=e.tagName,o=e.onSyncDOM;return Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Ic,{type:"primary",character:"[",onUse:function(){t.execCommand("Outdent"),o()}}),Object(wr.createElement)(Ic,{type:"primary",character:"]",onUse:function(){t.execCommand("Indent"),o()}}),Object(wr.createElement)(Ic,{type:"primary",character:"m",onUse:function(){t.execCommand("Indent"),o()}}),Object(wr.createElement)(Ic,{type:"primaryShift",character:"m",onUse:function(){t.execCommand("Outdent"),o()}}),Object(wr.createElement)(mo,null,Object(wr.createElement)(Fr.Toolbar,{controls:[{icon:"editor-ul",title:Object(_.__)("Convert to unordered list"),isActive:xc(t,"ul",r),onClick:function(){Bc(t)?n("ul"):(t.execCommand("InsertUnorderedList"),o())}},{icon:"editor-ol",title:Object(_.__)("Convert to ordered list"),isActive:xc(t,"ol",r),onClick:function(){Bc(t)?n("ol"):(t.execCommand("InsertOrderedList"),o())}},{icon:"editor-outdent",title:Object(_.__)("Outdent list item"),onClick:function(){t.execCommand("Outdent"),o()}},{icon:"editor-indent",title:Object(_.__)("Indent list item"),onClick:function(){t.execCommand("Indent"),o()}}]})))},Ac=[vo.rawShortcut.primary("z"),vo.rawShortcut.primaryShift("z"),vo.rawShortcut.primary("y")],Nc=Object(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(O.fromPairs)(Ac.map(function(e){return[e,function(e){return e.preventDefault()}]}))}),Rc=function(){return Nc};function Dc(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,i=Object(p.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),r&&o&&(t=vo.displayShortcut[r](o)),Object(wr.createElement)(Fr.Fill,{name:c},Object(wr.createElement)(Fr.ToolbarButton,Object(Cr.a)({},i,{shortcut:t})))}var Fc=Object(l.withSelect)(function(e,t){var n=t.name;return{formatType:e("core/rich-text").getFormatType(n)}})(function(e){return Object(wr.createElement)(Fr.Fill,{name:"Inserter.InlineElements"},function(t){var n=t.filterValue,r=e.formatType,o=r.keywords,c=void 0===o?[]:o,a=r.title;return c.push(a,e.title),n&&!function(e,t){return e.some(function(e){return-1!==Ti(e).indexOf(Ti(t))})}(c,n)?null:Object(wr.createElement)(_i,Object(Cr.a)({},e,{icon:Object(i.normalizeIconObject)(e.icon)}))})}),Mc=window.getSelection,Uc=function(e){function t(e){var n,r=e.value,o=e.onReplace,c=e.multiline;return Object(xr.a)(this,t),n=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments)),!0!==c&&"p"!==c&&"li"!==c||(n.multilineTag=!0===c?"p":c),"li"===n.multilineTag&&(n.multilineWrapperTags=["ul","ol"]),n.props.onSplit?(n.onSplit=n.props.onSplit,yc()("wp.editor.RichText onSplit prop",{plugin:"Gutenberg",alternative:"wp.editor.RichText unstableOnSplit prop"})):n.props.unstableOnSplit&&(n.onSplit=n.props.unstableOnSplit),n.onSetup=n.onSetup.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onFocus=n.onFocus.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onChange=n.onChange.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onDeleteKeyDown=n.onDeleteKeyDown.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onKeyDown=n.onKeyDown.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onPaste=n.onPaste.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(Object(Dr.a)(Object(Dr.a)(n))),n.setFocusedElement=n.setFocusedElement.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onInput=n.onInput.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onCompositionEnd=n.onCompositionEnd.bind(Object(Dr.a)(Object(Dr.a)(n))),n.onSelectionChange=n.onSelectionChange.bind(Object(Dr.a)(Object(Dr.a)(n))),n.getRecord=n.getRecord.bind(Object(Dr.a)(Object(Dr.a)(n))),n.createRecord=n.createRecord.bind(Object(Dr.a)(Object(Dr.a)(n))),n.applyRecord=n.applyRecord.bind(Object(Dr.a)(Object(Dr.a)(n))),n.isEmpty=n.isEmpty.bind(Object(Dr.a)(Object(Dr.a)(n))),n.valueToFormat=n.valueToFormat.bind(Object(Dr.a)(Object(Dr.a)(n))),n.setRef=n.setRef.bind(Object(Dr.a)(Object(Dr.a)(n))),n.isActive=n.isActive.bind(Object(Dr.a)(Object(Dr.a)(n))),n.formatToValue=Oc()(n.formatToValue.bind(Object(Dr.a)(Object(Dr.a)(n))),{size:1}),n.savedContent=r,n.patterns=function(e){var t=e.onReplace,n=e.valueToFormat,r=e.onCreateUndoLevel,o=e.onChange,c=Object(i.getBlockTransforms)("from").filter(function(e){return"prefix"===e.type});return[function(e){if(!t)return e;var o=Object(a.getSelectionStart)(e),s=Object(a.getTextContent)(e),l=s.slice(o-1,o);if(!/\s/.test(l))return e;var u=s.slice(0,o).trim(),d=Object(i.findTransform)(c,function(e){var t=e.prefix;return u===t});if(!d)return e;var p=n(Object(a.slice)(e,o,s.length)),b=d.transform(p);return r(),t([b]),e},function(e){var t=Object(a.getSelectionStart)(e),n=Object(a.getTextContent)(e);if("`"!==n.slice(t-1,t))return e;var r=n.slice(0,t-1).lastIndexOf("`");if(-1===r)return e;var i=r,c=t-2;return i===c?e:(o(e),e=Object(a.remove)(e,i,i+1),e=Object(a.remove)(e,c,c+1),e=Object(a.applyFormat)(e,{type:"code"},i,c))}]}({onReplace:o,onCreateUndoLevel:n.onCreateUndoLevel,valueToFormat:n.valueToFormat,onChange:n.onChange}),n.enterPatterns=Object(i.getBlockTransforms)("from").filter(function(e){return"enter"===e.type}),n.state={},n.usedDeprecatedChildrenSource=Array.isArray(r),n.lastHistoryValue=r,n}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidMount",value:function(){document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"setRef",value:function(e){this.editableRef=e}},{key:"isActive",value:function(){return this.editableRef===document.activeElement}},{key:"onSetup",value:function(e){this.editor=e}},{key:"setFocusedElement",value:function(){this.props.setFocusedElement&&this.props.setFocusedElement(this.props.instanceId)}},{key:"getRecord",value:function(){var e=this.formatToValue(this.props.value),t=e.formats,n=e.text,r=this.state;return{formats:t,text:n,start:r.start,end:r.end}}},{key:"createRecord",value:function(){var e=Mc().getRangeAt(0);return Object(a.create)({element:this.editableRef,range:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,removeNode:function(e){return"all"===e.getAttribute("data-mce-bogus")},unwrapNode:function(e){return!!e.getAttribute("data-mce-bogus")},removeAttribute:function(e){return 0===e.indexOf("data-mce-")},filterString:function(e){return e.replace("\ufeff","")},prepareEditableTree:this.props.prepareEditableTree})}},{key:"applyRecord",value:function(e){Object(a.apply)({value:e,current:this.editableRef,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,createLinePadding:function(e){var t=e.createElement("br");return t.setAttribute("data-mce-bogus","1"),t},prepareEditableTree:this.props.prepareEditableTree})}},{key:"isEmpty",value:function(){return Object(a.isEmpty)(this.formatToValue(this.props.value))}},{key:"onPaste",value:function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(O.isNil)(n)?[]:n,r=Object(O.isNil)(r)?[]:r;var o=Object(O.find)(Object(b.a)(n).concat(Object(b.a)(r)),function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}),c="",s="";try{c=t.getData("text/plain"),s=t.getData("text/html")}catch(e){try{s=t.getData("Text")}catch(e){return}}if(e.preventDefault(),window.console.log("Received HTML:\n\n",s),window.console.log("Received plain text:\n\n",c),o&&!s){var l=o.getAsFile?o.getAsFile():o,u=Object(i.pasteHandler)({HTML:'
'),mode:"BLOCKS",tagName:this.props.tagName}),d=this.props.onReplace&&this.isEmpty();return window.console.log("Received item:\n\n",l),void(d?this.props.onReplace(u):this.onSplit&&this.splitContent(u))}var p=this.getRecord();if(!Object(a.isCollapsed)(p)){var f=(s||c).replace(/<[^>]+>/g,"").trim();if(Object(g.isURL)(f))return this.onChange(Object(a.applyFormat)(p,{type:"a",attributes:{href:Object($i.decodeEntities)(f)}})),void window.console.log("Created link:\n\n",f)}var h=this.props.onReplace&&this.isEmpty(),m="INLINE";h?m="BLOCKS":this.onSplit&&(m="AUTO");var v=Object(i.pasteHandler)({HTML:s,plainText:c,mode:m,tagName:this.props.tagName,canUserUseUnfilteredHTML:this.props.canUserUseUnfilteredHTML});if("string"==typeof v){var j=Object(a.create)({html:v});this.onChange(Object(a.insert)(p,j))}else if(this.onSplit){if(!v.length)return;h?this.props.onReplace(v):this.splitContent(v,{paste:!0})}}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;e&&e()}},{key:"onInput",value:function(e){if(!e.nativeEvent.isComposing){var t=this.createRecord(),n=this.patterns.reduce(function(e,t){return t(e)},t);this.onChange(n,{withoutHistory:!0}),this.props.clearTimeout(this.onInput.timeout),this.onInput.timeout=this.props.setTimeout(this.onCreateUndoLevel,1e3)}}},{key:"onCompositionEnd",value:function(){this.onChange(this.createRecord())}},{key:"onSelectionChange",value:function(){if(this.isActive()){var e=this.createRecord(),t=e.start,n=e.end,r=e.formats;if(t!==this.state.start||n!==this.state.end){var o=this.props.isCaretWithinFormattedText;!o&&r[t]?this.props.onEnterFormattedText():o&&!r[t]&&this.props.onExitFormattedText(),this.setState({start:t,end:n})}}}},{key:"onChangeEditableValue",value:function(e){var t=e.formats,n=e.text;Object(O.get)(this.props,["onChangeEditableValue"],[]).forEach(function(e){e(t,n)})}},{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;this.onChangeEditableValue(e),this.savedContent=this.valueToFormat(e),this.props.onChange(this.savedContent),this.setState({start:n,end:r}),t||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.savedContent&&(this.props.onCreateUndoLevel(),this.lastHistoryValue=this.savedContent)}},{key:"onDeleteKeyDown",value:function(e){var t=this.props,n=t.onMerge,r=t.onRemove;if(n||r){var o=e.keyCode===vo.BACKSPACE;if(Object(a.isCollapsed)(this.createRecord())){var i=this.isEmpty();(i||Object(Fo.isHorizontalEdge)(this.editableRef,o))&&(n&&n(!o),r&&i&&o&&r(!o),e.preventDefault())}}}},{key:"onKeyDown",value:function(e){var t=e.keyCode;if(t===vo.DELETE||t===vo.BACKSPACE){var n,r=this.createRecord(),o=Object(a.getSelectionStart)(r),c=Object(a.getSelectionEnd)(r);if(0===o&&0!==c&&c===r.text.length)return this.onChange(Object(a.remove)(r)),void e.preventDefault();if(this.multilineTag)t===vo.BACKSPACE?Object(a.charAt)(r,o-1)===a.LINE_SEPARATOR&&(n=Object(a.remove)(r,Object(a.isCollapsed)(r)?o-1:o,c)):Object(a.charAt)(r,c)===a.LINE_SEPARATOR&&(n=Object(a.remove)(r,o,Object(a.isCollapsed)(r)?c+1:c)),n&&(this.onChange(n),e.preventDefault());this.onDeleteKeyDown(e)}else if(t===vo.ENTER){e.preventDefault();var s=this.createRecord();if(this.props.onReplace){var l=Object(a.getTextContent)(s),u=Object(i.findTransform)(this.enterPatterns,function(e){return e.regExp.test(l)});if(u)return void this.props.onReplace([u.transform({content:l})])}if(this.multilineTag)this.onSplit&&Object(a.isEmptyLine)(s)?this.onSplit.apply(this,Object(b.a)(Object(a.split)(s).map(this.valueToFormat))):this.onChange(Object(a.insertLineSeparator)(s));else if(e.shiftKey||!this.onSplit){var d=Object(a.getTextContent)(s),p=d.length,f="\n";s.end!==p||"\n"===d.charAt(p-1)&&0!==p||(f="\n\n"),this.onChange(Object(a.insert)(s,f))}else this.splitContent()}}},{key:"splitContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.createRecord();if(this.onSplit){var r=Object(a.split)(n),o=Object(u.a)(r,2),i=o[0],c=o[1];Object(a.isEmpty)(c)?i=n:Object(a.isEmpty)(i)&&(c=n),t.paste&&(i=Object(a.isEmpty)(i)?null:i,c=Object(a.isEmpty)(c)?null:c),i&&(i=this.valueToFormat(i)),c&&(c=this.valueToFormat(c)),this.onSplit.apply(this,[i,c].concat(Object(b.a)(e)))}}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.tagName,o=n.value,i=n.isSelected;if(r===e.tagName&&o!==e.value&&o!==this.savedContent){if(Array.isArray(o)&&Object(O.isEqual)(o,this.savedContent))return;var c=this.formatToValue(o);if(i){var s=this.formatToValue(e.value),l=Object(a.getTextContent)(s).length;c.start=l,c.end=l}this.applyRecord(c),this.savedContent=o}if(i&&!e.isSelected&&!this.isActive()){var u=this.formatToValue(o),d=this.formatToValue(e.value),p=Object(a.getTextContent)(d).length;u.start=p,u.end=p,this.applyRecord(u)}if(Object.keys(this.props).some(function(n){return 0===n.indexOf("format_")&&(Object(O.isPlainObject)(t.props[n])?Object.keys(t.props[n]).some(function(r){return t.props[n][r]!==e[n][r]}):t.props[n]!==e[n])})){var b=this.formatToValue(o);b.start=this.state.start,b.end=this.state.end,this.applyRecord(b)}}},{key:"getFormatProps",value:function(){return Object(O.pickBy)(this.props,function(e,t){return t.startsWith("format_")})}},{key:"formatToValue",value:function(e){return Array.isArray(e)?Object(a.create)({html:i.children.toHTML(e),multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):"string"===this.props.format?Object(a.create)({html:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):null===e?Object(a.create)():e}},{key:"valueToEditableHTML",value:function(e){return Object(a.unstableToDom)({value:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,createLinePadding:function(e){var t=e.createElement("br");return t.setAttribute("data-mce-bogus","1"),t},prepareEditableTree:this.props.prepareEditableTree}).body.innerHTML}},{key:"removeEditorOnlyFormats",value:function(e){return this.props.formatTypes.forEach(function(t){t.__experimentalCreatePrepareEditableTree&&(e=Object(a.removeFormat)(e,t.name,0,e.text.length))}),e}},{key:"valueToFormat",value:function(e){return e=this.removeEditorOnlyFormats(e),this.usedDeprecatedChildrenSource?i.children.fromDOM(Object(a.unstableToDom)({value:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}).body.childNodes):"string"===this.props.format?Object(a.toHTMLString)({value:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags}):e}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,r=void 0===n?"div":n,o=t.style,i=t.wrapperClassName,c=t.className,a=t.inlineToolbar,s=void 0!==a&&a,l=t.formattingControls,u=t.placeholder,d=t.keepPlaceholderOnFocus,p=void 0!==d&&d,b=t.isSelected,f=t.autocompleters,h=t.onTagNameChange,m=this.multilineTag,v=Cc(this.props),O=["editor",r].join(),g=u&&(!b||p)&&this.isEmpty(),j=Pr()(i,"editor-rich-text"),y=this.getRecord();return Object(wr.createElement)("div",{className:j,onFocus:this.setFocusedElement},b&&this.editor&&"li"===this.multilineTag&&Object(wr.createElement)(Lc,{editor:this.editor,onTagNameChange:h,tagName:r,onSyncDOM:function(){return e.onChange(e.createRecord())}}),b&&!s&&Object(wr.createElement)(mo,null,Object(wr.createElement)(_c,{controls:l})),b&&s&&Object(wr.createElement)(Fr.IsolatedEventContainer,{className:"editor-rich-text__inline-toolbar"},Object(wr.createElement)(_c,{controls:l})),Object(wr.createElement)(Wr,{onReplace:this.props.onReplace,completers:f,record:y,onChange:this.onChange},function(t){var n=t.isExpanded,i=t.listBoxId,a=t.activeId;return Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Pc,Object(Cr.a)({tagName:r,onSetup:e.onSetup,style:o,defaultValue:e.valueToEditableHTML(y),isPlaceholderVisible:g,"aria-label":u,"aria-autocomplete":"list","aria-expanded":n,"aria-owns":i,"aria-activedescendant":a},v,{className:c,key:O,onPaste:e.onPaste,onInput:e.onInput,onCompositionEnd:e.onCompositionEnd,onKeyDown:e.onKeyDown,onFocus:e.onFocus,multilineTag:e.multilineTag,multilineWrapperTags:e.multilineWrapperTags,setRef:e.setRef})),g&&Object(wr.createElement)(r,{className:Pr()("editor-rich-text__tinymce",c),style:o},m?Object(wr.createElement)(m,null,u):u),b&&Object(wr.createElement)(kc,{value:y,onChange:e.onChange}))}),b&&Object(wr.createElement)(Rc,null))}}]),t}(wr.Component);Uc.defaultProps={formattingControls:["bold","italic","link","strikethrough"],format:"string",value:""};var Vc=Object(Ir.compose)([Ir.withInstanceId,Hr(function(e,t){return!1===t.isSelected?{clientId:e.clientId}:!0===t.isSelected?{isSelected:e.isSelected,clientId:e.clientId}:{isSelected:e.isSelected&&e.focusedElement===t.instanceId,setFocusedElement:e.setFocusedElement,clientId:e.clientId}}),Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.canUserUseUnfilteredHTML,r=t.isCaretWithinFormattedText,o=e("core/rich-text").getFormatTypes;return{canUserUseUnfilteredHTML:n(),isCaretWithinFormattedText:r(),formatTypes:o()}}),Object(l.withDispatch)(function(e){var t=e("core/editor");return{onCreateUndoLevel:t.createUndoLevel,onRedo:t.redo,onUndo:t.undo,onEnterFormattedText:t.enterFormattedText,onExitFormattedText:t.exitFormattedText}}),Ir.withSafeTimeout,Object(Fr.withFilters)("experimentalRichText")])(Uc);Vc.Content=function(e){var t,n=e.value,r=e.tagName,o=e.multiline,c=Object(p.a)(e,["value","tagName","multiline"]),a=n;!0!==o&&"p"!==o&&"li"!==o||(t=!0===o?"p":o),Array.isArray(n)&&(a=i.children.toHTML(n)),!a&&t&&(a="<".concat(t,">").concat(t,">"));var s=Object(wr.createElement)(wr.RawHTML,null,a);return r?Object(wr.createElement)(r,Object(O.omit)(c,["format"]),s):s},Vc.isEmpty=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Array.isArray(e)&&!e||0===e.length},Vc.Content.defaultProps={format:"string",value:""};var Hc=Vc,Kc=function(e){var t=e.urlQueryArgs,n=void 0===t?{}:t,r=Object(p.a)(e,["urlQueryArgs"]),o=Object(l.select)("core/editor").getCurrentPostId;return n=Object(d.a)({post_id:o()},n),Object(wr.createElement)(Fr.ServerSideRender,Object(Cr.a)({urlQueryArgs:n},r))},zc=Object(Fr.withFilters)("editor.MediaUpload")(function(){return null}),Wc=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={isSettingsExpanded:!1},e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.renderSettings,r=e.onClose,o=e.onClickOutside,i=e.position,c=void 0===i?"bottom center":i,a=e.focusOnMount,s=void 0===a?"firstElement":a,l=this.state.isSettingsExpanded,u=!!n&&l;return Object(wr.createElement)(Fr.Popover,{className:"editor-url-popover",focusOnMount:s,position:c,onClose:r,onClickOutside:o},Object(wr.createElement)("div",{className:"editor-url-popover__row"},t,!!n&&Object(wr.createElement)(Fr.IconButton,{className:"editor-url-popover__settings-toggle",icon:"ellipsis",label:Object(_.__)("Link Settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":l})),u&&Object(wr.createElement)("div",{className:"editor-url-popover__row editor-url-popover__settings"},n()))}}]),t}(wr.Component);function qc(e){return e?Object(O.flatMap)(e,function(e,t){var n=e.split("/"),r=Object(u.a)(n,1)[0],o=t.split("|");return[e].concat(Object(b.a)(Object(O.map)(o,function(e){return"".concat(r,"/").concat(e)})))}):e}function Gc(){return(Gc=Object(dr.a)(regeneratorRuntime.mark(function e(t){var n,r,o,i,c,a,s,l,u,p,f,h,m,v,g,j,y,k,S,E,C,w,T,P,I,B,x,L,A;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=t.allowedTypes,r=t.additionalData,o=void 0===r?{}:r,i=t.filesList,c=t.maxUploadFileSize,a=t.onError,s=void 0===a?O.noop:a,l=t.onFileChange,u=t.wpAllowedMimeTypes,p=void 0===u?null:u,f=Object(b.a)(i),h=[],m=function(e,t){Object(gc.revokeBlobURL)(Object(O.get)(h,[e,"url"])),h[e]=t,l(Object(O.compact)(h))},v=function(e){return!n||Object(O.some)(n,function(t){return Object(O.includes)(t,"/")?t===e:Object(O.startsWith)(e,"".concat(t,"/"))})},g=qc(p),j=function(e){return Object(O.includes)(g,e)},y=function(e){e.message=[Object(wr.createElement)("strong",{key:"filename"},e.file.name),": ",e.message],s(e)},k=[],S=!0,E=!1,C=void 0,e.prev=12,w=f[Symbol.iterator]();case 14:if(S=(T=w.next()).done){e.next=34;break}if(P=T.value,!g||j(P.type)){e.next=19;break}return y({code:"MIME_TYPE_NOT_ALLOWED_FOR_USER",message:Object(_.__)("Sorry, this file type is not permitted for security reasons."),file:P}),e.abrupt("continue",31);case 19:if(v(P.type)){e.next=22;break}return y({code:"MIME_TYPE_NOT_SUPPORTED",message:Object(_.__)("Sorry, this file type is not supported here."),file:P}),e.abrupt("continue",31);case 22:if(!(c&&P.size>c)){e.next=25;break}return y({code:"SIZE_ABOVE_LIMIT",message:Object(_.__)("This file exceeds the maximum upload size for this site."),file:P}),e.abrupt("continue",31);case 25:if(!(P.size<=0)){e.next=28;break}return y({code:"EMPTY_FILE",message:Object(_.__)("This file is empty."),file:P}),e.abrupt("continue",31);case 28:k.push(P),h.push({url:Object(gc.createBlobURL)(P)}),l(h);case 31:S=!0,e.next=14;break;case 34:e.next=40;break;case 36:e.prev=36,e.t0=e.catch(12),E=!0,C=e.t0;case 40:e.prev=40,e.prev=41,S||null==w.return||w.return();case 43:if(e.prev=43,!E){e.next=46;break}throw C;case 46:return e.finish(43);case 47:return e.finish(40);case 48:I=0;case 49:if(!(I0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(O.flatMap)(t,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===t.name?Object(d.a)({},t,{path:n,level:t.attributes.level,isEmpty:ba(t)}):e(t.innerBlocks,Object(b.a)(n).concat([t]))})}(n);if(c.length<1)return null;var s=1,l=i&&r,u=Object(O.countBy)(c,"level")[1]>1;return Object(wr.createElement)("div",{className:"document-outline"},Object(wr.createElement)("ul",null,l&&Object(wr.createElement)(sa,{level:Object(_.__)("Title"),isValid:!0,onClick:function(){var e=document.querySelector(".editor-post-title__input");e&&e.focus()}},r),c.map(function(e,t){var n=e.level>s+1,r=!(e.isEmpty||n||!e.level||1===e.level&&(u||l));return s=e.level,Object(wr.createElement)(sa,{key:t,level:"H".concat(e.level),isValid:r,onClick:function(){return function(e){return o(e)}(e.clientId)},path:e.path},e.isEmpty?la:Object(a.getTextContent)(Object(a.create)({html:e.attributes.content})),n&&ua,1===e.level&&u&&pa,l&&1===e.level&&!u&&da)})))});var ha=Object(l.withSelect)(function(e){return{blocks:e("core/editor").getBlocks()}})(function(e){var t=e.blocks,n=e.children;return Object(O.filter)(t,function(e){return"core/heading"===e.name}).length<1?null:n});var ma=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=e("core/editor"),r=n.getBlocksByClientId,o=n.getBlockIndex,c=n.getTemplateLock,a=n.getBlockRootClientId,s=r(t.clientIds),l=Object(O.every)(s,function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)}),u=a(t.clientIds[0]);return{firstSelectedIndex:o(Object(O.first)(Object(O.castArray)(t.clientIds)),u),lastSelectedIndex:o(Object(O.last)(Object(O.castArray)(t.clientIds)),u),isLocked:!!c(u),blocks:s,canDuplicate:l,rootClientId:u,extraProps:t}}),Object(l.withDispatch)(function(e,t){var n=t.clientIds,r=t.rootClientId,o=t.blocks,c=t.firstSelectedIndex,a=t.lastSelectedIndex,s=t.isLocked,l=t.canDuplicate,u=e("core/editor"),d=u.insertBlocks,p=u.multiSelect,b=u.removeBlocks,f=u.insertDefaultBlock;return{onDuplicate:function(){if(!s&&l){var e=o.map(function(e){return Object(i.cloneBlock)(e)});d(e,a+1,r),e.length>1&&p(Object(O.first)(e).clientId,Object(O.last)(e).clientId)}},onRemove:function(){s||b(n)},onInsertBefore:function(){s||f({},r,c)},onInsertAfter:function(){s||f({},r,a+1)}}})])(function(e){var t=e.onDuplicate,n=e.onRemove,r=e.onInsertBefore,o=e.onInsertAfter,i=e.isLocked,c=e.canDuplicate;return(0,e.children)({onDuplicate:t,onRemove:n,onInsertAfter:o,onInsertBefore:r,isLocked:i,canDuplicate:c})}),va=function(e){return e.preventDefault(),e},Oa={duplicate:{raw:vo.rawShortcut.primaryShift("d"),display:vo.displayShortcut.primaryShift("d")},removeBlock:{raw:vo.rawShortcut.access("z"),display:vo.displayShortcut.access("z")},insertBefore:{raw:vo.rawShortcut.primaryAlt("t"),display:vo.displayShortcut.primaryAlt("t")},insertAfter:{raw:vo.rawShortcut.primaryAlt("y"),display:vo.displayShortcut.primaryAlt("y")}},ga=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).selectAll=e.selectAll.bind(Object(Dr.a)(Object(Dr.a)(e))),e.undoOrRedo=e.undoOrRedo.bind(Object(Dr.a)(Object(Dr.a)(e))),e.save=e.save.bind(Object(Dr.a)(Object(Dr.a)(e))),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(Object(Dr.a)(Object(Dr.a)(e))),e.clearMultiSelection=e.clearMultiSelection.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.rootBlocksClientIds,r=t.onMultiSelect;e.preventDefault(),r(Object(O.first)(n),Object(O.last)(n))}},{key:"undoOrRedo",value:function(e){var t=this.props,n=t.onRedo,r=t.onUndo;e.shiftKey?n():r(),e.preventDefault()}},{key:"save",value:function(e){e.preventDefault(),this.props.onSave()}},{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(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Fr.KeyboardShortcuts,{shortcuts:(e={},Object(f.a)(e,vo.rawShortcut.primary("a"),this.selectAll),Object(f.a)(e,vo.rawShortcut.primary("z"),this.undoOrRedo),Object(f.a)(e,vo.rawShortcut.primaryShift("z"),this.undoOrRedo),Object(f.a)(e,"backspace",this.deleteSelectedBlocks),Object(f.a)(e,"del",this.deleteSelectedBlocks),Object(f.a)(e,"escape",this.clearMultiSelection),e)}),Object(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(f.a)({},vo.rawShortcut.primary("s"),this.save)}),t.length>0&&Object(wr.createElement)(ma,{clientIds:t},function(e){var t,n=e.onDuplicate,r=e.onRemove,o=e.onInsertAfter,i=e.onInsertBefore;return Object(wr.createElement)(Fr.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(t={},Object(f.a)(t,Oa.duplicate.raw,Object(O.flow)(va,n)),Object(f.a)(t,Oa.removeBlock.raw,Object(O.flow)(va,r)),Object(f.a)(t,Oa.insertBefore.raw,Object(O.flow)(va,i)),Object(f.a)(t,Oa.insertAfter.raw,Object(O.flow)(va,o)),t)})}))}}]),t}(wr.Component),ja=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getBlockOrder,r=t.getMultiSelectedBlockClientIds,o=t.hasMultiSelection,i=t.isEditedPostDirty,c=t.getBlockRootClientId,a=t.getTemplateLock,s=(0,t.getSelectedBlockClientId)(),l=s?[s]:r();return{rootBlocksClientIds:n(),hasMultiSelection:o(),isLocked:Object(O.some)(l,function(e){return!!a(c(e))}),isDirty:i(),selectedBlockClientIds:l}}),Object(l.withDispatch)(function(e,t){var n=e("core/editor"),r=n.clearSelectedBlock,o=n.multiSelect,i=n.redo,c=n.undo,a=n.removeBlocks,s=n.savePost;return{onSave:function(){t.isDirty&&s()},clearSelectedBlock:r,onMultiSelect:o,onRedo:i,onUndo:c,onRemove:a}})])(ga);var ya=Object(Ir.compose)([Object(l.withSelect)(function(e){return{hasRedo:e("core/editor").hasEditorRedo()}}),Object(l.withDispatch)(function(e){return{redo:e("core/editor").redo}})])(function(e){var t=e.hasRedo,n=e.redo;return Object(wr.createElement)(Fr.IconButton,{icon:"redo",label:Object(_.__)("Redo"),shortcut:vo.displayShortcut.primaryShift("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__redo"})});var ka=Object(Ir.compose)([Object(l.withSelect)(function(e){return{hasUndo:e("core/editor").hasEditorUndo()}}),Object(l.withDispatch)(function(e){return{undo:e("core/editor").undo}})])(function(e){var t=e.hasUndo,n=e.undo;return Object(wr.createElement)(Fr.IconButton,{icon:"undo",label:Object(_.__)("Undo"),shortcut:vo.displayShortcut.primary("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__undo"})});var _a=Object(Ir.compose)([Object(l.withSelect)(function(e){return{isValid:e("core/editor").isValidTemplate()}}),Object(l.withDispatch)(function(e){var t=e("core/editor"),n=t.setTemplateValidity;return{resetTemplateValidity:function(){return n(!0)},synchronizeTemplate:t.synchronizeTemplate}})])(function(e){var t=e.isValid,n=Object(p.a)(e,["isValid"]);return t?null:Object(wr.createElement)(Fr.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning"},Object(wr.createElement)("p",null,Object(_.__)("The content of your post doesn’t match the template assigned to your post type.")),Object(wr.createElement)("div",null,Object(wr.createElement)(Fr.Button,{isDefault:!0,onClick:n.resetTemplateValidity},Object(_.__)("Keep it as is")),Object(wr.createElement)(Fr.Button,{onClick:function(){window.confirm(Object(_.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()},isPrimary:!0},Object(_.__)("Reset the template"))))});var Sa=Object(Ir.compose)([Object(l.withSelect)(function(e){return{notices:e("core/notices").getNotices()}}),Object(l.withDispatch)(function(e){return{onRemove:e("core/notices").removeNotice}})])(function(e){return Object(wr.createElement)(Fr.NoticeList,e,Object(wr.createElement)(_a,null))});var Ea=Object(l.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(O.get)(n,["supports","page-attributes"],!1)&&Object(O.isEmpty)(t)?null:r});var Ca=Object(l.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(O.some)(Object(O.castArray)(r),function(e){return!!t.supports[e]})),o?n:null}),wa=Object(Ir.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(wr.createElement)(Fr.TextControl,{className:"editor-page-attributes__order",type:"number",label:Object(_.__)("Order"),value:c,onChange:function(e){i({orderInput:e});var n=Number(e);Number.isInteger(n)&&""!==Object(O.invoke)(e,["trim"])&&t(Number(e))},size:6,onBlur:function(){i({orderInput:null})}})});var Ta=Object(Ir.compose)([Object(l.withSelect)(function(e){return{order:e("core/editor").getEditedPostAttribute("menu_order")}}),Object(l.withDispatch)(function(e){return{onUpdateOrder:function(t){e("core/editor").editPost({menu_order:t})}}})])(function(e){return Object(wr.createElement)(Ca,{supportKeys:"page-attributes"},Object(wr.createElement)(wa,e))});function Pa(e){var t=Object(O.groupBy)(e,"parent");return function e(n){return n.map(function(n){var r=t[n.id];return Object(d.a)({},n,{children:r&&r.length?e(r):[]})})}(t[0]||[])}var Ia=Object(l.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),l=i(),u=Object(O.get)(s,["hierarchical"],!1),d={per_page:-1,exclude:l,parent_exclude:l,orderby:"menu_order",order:"asc"};return{parent:c("parent"),items:u?r("postType",a,d):[],postType:s}}),Ba=Object(l.withDispatch)(function(e){var t=e("core/editor").editPost;return{onUpdateParent:function(e){t({parent:e||0})}}}),xa=Object(Ir.compose)([Ia,Ba])(function(e){var t=e.parent,n=e.postType,r=e.items,o=e.onUpdateParent,i=Object(O.get)(n,["hierarchical"],!1),c=Object(O.get)(n,["labels","parent_item_colon"]),a=r||[];if(!i||!c||!a.length)return null;var s=Pa(a.map(function(e){return{id:e.id,parent:e.parent,name:e.title.raw?e.title.raw:"#".concat(e.id," (").concat(Object(_.__)("no title"),")")}}));return Object(wr.createElement)(Fr.TreeSelect,{label:c,noOptionLabel:"(".concat(Object(_.__)("no parent"),")"),tree:s,selectedId:t,onChange:o})});var La=Object(Ir.compose)(Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=(0,t.getEditorSettings)().availableTemplates;return{selectedTemplate:n("template"),availableTemplates:r}}),Object(l.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(O.isEmpty)(t)?null:Object(wr.createElement)(Fr.SelectControl,{label:Object(_.__)("Template:"),value:n,onChange:r,className:"editor-page-attributes__template",options:Object(O.map)(t,function(e,t){return{value:t,label:e}})})});var Aa=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{hasAssignAuthorAction:Object(O.get)(t,["_links","wp:action-assign-author"],!1),postType:e("core/editor").getCurrentPostType(),authors:e("core").getAuthors()}}),Ir.withInstanceId])(function(e){var t=e.hasAssignAuthorAction,n=e.authors,r=e.children;return!t||n.length<2?null:Object(wr.createElement)(Ca,{supportKeys:"author"},r)}),Na=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).setAuthorId=e.setAuthorId.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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(wr.createElement)(Aa,null,Object(wr.createElement)("label",{htmlFor:o},Object(_.__)("Author")),Object(wr.createElement)("select",{id:o,value:t,onChange:this.setAuthorId,className:"editor-post-author__select"},r.map(function(e){return Object(wr.createElement)("option",{key:e.id,value:e.id},e.name)})))}}]),t}(wr.Component),Ra=Object(Ir.compose)([Object(l.withSelect)(function(e){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors()}}),Object(l.withDispatch)(function(e){return{onUpdateAuthor:function(t){e("core/editor").editPost({author:t})}}}),Ir.withInstanceId])(Na);var Da=Object(Ir.compose)([Object(l.withSelect)(function(e){return{commentStatus:e("core/editor").getEditedPostAttribute("comment_status")}}),Object(l.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(function(e){var t=e.commentStatus,n=void 0===t?"open":t,r=Object(p.a)(e,["commentStatus"]);return Object(wr.createElement)(Fr.CheckboxControl,{label:Object(_.__)("Allow Comments"),checked:"open"===n,onChange:function(){return r.editPost({comment_status:"open"===n?"closed":"open"})}})});var Fa=Object(Ir.compose)([Object(l.withSelect)(function(e){return{excerpt:e("core/editor").getEditedPostAttribute("excerpt")}}),Object(l.withDispatch)(function(e){return{onUpdateExcerpt:function(t){e("core/editor").editPost({excerpt:t})}}})])(function(e){var t=e.excerpt,n=e.onUpdateExcerpt;return Object(wr.createElement)("div",{className:"editor-post-excerpt"},Object(wr.createElement)(Fr.TextareaControl,{label:Object(_.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:function(e){return n(e)},value:t}),Object(wr.createElement)(Fr.ExternalLink,{href:"https://codex.wordpress.org/Excerpt"},Object(_.__)("Learn more about manual excerpts")))});var Ma=function(e){return Object(wr.createElement)(Ca,Object(Cr.a)({},e,{supportKeys:"excerpt"}))};var Ua=Object(l.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(O.some)(Object(O.castArray)(o),function(e){var n=Object(O.get)(t,[e],!1);return"post-thumbnails"===e&&Object(O.isArray)(n)?Object(O.includes)(n,r):n})?n:null});var Va=function(e){return Object(wr.createElement)(Ua,{supportKeys:"post-thumbnails"},Object(wr.createElement)(Ca,Object(Cr.a)({},e,{supportKeys:"thumbnail"})))},Ha=["image"],Ka=Object(_.__)("Featured Image"),za=Object(_.__)("Set featured image"),Wa=Object(_.__)("Remove image");var qa=Object(l.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}}),Ga=Object(l.withDispatch)(function(e){var t=e("core/editor").editPost;return{onUpdateImage:function(e){t({featured_media:e.id})},onRemoveImage:function(){t({featured_media:0})}}}),$a=Object(Ir.compose)(qa,Ga,Object(Fr.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,u=Object(O.get)(l,["labels"],{}),d=Object(wr.createElement)("p",null,Object(_.__)("To edit the featured image, you need permission to upload media."));if(s){var p=Object(Br.applyFilters)("editor.PostFeaturedImage.imageSize","post-thumbnail",s.id,o);Object(O.has)(s,["media_details","sizes",p])?(t=s.media_details.sizes[p].width,n=s.media_details.sizes[p].height,r=s.media_details.sizes[p].source_url):(t=s.media_details.width,n=s.media_details.height,r=s.source_url)}return Object(wr.createElement)(Va,null,Object(wr.createElement)("div",{className:"editor-post-featured-image"},!!i&&Object(wr.createElement)(Go,{fallback:d},Object(wr.createElement)(zc,{title:u.featured_image||Ka,onSelect:c,allowedTypes:Ha,modalClass:"editor-post-featured-image__media-modal",render:function(e){var o=e.open;return Object(wr.createElement)(Fr.Button,{className:"editor-post-featured-image__preview",onClick:o,"aria-label":Object(_.__)("Edit or update the image")},s&&Object(wr.createElement)(Fr.ResponsiveWrapper,{naturalWidth:t,naturalHeight:n},Object(wr.createElement)("img",{src:r,alt:""})),!s&&Object(wr.createElement)(Fr.Spinner,null))},value:i})),!!i&&s&&!s.isLoading&&Object(wr.createElement)(Go,null,Object(wr.createElement)(zc,{title:u.featured_image||Ka,onSelect:c,allowedTypes:Ha,modalClass:"editor-post-featured-image__media-modal",render:function(e){var t=e.open;return Object(wr.createElement)(Fr.Button,{onClick:t,isDefault:!0,isLarge:!0},Object(_.__)("Replace image"))}})),!i&&Object(wr.createElement)("div",null,Object(wr.createElement)(Go,{fallback:d},Object(wr.createElement)(zc,{title:u.featured_image||Ka,onSelect:c,allowedTypes:Ha,modalClass:"editor-post-featured-image__media-modal",render:function(e){var t=e.open;return Object(wr.createElement)(Fr.Button,{className:"editor-post-featured-image__toggle",onClick:t},u.set_featured_image||za)}}))),!!i&&Object(wr.createElement)(Go,null,Object(wr.createElement)(Fr.Button,{onClick:a,isLink:!0,isDestructive:!0},u.remove_featured_image||Wa))))});var Ya=Object(l.withSelect)(function(e){return{disablePostFormats:e("core/editor").getEditorSettings().disablePostFormats}})(function(e){var t=e.disablePostFormats,n=Object(p.a)(e,["disablePostFormats"]);return!t&&Object(wr.createElement)(Ca,Object(Cr.a)({},n,{supportKeys:"post-formats"}))}),Qa=[{id:"aside",caption:Object(_.__)("Aside")},{id:"gallery",caption:Object(_.__)("Gallery")},{id:"link",caption:Object(_.__)("Link")},{id:"image",caption:Object(_.__)("Image")},{id:"quote",caption:Object(_.__)("Quote")},{id:"standard",caption:Object(_.__)("Standard")},{id:"status",caption:Object(_.__)("Status")},{id:"video",caption:Object(_.__)("Video")},{id:"audio",caption:Object(_.__)("Audio")},{id:"chat",caption:Object(_.__)("Chat")}];var Xa=Object(Ir.compose)([Object(l.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(O.union)([o],Object(O.get)(i,["formats"],[])),suggestedFormat:r()}}),Object(l.withDispatch)(function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}}),Ir.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=Qa.filter(function(e){return Object(O.includes)(o,e.id)}),s=Object(O.find)(a,function(e){return e.id===i});return Object(wr.createElement)(Ya,null,Object(wr.createElement)("div",{className:"editor-post-format"},Object(wr.createElement)("div",{className:"editor-post-format__content"},Object(wr.createElement)("label",{htmlFor:c},Object(_.__)("Post Format")),Object(wr.createElement)(Fr.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(wr.createElement)("div",{className:"editor-post-format__suggestion"},Object(_.__)("Suggestion:")," ",Object(wr.createElement)(Fr.Button,{isLink:!0,onClick:function(){return t(s.id)}},s.caption))))});var Za=Object(l.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(wr.createElement)(Ca,{supportKeys:"revisions"},r)});var Ja=Object(l.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(wr.createElement)(Za,null,Object(wr.createElement)(Fr.IconButton,{href:Qc("revision.php",{revision:t,gutenberg:!0}),className:"editor-post-last-revision__title",icon:"backup"},Object(_.sprintf)(Object(_._n)("%d Revision","%d Revisions",n),n)))}),es=n(99),ts=n.n(es);var ns=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).openPreviewWindow=e.openPreviewWindow.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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){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}),function(e){var t=Object(wr.renderToString)(Object(wr.createElement)("div",{className:"editor-post-preview-button__interstitial-message"},Object(wr.createElement)(Fr.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},Object(wr.createElement)(Fr.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(wr.createElement)(Fr.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(wr.createElement)("p",null,Object(_.__)("Generating preview…"))));t+='\n\t\t\n\t',e.write(t),e.close()}(this.previewWindow.document)):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(wr.createElement)(Fr.Button,{isLarge:!0,className:"editor-post-preview",href:o,target:this.getWindowTarget(),disabled:!r,onClick:this.openPreviewWindow},Object(_._x)("Preview","imperative verb"),Object(wr.createElement)("span",{className:"screen-reader-text"},Object(_.__)("(opens in a new tab)")),Object(wr.createElement)(c.DotTip,{tipId:"core/editor.preview"},Object(_.__)("Click “Preview” to load a preview of this page, so you can make sure you’re happy with your blocks.")))}}]),t}(wr.Component),rs=Object(Ir.compose)([Object(l.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,l=o.isEditedPostAutosaveable,u=o.getEditedPostPreviewLink,d=e("core").getPostType,p=u(),b=d(a("type"));return{postId:i(),currentPostLink:c("link"),previewLink:void 0!==n?n:p,isSaveable:s(),isAutosaveable:r||l(),isViewable:Object(O.get)(b,["viewable"],!1),isDraft:-1!==["draft","auto-draft"].indexOf(a("status"))}}),Object(l.withDispatch)(function(e){return{autosave:e("core/editor").autosave,savePost:e("core/editor").savePost}}),Object(Ir.ifCondition)(function(e){return e.isViewable})])(ns),os=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).sendPostLock=e.sendPostLock.bind(Object(Dr.a)(Object(Dr.a)(e))),e.receivePostLock=e.receivePostLock.bind(Object(Dr.a)(Object(Dr.a)(e))),e.releasePostLock=e.releasePostLock.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidMount",value:function(){ts()(document).on("heartbeat-send.refresh-lock",this.sendPostLock).on("heartbeat-tick.refresh-lock",this.receivePostLock)}},{key:"componentWillUnmount",value:function(){ts()(document).off("heartbeat-send.refresh-lock",this.sendPostLock).off("heartbeat-tick.refresh-lock",this.receivePostLock)}},{key:"sendPostLock",value:function(e,t){var n=this.props,r=n.isLocked,o=n.activePostLock,i=n.postId;r||(t["wp-refresh-post-lock"]={lock:o,post_id:i})}},{key:"receivePostLock",value:function(e,t){if(t["wp-refresh-post-lock"]){var n=this.props,r=n.autosave,o=n.updatePostLock,i=t["wp-refresh-post-lock"];i.lock_error?(r(),o({isLocked:!0,isTakeover:!0,user:{avatar:i.lock_error.avatar_src}})):i.new_lock&&o({isLocked:!1,activePostLock:i.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={action:"wp-remove-post-lock",_wpnonce:r.unlockNonce,post_ID:o,active_post_lock:n};ts.a.post({async:!1,url:r.ajaxUrl,data: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,l=Object(g.addQueryArgs)("post.php",{"get-post-lock":"1",lockKey:!0,post:n,action:"edit",_wpnonce:i.nonce}),u=Qc("edit.php",{post_type:Object(O.get)(c,["slug"])}),d=Object(O.get)(c,["labels","all_items"]);return Object(wr.createElement)(Fr.Modal,{title:o?Object(_.__)("Someone else has taken over this post."):Object(_.__)("This post is already being edited."),focusOnMount:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissable:!1,className:"editor-post-locked-modal"},!!s&&Object(wr.createElement)("img",{src:s,alt:Object(_.__)("Avatar"),className:"editor-post-locked-modal__avatar"}),!!o&&Object(wr.createElement)("div",null,Object(wr.createElement)("div",null,a?Object(_.sprintf)(Object(_.__)("%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved."),a):Object(_.__)("Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.")),Object(wr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(wr.createElement)(Fr.Button,{isPrimary:!0,isLarge:!0,href:u},d))),!o&&Object(wr.createElement)("div",null,Object(wr.createElement)("div",null,a?Object(_.sprintf)(Object(_.__)("%s is currently working on this post, which means you cannot make changes, unless you take over."),a):Object(_.__)("Another user is currently working on this post, which means you cannot make changes, unless you take over.")),Object(wr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(wr.createElement)(Fr.Button,{isDefault:!0,isLarge:!0,href:u},d),Object(wr.createElement)(rs,null),Object(wr.createElement)(Fr.Button,{isPrimary:!0,isLarge:!0,href:l},Object(_.__)("Take Over")))))}}]),t}(wr.Component),is=Object(Ir.compose)(Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getEditorSettings,r=t.isPostLocked,o=t.isPostLockTakeover,i=t.getPostLockUser,c=t.getCurrentPostId,a=t.getActivePostLock,s=t.getEditedPostAttribute,l=e("core").getPostType;return{isLocked:r(),isTakeover:o(),user:i(),postId:c(),postLockUtils:n().postLockUtils,activePostLock:a(),postType:l(s("type"))}}),Object(l.withDispatch)(function(e){var t=e("core/editor");return{autosave:t.autosave,updatePostLock:t.updatePostLock}}),Object(Ir.withGlobalEvents)({beforeunload:"releasePostLock"}))(os);var cs=Object(Ir.compose)(Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.isCurrentPostPublished,r=t.getCurrentPostType,o=t.getCurrentPost;return{hasPublishAction:Object(O.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 as=Object(Ir.compose)(Object(l.withSelect)(function(e){return{status:e("core/editor").getEditedPostAttribute("status")}}),Object(l.withDispatch)(function(e){return{onUpdateStatus:function(t){e("core/editor").editPost({status:t})}}}))(function(e){var t=e.status,n=e.onUpdateStatus;return Object(wr.createElement)(cs,null,Object(wr.createElement)(Fr.CheckboxControl,{label:Object(_.__)("Pending Review"),checked:"pending"===t,onChange:function(){n("pending"===t?"draft":"pending")}}))});var ss=Object(Ir.compose)([Object(l.withSelect)(function(e){return{pingStatus:e("core/editor").getEditedPostAttribute("ping_status")}}),Object(l.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(function(e){var t=e.pingStatus,n=void 0===t?"open":t,r=Object(p.a)(e,["pingStatus"]);return Object(wr.createElement)(Fr.CheckboxControl,{label:Object(_.__)("Allow Pingbacks & Trackbacks"),checked:"open"===n,onChange:function(){return r.editPost({ping_status:"open"===n?"closed":"open"})}})});var ls=Object(Ir.compose)([Object(l.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,l=r.getCurrentPostType,u=r.isAutosavingPost;return{isPublished:o(),isBeingScheduled:i(),isSaving:n||c(),isPublishing:a(),hasPublishAction:Object(O.get)(s(),["_links","wp:action-publish"],!1),postType:l(),isAutosaving:u()}})])(function(e){var t=e.isPublished,n=e.isBeingScheduled,r=e.isSaving,o=e.isPublishing,i=e.hasPublishAction,c=e.isAutosaving;return o?Object(_.__)("Publishing…"):t&&r&&!c?Object(_.__)("Updating…"):n&&r&&!c?Object(_.__)("Scheduling…"):i?t?Object(_.__)("Update"):n?Object(_.__)("Schedule"):Object(_.__)("Publish"):Object(_.__)("Submit for Review")}),us=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).call(this,e))).buttonNode=Object(wr.createRef)(),n}return Object(Rr.a)(t,e),Object(Lr.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,a=t.isOpen,s=t.isPostSavingLocked,l=t.isPublishable,u=t.isPublished,d=t.isSaveable,p=t.isSaving,b=t.isToggle,f=t.onSave,h=t.onStatusChange,m=t.onSubmit,v=void 0===m?O.noop:m,g=t.onToggle,j=t.visibility;e=o?i?"future":"private"===j?"private":"publish":"pending";var y={"aria-disabled":p||r||!d||s||!l&&!n,className:"editor-post-publish-button",isBusy:p&&u,isLarge:!0,isPrimary:!0,onClick:function(){v(),h(e),f()}},k={"aria-disabled":u||p||r||!d||!l&&!n,"aria-expanded":a,className:"editor-post-publish-panel__toggle",isBusy:p&&u,isPrimary:!0,onClick:g},S=i?Object(_.__)("Schedule…"):Object(_.__)("Publish…"),E=Object(wr.createElement)(ls,{forceIsSaving:r}),C=b?k:y,w=b?S:E;return Object(wr.createElement)(Fr.Button,Object(Cr.a)({ref:this.buttonNode},C),w,Object(wr.createElement)(c.DotTip,{tipId:"core/editor.publish"},Object(_.__)("Finished writing? That’s great, let’s get this published right now. Just click “Publish” and you’re good to go.")))}}]),t}(wr.Component),ds=Object(Ir.compose)([Object(l.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,l=t.getCurrentPost,u=t.getCurrentPostType;return{isSaving:n(),isBeingScheduled:r(),visibility:o(),isSaveable:c(),isPostSavingLocked:s(),isPublishable:a(),isPublished:i(),hasPublishAction:Object(O.get)(l(),["_links","wp:action-publish"],!1),postType:u()}}),Object(l.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost;return{onStatusChange:function(e){return n({status:e})},onSave:t.savePost}})])(us),ps=[{value:"public",label:Object(_.__)("Public"),info:Object(_.__)("Visible to everyone.")},{value:"private",label:Object(_.__)("Private"),info:Object(_.__)("Only visible to site admins and editors.")},{value:"password",label:Object(_.__)("Password Protected"),info:Object(_.__)("Protected with a password you choose. Only those with the password can view this post.")}],bs=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).setPublic=n.setPublic.bind(Object(Dr.a)(Object(Dr.a)(n))),n.setPrivate=n.setPrivate.bind(Object(Dr.a)(Object(Dr.a)(n))),n.setPasswordProtected=n.setPasswordProtected.bind(Object(Dr.a)(Object(Dr.a)(n))),n.updatePassword=n.updatePassword.bind(Object(Dr.a)(Object(Dr.a)(n))),n.state={hasPassword:!!e.password},n}return Object(Rr.a)(t,e),Object(Lr.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(_.__)("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,o=e.password;n("private"===t?"draft":r,o||""),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(wr.createElement)("fieldset",{key:"visibility-selector",className:"editor-post-visibility__dialog-fieldset"},Object(wr.createElement)("legend",{className:"editor-post-visibility__dialog-legend"},Object(_.__)("Post Visibility")),ps.map(function(e){var t=e.value,n=e.label,i=e.info;return Object(wr.createElement)("div",{key:t,className:"editor-post-visibility__choice"},Object(wr.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(wr.createElement)("label",{htmlFor:"editor-post-".concat(t,"-").concat(r),className:"editor-post-visibility__dialog-label"},n),Object(wr.createElement)("p",{id:"editor-post-".concat(t,"-").concat(r,"-description"),className:"editor-post-visibility__dialog-info"},i))})),this.state.hasPassword&&Object(wr.createElement)("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},Object(wr.createElement)("label",{htmlFor:"editor-post-visibility__dialog-password-input-".concat(r),className:"screen-reader-text"},Object(_.__)("Create password")),Object(wr.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(_.__)("Use a secure password")}))]}}]),t}(wr.Component),fs=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditedPostVisibility;return{status:n("status"),visibility:r(),password:n("password")}}),Object(l.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]:null;r({status:e,password:t})}}}),Ir.withInstanceId])(bs);var hs=Object(l.withSelect)(function(e){return{visibility:e("core/editor").getEditedPostVisibility()}})(function(e){var t=e.visibility;return Object(O.find)(ps,{value:t}).label});var ms=Object(Ir.compose)([Object(l.withSelect)(function(e){return{date:e("core/editor").getEditedPostAttribute("date")}}),Object(l.withDispatch)(function(e){return{onUpdateDate:function(t){e("core/editor").editPost({date:t})}}})])(function(e){var t=e.date,n=e.onUpdateDate,r=Object(Qe.__experimentalGetSettings)(),o=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return Object(wr.createElement)(Fr.DateTimePicker,{key:"date-time-picker",currentDate:t,onChange:n,is12Hour:o})});var vs=Object(l.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(Qe.__experimentalGetSettings)();return t&&!n?Object(Qe.dateI18n)(r.formats.datetimeAbbreviated,t):Object(_.__)("Immediately")}),Os={per_page:-1,orderby:"count",order:"desc",_fields:"id,name"},gs=function(e,t){return e.toLowerCase()===t.toLowerCase()},js=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(Dr.a)(Object(Dr.a)(e))),e.searchTerms=Object(O.throttle)(e.searchTerms.bind(Object(Dr.a)(Object(Dr.a)(e))),500),e.findOrCreateTerm=e.findOrCreateTerm.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={loading:!1,availableTerms:[],selectedTerms:[]},e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidMount",value:function(){var e=this;Object(O.isEmpty)(this.props.terms)||(this.setState({loading:!1}),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(O.invoke)(this.initRequest,["abort"]),Object(O.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(d.a)({},Os,t),o=br()({path:Object(g.addQueryArgs)("/wp/v2/".concat(n.rest_base),r)});return o.then(function(t){e.setState(function(e){return{availableTerms:e.availableTerms.concat(t.filter(function(t){return!Object(O.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(O.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;return br()({path:"/wp/v2/".concat(n.rest_base),method:"POST",data:{name:e}}).catch(function(r){return"term_exists"===r.code?(t.addRequest=br()({path:Object(g.addQueryArgs)("/wp/v2/".concat(n.rest_base),Object(d.a)({},Os,{search:e}))}),t.addRequest.then(function(t){return Object(O.find)(t,function(t){return gs(t.name,e)})})):Promise.reject(r)})}},{key:"onChange",value:function(e){var t=this,n=Object(O.uniqBy)(e,function(e){return e.toLowerCase()});this.setState({selectedTerms:n});var r=n.filter(function(e){return!Object(O.find)(t.state.availableTerms,function(t){return gs(t.name,e)})}),o=function(e,t){return e.map(function(e){return Object(O.find)(t,function(t){return gs(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(O.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(O.get)(n,["labels","add_new_item"],"post_tag"===t?Object(_.__)("Add New Tag"):Object(_.__)("Add New Term")),l=Object(O.get)(n,["labels","singular_name"],"post_tag"===t?Object(_.__)("Tag"):Object(_.__)("Term")),u=Object(_.sprintf)(Object(_._x)("%s added","term"),l),d=Object(_.sprintf)(Object(_._x)("%s removed","term"),l),p=Object(_.sprintf)(Object(_._x)("Remove %s","term"),l);return Object(wr.createElement)(Fr.FormTokenField,{value:c,displayTransform:O.unescape,suggestions:a,onChange:this.onChange,onInputChange:this.searchTerms,maxSuggestions:20,disabled:o,label:s,messages:{added:u,removed:d,remove:p}})}}]),t}(wr.Component),ys=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(O.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(O.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}}),Object(l.withDispatch)(function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(f.a)({},n,t))}}}),Object(Fr.withFilters)("editor.PostTaxonomyType"))(js),ks=function(){var e=[Object(_.__)("Suggestion:"),Object(wr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(_.__)("Add tags"))];return Object(wr.createElement)(Fr.PanelBody,{initialOpen:!1,title:e},Object(wr.createElement)("p",null,Object(_.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),Object(wr.createElement)(ys,{slug:"post_tag"}))},_s=function(e){function t(e){var n;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).call(this,e))).state={hadTagsWhenOpeningThePanel:e.hasTags},n}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"render",value:function(){return this.state.hadTagsWhenOpeningThePanel?null:Object(wr.createElement)(ks,null)}}]),t}(wr.Component),Ss=Object(Ir.compose)(Object(l.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(O.some)(n.types,function(e){return e===t}),hasTags:r&&r.length}}),Object(Ir.ifCondition)(function(e){var t=e.areTagsFetched;return e.isPostTypeSupported&&t}))(_s),Es=function(e){var t=e.suggestedPostFormat,n=e.suggestionText,r=e.onUpdatePostFormat;return Object(wr.createElement)(Fr.Button,{isLink:!0,onClick:function(){return r(t)}},n)},Cs=Object(Ir.compose)(Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getSuggestedPostFormat,o=Object(O.get)(e("core").getThemeSupports(),["formats"],[]);return{currentPostFormat:n("format"),suggestion:function(e,t){var n=Qa.filter(function(t){return Object(O.includes)(e,t.id)});return Object(O.find)(n,function(e){return e.id===t})}(o,r())}}),Object(l.withDispatch)(function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}}),Object(Ir.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(_.__)("Suggestion:"),Object(wr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(_.__)("Use a post format"))];return Object(wr.createElement)(Fr.PanelBody,{initialOpen:!1,title:r},Object(wr.createElement)("p",null,Object(_.__)("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(wr.createElement)("p",null,Object(wr.createElement)(Es,{onUpdatePostFormat:n,suggestedPostFormat:t.id,suggestionText:Object(_.sprintf)(Object(_.__)('Apply the "%1$s" format.'),t.caption)})))});var ws=Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.isEditedPostBeingScheduled;return{hasPublishAction:Object(O.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(_.__)("Are you ready to schedule?"),n=Object(_.__)("Your work will be published at the specified date and time.")):(t=Object(_.__)("Are you ready to publish?"),n=Object(_.__)("Double-check your settings before publishing.")):(t=Object(_.__)("Are you ready to submit for review?"),n=Object(_.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),Object(wr.createElement)("div",{className:"editor-post-publish-panel__prepublish"},Object(wr.createElement)("div",null,Object(wr.createElement)("strong",null,t)),Object(wr.createElement)("p",null,n),r&&Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Fr.PanelBody,{initialOpen:!1,title:[Object(_.__)("Visibility:"),Object(wr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(wr.createElement)(hs,null))]},Object(wr.createElement)(fs,null)),Object(wr.createElement)(Fr.PanelBody,{initialOpen:!1,title:[Object(_.__)("Publish:"),Object(wr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(wr.createElement)(vs,null))]},Object(wr.createElement)(ms,null)),Object(wr.createElement)(Cs,null),Object(wr.createElement)(Ss,null),i))}),Ts=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={showCopyConfirmation:!1},e.onCopy=e.onCopy.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onSelectInput=e.onSelectInput.bind(Object(Dr.a)(Object(Dr.a)(e))),e.postLink=Object(wr.createRef)(),e}return Object(Rr.a)(t,e),Object(Lr.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(O.get)(o,["labels","singular_name"]),c=Object(O.get)(o,["labels","view_item"]),a=n?Object(wr.createElement)(wr.Fragment,null,Object(_.__)("is now scheduled. It will go live on")," ",Object(wr.createElement)(vs,null),"."):Object(_.__)("is now live.");return Object(wr.createElement)("div",{className:"post-publish-panel__postpublish"},Object(wr.createElement)(Fr.PanelBody,{className:"post-publish-panel__postpublish-header"},Object(wr.createElement)("a",{ref:this.postLink,href:r.link},r.title||Object(_.__)("(no title)"))," ",a),Object(wr.createElement)(Fr.PanelBody,null,Object(wr.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},Object(wr.createElement)("strong",null,Object(_.__)("What’s next?"))),Object(wr.createElement)(Fr.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:Object(_.sprintf)(Object(_.__)("%s address"),i),value:r.link,onFocus:this.onSelectInput}),Object(wr.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!n&&Object(wr.createElement)(Fr.Button,{isDefault:!0,href:r.link},c),Object(wr.createElement)(Fr.ClipboardButton,{isDefault:!0,text:r.link,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(_.__)("Copied!"):Object(_.__)("Copy Link")))),t)}}]),t}(wr.Component),Ps=Object(l.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()}})(Ts),Is=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onSubmit=e.onSubmit.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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,l=e.onTogglePublishSidebar,u=e.PostPublishExtension,d=e.PrePublishExtension,b=Object(p.a)(e,["forceIsDirty","forceIsSaving","isBeingScheduled","isPublished","isPublishSidebarEnabled","isScheduled","isSaving","onClose","onTogglePublishSidebar","PostPublishExtension","PrePublishExtension"]),f=Object(O.omit)(b,["hasPublishAction","isDirty","isPostTypeViewable"]),h=o||c&&r,m=!h&&!a,v=h&&!a;return Object(wr.createElement)("div",Object(Cr.a)({className:"editor-post-publish-panel"},f),Object(wr.createElement)("div",{className:"editor-post-publish-panel__header"},v?Object(wr.createElement)("div",{className:"editor-post-publish-panel__header-published"},c?Object(_.__)("Scheduled"):Object(_.__)("Published")):Object(wr.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},Object(wr.createElement)(ds,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:t,forceIsSaving:n}),Object(wr.createElement)("span",{className:"editor-post-publish-panel__spacer"})),Object(wr.createElement)(Fr.IconButton,{"aria-expanded":!0,onClick:s,icon:"no-alt",label:Object(_.__)("Close panel")})),Object(wr.createElement)("div",{className:"editor-post-publish-panel__content"},m&&Object(wr.createElement)(ws,null,d&&Object(wr.createElement)(d,null)),v&&Object(wr.createElement)(Ps,{focusOnMount:!0},u&&Object(wr.createElement)(u,null)),a&&Object(wr.createElement)(Fr.Spinner,null)),Object(wr.createElement)("div",{className:"editor-post-publish-panel__footer"},Object(wr.createElement)(Fr.CheckboxControl,{label:Object(_.__)("Always show pre-publish checks."),checked:i,onChange:l})))}}]),t}(wr.Component),Bs=Object(Ir.compose)([Object(l.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,l=n.isSavingPost,u=e("core/editor").isPublishSidebarEnabled,d=t(o("type"));return{hasPublishAction:Object(O.get)(r(),["_links","wp:action-publish"],!1),isPostTypeViewable:Object(O.get)(d,["viewable"],!1),isBeingScheduled:a(),isDirty:s(),isPublished:i(),isPublishSidebarEnabled:u(),isSaving:l(),isScheduled:c()}}),Object(l.withDispatch)(function(e,t){var n=t.isPublishSidebarEnabled,r=e("core/editor"),o=r.disablePublishSidebar,i=r.enablePublishSidebar;return{onTogglePublishSidebar:function(){n?o():i()}}}),Fr.withFocusReturn,Fr.withConstrainedTabbing])(Is);var xs=Object(Ir.compose)([Object(l.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(l.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost,r=t.savePost;return{onClick:function(){n({status:"draft"}),r()}}})])(function(e){var t=e.isSaving,n=e.isPublished,r=e.isScheduled,o=e.onClick;return n||r?Object(wr.createElement)(Fr.Button,{className:"editor-post-switch-to-draft",onClick:function(){var e;n?e=Object(_.__)("Are you sure you want to unpublish this post?"):r&&(e=Object(_.__)("Are you sure you want to unschedule this post?")),window.confirm(e)&&o()},disabled:t,isTertiary:!0},Object(_.__)("Switch to Draft")):null}),Ls=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={forceSavedMessage:!1},e}return Object(Rr.a)(t,e),Object(Lr.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,l=e.isAutosaving,u=e.isPending,d=e.isLargeViewport,p=this.state.forceSavedMessage,b=Object(O.get)(t,["_links","wp:action-publish"],!1);if(c){var f=Pr()("editor-post-saved-state","is-saving",{"is-autosaving":l});return Object(wr.createElement)("span",{className:f},Object(wr.createElement)(Fr.Dashicon,{icon:"cloud"}),l?Object(_.__)("Autosaving"):Object(_.__)("Saving"))}if(o||r)return Object(wr.createElement)(xs,null);if(!a)return null;if(p||!n&&!i)return Object(wr.createElement)("span",{className:"editor-post-saved-state is-saved"},Object(wr.createElement)(Fr.Dashicon,{icon:"saved"}),Object(_.__)("Saved"));if(!b&&u)return null;var h=u?Object(_.__)("Save as Pending"):Object(_.__)("Save Draft");return d?Object(wr.createElement)(Fr.Button,{className:"editor-post-save-draft",onClick:s,shortcut:vo.displayShortcut.primary("s"),isTertiary:!0},h):Object(wr.createElement)(Fr.IconButton,{className:"editor-post-save-draft",label:h,onClick:s,shortcut:vo.displayShortcut.primary("s"),icon:"cloud-upload"})}}]),t}(wr.Component),As=Object(Ir.compose)([Object(l.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,l=o.isSavingPost,u=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||l(),isSaveable:u(),isAutosaving:p(),isPending:"pending"===b("status")}}),Object(l.withDispatch)(function(e){return{onSave:e("core/editor").savePost}}),Ir.withSafeTimeout,Object(s.withViewportMatch)({isLargeViewport:"medium"})])(Ls);var Ns=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(O.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(e){var t=e.hasPublishAction,n=e.children;return t?n:null});var Rs=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{hasStickyAction:Object(O.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 Ds=Object(Ir.compose)([Object(l.withSelect)(function(e){return{postSticky:e("core/editor").getEditedPostAttribute("sticky")}}),Object(l.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(wr.createElement)(Rs,null,Object(wr.createElement)(Fr.CheckboxControl,{label:Object(_.__)("Stick to the Front Page"),checked:r,onChange:function(){return t(!r)}}))}),Fs={per_page:-1,orderby:"name",order:"asc",_fields:"id,name,parent"},Ms=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).findTerm=e.findTerm.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onChange=e.onChange.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onChangeFormName=e.onChangeFormName.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onChangeFormParent=e.onChangeFormParent.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onAddTerm=e.onAddTerm.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onToggleForm=e.onToggleForm.bind(Object(Dr.a)(Object(Dr.a)(e))),e.setFilterValue=e.setFilterValue.bind(Object(Dr.a)(Object(Dr.a)(e))),e.sortBySelected=e.sortBySelected.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={loading:!0,availableTermsTree:[],availableTerms:[],adding:!1,formName:"",formParent:"",showForm:!1,filterValue:"",filteredTermsTree:[]},e}return Object(Rr.a)(t,e),Object(Lr.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(O.without)(o,c):Object(b.a)(o).concat([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(O.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,l=a.formParent,u=a.adding,p=a.availableTerms;if(""!==s&&!u){var f=this.findTerm(p,l,s);if(f)return Object(O.some)(i,function(e){return e===f.id})||r(Object(b.a)(i).concat([f.id]),o.rest_base),void this.setState({formName:"",formParent:""});this.setState({adding:!0}),this.addRequest=br()({path:"/wp/v2/".concat(o.rest_base),method:"POST",data:{name:s,parent:l||void 0}}),this.addRequest.catch(function(e){return"term_exists"===e.code?(t.addRequest=br()({path:Object(g.addQueryArgs)("/wp/v2/".concat(o.rest_base),Object(d.a)({},Fs,{parent:l||0,search:s}))}),t.addRequest.then(function(e){return t.findTerm(e,l,s)})):Promise.reject(e)}).then(function(e){var n=!!Object(O.find)(t.state.availableTerms,function(t){return t.id===e.id})?t.state.availableTerms:[e].concat(Object(b.a)(t.state.availableTerms)),a=Object(_.sprintf)(Object(_._x)("%s added","term"),Object(O.get)(t.props.taxonomy,["labels","singular_name"],"category"===c?Object(_.__)("Category"):Object(_.__)("Term")));t.props.speak(a,"assertive"),t.addRequest=null,t.setState({adding:!1,formName:"",formParent:"",availableTerms:n,availableTermsTree:t.sortBySelected(Pa(n))}),r(Object(b.a)(i).concat([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(O.invoke)(this.fetchRequest,["abort"]),Object(O.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=br()({path:Object(g.addQueryArgs)("/wp/v2/".concat(t.rest_base),Fs)}),this.fetchRequest.then(function(t){var n=e.sortBySelected(Pa(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)||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(wr.createElement)("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},Object(wr.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(wr.createElement)("label",{htmlFor:n},Object(O.unescape)(e.name)),!!e.children.length&&Object(wr.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,l=i.formName,u=i.formParent,d=i.loading,p=i.showForm,b=i.filterValue,f=function(e,r,o){return Object(O.get)(n,["labels",e],"category"===t?r:o)},h=f("add_new_item",Object(_.__)("Add new category"),Object(_.__)("Add new term")),m=f("new_item_name",Object(_.__)("Add new category"),Object(_.__)("Add new term")),v=f("parent_item",Object(_.__)("Parent Category"),Object(_.__)("Parent Term")),g="— ".concat(v," —"),j=h,y="editor-post-taxonomies__hierarchical-terms-input-".concat(r),k="editor-post-taxonomies__hierarchical-terms-filter-".concat(r),S=Object(_.sprintf)(Object(_._x)("Search %s","term"),Object(O.get)(this.props.taxonomy,["name"],"category"===t?Object(_.__)("Categories"):Object(_.__)("Terms"))),E=Object(_.sprintf)(Object(_._x)("Available %s","term"),Object(O.get)(this.props.taxonomy,["name"],"category"===t?Object(_.__)("Categories"):Object(_.__)("Terms"))),C=a.length>=8;return[C&&Object(wr.createElement)("label",{key:"filter-label",htmlFor:k},S),C&&Object(wr.createElement)("input",{type:"search",id:k,value:b,onChange:this.setFilterValue,className:"editor-post-taxonomies__hierarchical-terms-filter",key:"term-filter-input"}),Object(wr.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(wr.createElement)(Fr.Button,{key:"term-add-button",onClick:this.onToggleForm,className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":p,isLink:!0},h),p&&Object(wr.createElement)("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},Object(wr.createElement)("label",{htmlFor:y,className:"editor-post-taxonomies__hierarchical-terms-label"},m),Object(wr.createElement)("input",{type:"text",id:y,className:"editor-post-taxonomies__hierarchical-terms-input",value:l,onChange:this.onChangeFormName,required:!0}),!!a.length&&Object(wr.createElement)(Fr.TreeSelect,{label:v,noOptionLabel:g,onChange:this.onChangeFormParent,selectedId:u,tree:c}),Object(wr.createElement)(Fr.Button,{isDefault:!0,type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},j))]}}]),t}(wr.Component),Us=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(O.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(O.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}}),Object(l.withDispatch)(function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(f.a)({},n,t))}}}),Fr.withSpokenMessages,Ir.withInstanceId,Object(Fr.withFilters)("editor.PostTaxonomyType")])(Ms);var Vs=Object(Ir.compose)([Object(l.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?O.identity:r,i=Object(O.filter)(n,function(e){return Object(O.includes)(e.types,t)});return Object(O.filter)(i,function(e){return e.visibility.show_ui}).map(function(e){var t=e.hierarchical?Us:ys;return Object(wr.createElement)(wr.Fragment,{key:"taxonomy-".concat(e.slug)},o(Object(wr.createElement)(t,{slug:e.slug}),e))})});var Hs=Object(Ir.compose)([Object(l.withSelect)(function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies()}})])(function(e){var t=e.postType,n=e.taxonomies,r=e.children;return Object(O.some)(n,function(e){return Object(O.includes)(e.types,t)})?r:null}),Ks=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).edit=e.edit.bind(Object(Dr.a)(Object(Dr.a)(e))),e.stopEditing=e.stopEditing.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={},e}return Object(Rr.a)(t,e),Object(Lr.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(wr.createElement)(wr.Fragment,null,Object(wr.createElement)("label",{htmlFor:"post-content-".concat(t),className:"screen-reader-text"},Object(_.__)("Type text or HTML")),Object(wr.createElement)(ai.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(_.__)("Start writing with text or HTML")}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return t.isDirty?null:{value:e.value,isDirty:!1}}}]),t}(wr.Component),zs=Object(Ir.compose)([Object(l.withSelect)(function(e){return{value:(0,e("core/editor").getEditedPostContent)()}}),Object(l.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost,r=t.resetBlocks;return{onChange:function(e){n({content:e})},onPersist:function(e){r(Object(i.parse)(e))}}}),Ir.withInstanceId])(Ks),Ws=function(e){function t(e){var n,r=e.permalinkParts,o=e.slug;return Object(xr.a)(this,t),(n=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={editedPostName:o||r.postName},n.onSavePermalink=n.onSavePermalink.bind(Object(Dr.a)(Object(Dr.a)(n))),n}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"onSavePermalink",value:function(e){var t=Xc(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(wr.createElement)("form",{className:"editor-post-permalink-editor",onSubmit:this.onSavePermalink},Object(wr.createElement)("span",{className:"editor-post-permalink__editor-container"},Object(wr.createElement)("span",{className:"editor-post-permalink-editor__prefix"},n),Object(wr.createElement)("input",{className:"editor-post-permalink-editor__edit","aria-label":Object(_.__)("Edit post permalink"),value:o,onChange:function(t){return e.setState({editedPostName:t.target.value})},type:"text",autoFocus:!0}),Object(wr.createElement)("span",{className:"editor-post-permalink-editor__suffix"},r),""),Object(wr.createElement)(Fr.Button,{className:"editor-post-permalink-editor__save",isLarge:!0,onClick:this.onSavePermalink},Object(_.__)("Save")))}}]),t}(wr.Component),qs=Object(Ir.compose)([Object(l.withSelect)(function(e){return{permalinkParts:(0,e("core/editor").getPermalinkParts)()}}),Object(l.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(Ws),Gs=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).addVisibilityCheck=e.addVisibilityCheck.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onVisibilityChange=e.onVisibilityChange.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={isCopied:!1,isEditingPermalink:!1},e}return Object(Rr.a)(t,e),Object(Lr.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.isNew,r=t.postLink,o=t.permalinkParts,i=t.postSlug,c=t.postTitle,a=t.postID,s=t.isEditable,l=t.isPublished;if(n||!r)return null;var u=this.state,d=u.isCopied,p=u.isEditingPermalink,b=d?Object(_.__)("Permalink copied"):Object(_.__)("Copy the permalink"),f=o.prefix,h=o.suffix,m=i||Xc(c)||a,v=s?f+m+h:f;return Object(wr.createElement)("div",{className:"editor-post-permalink"},Object(wr.createElement)(Fr.ClipboardButton,{className:Pr()("editor-post-permalink__copy",{"is-copied":d}),text:v,label:b,onCopy:function(){return e.setState({isCopied:!0})},"aria-disabled":d,icon:"admin-links"}),Object(wr.createElement)("span",{className:"editor-post-permalink__label"},Object(_.__)("Permalink:")),!p&&Object(wr.createElement)(Fr.ExternalLink,{className:"editor-post-permalink__link",href:l?v:r,target:"_blank",ref:function(t){return e.linkElement=t}},Object(g.safeDecodeURI)(v),""),p&&Object(wr.createElement)(qs,{slug:m,onSave:function(){return e.setState({isEditingPermalink:!1})}}),s&&!p&&Object(wr.createElement)(Fr.Button,{className:"editor-post-permalink__edit",isLarge:!0,onClick:function(){return e.setState({isEditingPermalink:!0})}},Object(_.__)("Edit")),!s&&Object(wr.createElement)(Fr.Button,{className:"editor-post-permalink__change",isLarge:!0,href:Qc("options-permalink.php"),onClick:this.addVisibilityCheck,target:"_blank"},Object(_.__)("Change Permalinks")))}}]),t}(wr.Component),$s=Object(Ir.compose)([Object(l.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=o(),l=s.id,u=s.link;return{isNew:n(),postLink:u,permalinkParts:i(),postSlug:c("slug"),isEditable:r(),isPublished:a(),postTitle:c("title"),postID:l}}),Object(l.withDispatch)(function(e){return{refreshPost:e("core/editor").refreshPost}})])(Gs),Ys=/[\r\n]+/g,Qs=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onSelect=e.onSelect.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onUnselect=e.onUnselect.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(Dr.a)(Object(Dr.a)(e))),e.redirectHistory=e.redirectHistory.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={isSelected:!1},e}return Object(Rr.a)(t,e),Object(Lr.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(Ys," ");this.props.onUpdate(t)}},{key:"onKeyDown",value:function(e){e.keyCode===vo.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,l=Pr()("wp-block editor-post-title__block",{"is-selected":s,"is-focus-mode":r,"has-fixed-toolbar":t}),u=Object($i.decodeEntities)(c);return Object(wr.createElement)(Ca,{supportKeys:"title"},Object(wr.createElement)("div",{className:"editor-post-title"},Object(wr.createElement)("div",{className:l},Object(wr.createElement)(Fr.KeyboardShortcuts,{shortcuts:{"mod+z":this.redirectHistory,"mod+shift+z":this.redirectHistory}},Object(wr.createElement)("label",{htmlFor:"post-title-".concat(i),className:"screen-reader-text"},u||Object(_.__)("Add title")),Object(wr.createElement)(ai.a,{id:"post-title-".concat(i),className:"editor-post-title__input",value:a,onChange:this.onChange,placeholder:u||Object(_.__)("Add title"),onFocus:this.onSelect,onKeyDown:this.onKeyDown,onKeyPress:this.onUnselect,autoFocus:n})),s&&o&&Object(wr.createElement)($s,null))))}}]),t}(wr.Component),Xs=Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditorSettings,o=t.isCleanNewPost,i=(0,e("core").getPostType)(n("type")),c=r(),a=c.titlePlaceholder,s=c.focusMode,l=c.hasFixedToolbar;return{isCleanNewPost:o(),title:n("title"),isPostTypeViewable:Object(O.get)(i,["viewable"],!1),placeholder:a,isFocusMode:s,hasFixedToolbar:l}}),Zs=Object(l.withDispatch)(function(e){var t=e("core/editor"),n=t.insertDefaultBlock,r=t.editPost,o=t.clearSelectedBlock;return{onEnterPress:function(){n(void 0,void 0,0)},onUpdate:function(e){r({title:e})},onUndo:t.undo,onRedo:t.redo,clearSelectedBlock:o}}),Js=Object(Ir.compose)(Xs,Zs,Ir.withInstanceId,Fr.withFocusOutside)(Qs);var el=Object(Ir.compose)([Object(l.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(l.withDispatch)(function(e){return{trashPost:e("core/editor").trashPost}})])(function(e){var t=e.isNew,n=e.postId,r=e.postType,o=Object(p.a)(e,["isNew","postId","postType"]);return t||!n?null:Object(wr.createElement)(Fr.Button,{className:"editor-post-trash button-link-delete",onClick:function(){return o.trashPost(n,r)},isDefault:!0,isLarge:!0},Object(_.__)("Move to trash"))});var tl=Object(l.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 nl=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(O.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(e){var t=e.hasPublishAction;return(0,e.render)({canEdit:t})}),rl=n(97);var ol=Object(l.withSelect)(function(e){return{content:e("core/editor").getEditedPostAttribute("content")}})(function(e){var t=e.content;return Object(wr.createElement)("span",{className:"word-count"},Object(rl.count)(t,"words"))});var il=Object(l.withSelect)(function(e){var t=e("core/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;return Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)("div",{className:"table-of-contents__counts",role:"note","aria-label":Object(_.__)("Document Statistics"),tabIndex:"0"},Object(wr.createElement)("div",{className:"table-of-contents__count"},Object(_.__)("Words"),Object(wr.createElement)(ol,null)),Object(wr.createElement)("div",{className:"table-of-contents__count"},Object(_.__)("Headings"),Object(wr.createElement)("span",{className:"table-of-contents__number"},t)),Object(wr.createElement)("div",{className:"table-of-contents__count"},Object(_.__)("Paragraphs"),Object(wr.createElement)("span",{className:"table-of-contents__number"},n)),Object(wr.createElement)("div",{className:"table-of-contents__count"},Object(_.__)("Blocks"),Object(wr.createElement)("span",{className:"table-of-contents__number"},r))),t>0&&Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)("hr",null),Object(wr.createElement)("span",{className:"table-of-contents__title"},Object(_.__)("Document Outline")),Object(wr.createElement)(fa,null)))});var cl=Object(l.withSelect)(function(e){return{hasBlocks:!!e("core/editor").getBlockCount()}})(function(e){var t=e.hasBlocks;return Object(wr.createElement)(Fr.Dropdown,{position:"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(wr.createElement)(Fr.IconButton,{onClick:r,icon:"info-outline","aria-expanded":n,label:Object(_.__)("Content structure"),labelPosition:"bottom",disabled:!t})},renderContent:function(){return Object(wr.createElement)(il,null)}})}),al=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).warnIfUnsavedChanges=e.warnIfUnsavedChanges.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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(_.__)("You have unsaved changes. If you proceed, they will be lost."),e.returnValue}},{key:"render",value:function(){return null}}]),t}(wr.Component),sl=Object(l.withSelect)(function(e){return{isDirty:e("core/editor").isEditedPostDirty()}})(al),ll=Object(l.withSelect)(function(e){return{selectedBlockClientId:e("core/editor").getBlockSelectionStart()}})(function(e){var t=e.selectedBlockClientId;return t&&Object(wr.createElement)(Fr.Button,{isDefault:!0,type:"button",className:"editor-skip-to-selected-block",onClick:function(){(function(e){return Ki(e).closest(".editor-block-list__block")})(t).focus()}},Object(_.__)("Skip to the selected block"))}),ul=n(124),dl=n.n(ul);function pl(e,t,n){var r=new dl.a(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var bl=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor").getBlock,o=e("core/blocks").getBlockStyles,i=r(n);return{name:i.name,attributes:i.attributes,className:i.attributes.className||"",styles:o(i.name)}}),Object(l.withDispatch)(function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/editor").updateBlockAttributes(n,{className:t})}}})])(function(e){var t=e.styles,n=e.className,r=e.onChangeClassName,o=e.name,i=e.attributes,c=e.onSwitch,a=void 0===c?O.noop:c,s=e.onHoverClassName,l=void 0===s?O.noop:s;if(!t||0===t.length)return null;var u=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,c=new dl.a(t).values()[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=i.value;if(-1!==a.indexOf("is-style-")){var s=a.substring(9),l=Object(O.find)(e,{name:s});if(l)return l}}}catch(e){r=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw o}}return Object(O.find)(e,"isDefault")}(t,n);function p(e){var t=pl(n,u,e);r(t),a()}return Object(wr.createElement)("div",{className:"editor-block-styles"},t.map(function(e){var t=pl(n,u,e);return Object(wr.createElement)("div",{key:e.name,className:Pr()("editor-block-styles__item",{"is-active":u===e}),onClick:function(){return p(e)},onKeyDown:function(t){vo.ENTER!==t.keyCode&&vo.SPACE!==t.keyCode||(t.preventDefault(),p(e))},onMouseEnter:function(){return l(t)},onMouseLeave:function(){return l(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(wr.createElement)("div",{className:"editor-block-styles__item-preview"},Object(wr.createElement)(yi,{name:o,attributes:Object(d.a)({},i,{className:t})})),Object(wr.createElement)("div",{className:"editor-block-styles__item-label"},e.label||e.name))}))});var fl=Object(l.withSelect)(function(e){return{blocks:(0,e("core/editor").getMultiSelectedBlocks)()}})(function(e){var t=e.blocks,n=Object(rl.count)(Object(i.serialize)(t),"words");return Object(wr.createElement)("div",{className:"editor-multi-selection-inspector__card"},Object(wr.createElement)(qr,{icon:Object(wr.createElement)(Fr.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(wr.createElement)(Fr.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(wr.createElement)("div",{className:"editor-multi-selection-inspector__card-content"},Object(wr.createElement)("div",{className:"editor-multi-selection-inspector__card-title"},Object(_.sprintf)(Object(_._n)("%d block","%d blocks",t.length),t.length)),Object(wr.createElement)("div",{className:"editor-multi-selection-inspector__card-description"},Object(_.sprintf)(Object(_._n)("%d word","%d words",n),n))))}),hl=Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,c=e("core/blocks").getBlockStyles,a=n(),s=a&&o(a),l=a&&Object(i.getBlockType)(s),u=a&&c(s);return{count:r(),hasBlockStyles:u&&u.length>0,selectedBlockName:s,selectedBlockClientId:a,blockType:l}})(function(e){var t=e.selectedBlockClientId,n=e.selectedBlockName,r=e.blockType,o=e.count,c=e.hasBlockStyles;if(o>1)return Object(wr.createElement)(fl,null);var a=n===Object(i.getUnregisteredTypeHandlerName)();return r&&t&&!a?Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)("div",{className:"editor-block-inspector__card"},Object(wr.createElement)(qr,{icon:r.icon,showColors:!0}),Object(wr.createElement)("div",{className:"editor-block-inspector__card-content"},Object(wr.createElement)("div",{className:"editor-block-inspector__card-title"},r.title),Object(wr.createElement)("div",{className:"editor-block-inspector__card-description"},r.description))),c&&Object(wr.createElement)("div",null,Object(wr.createElement)(Fr.PanelBody,{title:Object(_.__)("Styles"),initialOpen:!1},Object(wr.createElement)(bl,{clientId:t}))),Object(wr.createElement)("div",null,Object(wr.createElement)(uc.Slot,null)),Object(wr.createElement)("div",null,Object(wr.createElement)(ic.Slot,null,function(e){return!Object(O.isEmpty)(e)&&Object(wr.createElement)(Fr.PanelBody,{className:"editor-block-inspector__advanced",title:Object(_.__)("Advanced"),initialOpen:!1},e)})),Object(wr.createElement)(ll,{key:"back"})):Object(wr.createElement)("span",{className:"editor-block-inspector__no-blocks"},Object(_.__)("No block selected."))}),ml=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(Dr.a)(Object(Dr.a)(e))),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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(wr.createElement)("div",Object(Cr.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(O.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(wr.Component),vl=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}}),Object(l.withDispatch)(function(e){return{clearSelectedBlock:e("core/editor").clearSelectedBlock}})])(ml);var Ol=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor"),o=r.getBlock,c=r.getBlockMode,a=o(n);return{mode:c(n),blockType:a?Object(i.getBlockType)(a.name):null}}),Object(l.withDispatch)(function(e,t){var n=t.onToggle,r=void 0===n?O.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/editor").toggleBlockMode(o),r()}}})])(function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,c=void 0!==o&&o;if(!Object(i.hasBlockSupport)(t,"html",!0))return null;var a="visual"===n?Object(_.__)("Edit as HTML"):Object(_.__)("Edit visually");return Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",onClick:r,icon:"html",label:c?a:void 0},!c&&a)});var gl=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=t.clientIds,r=e("core/editor"),o=r.getBlocksByClientId,c=r.canInsertBlockType,a=r.__experimentalGetReusableBlock,s=o(n),l=c("core/block")&&Object(O.every)(s,function(e){return!!e&&e.isValid&&Object(i.hasBlockSupport)(e.name,"reusable",!0)});return{isVisible:l,isStaticBlock:l&&(1!==s.length||!Object(i.isReusableBlock)(s[0])||!a(s[0].attributes.ref))}}),Object(l.withDispatch)(function(e,t){var n=t.clientIds,r=t.onToggle,o=void 0===r?O.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.isStaticBlock,r=e.onConvertToStatic,o=e.onConvertToReusable;return t?Object(wr.createElement)(wr.Fragment,null,n&&Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",icon:"controls-repeat",onClick:o},Object(_.__)("Add to Reusable Blocks")),!n&&Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",icon:"controls-repeat",onClick:r},Object(_.__)("Convert to Regular Block"))):null});var jl=Object(Ir.compose)([Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor"),o=r.getBlock,c=r.__experimentalGetReusableBlock,a=o(n);return{reusableBlock:a&&Object(i.isReusableBlock)(a)?c(a.attributes.ref):null}}),Object(l.withDispatch)(function(e,t){var n=t.onToggle,r=void 0===n?O.noop:n,o=e("core/editor").__experimentalDeleteReusableBlock;return{onDelete:function(e){window.confirm(Object(_.__)("Are you sure you want to delete this Reusable Block?\n\nIt will be permanently removed from all posts and pages that use it."))&&(o(e),r())}}})])(function(e){var t=e.reusableBlock,n=e.onDelete;return t?Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",icon:"no",disabled:t.isTemporary,onClick:function(){return n(t.id)}},Object(_.__)("Remove from Reusable Blocks")):null});function yl(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(_.__)("Convert to Blocks");return Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",onClick:n,icon:"screenoptions",label:r?o:void 0},!r&&o)}var kl=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}}),Object(l.withDispatch)(function(e,t){var n=t.block;return{onClick:function(){return e("core/editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.getBlockContent)(n)}))}}}))(yl),_l=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.clientId,r=e("core/editor").getBlock(n);return{block:r,shouldRender:r&&r.name===Object(i.getFreeformContentHandlerName)()}}),Object(l.withDispatch)(function(e,t){var n=t.block;return{onClick:function(){return e("core/editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.serialize)(n)}))}}}))(yl),Sl=Object(Fr.createSlotFill)("_BlockSettingsMenuFirstItem"),El=Sl.Fill,Cl=Sl.Slot;El.Slot=Cl;var wl=El,Tl=Object(Fr.createSlotFill)("_BlockSettingsMenuPluginsExtension"),Pl=Tl.Fill,Il=Tl.Slot;Pl.Slot=Il;var Bl=Pl;var xl=Object(l.withDispatch)(function(e){var t=e("core/editor").selectBlock;return{onSelect:function(e){t(e)}}})(function(e){var t=e.clientIds,n=e.onSelect,r=Object(O.castArray)(t),o=r.length,i=r[0];return Object(wr.createElement)(ma,{clientIds:t},function(e){var r=e.onDuplicate,c=e.onRemove,a=e.onInsertAfter,s=e.onInsertBefore,l=e.canDuplicate,u=e.isLocked;return Object(wr.createElement)(Fr.Dropdown,{contentClassName:"editor-block-settings-menu__popover",position:"bottom right",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,c=Pr()("editor-block-settings-menu__toggle",{"is-opened":r}),a=r?Object(_.__)("Hide options"):Object(_.__)("More options");return Object(wr.createElement)(Fr.Toolbar,{controls:[{icon:"ellipsis",title:a,onClick:function(){1===o&&n(i),t()},className:c,extraProps:{"aria-expanded":r}}]})},renderContent:function(e){var n=e.onClose;return Object(wr.createElement)(Fr.NavigableMenu,{className:"editor-block-settings-menu__content"},Object(wr.createElement)(wl.Slot,{fillProps:{onClose:n}}),1===o&&Object(wr.createElement)(_l,{clientId:i}),1===o&&Object(wr.createElement)(kl,{clientId:i}),!u&&l&&Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",onClick:r,icon:"admin-page",shortcut:Oa.duplicate.display},Object(_.__)("Duplicate")),!u&&Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",onClick:s,icon:"insert-before",shortcut:Oa.insertBefore.display},Object(_.__)("Insert Before")),Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",onClick:a,icon:"insert-after",shortcut:Oa.insertAfter.display},Object(_.__)("Insert After"))),1===o&&Object(wr.createElement)(Ol,{clientId:i,onToggle:n}),Object(wr.createElement)(gl,{clientIds:t,onToggle:n}),Object(wr.createElement)(Bl.Slot,{fillProps:{clientIds:t,onClose:n}}),Object(wr.createElement)("div",{className:"editor-block-settings-menu__separator"}),1===o&&Object(wr.createElement)(jl,{clientId:i,onToggle:n}),!u&&Object(wr.createElement)(Fr.MenuItem,{className:"editor-block-settings-menu__control",onClick:c,icon:"trash",shortcut:Oa.removeBlock.display},Object(_.__)("Remove Block")))}})})}),Ll=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.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=Object(O.mapKeys)(o,function(e){return e.name}),l=Object(O.orderBy)(Object(O.filter)(Object(i.getPossibleBlockTransformations)(n),function(e){return e&&!!s[e.name]}),function(e){return s[e.name].frecency},"desc"),u=n[0].name,p=Object(i.getBlockType)(u);return c||l.length?Object(wr.createElement)(Fr.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,o=1===n.length?Object(_.__)("Change block type"):Object(_.sprintf)(Object(_._n)("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(wr.createElement)(Fr.Toolbar,null,Object(wr.createElement)(Fr.IconButton,{className:"editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":r,label:o,tooltip:o,onKeyDown:function(e){r||e.keyCode!==vo.DOWN||(e.preventDefault(),e.stopPropagation(),t())}},Object(wr.createElement)(qr,{icon:p.icon,showColors:!0}),Object(wr.createElement)(Fr.SVG,{className:"editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(wr.createElement)(Fr.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(wr.createElement)(wr.Fragment,null,c&&Object(wr.createElement)(Fr.PanelBody,{title:Object(_.__)("Block Styles"),initialOpen:!0},Object(wr.createElement)(bl,{clientId:n[0].clientId,onSwitch:o,onHoverClassName:e.onHoverClassName})),0!==l.length&&Object(wr.createElement)(Fr.PanelBody,{title:Object(_.__)("Transform To:"),initialOpen:!0},Object(wr.createElement)(Si,{items:l.map(function(e){return{id:e.name,icon:e.icon,title:e.title,hasChildBlocksWithInserterSupport:Object(i.hasChildBlocksWithInserterSupport)(e.name)}}),onSelect:function(e){r(n,e.id),o()}})),null!==a&&Object(wr.createElement)(ki,{name:n[0].name,attributes:Object(d.a)({},n[0].attributes,{className:a})}))}}):n.length>1?null:Object(wr.createElement)(Fr.Toolbar,null,Object(wr.createElement)(Fr.IconButton,{disabled:!0,className:"editor-block-switcher__no-switcher-icon",label:Object(_.__)("Block icon")},Object(wr.createElement)(qr,{icon:p.icon,showColors:!0})))}}]),t}(wr.Component),Al=Object(Ir.compose)(Object(l.withSelect)(function(e,t){var n=t.clientIds,r=e("core/editor"),o=r.getBlocksByClientId,i=r.getBlockRootClientId,c=r.getInserterItems,a=e("core/blocks").getBlockStyles,s=i(Object(O.first)(Object(O.castArray)(n))),l=o(n),u=l&&1===l.length?l[0]:null,d=u&&a(u.name);return{blocks:l,inserterItems:c(s),hasBlockStyles:d&&d.length>0}}),Object(l.withDispatch)(function(e,t){return{onTransform:function(n,r){e("core/editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,r))}}}))(Ll);var Nl=Object(l.withSelect)(function(e){var t=e("core/editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}})(function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(wr.createElement)(Al,{key:"switcher",clientIds:n}):null});var Rl=Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlockClientId,r=t.getBlockMode,o=t.getMultiSelectedBlockClientIds,i=t.isBlockValid,c=n();return{blockClientIds:c?[c]:o(),isValid:c?i(c):null,mode:c?r(c):null}})(function(e){var t=e.blockClientIds,n=e.isValid,r=e.mode;return 0===t.length?null:t.length>1?Object(wr.createElement)("div",{className:"editor-block-toolbar"},Object(wr.createElement)(Nl,null),Object(wr.createElement)(xl,{clientIds:t})):Object(wr.createElement)("div",{className:"editor-block-toolbar"},"visual"===r&&n&&Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(Al,{clientIds:t}),Object(wr.createElement)(so.Slot,null),Object(wr.createElement)(mo.Slot,null)),Object(wr.createElement)(xl,{clientIds:t}))}),Dl=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onCopy=e.onCopy.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onCut=e.onCut.bind(Object(Dr.a)(Object(Dr.a)(e))),e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.onCopy),document.addEventListener("cut",this.onCut)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.onCopy),document.removeEventListener("cut",this.onCut)}},{key:"onCopy",value:function(e){var t=this.props,n=t.hasMultiSelection,r=t.selectedBlockClientIds,o=t.getBlocksByClientId;if(0!==r.length&&(n||!Object(Fo.documentHasSelection)())){var c=Object(i.serialize)(o(r));e.clipboardData.setData("text/plain",c),e.clipboardData.setData("text/html",c),e.preventDefault()}}},{key:"onCut",value:function(e){var t=this.props,n=t.hasMultiSelection,r=t.selectedBlockClientIds;this.onCopy(e),n&&this.props.onRemove(r)}},{key:"render",value:function(){return null}}]),t}(wr.Component),Fl=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getMultiSelectedBlockClientIds,r=t.getSelectedBlockClientId,o=t.getBlocksByClientId,i=t.hasMultiSelection,c=r(),a=c?[c]:n();return{hasMultiSelection:i(),selectedBlockClientIds:a,getBlocksByClientId:o}}),Object(l.withDispatch)(function(e){return{onRemove:e("core/editor").removeBlocks}})])(Dl),Ml=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).reboot=e.reboot.bind(Object(Dr.a)(Object(Dr.a)(e))),e.getContent=e.getContent.bind(Object(Dr.a)(Object(Dr.a)(e))),e.state={error:null},e}return Object(Rr.a)(t,e),Object(Lr.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(l.select)("core/editor").getEditedPostContent()}catch(e){}}},{key:"render",value:function(){var e=this.state.error;return e?Object(wr.createElement)(Qo,{className:"editor-error-boundary",actions:[Object(wr.createElement)(Fr.Button,{key:"recovery",onClick:this.reboot,isLarge:!0},Object(_.__)("Attempt Recovery")),Object(wr.createElement)(Fr.ClipboardButton,{key:"copy-post",text:this.getContent,isLarge:!0},Object(_.__)("Copy Post Text")),Object(wr.createElement)(Fr.ClipboardButton,{key:"copy-error",text:e.stack,isLarge:!0},Object(_.__)("Copy Error"))]},Object(_.__)("The editor has encountered an unexpected error.")):this.props.children}}]),t}(wr.Component),Ul=function(e){function t(){return Object(xr.a)(this,t),Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidUpdate",value:function(){this.scrollIntoView()}},{key:"scrollIntoView",value:function(){var e=this.props.extentClientId;if(e){var t=Ki(e);if(t){var n=Object(Fo.getScrollContainer)(t);n&&ji()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(wr.Component),Vl=Object(l.withSelect)(function(e){return{extentClientId:(0,e("core/editor").getLastMultiSelectedBlockClientId)()}})(Ul),Hl=[vo.UP,vo.RIGHT,vo.DOWN,vo.LEFT,vo.ENTER,vo.BACKSPACE];var Kl=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(Object(Dr.a)(Object(Dr.a)(e))),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(Object(Dr.a)(Object(Dr.a)(e))),e.startTypingInTextField=e.startTypingInTextField.bind(Object(Dr.a)(Object(Dr.a)(e))),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(Object(Dr.a)(Object(Dr.a)(e))),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(Object(Dr.a)(Object(Dr.a)(e))),e.onKeyDown=Object(O.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Object(Rr.a)(t,e),Object(Lr.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===vo.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(Fo.isTextField)(i)||i.closest(".editor-block-toolbar")||("keydown"!==o||function(e){var t=e.keyCode;return!e.shiftKey&&Object(O.includes)(Hl,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(Fo.isTextField)(i)&&o()})}},{key:"render",value:function(){var e=this.props.children;return Object(wr.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(wr.Component),zl=Object(Ir.compose)([Object(l.withSelect)(function(e){return{isTyping:(0,e("core/editor").isTyping)()}}),Object(l.withDispatch)(function(e){var t=e("core/editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}}),Ir.withSafeTimeout])(Kl),Wl=function(e){function t(){return Object(xr.a)(this,t),Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))}return Object(Rr.a)(t,e),Object(Lr.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=Ki(e);return t?t.getBoundingClientRect().top:null}},{key:"restorePreviousOffset",value:function(e){var t=Ki(this.props.selectionStart);if(t){var n=Object(Fo.getScrollContainer)(t);n&&(n.scrollTop=n.scrollTop+t.getBoundingClientRect().top-e)}}},{key:"render",value:function(){return null}}]),t}(wr.Component),ql=Object(l.withSelect)(function(e){return{blockOrder:e("core/editor").getBlockOrder(),selectionStart:e("core/editor").getBlockSelectionStart()}})(Wl),Gl=window.getSelection,$l=Object(O.overEvery)([Fo.isTextField,Fo.focus.tabbable.isTabbableIndex]);var Yl=function(e){function t(){var e;return Object(xr.a)(this,t),(e=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(Object(Dr.a)(Object(Dr.a)(e))),e.bindContainer=e.bindContainer.bind(Object(Dr.a)(Object(Dr.a)(e))),e.clearVerticalRect=e.clearVerticalRect.bind(Object(Dr.a)(Object(Dr.a)(e))),e.focusLastTextField=e.focusLastTextField.bind(Object(Dr.a)(Object(Dr.a)(e))),e.verticalRect=null,e}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearVerticalRect",value:function(){this.verticalRect=null}},{key:"getClosestTabbable",value:function(e,t){var n=Fo.focus.focusable.find(this.container);return t&&(n=Object(O.reverse)(n)),n=n.slice(n.indexOf(e)+1),Object(O.find)(n,function t(n,r,o){if(!Fo.focus.tabbable.isTabbableIndex(n))return!1;if(Object(Fo.isTextField)(n))return!0;if(!function(e){return e.classList.contains("editor-block-list__block")}(n))return!1;if(function(e){return!!e.querySelector(".editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var i,c=1;(i=o[r+c])&&n.contains(i);c++)if(t(i,r+c,o))return!1;return!0})}},{key:"expandSelection",value:function(e){var t=this.props,n=t.selectedBlockClientId,r=t.selectionStartClientId,o=t.selectionBeforeEndClientId,i=t.selectionAfterEndClientId,c=e?o:i;c&&this.props.onMultiSelect(r||n,c)}},{key:"moveSelection",value:function(e){var t=this.props,n=t.selectedFirstClientId,r=t.selectedLastClientId,o=e?n:r;o&&this.props.onSelectBlock(o)}},{key:"isTabbableEdge",value:function(e,t){var n=this.getClosestTabbable(e,t);return!n||!function(e,t){return e.closest("[data-block]")===t.closest("[data-block]")}(e,n)}},{key:"onKeyDown",value:function(e){var t=this.props,n=t.hasMultiSelection,r=t.onMultiSelect,o=t.blocks,i=e.keyCode,c=e.target,a=i===vo.UP,s=i===vo.DOWN,l=i===vo.LEFT,u=i===vo.RIGHT,d=a||l,p=l||u,b=a||s,f=p||b,h=e.shiftKey,m=h||e.ctrlKey||e.altKey||e.metaKey,v=b?Fo.isVerticalEdge:Fo.isHorizontalEdge;if(!f)return vo.isKeyboardEvent.primary(e)&&(this.isEntirelySelected=Object(Fo.isEntirelySelected)(c)),void(vo.isKeyboardEvent.primary(e,"a")&&((c.isContentEditable?this.isEntirelySelected:Object(Fo.isEntirelySelected)(c))&&(r(Object(O.first)(o),Object(O.last)(o)),e.preventDefault()),this.isEntirelySelected=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===vo.UP||t===vo.DOWN)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(c,i,m))if(b?this.verticalRect||(this.verticalRect=Object(Fo.computeCaretRect)(c)):this.verticalRect=null,h&&(n||this.isTabbableEdge(c,d)&&v(c,d)))this.expandSelection(d),e.preventDefault();else if(n)this.moveSelection(d),e.preventDefault();else if(b&&Object(Fo.isVerticalEdge)(c,d)){var g=this.getClosestTabbable(c,d);g&&(Object(Fo.placeCaretAtVerticalEdge)(g,d,this.verticalRect),e.preventDefault())}else if(p&&Gl().isCollapsed&&Object(Fo.isHorizontalEdge)(c,d)){var j=this.getClosestTabbable(c,d);Object(Fo.placeCaretAtHorizontalEdge)(j,d),e.preventDefault()}}},{key:"focusLastTextField",value:function(){var e=Fo.focus.focusable.find(this.container),t=Object(O.findLast)(e,$l);t&&Object(Fo.placeCaretAtHorizontalEdge)(t,!0)}},{key:"render",value:function(){var e=this.props.children;return Object(wr.createElement)("div",{className:"editor-writing-flow"},Object(wr.createElement)("div",{ref:this.bindContainer,onKeyDown:this.onKeyDown,onMouseDown:this.clearVerticalRect},e),Object(wr.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:this.focusLastTextField,className:"wp-block editor-writing-flow__click-redirect"}))}}]),t}(wr.Component),Ql=Object(Ir.compose)([Object(l.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,c=t.getNextBlockClientId,a=t.getFirstMultiSelectedBlockClientId,s=t.getLastMultiSelectedBlockClientId,l=t.hasMultiSelection,u=t.getBlockOrder,d=n(),p=r(),b=o();return{selectedBlockClientId:d,selectionStartClientId:p,selectionBeforeEndClientId:i(b||d),selectionAfterEndClientId:c(b||d),selectedFirstClientId:a(),selectedLastClientId:s(),hasMultiSelection:l(),blocks:u()}}),Object(l.withDispatch)(function(e){var t=e("core/editor");return{onMultiSelect:t.multiSelect,onSelectBlock:t.selectBlock}})])(Yl),Xl=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Zl=function(e,t){t=t||{};var n=1,r=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(){var e={line:n,column:r};return function(t){return t.position=new c(e),b(),t}}function c(e){this.start=e,this.end={line:n,column:r},this.source=t.source}c.prototype.content=e;var a=[];function s(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 l(){return p(/^{\s*/)}function u(){return p(/^}/)}function d(){var t,n=[];for(b(),f(n);e.length&&"}"!==e.charAt(0)&&(t=E()||C());)!1!==t&&(n.push(t),f(n));return n}function p(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function b(){p(/^\s*/)}function f(e){var t;for(e=e||[];t=m();)!1!==t&&e.push(t);return e}function m(){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 s("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 v(){var e=p(/^([^{]+)/);if(e)return Jl(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 O(){var e=i(),t=p(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=Jl(t[0]),!p(/^:\s*/))return s("property missing ':'");var n=p(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(Xl,""),value:n?Jl(n[0]).replace(Xl,""):""});return p(/^[;\s]*/),r}}function g(){var e,t=[];if(!l())return s("missing '{'");for(f(t);e=O();)!1!==e&&(t.push(e),f(t));return u()?t:s("missing '}'")}function j(){for(var e,t=[],n=i();e=p(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),p(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:g()})}var y=S("import"),k=S("charset"),_=S("namespace");function S(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=i(),r=p(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function E(){if("@"===e[0])return function(){var e=i(),t=p(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=p(/^([-\w]+)\s*/)))return s("@keyframes missing name");var r,o=t[1];if(!l())return s("@keyframes missing '{'");for(var c=f();r=j();)c.push(r),c=c.concat(f());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:c}):s("@keyframes missing '}'")}}()||function(){var e=i(),t=p(/^@media *([^{]+)/);if(t){var n=Jl(t[1]);if(!l())return s("@media missing '{'");var r=f().concat(d());return u()?e({type:"media",media:n,rules:r}):s("@media missing '}'")}}()||function(){var e=i(),t=p(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:Jl(t[1]),media:Jl(t[2])})}()||function(){var e=i(),t=p(/^@supports *([^{]+)/);if(t){var n=Jl(t[1]);if(!l())return s("@supports missing '{'");var r=f().concat(d());return u()?e({type:"supports",supports:n,rules:r}):s("@supports missing '}'")}}()||y()||k()||_()||function(){var e=i(),t=p(/^@([-\w]+)?document *([^{]+)/);if(t){var n=Jl(t[1]),r=Jl(t[2]);if(!l())return s("@document missing '{'");var o=f().concat(d());return u()?e({type:"document",document:r,vendor:n,rules:o}):s("@document missing '}'")}}()||function(){var e=i();if(p(/^@page */)){var t=v()||[];if(!l())return s("@page missing '{'");for(var n,r=f();n=O();)r.push(n),r=r.concat(f());return u()?e({type:"page",selectors:t,declarations:r}):s("@page missing '}'")}}()||function(){var e=i();if(p(/^@host\s*/)){if(!l())return s("@host missing '{'");var t=f().concat(d());return u()?e({type:"host",rules:t}):s("@host missing '}'")}}()||function(){var e=i();if(p(/^@font-face\s*/)){if(!l())return s("@font-face missing '{'");for(var t,n=f();t=O();)n.push(t),n=n.concat(f());return u()?e({type:"font-face",declarations:n}):s("@font-face missing '}'")}}()}function C(){var e=i(),t=v();return t?(f(),e({type:"rule",selectors:t,declarations:g()})):s("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(h.a)(c)&&e(c,o)}r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}(function(){var e=d();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:a}}}())};function Jl(e){return e?e.replace(/^\s+|\s+$/g,""):""}var eu=n(98),tu=n.n(eu),nu=ru;function ru(e){this.options=e||{}}ru.prototype.emit=function(e){return e},ru.prototype.visit=function(e){return this[e.type](e)},ru.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(d.a)({},n,{selectors:n.selectors.map(function(n){return Object(O.includes)(t,n.trim())?n:n.match(mu)?n.replace(/^(body|html)/,e):e+" "+n})}):n}},Ou=function(e){function t(e){var n;return Object(xr.a)(this,t),n=Object(Ar.a)(this,Object(Nr.a)(t).apply(this,arguments)),e.recovery?Object(Ar.a)(n):(e.updateEditorSettings(e.settings),e.updatePostLock(e.settings.postLock),e.setupEditor(e.post,e.initialEdits),e.settings.autosave&&e.createWarningNotice(Object(_.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:Object(_.__)("View the autosave"),url:e.settings.autosave.editLink}]}),n)}return Object(Rr.a)(t,e),Object(Lr.a)(t,[{key:"componentDidMount",value:function(){this.props.settings.styles&&Object(O.map)(this.props.settings.styles,function(e){var t=e.css,n=e.baseURL,r=[vu(".editor-styles-wrapper")];n&&r.push(hu(n));var o=du(t,Object(Ir.compose)(r));if(o){var i=document.createElement("style");i.innerHTML=o,document.body.appendChild(i)}})}},{key:"componentDidUpdate",value:function(e){this.props.settings!==e.settings&&this.props.updateEditorSettings(this.props.settings)}},{key:"render",value:function(){var e=this.props.children,t=[[Fr.SlotFillProvider],[Fr.DropZoneProvider]];return Object(O.flow)(t.map(function(e){var t=Object(u.a)(e,2),n=t[0],r=t[1];return function(e){return Object(wr.createElement)(n,r,e)}}))(e)}}]),t}(wr.Component),gu=Object(l.withDispatch)(function(e){var t=e("core/editor");return{setupEditor:t.setupEditor,updateEditorSettings:t.updateEditorSettings,updatePostLock:t.updatePostLock,createWarningNotice:e("core/notices").createWarningNotice}})(Ou),ju=["left","center","right","wide","full"],yu=["wide","full"];function ku(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?ju:[],!r||!0===e&&!n?O.without.apply(void 0,[t].concat(yu)):t}var _u=Object(Ir.createHigherOrderComponent)(function(e){return function(t){var n=t.name,r=ku(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(wr.createElement)(so,{key:"align-controls"},Object(wr.createElement)(ro,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(O.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:r})),Object(wr.createElement)(e,Object(Cr.a)({key:"edit"},t))]}},"withToolbarControls"),Su=Object(Ir.createHigherOrderComponent)(Object(Ir.compose)([Object(l.withSelect)(function(e){return{hasWideEnabled:!!(0,e("core/editor").getEditorSettings)().alignWide}}),function(e){return function(t){var n=t.block,r=t.hasWideEnabled,o=n.name,c=n.attributes.align,a=ku(Object(i.getBlockSupport)(o,"align"),Object(i.hasBlockSupport)(o,"alignWide",!0),r),s=t.wrapperProps;return Object(O.includes)(a,c)&&(s=Object(d.a)({},s,{"data-align":c})),Object(wr.createElement)(e,Object(Cr.a)({},t,{wrapperProps:s}))}}]));Object(Br.addFilter)("blocks.registerBlockType","core/align/addAttribute",function(e){return Object(O.has)(e.attributes,["align","type"])?e:(Object(i.hasBlockSupport)(e,"align")&&(e.attributes=Object(O.assign)(e.attributes,{align:{type:"string"}})),e)}),Object(Br.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",Su),Object(Br.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",_u),Object(Br.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(O.includes)(ku(o,c),r)&&(e.className=Pr()("align".concat(r),e.className)),e});var Eu=/[\s#]/g;var Cu=Object(Ir.createHigherOrderComponent)(function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(e,t),Object(wr.createElement)(ic,null,Object(wr.createElement)(Fr.TextControl,{label:Object(_.__)("HTML Anchor"),help:Object(_.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(Eu,"-"),t.setAttributes({anchor:e})}}))):Object(wr.createElement)(e,t)}},"withInspectorControl");Object(Br.addFilter)("blocks.registerBlockType","core/anchor/attribute",function(e){return Object(i.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(O.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}),Object(Br.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",Cu),Object(Br.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",function(e,t,n){return Object(i.hasBlockSupport)(t,"anchor")&&(e.id=n.anchor),e});var wu=Object(Ir.createHigherOrderComponent)(function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(wr.createElement)(wr.Fragment,null,Object(wr.createElement)(e,t),Object(wr.createElement)(ic,null,Object(wr.createElement)(Fr.TextControl,{label:Object(_.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:e})}}))):Object(wr.createElement)(e,t)}},"withInspectorControl");function Tu(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(Br.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(O.assign)(e.attributes,{className:{type:"string"}})),e}),Object(Br.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",wu),Object(Br.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=Pr()(e.className,n.className)),e}),Object(Br.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var r=Object(O.omit)(e,["className"]),o=Object(i.getSaveContent)(t,r),c=Tu(o),a=Tu(n),s=Object(O.difference)(a,c);s.length?e.className=s.join(" "):o&&delete e.className}return e});var Pu=[Xr],Iu=Object(O.once)(function(){return Object(l.dispatch)("core/editor").__experimentalFetchReusableBlocks()});Object(Br.addFilter)("editor.Autocomplete.completers","editor/autocompleters/set-default-completers",function(e,t){return e||(e=Pu.map(O.clone),t===Object(i.getDefaultBlockName)()&&(e.push(Object(O.clone)(Qr)),Iu())),e}),Object(Br.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(O.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(b.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}),n.d(t,"Autocomplete",function(){return Wr}),n.d(t,"AlignmentToolbar",function(){return Jr}),n.d(t,"BlockAlignmentToolbar",function(){return ro}),n.d(t,"BlockControls",function(){return so}),n.d(t,"BlockEdit",function(){return uo}),n.d(t,"BlockFormatControls",function(){return mo}),n.d(t,"BlockNavigationDropdown",function(){return yo}),n.d(t,"BlockIcon",function(){return qr}),n.d(t,"ColorPalette",function(){return _o}),n.d(t,"withColorContext",function(){return ko}),n.d(t,"ContrastChecker",function(){return Bo}),n.d(t,"InnerBlocks",function(){return ec}),n.d(t,"InspectorAdvancedControls",function(){return ic}),n.d(t,"InspectorControls",function(){return uc}),n.d(t,"PanelColorSettings",function(){return hc}),n.d(t,"PlainText",function(){return mc}),n.d(t,"RichText",function(){return Hc}),n.d(t,"RichTextShortcut",function(){return Ic}),n.d(t,"RichTextToolbarButton",function(){return Dc}),n.d(t,"RichTextInserterItem",function(){return Fc}),n.d(t,"ServerSideRender",function(){return Kc}),n.d(t,"MediaPlaceholder",function(){return ta}),n.d(t,"MediaUpload",function(){return zc}),n.d(t,"MediaUploadCheck",function(){return Go}),n.d(t,"URLInput",function(){return oa}),n.d(t,"URLInputButton",function(){return ia}),n.d(t,"URLPopover",function(){return Wc}),n.d(t,"AutosaveMonitor",function(){return aa}),n.d(t,"DocumentOutline",function(){return fa}),n.d(t,"DocumentOutlineCheck",function(){return ha}),n.d(t,"EditorGlobalKeyboardShortcuts",function(){return ja}),n.d(t,"EditorHistoryRedo",function(){return ya}),n.d(t,"EditorHistoryUndo",function(){return ka}),n.d(t,"EditorNotices",function(){return Sa}),n.d(t,"PageAttributesCheck",function(){return Ea}),n.d(t,"PageAttributesOrder",function(){return Ta}),n.d(t,"PageAttributesParent",function(){return xa}),n.d(t,"PageTemplate",function(){return La}),n.d(t,"PostAuthor",function(){return Ra}),n.d(t,"PostAuthorCheck",function(){return Aa}),n.d(t,"PostComments",function(){return Da}),n.d(t,"PostExcerpt",function(){return Fa}),n.d(t,"PostExcerptCheck",function(){return Ma}),n.d(t,"PostFeaturedImage",function(){return $a}),n.d(t,"PostFeaturedImageCheck",function(){return Va}),n.d(t,"PostFormat",function(){return Xa}),n.d(t,"PostFormatCheck",function(){return Ya}),n.d(t,"PostLastRevision",function(){return Ja}),n.d(t,"PostLastRevisionCheck",function(){return Za}),n.d(t,"PostLockedModal",function(){return is}),n.d(t,"PostPendingStatus",function(){return as}),n.d(t,"PostPendingStatusCheck",function(){return cs}),n.d(t,"PostPingbacks",function(){return ss}),n.d(t,"PostPreviewButton",function(){return rs}),n.d(t,"PostPublishButton",function(){return ds}),n.d(t,"PostPublishButtonLabel",function(){return ls}),n.d(t,"PostPublishPanel",function(){return Bs}),n.d(t,"PostSavedState",function(){return As}),n.d(t,"PostSchedule",function(){return ms}),n.d(t,"PostScheduleCheck",function(){return Ns}),n.d(t,"PostScheduleLabel",function(){return vs}),n.d(t,"PostSticky",function(){return Ds}),n.d(t,"PostStickyCheck",function(){return Rs}),n.d(t,"PostSwitchToDraftButton",function(){return xs}),n.d(t,"PostTaxonomies",function(){return Vs}),n.d(t,"PostTaxonomiesCheck",function(){return Hs}),n.d(t,"PostTextEditor",function(){return zs}),n.d(t,"PostTitle",function(){return Js}),n.d(t,"PostTrash",function(){return el}),n.d(t,"PostTrashCheck",function(){return tl}),n.d(t,"PostTypeSupportCheck",function(){return Ca}),n.d(t,"PostVisibility",function(){return fs}),n.d(t,"PostVisibilityLabel",function(){return hs}),n.d(t,"PostVisibilityCheck",function(){return nl}),n.d(t,"TableOfContents",function(){return cl}),n.d(t,"UnsavedChangesWarning",function(){return sl}),n.d(t,"WordCount",function(){return ol}),n.d(t,"BlockInspector",function(){return hl}),n.d(t,"BlockList",function(){return Zi}),n.d(t,"BlockMover",function(){return qo}),n.d(t,"BlockSelectionClearer",function(){return vl}),n.d(t,"BlockSettingsMenu",function(){return xl}),n.d(t,"_BlockSettingsMenuFirstItem",function(){return wl}),n.d(t,"_BlockSettingsMenuPluginsExtension",function(){return Bl}),n.d(t,"BlockTitle",function(){return ui}),n.d(t,"BlockToolbar",function(){return Rl}),n.d(t,"CopyHandler",function(){return Fl}),n.d(t,"DefaultBlockAppender",function(){return Yi}),n.d(t,"ErrorBoundary",function(){return Ml}),n.d(t,"Inserter",function(){return Li}),n.d(t,"MultiBlocksSwitcher",function(){return Nl}),n.d(t,"MultiSelectScrollIntoView",function(){return Vl}),n.d(t,"NavigableToolbar",function(){return mi}),n.d(t,"ObserveTyping",function(){return zl}),n.d(t,"PreserveScrollInReorder",function(){return ql}),n.d(t,"SkipToSelectedBlock",function(){return ll}),n.d(t,"Warning",function(){return Qo}),n.d(t,"WritingFlow",function(){return Ql}),n.d(t,"EditorProvider",function(){return gu}),n.d(t,"blockAutocompleter",function(){return Qr}),n.d(t,"userAutocompleter",function(){return Xr}),n.d(t,"getColorClassName",function(){return To}),n.d(t,"getColorObjectByAttributeValues",function(){return Co}),n.d(t,"getColorObjectByColorValue",function(){return wo}),n.d(t,"withColors",function(){return Io}),n.d(t,"getFontSize",function(){return xo}),n.d(t,"getFontSizeClass",function(){return Lo}),n.d(t,"FontSizePicker",function(){return Ao}),n.d(t,"withFontSizes",function(){return No}),n.d(t,"mediaUpload",function(){return Yc}),n.d(t,"cleanForSlug",function(){return Xc})}]);
\ No newline at end of file
diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php
index 20d7ba9cee..4472390b55 100644
--- a/wp-includes/script-loader.php
+++ b/wp-includes/script-loader.php
@@ -213,10 +213,10 @@ function wp_default_packages_scripts( &$scripts ) {
'api-fetch' => '2.2.5',
'autop' => '2.0.2',
'blob' => '2.1.0',
- 'block-library' => '2.2.6',
+ 'block-library' => '2.2.7',
'block-serialization-default-parser' => '2.0.0',
'blocks' => '6.0.2',
- 'components' => '7.0.1',
+ 'components' => '7.0.2',
'compose' => '3.0.0',
'core-data' => '2.0.14',
'data' => '4.0.1',
@@ -224,19 +224,19 @@ function wp_default_packages_scripts( &$scripts ) {
'deprecated' => '2.0.3',
'dom' => '2.0.7',
'dom-ready' => '2.0.2',
- 'edit-post' => '3.1.1',
- 'editor' => '9.0.1',
+ 'edit-post' => '3.1.2',
+ 'editor' => '9.0.2',
'element' => '2.1.8',
'escape-html' => '1.0.1',
- 'format-library' => '1.2.4',
+ 'format-library' => '1.2.5',
'hooks' => '2.0.3',
'html-entities' => '2.0.3',
'i18n' => '3.1.0',
'is-shallow-equal' => '1.1.4',
'keycodes' => '2.0.5',
- 'list-reusable-blocks' => '1.1.14',
+ 'list-reusable-blocks' => '1.1.15',
'notices' => '1.1.0',
- 'nux' => '3.0.2',
+ 'nux' => '3.0.3',
'plugins' => '2.0.9',
'redux-routine' => '3.0.3',
'rich-text' => '3.0.2',
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 27edce06fa..1c0afaa8a5 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
-$wp_version = '5.0-beta5-43934';
+$wp_version = '5.0-beta5-43935';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.