Gutenberg - Version 8.2.1

Version Description

Download this release

Release Info

Developer youknowriad
Plugin Icon 128x128 Gutenberg
Version 8.2.1
Comparing to
See all releases

Code changes from version 8.2.0 to 8.2.1

build/block-library/editor-rtl.css CHANGED
@@ -1 +1 @@
1
- #start-resizable-editor-section{display:none}.block-editor ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin-right:0;margin-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow__click-redirect{min-height:auto}.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-right:0;padding-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-right:auto;margin-left:auto}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#555d66;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}div[data-type="core/button"]{display:table}.wp-block-buttons .wp-block.block-editor-block-list__block[data-type="core/button"]{display:inline-block;width:auto}.wp-block[data-align=center]>.wp-block-buttons{display:flex;align-items:center;flex-wrap:wrap;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{display:flex;justify-content:flex-end}.wp-block-buttons .block-list-appender{display:inline-block}.block-editor .wp-block-categories ul{padding-right:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code>code{display:block}.wp-block-columns .wp-block{max-width:none}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-right:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.wp-block-cover{position:relative}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:right;margin-right:0;margin-left:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:290px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container{position:absolute!important;top:0;right:0;left:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-right:0;margin-left:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-right:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:-webkit-sticky;position:sticky;z-index:10;top:8px;border:1px solid #e2e4e7;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder{margin-bottom:12px;padding:12px}.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder .components-button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-right:0;margin-right:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba;border-radius:2px;outline:2px solid transparent}body.admin-color-sunrise .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.blocks-gallery-item figure.is-selected img{border-radius:2px}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{background:#fff;border:1px solid #1e1e1e;border-radius:2px;transition:box-shadow .2s ease-out}@media (prefers-reduced-motion:reduce){.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{transition-duration:0s}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{color:#1e1e1e;min-width:24px;height:24px}@media (min-width:600px){.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{padding:0;width:inherit;height:inherit}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus{color:inherit}.block-library-gallery-item__inline-menu,.block-library-gallery-item__move-menu{margin:8px;display:inline-flex;z-index:20}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__move-menu .components-button{color:transparent}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-7 .block-library-gallery-item__move-menu,.columns-8 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__move-menu{padding:2px}}.block-library-gallery-item__inline-menu{position:absolute;top:-2px;left:-2px}.block-library-gallery-item__move-menu{position:absolute;top:-2px;right:-2px}.blocks-gallery-item__move-backward.components-button,.blocks-gallery-item__move-forward.components-button,.blocks-gallery-item__remove.components-button{padding:0}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-group{margin-top:0;margin-bottom:0}.wp-block-group .block-editor-block-list__insertion-point{right:0;left:0}.wp-block-group>.wp-block-group__inner-container>[data-align=full]{margin-right:auto;margin-left:auto;padding-right:28px;padding-left:28px}@media (min-width:600px){.wp-block-group>.wp-block-group__inner-container>[data-align=full]{padding-right:58px;padding-left:58px}}.wp-block-group.has-background>.wp-block-group__inner-container>[data-align=full]{margin-right:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block[data-type="core/group"]>.wp-block-group__inner-container>[data-align=full]{padding-left:0;padding-right:0;right:0;width:100%;max-width:none}[data-align=full] .wp-block[data-type="core/group"].has-background>.wp-block-group__inner-container>[data-align=full]{width:calc(100% + 60px)}[data-type="core/group"].is-selected .block-list-appender{margin-right:0;margin-left:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.wp-block-html{margin-bottom:28px}.wp-block-html .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;right:0}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}figure.wp-block-image:not(.wp-block){margin:0}.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 img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{width:100%}.wp-block[data-align=left]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=right]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=center]>.wp-block-image{margin-right:auto;margin-left:auto;text-align:center}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-right:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block;box-shadow:none}.wp-block-legacy-widget__edit-container .widget.open{z-index:0}.wp-block-legacy-widget__update-button{margin-right:auto;display:block}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__edit-widget-title,.wp-block-legacy-widget__preview{padding:8px 14px}.wp-block-legacy-widget__edit-widget-title{background:#f8f9f9;color:#555d66;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px 14px;font-weight:600}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer{-ms-grid-row-align:start;align-self:start}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text .editor-media-container__resizer,.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks{word-break:break-word;-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1;text-align:initial;padding:0 8%}.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer,.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}.editor-styles-wrapper .wp-block-navigation ol,.editor-styles-wrapper .wp-block-navigation ul{margin-bottom:0;margin-right:0;padding-right:0}.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block{margin:0}.wp-block-navigation .block-list-appender{margin:0;display:flex;align-items:center}.wp-block-navigation.is-vertical .block-list-appender{margin:8px}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1}.has-child:hover>.wp-block-navigation__container,.has-child>.wp-block-navigation__container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__container,.has-child.is-selected>.wp-block-navigation__container{opacity:1;visibility:visible}.has-child .wp-block-navigation__container .block-list-appender .block-editor-button-block-appender{margin-right:16px}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-right:auto;margin-left:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:left;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link .block-editor-block-list__layout{display:block}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus)[data-rich-text-placeholder]:after{display:inline-block}.wp-block-navigation-link .block-list-appender{margin:10px 10px 16px 16px}.wp-block-navigation-link__nofollow-external-link{display:block}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #e2e4e7}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-right:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.block-editor__container .wp-block-post-author{display:flex;flex-wrap:wrap;line-height:1.5}.wp-block-post-author__byline{color:#6c7781;font-size:13px;margin-top:0;position:relative;font-style:normal}.wp-block-post-author__content{flex-grow:1;flex-basis:0}.block-editor__container .wp-block-post-author__avatar img{margin:0}.block-editor__container .wp-block-post-author__name{margin:-8px 0;font-weight:700}.block-editor__container .wp-block-post-author__bio{margin:16px 0 0}.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-right:0;margin-left:0}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-right:2.5em}.block-editor .wp-block-rss.is-grid{padding-right:0}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 0 0 8px}.wp-block-search__input{border-radius:4px;border:1px solid #7e8993;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px}.wp-block-search__input:focus{outline:none}.wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}.block-editor-block-list__block[data-type="core/separator"].block-editor-block-list__block{margin-top:0;margin-bottom:0}.wp-block-shortcode{display:flex;flex-direction:column;padding:14px;background-color:rgba(139,139,150,.1);font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin-bottom:28px}.wp-block-shortcode label{display:flex;align-items:center;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{max-height:250px}.wp-block-shortcode .dashicon{margin-left:8px}.wp-block-social-links .wp-social-link button{color:currentColor;padding:6px}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-right:16px;padding-left:16px}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-right:8px}.editor-styles-wrapper .wp-block-social-link{margin:0 0 0 8px}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links .block-list-appender{margin:0;display:flex;align-items:center}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .wp-social-link:disabled{opacity:1}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-block-social-links{min-height:36px}[data-type="core/social-links"] .wp-social-link__is-incomplete{transition:transform .1s ease;transform-origin:center center}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-social-link__is-incomplete{opacity:0;transform:scale(0);width:0;padding:0;margin-left:0}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #007cba;outline:2px solid transparent}body.admin-color-sunrise [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #d1864a}body.admin-color-ocean [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #a3b9a2}body.admin-color-midnight [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #e14d43}body.admin-color-ectoplasm [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #a7b656}body.admin-color-coffee [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #c2a68c}body.admin-color-blue [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #d9ab59}body.admin-color-light [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0085ba}.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/social-link"]:not([contenteditable]):focus:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block[data-type="core/social-link"].is-selected:after{left:8px}.block-library-spacer__resize-container.has-show-handle{background:#f3f4f5}.is-dark-theme .block-library-spacer__resize-container.has-show-handle{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table{margin:0}.wp-block-table table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table figcaption{color:#555d66;font-size:13px;text-align:center}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-left:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-left:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#8f98a1;text-decoration:none}.wp-block-template-part__placeholder-input-container{display:flex;flex-wrap:wrap;width:100%}.wp-block-template-part__placeholder-input{margin:5px}.wp-block-template-part__placeholder-preview{margin-bottom:15px;width:100%}.wp-block-template-part__placeholder-preview .block-editor-block-preview__container{padding:1px}.wp-block-template-part__placeholder-preview-title{font-size:15px;font-weight:600;margin-bottom:4px}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.wp-block[data-align=center]>.wp-block-video{text-align:center}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-left:8px}.wp-block[data-type="core/widget-area"]{max-width:700px}.wp-block-widget-area>.components-panel__body>.block-editor-inner-blocks{padding-top:24px}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px;border-radius:2px;background-color:#fff;box-shadow:0 0 0 1px #1e1e1e;outline:1px solid transparent}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-left:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-left:8px;white-space:nowrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 8px 0 0}}.is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #007cba}body.admin-color-sunrise .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d1864a}body.admin-color-ocean .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a3b9a2}body.admin-color-midnight .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #e14d43}body.admin-color-ectoplasm .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a7b656}body.admin-color-coffee .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #c2a68c}body.admin-color-blue .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d9ab59}body.admin-color-light .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #0085ba}.is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #007cba}body.admin-color-sunrise .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d1864a}body.admin-color-ocean .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a3b9a2}body.admin-color-midnight .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #e14d43}body.admin-color-ectoplasm .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a7b656}body.admin-color-coffee .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #c2a68c}body.admin-color-blue .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d9ab59}body.admin-color-light .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #0085ba}.block-editor-block-list__block{margin-top:28px;margin-bottom:28px}#end-resizable-editor-section{display:none}
1
+ #start-resizable-editor-section{display:none}.block-editor ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin-right:0;margin-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow__click-redirect{min-height:auto}.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-right:0;padding-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-right:auto;margin-left:auto}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#555d66;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}div[data-type="core/button"]{display:table}.wp-block-buttons .wp-block.block-editor-block-list__block[data-type="core/button"]{display:inline-block;width:auto}.wp-block[data-align=center]>.wp-block-buttons{display:flex;align-items:center;flex-wrap:wrap;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{display:flex;justify-content:flex-end}.wp-block-buttons .block-list-appender{display:inline-block}.block-editor .wp-block-categories ul{padding-right:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code>code{display:block}.wp-block-columns .wp-block{max-width:none}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-right:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.wp-block-cover{position:relative}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:right;margin-right:0;margin-left:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:290px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container{position:absolute!important;top:0;right:0;left:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-right:0;margin-left:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-right:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:-webkit-sticky;position:sticky;z-index:10;top:8px;border:1px solid #e2e4e7;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder{margin-bottom:12px;padding:12px}.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder .components-button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-right:0;margin-right:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba;border-radius:2px;outline:2px solid transparent}body.admin-color-sunrise .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.blocks-gallery-item figure.is-selected img{border-radius:2px}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{background:#fff;border:1px solid #1e1e1e;border-radius:2px;transition:box-shadow .2s ease-out}@media (prefers-reduced-motion:reduce){.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{transition-duration:0s}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{color:#1e1e1e;min-width:24px;height:24px}@media (min-width:600px){.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{padding:0;width:inherit;height:inherit}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus{color:inherit}.block-library-gallery-item__inline-menu,.block-library-gallery-item__move-menu{margin:8px;display:inline-flex;z-index:20}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__move-menu .components-button{color:transparent}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-7 .block-library-gallery-item__move-menu,.columns-8 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__move-menu{padding:2px}}.block-library-gallery-item__inline-menu{position:absolute;top:-2px;left:-2px}.block-library-gallery-item__move-menu{position:absolute;top:-2px;right:-2px}.blocks-gallery-item__move-backward.components-button,.blocks-gallery-item__move-forward.components-button,.blocks-gallery-item__remove.components-button{padding:0}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-group{margin-top:0;margin-bottom:0}.wp-block-group .block-editor-block-list__insertion-point{right:0;left:0}.wp-block-group>.wp-block-group__inner-container>[data-align=full]{margin-right:auto;margin-left:auto;padding-right:28px;padding-left:28px}@media (min-width:600px){.wp-block-group>.wp-block-group__inner-container>[data-align=full]{padding-right:58px;padding-left:58px}}.wp-block-group.has-background>.wp-block-group__inner-container>[data-align=full]{margin-right:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block[data-type="core/group"]>.wp-block-group__inner-container>[data-align=full]{padding-left:0;padding-right:0;right:0;width:100%;max-width:none}[data-align=full] .wp-block[data-type="core/group"].has-background>.wp-block-group__inner-container>[data-align=full]{width:calc(100% + 60px)}[data-type="core/group"].is-selected .block-list-appender{margin-right:0;margin-left:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.wp-block-html{margin-bottom:28px}.wp-block-html .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;right:0}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}figure.wp-block-image:not(.wp-block){margin:0}.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:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{width:100%}.wp-block[data-align=left]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=right]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=center]>.wp-block-image{margin-right:auto;margin-left:auto;text-align:center}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-right:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block;box-shadow:none}.wp-block-legacy-widget__edit-container .widget.open{z-index:0}.wp-block-legacy-widget__update-button{margin-right:auto;display:block}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__edit-widget-title,.wp-block-legacy-widget__preview{padding:8px 14px}.wp-block-legacy-widget__edit-widget-title{background:#f8f9f9;color:#555d66;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px 14px;font-weight:600}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer{-ms-grid-row-align:start;align-self:start}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text .editor-media-container__resizer,.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks{word-break:break-word;-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1;text-align:initial;padding:0 8%}.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer,.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}.editor-styles-wrapper .wp-block-navigation ol,.editor-styles-wrapper .wp-block-navigation ul{margin-bottom:0;margin-right:0;padding-right:0}.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block{margin:0}.wp-block-navigation .block-list-appender{margin:0;display:flex;align-items:center}.wp-block-navigation.is-vertical .block-list-appender{margin:8px}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1}.has-child:hover>.wp-block-navigation__container,.has-child>.wp-block-navigation__container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__container,.has-child.is-selected>.wp-block-navigation__container{opacity:1;visibility:visible}.has-child .wp-block-navigation__container .block-list-appender .block-editor-button-block-appender{margin-right:16px}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-right:auto;margin-left:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:left;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link .block-editor-block-list__layout{display:block}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus)[data-rich-text-placeholder]:after{display:inline-block}.wp-block-navigation-link .block-list-appender{margin:10px 10px 16px 16px}.wp-block-navigation-link__nofollow-external-link{display:block}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #e2e4e7}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-right:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.block-editor__container .wp-block-post-author{display:flex;flex-wrap:wrap;line-height:1.5}.wp-block-post-author__byline{color:#6c7781;font-size:13px;margin-top:0;position:relative;font-style:normal}.wp-block-post-author__content{flex-grow:1;flex-basis:0}.block-editor__container .wp-block-post-author__avatar img{margin:0}.block-editor__container .wp-block-post-author__name{margin:-8px 0;font-weight:700}.block-editor__container .wp-block-post-author__bio{margin:16px 0 0}.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-right:0;margin-left:0}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-right:2.5em}.block-editor .wp-block-rss.is-grid{padding-right:0}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 0 0 8px}.wp-block-search__input{border-radius:4px;border:1px solid #7e8993;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px}.wp-block-search__input:focus{outline:none}.wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}.block-editor-block-list__block[data-type="core/separator"].block-editor-block-list__block{margin-top:0;margin-bottom:0}.wp-block-shortcode{display:flex;flex-direction:column;padding:14px;background-color:rgba(139,139,150,.1);font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin-bottom:28px}.wp-block-shortcode label{display:flex;align-items:center;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{max-height:250px}.wp-block-shortcode .dashicon{margin-left:8px}.wp-block-social-links .wp-social-link button{color:currentColor;padding:6px}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-right:16px;padding-left:16px}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-right:8px}.editor-styles-wrapper .wp-block-social-link{margin:0 0 0 8px}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links .block-list-appender{margin:0;display:flex;align-items:center}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .wp-social-link:disabled{opacity:1}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-block-social-links{min-height:36px}[data-type="core/social-links"] .wp-social-link__is-incomplete{transition:transform .1s ease;transform-origin:center center}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-social-link__is-incomplete{opacity:0;transform:scale(0);width:0;padding:0;margin-left:0}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #007cba;outline:2px solid transparent}body.admin-color-sunrise [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #d1864a}body.admin-color-ocean [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #a3b9a2}body.admin-color-midnight [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #e14d43}body.admin-color-ectoplasm [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #a7b656}body.admin-color-coffee [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #c2a68c}body.admin-color-blue [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #d9ab59}body.admin-color-light [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0085ba}.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/social-link"]:not([contenteditable]):focus:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block[data-type="core/social-link"].is-selected:after{left:8px}.block-library-spacer__resize-container.has-show-handle{background:#f3f4f5}.is-dark-theme .block-library-spacer__resize-container.has-show-handle{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table{margin:0}.wp-block-table table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table figcaption{color:#555d66;font-size:13px;text-align:center}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-left:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-left:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#8f98a1;text-decoration:none}.wp-block-template-part__placeholder-input-container{display:flex;flex-wrap:wrap;width:100%}.wp-block-template-part__placeholder-input{margin:5px}.wp-block-template-part__placeholder-preview{margin-bottom:15px;width:100%}.wp-block-template-part__placeholder-preview .block-editor-block-preview__container{padding:1px}.wp-block-template-part__placeholder-preview-title{font-size:15px;font-weight:600;margin-bottom:4px}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.wp-block[data-align=center]>.wp-block-video{text-align:center}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-left:8px}.wp-block[data-type="core/widget-area"]{max-width:700px}.wp-block-widget-area>.components-panel__body>.block-editor-inner-blocks{padding-top:24px}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px;border-radius:2px;background-color:#fff;box-shadow:0 0 0 1px #1e1e1e;outline:1px solid transparent}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-left:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-left:8px;white-space:nowrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 8px 0 0}}.is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #007cba}body.admin-color-sunrise .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d1864a}body.admin-color-ocean .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a3b9a2}body.admin-color-midnight .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #e14d43}body.admin-color-ectoplasm .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a7b656}body.admin-color-coffee .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #c2a68c}body.admin-color-blue .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d9ab59}body.admin-color-light .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #0085ba}.is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #007cba}body.admin-color-sunrise .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d1864a}body.admin-color-ocean .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a3b9a2}body.admin-color-midnight .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #e14d43}body.admin-color-ectoplasm .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a7b656}body.admin-color-coffee .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #c2a68c}body.admin-color-blue .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d9ab59}body.admin-color-light .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #0085ba}.block-editor-block-list__block{margin-top:28px;margin-bottom:28px}#end-resizable-editor-section{display:none}
build/block-library/editor.css CHANGED
@@ -1 +1 @@
1
- #start-resizable-editor-section{display:none}.block-editor ul.wp-block-archives{padding-left:2.5em}.wp-block-audio{margin-left:0;margin-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow__click-redirect{min-height:auto}.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-left:0;padding-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-left:auto;margin-right:auto}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#555d66;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}div[data-type="core/button"]{display:table}.wp-block-buttons .wp-block.block-editor-block-list__block[data-type="core/button"]{display:inline-block;width:auto}.wp-block[data-align=center]>.wp-block-buttons{display:flex;align-items:center;flex-wrap:wrap;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{display:flex;justify-content:flex-end}.wp-block-buttons .block-list-appender{display:inline-block}.block-editor .wp-block-categories ul{padding-left:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code>code{display:block}.wp-block-columns .wp-block{max-width:none}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-left:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.wp-block-cover{position:relative}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:left;margin-left:0;margin-right:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:290px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container{position:absolute!important;top:0;left:0;right:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-left:0;margin-right:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-left:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:-webkit-sticky;position:sticky;z-index:10;top:8px;border:1px solid #e2e4e7;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder{margin-bottom:12px;padding:12px}.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder .components-button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-left:0;margin-left:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba;border-radius:2px;outline:2px solid transparent}body.admin-color-sunrise .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.blocks-gallery-item figure.is-selected img{border-radius:2px}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{background:#fff;border:1px solid #1e1e1e;border-radius:2px;transition:box-shadow .2s ease-out}@media (prefers-reduced-motion:reduce){.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{transition-duration:0s}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{color:#1e1e1e;min-width:24px;height:24px}@media (min-width:600px){.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{padding:0;width:inherit;height:inherit}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus{color:inherit}.block-library-gallery-item__inline-menu,.block-library-gallery-item__move-menu{margin:8px;display:inline-flex;z-index:20}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__move-menu .components-button{color:transparent}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-7 .block-library-gallery-item__move-menu,.columns-8 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__move-menu{padding:2px}}.block-library-gallery-item__inline-menu{position:absolute;top:-2px;right:-2px}.block-library-gallery-item__move-menu{position:absolute;top:-2px;left:-2px}.blocks-gallery-item__move-backward.components-button,.blocks-gallery-item__move-forward.components-button,.blocks-gallery-item__remove.components-button{padding:0}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-group{margin-top:0;margin-bottom:0}.wp-block-group .block-editor-block-list__insertion-point{left:0;right:0}.wp-block-group>.wp-block-group__inner-container>[data-align=full]{margin-left:auto;margin-right:auto;padding-left:28px;padding-right:28px}@media (min-width:600px){.wp-block-group>.wp-block-group__inner-container>[data-align=full]{padding-left:58px;padding-right:58px}}.wp-block-group.has-background>.wp-block-group__inner-container>[data-align=full]{margin-left:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block[data-type="core/group"]>.wp-block-group__inner-container>[data-align=full]{padding-right:0;padding-left:0;left:0;width:100%;max-width:none}[data-align=full] .wp-block[data-type="core/group"].has-background>.wp-block-group__inner-container>[data-align=full]{width:calc(100% + 60px)}[data-type="core/group"].is-selected .block-list-appender{margin-left:0;margin-right:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.wp-block-html{margin-bottom:28px}.wp-block-html .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}figure.wp-block-image:not(.wp-block){margin:0}.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 img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{width:100%}.wp-block[data-align=left]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=right]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=center]>.wp-block-image{margin-left:auto;margin-right:auto;text-align:center}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-left:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block;box-shadow:none}.wp-block-legacy-widget__edit-container .widget.open{z-index:0}.wp-block-legacy-widget__update-button{margin-left:auto;display:block}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__edit-widget-title,.wp-block-legacy-widget__preview{padding:8px 14px}.wp-block-legacy-widget__edit-widget-title{background:#f8f9f9;color:#555d66;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px 14px;font-weight:600}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer{-ms-grid-row-align:start;align-self:start}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text .editor-media-container__resizer,.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks{word-break:break-word;-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1;text-align:initial;padding:0 8%}.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer,.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}.editor-styles-wrapper .wp-block-navigation ol,.editor-styles-wrapper .wp-block-navigation ul{margin-bottom:0;margin-left:0;padding-left:0}.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block{margin:0}.wp-block-navigation .block-list-appender{margin:0;display:flex;align-items:center}.wp-block-navigation.is-vertical .block-list-appender{margin:8px}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1}.has-child:hover>.wp-block-navigation__container,.has-child>.wp-block-navigation__container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__container,.has-child.is-selected>.wp-block-navigation__container{opacity:1;visibility:visible}.has-child .wp-block-navigation__container .block-list-appender .block-editor-button-block-appender{margin-left:16px}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-left:auto;margin-right:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:right;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link .block-editor-block-list__layout{display:block}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus)[data-rich-text-placeholder]:after{display:inline-block}.wp-block-navigation-link .block-list-appender{margin:10px 16px 16px 10px}.wp-block-navigation-link__nofollow-external-link{display:block}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #e2e4e7}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-left:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.block-editor__container .wp-block-post-author{display:flex;flex-wrap:wrap;line-height:1.5}.wp-block-post-author__byline{color:#6c7781;font-size:13px;margin-top:0;position:relative;font-style:normal}.wp-block-post-author__content{flex-grow:1;flex-basis:0}.block-editor__container .wp-block-post-author__avatar img{margin:0}.block-editor__container .wp-block-post-author__name{margin:-8px 0;font-weight:700}.block-editor__container .wp-block-post-author__bio{margin:16px 0 0}.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-left:0;margin-right:0}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-left:2.5em}.block-editor .wp-block-rss.is-grid{padding-left:0}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 8px 0 0}.wp-block-search__input{border-radius:4px;border:1px solid #7e8993;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px}.wp-block-search__input:focus{outline:none}.wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}.block-editor-block-list__block[data-type="core/separator"].block-editor-block-list__block{margin-top:0;margin-bottom:0}.wp-block-shortcode{display:flex;flex-direction:column;padding:14px;background-color:rgba(139,139,150,.1);font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin-bottom:28px}.wp-block-shortcode label{display:flex;align-items:center;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{max-height:250px}.wp-block-shortcode .dashicon{margin-right:8px}.wp-block-social-links .wp-social-link button{color:currentColor;padding:6px}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:16px;padding-right:16px}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-left:8px}.editor-styles-wrapper .wp-block-social-link{margin:0 8px 0 0}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links .block-list-appender{margin:0;display:flex;align-items:center}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .wp-social-link:disabled{opacity:1}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-block-social-links{min-height:36px}[data-type="core/social-links"] .wp-social-link__is-incomplete{transition:transform .1s ease;transform-origin:center center}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-social-link__is-incomplete{opacity:0;transform:scale(0);width:0;padding:0;margin-right:0}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #007cba;outline:2px solid transparent}body.admin-color-sunrise [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #d1864a}body.admin-color-ocean [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #a3b9a2}body.admin-color-midnight [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #e14d43}body.admin-color-ectoplasm [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #a7b656}body.admin-color-coffee [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #c2a68c}body.admin-color-blue [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #d9ab59}body.admin-color-light [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0085ba}.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/social-link"]:not([contenteditable]):focus:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block[data-type="core/social-link"].is-selected:after{right:8px}.block-library-spacer__resize-container.has-show-handle{background:#f3f4f5}.is-dark-theme .block-library-spacer__resize-container.has-show-handle{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table{margin:0}.wp-block-table table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table figcaption{color:#555d66;font-size:13px;text-align:center}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-right:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#8f98a1;text-decoration:none}.wp-block-template-part__placeholder-input-container{display:flex;flex-wrap:wrap;width:100%}.wp-block-template-part__placeholder-input{margin:5px}.wp-block-template-part__placeholder-preview{margin-bottom:15px;width:100%}.wp-block-template-part__placeholder-preview .block-editor-block-preview__container{padding:1px}.wp-block-template-part__placeholder-preview-title{font-size:15px;font-weight:600;margin-bottom:4px}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.wp-block[data-align=center]>.wp-block-video{text-align:center}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-right:8px}.wp-block[data-type="core/widget-area"]{max-width:700px}.wp-block-widget-area>.components-panel__body>.block-editor-inner-blocks{padding-top:24px}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px;border-radius:2px;background-color:#fff;box-shadow:0 0 0 1px #1e1e1e;outline:1px solid transparent}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-right:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-right:8px;white-space:nowrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 0 0 8px}}.is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #007cba}body.admin-color-sunrise .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d1864a}body.admin-color-ocean .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a3b9a2}body.admin-color-midnight .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #e14d43}body.admin-color-ectoplasm .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a7b656}body.admin-color-coffee .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #c2a68c}body.admin-color-blue .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d9ab59}body.admin-color-light .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #0085ba}.is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #007cba}body.admin-color-sunrise .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d1864a}body.admin-color-ocean .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a3b9a2}body.admin-color-midnight .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #e14d43}body.admin-color-ectoplasm .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a7b656}body.admin-color-coffee .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #c2a68c}body.admin-color-blue .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d9ab59}body.admin-color-light .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #0085ba}.block-editor-block-list__block{margin-top:28px;margin-bottom:28px}#end-resizable-editor-section{display:none}
1
+ #start-resizable-editor-section{display:none}.block-editor ul.wp-block-archives{padding-left:2.5em}.wp-block-audio{margin-left:0;margin-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow__click-redirect{min-height:auto}.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-left:0;padding-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-left:auto;margin-right:auto}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#555d66;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}div[data-type="core/button"]{display:table}.wp-block-buttons .wp-block.block-editor-block-list__block[data-type="core/button"]{display:inline-block;width:auto}.wp-block[data-align=center]>.wp-block-buttons{display:flex;align-items:center;flex-wrap:wrap;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{display:flex;justify-content:flex-end}.wp-block-buttons .block-list-appender{display:inline-block}.block-editor .wp-block-categories ul{padding-left:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code>code{display:block}.wp-block-columns .wp-block{max-width:none}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-left:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.wp-block-cover{position:relative}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:left;margin-left:0;margin-right:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:290px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container{position:absolute!important;top:0;left:0;right:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-left:0;margin-right:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-left:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:-webkit-sticky;position:sticky;z-index:10;top:8px;border:1px solid #e2e4e7;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder{margin-bottom:12px;padding:12px}.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder .components-button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-left:0;margin-left:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba;border-radius:2px;outline:2px solid transparent}body.admin-color-sunrise .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .blocks-gallery-item figure.is-selected{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.blocks-gallery-item figure.is-selected img{border-radius:2px}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{background:#fff;border:1px solid #1e1e1e;border-radius:2px;transition:box-shadow .2s ease-out}@media (prefers-reduced-motion:reduce){.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{transition-duration:0s}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{color:#1e1e1e;min-width:24px;height:24px}@media (min-width:600px){.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{padding:0;width:inherit;height:inherit}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus{color:inherit}.block-library-gallery-item__inline-menu,.block-library-gallery-item__move-menu{margin:8px;display:inline-flex;z-index:20}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__move-menu .components-button{color:transparent}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-7 .block-library-gallery-item__move-menu,.columns-8 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__move-menu{padding:2px}}.block-library-gallery-item__inline-menu{position:absolute;top:-2px;right:-2px}.block-library-gallery-item__move-menu{position:absolute;top:-2px;left:-2px}.blocks-gallery-item__move-backward.components-button,.blocks-gallery-item__move-forward.components-button,.blocks-gallery-item__remove.components-button{padding:0}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-group{margin-top:0;margin-bottom:0}.wp-block-group .block-editor-block-list__insertion-point{left:0;right:0}.wp-block-group>.wp-block-group__inner-container>[data-align=full]{margin-left:auto;margin-right:auto;padding-left:28px;padding-right:28px}@media (min-width:600px){.wp-block-group>.wp-block-group__inner-container>[data-align=full]{padding-left:58px;padding-right:58px}}.wp-block-group.has-background>.wp-block-group__inner-container>[data-align=full]{margin-left:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block[data-type="core/group"]>.wp-block-group__inner-container>[data-align=full]{padding-right:0;padding-left:0;left:0;width:100%;max-width:none}[data-align=full] .wp-block[data-type="core/group"].has-background>.wp-block-group__inner-container>[data-align=full]{width:calc(100% + 60px)}[data-type="core/group"].is-selected .block-list-appender{margin-left:0;margin-right:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.wp-block-html{margin-bottom:28px}.wp-block-html .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}figure.wp-block-image:not(.wp-block){margin:0}.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:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{width:100%}.wp-block[data-align=left]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=right]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=center]>.wp-block-image{margin-left:auto;margin-right:auto;text-align:center}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-left:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block;box-shadow:none}.wp-block-legacy-widget__edit-container .widget.open{z-index:0}.wp-block-legacy-widget__update-button{margin-left:auto;display:block}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__edit-widget-title,.wp-block-legacy-widget__preview{padding:8px 14px}.wp-block-legacy-widget__edit-widget-title{background:#f8f9f9;color:#555d66;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px 14px;font-weight:600}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer{-ms-grid-row-align:start;align-self:start}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text .editor-media-container__resizer,.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks{word-break:break-word;-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1;text-align:initial;padding:0 8%}.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer,.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}.editor-styles-wrapper .wp-block-navigation ol,.editor-styles-wrapper .wp-block-navigation ul{margin-bottom:0;margin-left:0;padding-left:0}.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block{margin:0}.wp-block-navigation .block-list-appender{margin:0;display:flex;align-items:center}.wp-block-navigation.is-vertical .block-list-appender{margin:8px}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1}.has-child:hover>.wp-block-navigation__container,.has-child>.wp-block-navigation__container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__container,.has-child.is-selected>.wp-block-navigation__container{opacity:1;visibility:visible}.has-child .wp-block-navigation__container .block-list-appender .block-editor-button-block-appender{margin-left:16px}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-left:auto;margin-right:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:right;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link .block-editor-block-list__layout{display:block}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus)[data-rich-text-placeholder]:after{display:inline-block}.wp-block-navigation-link .block-list-appender{margin:10px 16px 16px 10px}.wp-block-navigation-link__nofollow-external-link{display:block}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #e2e4e7}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-left:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.block-editor__container .wp-block-post-author{display:flex;flex-wrap:wrap;line-height:1.5}.wp-block-post-author__byline{color:#6c7781;font-size:13px;margin-top:0;position:relative;font-style:normal}.wp-block-post-author__content{flex-grow:1;flex-basis:0}.block-editor__container .wp-block-post-author__avatar img{margin:0}.block-editor__container .wp-block-post-author__name{margin:-8px 0;font-weight:700}.block-editor__container .wp-block-post-author__bio{margin:16px 0 0}.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-left:0;margin-right:0}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-left:2.5em}.block-editor .wp-block-rss.is-grid{padding-left:0}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 8px 0 0}.wp-block-search__input{border-radius:4px;border:1px solid #7e8993;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px}.wp-block-search__input:focus{outline:none}.wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}.block-editor-block-list__block[data-type="core/separator"].block-editor-block-list__block{margin-top:0;margin-bottom:0}.wp-block-shortcode{display:flex;flex-direction:column;padding:14px;background-color:rgba(139,139,150,.1);font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin-bottom:28px}.wp-block-shortcode label{display:flex;align-items:center;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{max-height:250px}.wp-block-shortcode .dashicon{margin-right:8px}.wp-block-social-links .wp-social-link button{color:currentColor;padding:6px}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:16px;padding-right:16px}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-left:8px}.editor-styles-wrapper .wp-block-social-link{margin:0 8px 0 0}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links .block-list-appender{margin:0;display:flex;align-items:center}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .wp-social-link:disabled{opacity:1}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-block-social-links{min-height:36px}[data-type="core/social-links"] .wp-social-link__is-incomplete{transition:transform .1s ease;transform-origin:center center}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-social-link__is-incomplete{opacity:0;transform:scale(0);width:0;padding:0;margin-right:0}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #007cba;outline:2px solid transparent}body.admin-color-sunrise [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #d1864a}body.admin-color-ocean [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #a3b9a2}body.admin-color-midnight [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #e14d43}body.admin-color-ectoplasm [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #a7b656}body.admin-color-coffee [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #c2a68c}body.admin-color-blue [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #d9ab59}body.admin-color-light [data-type="core/social-links"] .wp-social-link:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0085ba}.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/social-link"]:not([contenteditable]):focus:after,.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block[data-type="core/social-link"].is-selected:after{right:8px}.block-library-spacer__resize-container.has-show-handle{background:#f3f4f5}.is-dark-theme .block-library-spacer__resize-container.has-show-handle{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table{margin:0}.wp-block-table table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table figcaption{color:#555d66;font-size:13px;text-align:center}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-right:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#8f98a1;text-decoration:none}.wp-block-template-part__placeholder-input-container{display:flex;flex-wrap:wrap;width:100%}.wp-block-template-part__placeholder-input{margin:5px}.wp-block-template-part__placeholder-preview{margin-bottom:15px;width:100%}.wp-block-template-part__placeholder-preview .block-editor-block-preview__container{padding:1px}.wp-block-template-part__placeholder-preview-title{font-size:15px;font-weight:600;margin-bottom:4px}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.wp-block[data-align=center]>.wp-block-video{text-align:center}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-right:8px}.wp-block[data-type="core/widget-area"]{max-width:700px}.wp-block-widget-area>.components-panel__body>.block-editor-inner-blocks{padding-top:24px}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px;border-radius:2px;background-color:#fff;box-shadow:0 0 0 1px #1e1e1e;outline:1px solid transparent}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-right:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-right:8px;white-space:nowrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 0 0 8px}}.is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #007cba}body.admin-color-sunrise .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d1864a}body.admin-color-ocean .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a3b9a2}body.admin-color-midnight .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #e14d43}body.admin-color-ectoplasm .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a7b656}body.admin-color-coffee .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #c2a68c}body.admin-color-blue .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d9ab59}body.admin-color-light .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #0085ba}.is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #007cba}body.admin-color-sunrise .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d1864a}body.admin-color-ocean .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a3b9a2}body.admin-color-midnight .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #e14d43}body.admin-color-ectoplasm .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #a7b656}body.admin-color-coffee .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #c2a68c}body.admin-color-blue .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #d9ab59}body.admin-color-light .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel{box-shadow:0 0 0 1px #0085ba}.block-editor-block-list__block{margin-top:28px;margin-bottom:28px}#end-resizable-editor-section{display:none}
build/block-library/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'moment', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'a67657f5aebaecb22b89696fd706351a');
1
+ <?php return array('dependencies' => array('lodash', 'moment', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '83725615ddf8757d39ce3ce8dbc59b5f');
build/block-library/index.js CHANGED
@@ -5,7 +5,7 @@ this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function r(n){if(t
5
  http://jedwatson.github.io/classnames
6
  */!function(){"use strict";var r={}.hasOwnProperty;function c(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n))e.push(c.apply(null,n));else if("object"===o)for(var a in n)r.call(n,a)&&n[a]&&e.push(a)}}return e.join(" ")}e.exports?e.exports=c:void 0===(n=function(){return c}.apply(t,[]))||(e.exports=n)}()},113:function(e,t,r){"use strict";var n=r(5),c=r(15),o=r(0);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}t.a=function(e){var t=e.icon,r=e.size,i=void 0===r?24:r,l=Object(c.a)(e,["icon","size"]);return Object(o.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({width:i,height:i},l))}},12:function(e,t){!function(){e.exports=this.wp.blocks}()},13:function(e,t,r){"use strict";function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,"a",(function(){return n}))},14:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(36);var c=r(29),o=r(37);function a(e,t){return Object(n.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,c=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){c=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(c)throw o}}return r}}(e,t)||Object(c.a)(e,t)||Object(o.a)()}},15:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(41);function c(e,t){if(null==e)return{};var r,c,o=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(c=0;c<a.length;c++)r=a[c],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}},16:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(25);var c=r(35),o=r(29);function a(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||Object(c.a)(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},17:function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,"a",(function(){return c}))},18:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},184:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(c.Path,{d:"M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z"}));t.a=o},186:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(c.Path,{d:"M16 4h2v9H7v3l-5-4 5-4v3h9V4z"}));t.a=o},187:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(c.Path,{d:"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.6zM13.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"}));t.a=o},188:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.a=o},19:function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(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&&n(e,t)}r.d(t,"a",(function(){return c}))},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(34),c=r(9);function o(e,t){return!t||"object"!==Object(n.a)(t)&&"function"!=typeof t?Object(c.a)(e):t}},21:function(e,t){!function(){e.exports=this.wp.keycodes}()},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},236:function(e,t,r){
7
  /*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
8
- e.exports=function(){"use strict";function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,c=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){c=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(c)throw o}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}return function(){function r(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r)}var n,c,o;return n=r,(c=[{key:"getColorAsync",value:function(e,t,r){e.complete?t.call(e,this.getColor(e,r),r&&r.data):this._bindImageEvents(e,t,r)}},{key:"getColor",value:function(e,t){t=t||{};var r=this._getDefaultColor(t),n=this._getOriginalSize(e),c=this._prepareSizeAndPosition(n,t),o=null,a=r;if(!(c.srcWidth&&c.srcHeight&&c.destWidth&&c.destHeight))return this._prepareResult(r,new Error("FastAverageColor: Incorrect sizes."));if(!this._ctx&&(this._canvas=this._makeCanvas(),this._ctx=this._canvas.getContext&&this._canvas.getContext("2d"),!this._ctx))return this._prepareResult(r,new Error("FastAverageColor: Canvas Context 2D is not supported in this browser."));this._canvas.width=c.destWidth,this._canvas.height=c.destHeight;try{this._ctx.clearRect(0,0,c.destWidth,c.destHeight),this._ctx.drawImage(e,c.srcLeft,c.srcTop,c.srcWidth,c.srcHeight,0,0,c.destWidth,c.destHeight);var i=this._ctx.getImageData(0,0,c.destWidth,c.destHeight).data;a=this.getColorFromArray4(i,t)}catch(e){o=e}return this._prepareResult(a,o)}},{key:"getColorFromArray4",value:function(e,t){t=t||{};var r=e.length;if(r<4)return this._getDefaultColor(t);var n=r-r%4,c=4*(t.step||1),o="_"+(t.algorithm||"sqrt")+"Algorithm";if("function"!=typeof this[o])throw new Error("FastAverageColor: ".concat(t.algorithm," is unknown algorithm."));return this[o](e,n,c)}},{key:"destroy",value:function(){delete this._canvas,delete this._ctx}},{key:"_getDefaultColor",value:function(e){return this._getOption(e,"defaultColor",[255,255,255,255])}},{key:"_getOption",value:function(e,t,r){return void 0===e[t]?r:e[t]}},{key:"_prepareSizeAndPosition",value:function(e,t){var r,n=this._getOption(t,"left",0),c=this._getOption(t,"top",0),o=this._getOption(t,"width",e.width),a=this._getOption(t,"height",e.height),i=o,l=a;return"precision"===t.mode?{srcLeft:n,srcTop:c,srcWidth:o,srcHeight:a,destWidth:i,destHeight:l}:(o>a?(r=o/a,i=100,l=Math.round(i/r)):(r=a/o,l=100,i=Math.round(l/r)),(i>o||l>a||i<10||l<10)&&(i=o,l=a),{srcLeft:n,srcTop:c,srcWidth:o,srcHeight:a,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,r){for(var n=0,c=0,o=0,a=0,i=0,l=0;l<t;l+=r){var s=e[l+3];n+=e[l]*s,c+=e[l+1]*s,o+=e[l+2]*s,a+=s,i++}return a?[Math.round(n/a),Math.round(c/a),Math.round(o/a),Math.round(a/i)]:[0,0,0,0]}},{key:"_sqrtAlgorithm",value:function(e,t,r){for(var n=0,c=0,o=0,a=0,i=0,l=0;l<t;l+=r){var s=e[l],u=e[l+1],b=e[l+2],m=e[l+3];n+=s*s*m,c+=u*u*m,o+=b*b*m,a+=m,i++}return a?[Math.round(Math.sqrt(n/a)),Math.round(Math.sqrt(c/a)),Math.round(Math.sqrt(o/a)),Math.round(a/i)]:[0,0,0,0]}},{key:"_dominantAlgorithm",value:function(e,r,n){for(var c={},o=0;o<r;o+=n){var a=e[o],i=e[o+1],l=e[o+2],s=e[o+3],u=Math.round(a/24)+","+Math.round(i/24)+","+Math.round(l/24);c[u]?c[u]=[c[u][0]+a*s,c[u][1]+i*s,c[u][2]+l*s,c[u][3]+s,c[u][4]+1]:c[u]=[a*s,i*s,l*s,s,1]}var b=t(Object.keys(c).map((function(e){return c[e]})).sort((function(e,t){var r=e[4],n=t[4];return r>n?-1:r===n?0:1}))[0],5),m=b[0],d=b[1],p=b[2],g=b[3],h=b[4];return g?[Math.round(m/g),Math.round(d/g),Math.round(p/g),Math.round(g/h)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,r){var n=this,c=(r=r||{})&&r.data,o=this._getDefaultColor(r),a=function(){s(),t.call(e,n.getColor(e,r),c)},i=function(){s(),t.call(e,n._prepareResult(o,new Error("Image error")),c)},l=function(){s(),t.call(e,n._prepareResult(o,new Error("Image abort")),c)},s=function(){e.removeEventListener("load",a),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",a),e.addEventListener("error",i),e.addEventListener("abort",l)}},{key:"_prepareResult",value:function(e,t){var r=e.slice(0,3),n=[].concat(r,e[3]/255),c=this._isDark(e);return{error:t,value:e,rgb:"rgb("+r.join(",")+")",rgba:"rgba("+n.join(",")+")",hex:this._arrayToHex(r),hexa:this._arrayToHex(e),isDark:c,isLight:!c}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){return(299*e[0]+587*e[1]+114*e[2])/1e3<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(n.prototype,c),o&&e(n,o),r}()}()},25:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},255:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(c.Path,{d:"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"}));t.a=o},256:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"}));t.a=o},257:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));t.a=o},258:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"}));t.a=o},259:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"}));t.a=o},26:function(e,t){!function(){e.exports=this.wp.richText}()},264:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(n.createElement)(c.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"}));t.a=o},265:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(c.Path,{d:"M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z"}));t.a=o},28:function(e,t){!function(){e.exports=this.wp.url}()},29:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(25);function c(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},3:function(e,t){!function(){e.exports=this.wp.components}()},30:function(e,t){!function(){e.exports=this.wp.dom}()},34:function(e,t,r){"use strict";function n(e){return(n="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)}r.d(t,"a",(function(){return n}))},35:function(e,t,r){"use strict";function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},36:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},367:function(e,t,r){"use strict";r.r(t),r.d(t,"registerCoreBlocks",(function(){return ed})),r.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return td}));var n={};r.r(n),r.d(n,"metadata",(function(){return Le})),r.d(n,"name",(function(){return Ve})),r.d(n,"settings",(function(){return Fe}));var c={};r.r(c),r.d(c,"metadata",(function(){return Ht})),r.d(c,"name",(function(){return Dt})),r.d(c,"settings",(function(){return Lt}));var o={};r.r(o),r.d(o,"metadata",(function(){return or})),r.d(o,"name",(function(){return ar})),r.d(o,"settings",(function(){return ir}));var a={};r.r(a),r.d(a,"metadata",(function(){return jr})),r.d(a,"name",(function(){return yr})),r.d(a,"settings",(function(){return wr}));var i={};r.r(i),r.d(i,"metadata",(function(){return Yr})),r.d(i,"name",(function(){return Xr})),r.d(i,"settings",(function(){return en}));var l={};r.r(l),r.d(l,"metadata",(function(){return cn})),r.d(l,"name",(function(){return on})),r.d(l,"settings",(function(){return an}));var s={};r.r(s),r.d(s,"metadata",(function(){return gn})),r.d(s,"name",(function(){return hn})),r.d(s,"settings",(function(){return fn}));var u={};r.r(u),r.d(u,"metadata",(function(){return Vn})),r.d(u,"name",(function(){return Fn})),r.d(u,"settings",(function(){return Un}));var b={};r.r(b),r.d(b,"metadata",(function(){return Kn})),r.d(b,"name",(function(){return Qn})),r.d(b,"settings",(function(){return $n}));var m={};r.r(m),r.d(m,"metadata",(function(){return oc})),r.d(m,"name",(function(){return ac})),r.d(m,"settings",(function(){return ic}));var d={};r.r(d),r.d(d,"metadata",(function(){return dc})),r.d(d,"name",(function(){return pc})),r.d(d,"settings",(function(){return gc}));var p={};r.r(p),r.d(p,"metadata",(function(){return yc})),r.d(p,"name",(function(){return wc})),r.d(p,"settings",(function(){return _c}));var g={};r.r(g),r.d(g,"metadata",(function(){return Vc})),r.d(g,"name",(function(){return Fc})),r.d(g,"settings",(function(){return Uc}));var h={};r.r(h),r.d(h,"metadata",(function(){return qc})),r.d(h,"name",(function(){return Zc})),r.d(h,"settings",(function(){return Kc}));var f={};r.r(f),r.d(f,"metadata",(function(){return _o})),r.d(f,"name",(function(){return ko})),r.d(f,"settings",(function(){return Co}));var O={};r.r(O),r.d(O,"name",(function(){return Zo})),r.d(O,"settings",(function(){return Ko})),r.d(O,"common",(function(){return Qo})),r.d(O,"others",(function(){return $o}));var v={};r.r(v),r.d(v,"metadata",(function(){return na})),r.d(v,"name",(function(){return ca})),r.d(v,"settings",(function(){return oa}));var j={};r.r(j),r.d(j,"metadata",(function(){return ba})),r.d(j,"name",(function(){return ma})),r.d(j,"settings",(function(){return da}));var y={};r.r(y),r.d(y,"metadata",(function(){return Ma})),r.d(y,"name",(function(){return Ia})),r.d(y,"settings",(function(){return Aa}));var w={};r.r(w),r.d(w,"justifyLeftIcon",(function(){return Ga})),r.d(w,"justifyCenterIcon",(function(){return Wa})),r.d(w,"justifyRightIcon",(function(){return qa}));var _={};r.r(_),r.d(_,"metadata",(function(){return $a})),r.d(_,"name",(function(){return Ja})),r.d(_,"settings",(function(){return Ya}));var k={};r.r(k),r.d(k,"metadata",(function(){return si})),r.d(k,"name",(function(){return ui})),r.d(k,"settings",(function(){return bi}));var C={};r.r(C),r.d(C,"metadata",(function(){return gi})),r.d(C,"name",(function(){return hi})),r.d(C,"settings",(function(){return fi}));var E={};r.r(E),r.d(E,"metadata",(function(){return Ri})),r.d(E,"name",(function(){return zi})),r.d(E,"settings",(function(){return Mi}));var x={};r.r(x),r.d(x,"metadata",(function(){return tl})),r.d(x,"name",(function(){return rl})),r.d(x,"settings",(function(){return nl}));var S={};r.r(S),r.d(S,"metadata",(function(){return vl})),r.d(S,"name",(function(){return jl})),r.d(S,"settings",(function(){return yl}));var P={};r.r(P),r.d(P,"metadata",(function(){return _l})),r.d(P,"name",(function(){return kl})),r.d(P,"settings",(function(){return Cl}));var B={};r.r(B),r.d(B,"metadata",(function(){return Bl})),r.d(B,"name",(function(){return Tl})),r.d(B,"settings",(function(){return Nl}));var T={};r.r(T),r.d(T,"metadata",(function(){return Ml})),r.d(T,"name",(function(){return Il})),r.d(T,"settings",(function(){return Al}));var N={};r.r(N),r.d(N,"metadata",(function(){return Ll})),r.d(N,"name",(function(){return Vl})),r.d(N,"settings",(function(){return Fl}));var R={};r.r(R),r.d(R,"metadata",(function(){return Xl})),r.d(R,"name",(function(){return es})),r.d(R,"settings",(function(){return ts}));var z={};r.r(z),r.d(z,"metadata",(function(){return ls})),r.d(z,"name",(function(){return ss})),r.d(z,"settings",(function(){return us}));var M={};r.r(M),r.d(M,"metadata",(function(){return ms})),r.d(M,"name",(function(){return ds})),r.d(M,"settings",(function(){return ps}));var I={};r.r(I),r.d(I,"metadata",(function(){return fs})),r.d(I,"name",(function(){return Os})),r.d(I,"settings",(function(){return vs}));var A={};r.r(A),r.d(A,"metadata",(function(){return Es})),r.d(A,"name",(function(){return xs})),r.d(A,"settings",(function(){return Ss}));var H={};r.r(H),r.d(H,"metadata",(function(){return Rs})),r.d(H,"name",(function(){return zs})),r.d(H,"settings",(function(){return Ms}));var D={};r.r(D),r.d(D,"metadata",(function(){return Ls})),r.d(D,"name",(function(){return Vs})),r.d(D,"settings",(function(){return Fs}));var L={};r.r(L),r.d(L,"metadata",(function(){return Ws})),r.d(L,"name",(function(){return qs})),r.d(L,"settings",(function(){return Zs}));var V={};r.r(V),r.d(V,"metadata",(function(){return Js})),r.d(V,"name",(function(){return Ys})),r.d(V,"settings",(function(){return Xs}));var F={};r.r(F),r.d(F,"metadata",(function(){return Bu})),r.d(F,"name",(function(){return Tu})),r.d(F,"settings",(function(){return Nu}));var U={};r.r(U),r.d(U,"metadata",(function(){return zu})),r.d(U,"name",(function(){return Mu})),r.d(U,"settings",(function(){return Iu}));var G={};r.r(G),r.d(G,"metadata",(function(){return Lu})),r.d(G,"name",(function(){return Vu})),r.d(G,"settings",(function(){return Fu}));var W={};r.r(W),r.d(W,"metadata",(function(){return Ju})),r.d(W,"name",(function(){return Yu})),r.d(W,"settings",(function(){return Xu}));var q={};r.r(q),r.d(q,"metadata",(function(){return cb})),r.d(q,"name",(function(){return ob})),r.d(q,"settings",(function(){return ab}));var Z={};r.r(Z),r.d(Z,"metadata",(function(){return db})),r.d(Z,"name",(function(){return pb})),r.d(Z,"settings",(function(){return gb}));var K={};r.r(K),r.d(K,"metadata",(function(){return jb})),r.d(K,"name",(function(){return yb})),r.d(K,"settings",(function(){return wb}));var Q={};r.r(Q),r.d(Q,"metadata",(function(){return xb})),r.d(Q,"name",(function(){return Sb})),r.d(Q,"settings",(function(){return Pb}));var $={};r.r($),r.d($,"metadata",(function(){return Tb})),r.d($,"name",(function(){return Nb})),r.d($,"settings",(function(){return Rb}));var J={};r.r(J),r.d(J,"metadata",(function(){return zb})),r.d(J,"name",(function(){return Mb})),r.d(J,"settings",(function(){return Ib}));var Y={};r.r(Y),r.d(Y,"metadata",(function(){return Fb})),r.d(Y,"name",(function(){return Ub})),r.d(Y,"settings",(function(){return Gb}));var X={};r.r(X),r.d(X,"metadata",(function(){return tm})),r.d(X,"name",(function(){return rm})),r.d(X,"settings",(function(){return nm})),r.d(X,"useQueryContext",(function(){return Jb}));var ee={};r.r(ee),r.d(ee,"metadata",(function(){return am})),r.d(ee,"name",(function(){return im})),r.d(ee,"settings",(function(){return lm}));var te={};r.r(te),r.d(te,"metadata",(function(){return sm})),r.d(te,"name",(function(){return um})),r.d(te,"settings",(function(){return bm}));var re={};r.r(re),r.d(re,"metadata",(function(){return dm})),r.d(re,"name",(function(){return pm})),r.d(re,"settings",(function(){return gm}));var ne={};r.r(ne),r.d(ne,"metadata",(function(){return Om})),r.d(ne,"name",(function(){return vm})),r.d(ne,"settings",(function(){return jm}));var ce={};r.r(ce),r.d(ce,"metadata",(function(){return _m})),r.d(ce,"name",(function(){return km})),r.d(ce,"settings",(function(){return Cm}));var oe={};r.r(oe),r.d(oe,"metadata",(function(){return xm})),r.d(oe,"name",(function(){return Sm})),r.d(oe,"settings",(function(){return Pm}));var ae={};r.r(ae),r.d(ae,"metadata",(function(){return Tm})),r.d(ae,"name",(function(){return Nm})),r.d(ae,"settings",(function(){return Rm}));var ie={};r.r(ie),r.d(ie,"metadata",(function(){return zm})),r.d(ie,"name",(function(){return Mm})),r.d(ie,"settings",(function(){return Im}));var le={};r.r(le),r.d(le,"metadata",(function(){return Hm})),r.d(le,"name",(function(){return Dm})),r.d(le,"settings",(function(){return Lm}));var se={};r.r(se),r.d(se,"metadata",(function(){return Fm})),r.d(se,"name",(function(){return Um})),r.d(se,"settings",(function(){return Gm}));var ue={};r.r(ue),r.d(ue,"metadata",(function(){return qm})),r.d(ue,"name",(function(){return Zm})),r.d(ue,"settings",(function(){return Km}));var be={};r.r(be),r.d(be,"metadata",(function(){return $m})),r.d(be,"name",(function(){return Jm})),r.d(be,"settings",(function(){return Ym}));var me=r(16),de=r(5),pe=r(43),ge=r(6),he=r(12),fe=r(2),Oe=r(1),ve=r(0),je=r(7),ye=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M18.3 4H9.9v-.1l-.9.2c-2.3.4-4 2.4-4 4.8s1.7 4.4 4 4.8l.7.1V20h1.5V5.5h2.9V20h1.5V5.5h2.7V4z"})),we=r(11),_e=r.n(we);function ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ke(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ee={className:!1},xe={align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},backgroundColor:{type:"string"},fontSize:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]},style:{type:"object"}},Se=function(e){if(!e.customTextColor&&!e.customBackgroundColor&&!e.customFontSize)return e;var t={};return(e.customTextColor||e.customBackgroundColor)&&(t.color={}),e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customFontSize&&(t.typography={fontSize:e.customFontSize}),Ce({},Object(fe.omit)(e,["customTextColor","customBackgroundColor","customFontSize"]),{style:t})},Pe=[{supports:Ee,attributes:Ce({},Object(fe.omit)(xe,["style"]),{customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}}),migrate:Se,save:function(e){var t,r=e.attributes,n=r.align,c=r.content,o=r.dropCap,a=r.backgroundColor,i=r.textColor,l=r.customBackgroundColor,s=r.customTextColor,u=r.fontSize,b=r.customFontSize,m=r.direction,d=Object(ge.getColorClassName)("color",i),p=Object(ge.getColorClassName)("background-color",a),g=Object(ge.getFontSizeClass)(u),h=_e()((t={"has-text-color":i||s,"has-background":a||l,"has-drop-cap":o},Object(de.a)(t,"has-text-align-".concat(n),n),Object(de.a)(t,g,g),Object(de.a)(t,d,d),Object(de.a)(t,p,p),t)),f={backgroundColor:p?void 0:l,color:d?void 0:s,fontSize:g?void 0:b};return Object(ve.createElement)(ge.RichText.Content,{tagName:"p",style:f,className:h||void 0,value:c,dir:m})}},{supports:Ee,attributes:Ce({},Object(fe.omit)(xe,["style"]),{customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}}),migrate:Se,save:function(e){var t,r=e.attributes,n=r.align,c=r.content,o=r.dropCap,a=r.backgroundColor,i=r.textColor,l=r.customBackgroundColor,s=r.customTextColor,u=r.fontSize,b=r.customFontSize,m=r.direction,d=Object(ge.getColorClassName)("color",i),p=Object(ge.getColorClassName)("background-color",a),g=Object(ge.getFontSizeClass)(u),h=_e()((t={"has-text-color":i||s,"has-background":a||l,"has-drop-cap":o},Object(de.a)(t,g,g),Object(de.a)(t,d,d),Object(de.a)(t,p,p),t)),f={backgroundColor:p?void 0:l,color:d?void 0:s,fontSize:g?void 0:b,textAlign:n};return Object(ve.createElement)(ge.RichText.Content,{tagName:"p",style:f,className:h||void 0,value:c,dir:m})}},{supports:Ee,attributes:Ce({},Object(fe.omit)(xe,["style"]),{customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"},width:{type:"string"}}),migrate:Se,save:function(e){var t,r=e.attributes,n=r.width,c=r.align,o=r.content,a=r.dropCap,i=r.backgroundColor,l=r.textColor,s=r.customBackgroundColor,u=r.customTextColor,b=r.fontSize,m=r.customFontSize,d=Object(ge.getColorClassName)("color",l),p=Object(ge.getColorClassName)("background-color",i),g=b&&"is-".concat(b,"-text"),h=_e()((t={},Object(de.a)(t,"align".concat(n),n),Object(de.a)(t,"has-background",i||s),Object(de.a)(t,"has-drop-cap",a),Object(de.a)(t,g,g),Object(de.a)(t,d,d),Object(de.a)(t,p,p),t)),f={backgroundColor:p?void 0:s,color:d?void 0:u,fontSize:g?void 0:m,textAlign:c};return Object(ve.createElement)(ge.RichText.Content,{tagName:"p",style:f,className:h||void 0,value:o})}},{supports:Ee,attributes:Object(fe.omit)(Ce({},xe,{fontSize:{type:"number"}}),["style"]),save:function(e){var t,r=e.attributes,n=r.width,c=r.align,o=r.content,a=r.dropCap,i=r.backgroundColor,l=r.textColor,s=r.fontSize,u=_e()((t={},Object(de.a)(t,"align".concat(n),n),Object(de.a)(t,"has-background",i),Object(de.a)(t,"has-drop-cap",a),t)),b={backgroundColor:i,color:l,fontSize:s,textAlign:c};return Object(ve.createElement)("p",{style:b,className:u||void 0},o)},migrate:function(e){return Se(Object(fe.omit)(Ce({},e,{customFontSize:Object(fe.isFinite)(e.fontSize)?e.fontSize:void 0,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.backgroundColor&&"#"===e.backgroundColor[0]?e.backgroundColor:void 0})))}},{supports:Ee,attributes:Ce({},xe,{content:{type:"string",source:"html",default:""}}),save:function(e){var t=e.attributes;return Object(ve.createElement)(ve.RawHTML,null,t.content)},migrate:function(e){return e}}],Be=r(14),Te=r(3),Ne=r(4),Re=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"}));function ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Me=window.getComputedStyle,Ie=window.document.querySelector.bind(document);function Ae(e){var t=e.direction,r=e.setDirection;return Object(Ne.useSelect)((function(e){return!!e("core/block-editor").getSettings().isRTL}),[])&&Object(ve.createElement)(Te.ToolbarGroup,{controls:[{icon:Re,title:Object(Oe._x)("Left to right","editor button"),isActive:"ltr"===t,onClick:function(){r("ltr"===t?void 0:"ltr")}}]})}var He=function(e){var t=e.attributes,r=e.mergeBlocks,n=e.onReplace,c=e.onRemove,o=e.setAttributes,a=t.align,i=t.content,l=t.direction,s=t.dropCap,u=t.placeholder,b=t.fontSize,m=t.style,d=Object(ve.useRef)(),p=function(e,t,r){var n=Object(ge.__experimentalUseEditorFeature)("__experimentalDisableDropCap"),c=Object(ve.useState)(),o=Object(Be.a)(c,2),a=o[0],i=o[1],l=Object(Ne.useSelect)((function(e){return e("core/block-editor").getSettings()})).fontSizes,s=Object(ge.getFontSize)(l,t,r);return Object(ve.useEffect)((function(){if(!n){var t=Ie("p.has-drop-cap");e&&t?i(Me(t,"first-letter").lineHeight):a&&i(void 0)}}),[n,e,a,i,s.size]),[!n,a]}(s,b,null==m?void 0:m.fontSize),g=Object(Be.a)(p,2),h=g[0],f={direction:l,minHeight:g[1]};return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.AlignmentToolbar,{value:a,onChange:function(e){return o({align:e})}}),Object(ve.createElement)(Ae,{direction:l,setDirection:function(e){return o({direction:e})}})),Object(ve.createElement)(ge.InspectorControls,null,h&&Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Text settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Drop cap"),checked:!!s,onChange:function(){return o({dropCap:!s})},help:s?Object(Oe.__)("Showing large initial letter."):Object(Oe.__)("Toggle to show a large initial letter.")}))),Object(ve.createElement)(ge.RichText,{ref:d,identifier:"content",tagName:ge.__experimentalBlock.p,className:_e()(Object(de.a)({"has-drop-cap":s},"has-text-align-".concat(a),a)),style:f,value:i,onChange:function(e){return o({content:e})},onSplit:function(e){return e?Object(he.createBlock)("core/paragraph",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ze(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{content:e})):Object(he.createBlock)("core/paragraph")},onMerge:r,onReplace:n,onRemove:c,"aria-label":i?Object(Oe.__)("Paragraph block"):Object(Oe.__)("Empty block; start writing or type forward slash to choose a block"),placeholder:u||Object(Oe.__)("Start writing or type / to choose a block"),__unstableEmbedURLOnPaste:!0,__unstableAllowPrefixTransformations:!0}))};var De={from:[{type:"raw",priority:20,selector:"p",schema:function(e){return{p:{children:e.phrasingContentSchema,attributes:e.isPaste?[]:["style"]}}},transform:function(e){var t=Object(he.getBlockAttributes)("core/paragraph",e.outerHTML),r=(e.style||{}).textAlign;return"left"!==r&&"center"!==r&&"right"!==r||(t.align=r),Object(he.createBlock)("core/paragraph",t)}}]},Le={name:"core/paragraph",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]}}},Ve=Le.name,Fe={title:Object(Oe.__)("Paragraph"),description:Object(Oe.__)("Start with the building block of all narrative."),icon:ye,keywords:[Object(Oe.__)("text")],example:{attributes:{content:Object(Oe.__)("In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing."),style:{typography:{fontSize:28}},dropCap:!0}},supports:{className:!1,__unstablePasteTextInline:!0,lightBlockWrapper:!0,__experimentalColor:"web"===ve.Platform.OS,__experimentalLineHeight:!0,__experimentalFontSize:!0},__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.content;return Object(fe.isEmpty)(r)?Object(Oe.__)("Empty"):r}},transforms:De,deprecated:Pe,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:He,save:function(e){var t=e.attributes,r=t.align,n=t.content,c=t.dropCap,o=t.direction,a=_e()(Object(de.a)({"has-drop-cap":c},"has-text-align-".concat(r),r));return Object(ve.createElement)(ge.RichText.Content,{tagName:"p",className:a||void 0,value:n,dir:o})}},Ue=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),Ge=r(10),We={align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},qe=[{attributes:We,save:function(e){var t,r=e.attributes,n=r.url,c=r.alt,o=r.caption,a=r.align,i=r.href,l=r.width,s=r.height,u=r.id,b=_e()((t={},Object(de.a)(t,"align".concat(a),a),Object(de.a)(t,"is-resized",l||s),t)),m=Object(ve.createElement)("img",{src:n,alt:c,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(ve.createElement)("figure",{className:b},i?Object(ve.createElement)("a",{href:i},m):m,!ge.RichText.isEmpty(o)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:We,save:function(e){var t=e.attributes,r=t.url,n=t.alt,c=t.caption,o=t.align,a=t.href,i=t.width,l=t.height,s=t.id,u=Object(ve.createElement)("img",{src:r,alt:n,className:s?"wp-image-".concat(s):null,width:i,height:l});return Object(ve.createElement)("figure",{className:o?"align".concat(o):null},a?Object(ve.createElement)("a",{href:a},u):u,!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:c}))}},{attributes:We,save:function(e){var t=e.attributes,r=t.url,n=t.alt,c=t.caption,o=t.align,a=t.href,i=t.width,l=t.height,s=i||l?{width:i,height:l}:{},u=Object(ve.createElement)("img",Object(Ge.a)({src:r,alt:n},s)),b={};return i?b={width:i}:"left"!==o&&"right"!==o||(b={maxWidth:"50%"}),Object(ve.createElement)("figure",{className:o?"align".concat(o):null,style:b},a?Object(ve.createElement)("a",{href:a},u):u,!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:c}))}}],Ze=r(47),Ke=r(8),Qe=r(28),$e=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"})),Je=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM13.2 7.7c-.4.4-.7 1.1-.7 1.9v3.7c-.4-.3-.8-.4-1.3-.4-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2.5 0 1-.2 1.4-.5.9-.6 1.4-1.6 1.4-2.6V9.6c0-.4.1-.6.2-.8.3-.3 1-.3 1.6-.3h.2V7h-.2c-.7 0-1.8 0-2.6.7z"})),Ye=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9.2 4.5H19c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V9.8l4.6-5.3zm9.8 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),Xe=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM10 15l5-3-5-3v6z"})),et={foreground:"#1da1f2",src:Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.G,null,Object(ve.createElement)(Te.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},tt={foreground:"#ff0000",src:Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},rt={foreground:"#3b5998",src:Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},nt=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.G,null,Object(ve.createElement)(Te.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),ct={foreground:"#0073AA",src:Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.G,null,Object(ve.createElement)(Te.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},ot={foreground:"#1db954",src:Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},at=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),it={foreground:"#1ab7ea",src:Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.G,null,Object(ve.createElement)(Te.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},lt=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),st={foreground:"#35465c",src:Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M19 3H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.69 14.66c-2.72 0-3.1-1.9-3.1-3.16v-3.56H8.49V8.99c1.7-.62 2.54-1.99 2.64-2.87 0-.06.06-.41.06-.58h1.9v3.1h2.17v2.3h-2.18v3.1c0 .47.13 1.3 1.2 1.26h1.1v2.36c-1.01.02-2.07 0-2.07 0z"}))},ut=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),Object(ve.createElement)(Te.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),Object(ve.createElement)(Te.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})),bt=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",fill:"#4bc7ee"}),Object(ve.createElement)(Te.Path,{d:"m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z",fill:"#d4cdcb"}),Object(ve.createElement)(Te.Path,{d:"m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",fill:"#c3d82e"}),Object(ve.createElement)(Te.Path,{d:"m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z",fill:"#e4ecb0"}),Object(ve.createElement)(Te.Path,{d:"m.0206909 21 19.5468091-9.063 1.6621 2.8344z",fill:"#209dbd"}),Object(ve.createElement)(Te.Path,{d:"m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",fill:"#7cb3c9"})),mt=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"m12.1479 18.5957c-2.4949 0-4.28131-1.7558-4.28131-4.0658 0-2.2176 1.78641-4.0965 4.09651-4.0965 2.2793 0 4.0349 1.7864 4.0349 4.1581 0 2.2794-1.7556 4.0042-3.8501 4.0042zm8.3521-18.5957-4.5329 1v7c-1.1088-1.41691-2.8028-1.8787-4.8049-1.8787-2.09443 0-3.97329.76993-5.5133 2.27917-1.72483 1.66323-2.6489 3.78863-2.6489 6.16033 0 2.5873.98562 4.8049 2.89526 6.499 1.44763 1.2936 3.17251 1.9402 5.17454 1.9402 1.9713 0 3.4498-.5236 4.8973-1.9402v1.9402h4.5329c0-7.6359 0-15.3641 0-23z",fill:"#333436"})),dt=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:et,keywords:["tweet",Object(Oe.__)("social")],description:Object(Oe.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:tt,keywords:[Object(Oe.__)("music"),Object(Oe.__)("video")],description:Object(Oe.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:rt,keywords:[Object(Oe.__)("social")],description:Object(Oe.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:nt,keywords:[Object(Oe.__)("image"),Object(Oe.__)("social")],description:Object(Oe.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:ct,keywords:[Object(Oe.__)("post"),Object(Oe.__)("blog")],responsive:!1,description:Object(Oe.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:Je,keywords:[Object(Oe.__)("music"),Object(Oe.__)("audio")],description:Object(Oe.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:ot,keywords:[Object(Oe.__)("music"),Object(Oe.__)("audio")],description:Object(Oe.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:at,keywords:[Object(Oe.__)("image")],description:Object(Oe.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:it,keywords:[Object(Oe.__)("video")],description:Object(Oe.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],pt=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:bt,description:Object(Oe.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:$e,description:Object(Oe.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:Xe,description:Object(Oe.__)("Embed CollegeHumor content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:$e,keywords:["polldaddy",Object(Oe.__)("survey")],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object(he.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(Oe.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:mt,keywords:[Object(Oe.__)("video")],description:Object(Oe.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:Xe,keywords:[Object(Oe.__)("video")],description:Object(Oe.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:Ye,description:Object(Oe.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:$e,description:Object(Oe.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:$e,description:Object(Oe.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:$e,description:Object(Oe.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:Je,keywords:[Object(Oe.__)("music"),Object(Oe.__)("audio")],description:Object(Oe.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:$e,description:Object(Oe.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:lt,description:Object(Oe.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:Je,description:Object(Oe.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:Xe,description:Object(Oe.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:$e,description:Object(Oe.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:$e,description:Object(Oe.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:Ye,description:Object(Oe.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(.+\.)?smugmug\.com\/.*/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:Je,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:$e,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object(he.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(Oe.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/tiktok",settings:{title:"TikTok",icon:Xe,keywords:[Object(Oe.__)("video")],description:Object(Oe.__)("Embed a TikTok video.")},patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:Xe,description:Object(Oe.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:st,keywords:[Object(Oe.__)("social")],description:Object(Oe.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:Xe,keywords:[Object(Oe.__)("video")],description:Object(Oe.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:Xe,description:Object(Oe.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:ut,keywords:[Object(Oe.__)("ebook")],responsive:!1,description:Object(Oe.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}],gt=["facebook.com","smugmug.com"],ht=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],ft=r(93),Ot=r.n(ft),vt=r(53),jt=r.n(vt);function yt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var wt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.some((function(t){return e.match(t)}))},_t=function(e){return Object(fe.includes)(e,'class="wp-embedded-content"')},kt=function(e,t){var r=e.preview,n=e.name,c=e.attributes.url;if(c){var o=function(e){for(var t=0,r=[].concat(Object(me.a)(dt),Object(me.a)(pt));t<r.length;t++){var n=r[t];if(wt(e,n.patterns))return n.name}return"core/embed"}(c);if(Object(he.getBlockType)(o)){if("core-embed/wordpress"!==n&&"core/embed"!==o&&n!==o)return Object(he.createBlock)(o,{url:c});if(r){var a=r.html;if(_t(a)&&"core-embed/wordpress"!==n)return Object(he.createBlock)("core-embed/wordpress",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({url:c},t))}}}};function Ct(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!r){for(var n={"wp-has-aspect-ratio":!1},c=0;c<ht.length;c++){var o=ht[c];n[o.className]=!1}return Ot()(t,n)}var a=document.implementation.createHTMLDocument("");a.body.innerHTML=e;var i=a.body.querySelector("iframe");if(i&&i.height&&i.width)for(var l=(i.width/i.height).toFixed(2),s=0;s<ht.length;s++){var u,b=ht[s];if(l>=b.ratio)return Ot()(t,(u={},Object(de.a)(u,b.className,r),Object(de.a)(u,"wp-has-aspect-ratio",r),u))}return t}function Et(e,t){var r=Object(ve.createElement)("a",{href:e},e);t(Object(he.createBlock)("core/paragraph",{content:Object(ve.renderToString)(r)}))}var xt=jt()((function(e,t,r,n){var c=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!e)return{};var o={},a=e.type,i=void 0===a?"rich":a,l=e.html,s=e.provider_name,u=Object(fe.kebabCase)(Object(fe.toLower)(""!==s?s:t));return _t(l)&&(i="wp-embed"),(l||"photo"===i)&&(o.type=i,o.providerNameSlug=u),o.className=Ct(l,r,n&&c),o})),St=["image"];function Pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Tt=function(e,t){return!e&&Object(Ze.isBlobURL)(t)};var Nt=Object(Te.withNotices)((function(e){var t=e.attributes,r=t.url,n=void 0===r?"":r,c=t.alt,o=t.caption,a=t.align,i=t.id,l=t.href,s=t.rel,u=t.linkClass,b=t.linkDestination,m=t.title,d=t.width,p=t.height,g=t.linkTarget,h=t.sizeSlug,f=e.setAttributes,O=e.isSelected,v=e.className,j=e.noticeUI,y=e.insertBlocksAfter,w=e.noticeOperations,_=e.onReplace,k=Object(ve.useRef)(),C=Object(Ne.useSelect)((function(e){var t=e("core").getMedia,r=e("core/block-editor").getSettings;return Bt({},Object(fe.pick)(r(),["mediaUpload","imageSizes","isRTL","maxWidth"]),{image:i&&O?t(i):null})}),[i,O]),E=C.image,x=C.maxWidth,S=C.isRTL,P=C.imageSizes,B=C.mediaUpload,T=Object(Ne.useDispatch)("core/block-editor").toggleSelection,N=Object(Ke.useViewportMatch)("medium"),R=Object(ve.useState)(!1),z=Object(Be.a)(R,2),M=z[0],I=z[1],A=Object(fe.includes)(["wide","full"],a);function H(e){w.removeAllNotices(),w.createErrorNotice(e)}function D(e){if(e&&e.url){var t,r=function(e){var t=Object(fe.pick)(e,["alt","id","link","caption"]);return t.url=Object(fe.get)(e,["sizes","large","url"])||Object(fe.get)(e,["media_details","sizes","large","source_url"])||e.url,t}(e);Tt(i,n)&&c&&(r=Object(fe.omit)(r,["alt"])),o&&!Object(fe.get)(r,["caption"])&&(r=Object(fe.omit)(r,["caption"])),t=e.id&&e.id===i?{url:n}:{width:void 0,height:void 0,sizeSlug:"large"},"media"===b&&(r.href=e.url),"attachment"===b&&(r.href=e.link),f(Bt({},r,{},t))}else f({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0})}function L(e){e!==n&&f({url:e,id:void 0,sizeSlug:"large"})}var V=Tt(i,n);Object(ve.useEffect)((function(){if(V){var e=Object(Ze.getBlobByURL)(n);e&&B({filesList:[e],onFileChange:function(e){D(Object(Be.a)(e,1)[0])},allowedTypes:St,onError:function(e){w.createErrorNotice(e)}})}}),[]),Object(ve.useEffect)((function(){if(V)return function(){Object(Ze.revokeBlobURL)(n)}}),[V]),Object(ve.useEffect)((function(){O||I(!1)}),[O]);var F=function(e,t){return t&&!e&&!Object(Ze.isBlobURL)(t)}(i,n),U=Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.BlockAlignmentToolbar,{value:a,onChange:function(e){f(Bt({},A?{width:void 0,height:void 0}:{},{align:e}))}}),n&&Object(ve.createElement)(ge.MediaReplaceFlow,{mediaId:i,mediaURL:n,allowedTypes:St,accept:"image/*",onSelect:D,onSelectURL:L,onError:H}),n&&Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(ge.__experimentalImageURLInputUI,{url:l||"",onChangeUrl:function(e){f(e)},linkDestination:b,mediaUrl:E&&E.source_url,mediaLink:E&&E.link,linkTarget:g,linkClass:u,rel:s}))),G=F?n:void 0,W=!!n&&Object(ve.createElement)("img",{alt:Object(Oe.__)("Edit image"),title:Object(Oe.__)("Edit image"),className:"edit-image-preview",src:n}),q=Object(ve.createElement)(ge.MediaPlaceholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:Ue}),onSelect:D,onSelectURL:L,notices:j,onError:H,accept:"image/*",allowedTypes:St,value:{id:i,src:G},mediaPreview:W,disableMediaButtons:n}),Z=function(e,t,r){var n=Object(ve.useState)({imageWidth:null,imageHeight:null,imageWidthWithinContainer:null,imageHeightWithinContainer:null}),c=Object(Be.a)(n,2),o=c[0],a=c[1];return Object(ve.useEffect)((function(){if(t){var r=e.current.ownerDocument.defaultView,n=new r.Image;return r.addEventListener("resize",c),n.addEventListener("load",c),n.src=t,function(){r.removeEventListener("resize",c),n.removeEventListener("load",c)}}function c(){var t=function(e,t){var r=t.clientWidth,n=e.width>r,c=e.height/e.width;return{width:n?r:e.width,height:n?r*c:e.height}}(n,e.current),r=t.width,c=t.height;a({imageWidth:n.width,imageHeight:n.height,imageWidthWithinContainer:r,imageHeightWithinContainer:c})}}),[t].concat(Object(me.a)(r))),o}(k,n,[a]),K=Z.imageWidthWithinContainer,Q=Z.imageHeightWithinContainer,$=Z.imageWidth,J=Z.imageHeight;if(!n)return Object(ve.createElement)(ve.Fragment,null,U,Object(ve.createElement)(ge.__experimentalBlock.div,null,q));var Y,X=_e()(v,Object(de.a)({"is-transient":Object(Ze.isBlobURL)(n),"is-resized":!!d||!!p,"is-focused":O},"size-".concat(h),h)),ee=!A&&N,te=Object(fe.map)(Object(fe.filter)(P,(function(e){var t=e.slug;return Object(fe.get)(E,["media_details","sizes",t,"source_url"])})),(function(e){var t=e.name;return{value:e.slug,label:t}})),re=Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Image settings")},Object(ve.createElement)(Te.TextareaControl,{label:Object(Oe.__)("Alt text (alternative text)"),value:c,onChange:function(e){f({alt:e})},help:Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(Oe.__)("Describe the purpose of the image")),Object(Oe.__)("Leave empty if the image is purely decorative."))}),Object(ve.createElement)(ge.__experimentalImageSizeControl,{onChangeImage:function(e){if(!Object(fe.get)(E,["media_details","sizes",e,"source_url"]))return null;f({url:n,width:void 0,height:void 0,sizeSlug:e})},onChange:function(e){return f(e)},slug:h,width:d,height:p,imageSizeOptions:te,isResizable:ee,imageWidth:$,imageHeight:J}))),Object(ve.createElement)(ge.InspectorAdvancedControls,null,Object(ve.createElement)(Te.TextControl,{label:Object(Oe.__)("Title attribute"),value:m||"",onChange:function(e){f({title:e})},help:Object(ve.createElement)(ve.Fragment,null,Object(Oe.__)("Describe the role of this image on the page."),Object(ve.createElement)(Te.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},Object(Oe.__)("(Note: many devices and browsers do not display this text.)")))}))),ne=function(e){var t=Object(Qe.getPath)(e);if(t)return Object(fe.last)(t.split("/"))}(n);Y=c||(ne?Object(Oe.sprintf)(Object(Oe.__)("This image has an empty alt attribute; its file name is %s"),ne):Object(Oe.__)("This image has an empty alt attribute"));var ce=Object(ve.createElement)(ve.Fragment,null,re,Object(ve.createElement)("img",{src:n,alt:Y,onClick:function(){M&&I(!1)},onError:function(){var e;void 0!==(e=kt({attributes:{url:n}}))&&_(e)}}),Object(Ze.isBlobURL)(n)&&Object(ve.createElement)(Te.Spinner,null));if(ee&&K){var oe=d||K,ae=p||Q,ie=$/J,le=$<J?20:20*ie,se=J<$?20:20/ie,ue=2.5*x,be=!1,pe=!1;"center"===a?(be=!0,pe=!0):S?"left"===a?be=!0:pe=!0:"right"===a?pe=!0:be=!0,ce=Object(ve.createElement)(Te.ResizableBox,{size:{width:d,height:p},showHandle:O,minWidth:le,maxWidth:ue,minHeight:se,maxHeight:ue/ie,lockAspectRatio:!0,enable:{top:!1,right:be,bottom:!0,left:pe},onResizeStart:function(){T(!1)},onResizeStop:function(e,t,r,n){T(!0),f({width:parseInt(oe+n.width,10),height:parseInt(ae+n.height,10)})}},ce)}else ce=Object(ve.createElement)("div",{style:{width:d,height:p}},ce);return Object(ve.createElement)(ve.Fragment,null,U,Object(ve.createElement)(ge.__experimentalBlock.figure,{ref:k,className:X},ce,(!ge.RichText.isEmpty(o)||O)&&Object(ve.createElement)(ge.RichText,{tagName:"figcaption",placeholder:Object(Oe.__)("Write caption…"),value:o,unstableOnFocus:function(){M||I(!0)},onChange:function(e){return f({caption:e})},isSelected:M,inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return y(Object(he.createBlock)("core/paragraph"))}}),q))}));function Rt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function zt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Mt(e,t){var r=document.implementation.createHTMLDocument("").body;r.innerHTML=e;var n=r.firstElementChild;if(n&&"A"===n.nodeName)return n.getAttribute(t)||void 0}var It={img:{attributes:["src","alt","title"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}},At={from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("img")},schema:function(e){var t=e.phrasingContentSchema;return{figure:{require:["img"],children:zt({},It,{a:{attributes:["href","rel","target"],children:It},figcaption:{children:t}})}}},transform:function(e){var t=e.className+" "+e.querySelector("img").className,r=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),n=r?r[1]:void 0,c=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),o=c?Number(c[1]):void 0,a=e.querySelector("a"),i=a&&a.href?"custom":void 0,l=a&&a.href?a.href:void 0,s=a&&a.rel?a.rel:void 0,u=a&&a.className?a.className:void 0,b=Object(he.getBlockAttributes)("core/image",e.outerHTML,{align:n,id:o,linkDestination:i,href:l,rel:s,linkClass:u});return Object(he.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(he.createBlock)("core/image",{url:Object(Ze.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){var r=t.shortcode,n=document.implementation.createHTMLDocument("").body;n.innerHTML=r.content;for(var c=n.querySelector("img");c&&c.parentNode&&c.parentNode!==n;)c=c.parentNode;return c&&c.parentNode.removeChild(c),n.innerHTML.trim()}},href:{shortcode:function(e,t){return Mt(t.shortcode.content,"href")}},rel:{shortcode:function(e,t){return Mt(t.shortcode.content,"rel")}},linkClass:{shortcode:function(e,t){return Mt(t.shortcode.content,"class")}},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","")}}}}]},Ht={name:"core/image",category:"common",attributes:{align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},title:{type:"string",source:"attribute",selector:"img",attribute:"title"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{lightBlockWrapper:!0}},Dt=Ht.name,Lt={title:Object(Oe.__)("Image"),description:Object(Oe.__)("Insert an image to make a visual statement."),icon:Ue,keywords:["img",Object(Oe.__)("photo")],example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(Oe.__)("Mont Blanc appears—still, snowy, and serene.")}},styles:[{name:"default",label:Object(Oe._x)("Default","block style"),isDefault:!0},{name:"rounded",label:Object(Oe._x)("Rounded","block style")}],__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.caption,n=e.alt;return e.url?n?n+(r?". "+r:""):r||"":Object(Oe.__)("Empty")}},getEditWrapperProps:function(e){return{"data-align":e.align}},transforms:At,edit:Nt,save:function(e){var t,r=e.attributes,n=r.url,c=r.alt,o=r.caption,a=r.align,i=r.href,l=r.rel,s=r.linkClass,u=r.width,b=r.height,m=r.id,d=r.linkTarget,p=r.sizeSlug,g=r.title,h=Object(fe.isEmpty)(l)?void 0:l,f=_e()((t={},Object(de.a)(t,"align".concat(a),a),Object(de.a)(t,"size-".concat(p),p),Object(de.a)(t,"is-resized",u||b),t)),O=Object(ve.createElement)("img",{src:n,alt:c,className:m?"wp-image-".concat(m):null,width:u,height:b,title:g}),v=Object(ve.createElement)(ve.Fragment,null,i?Object(ve.createElement)("a",{className:s,href:i,target:d,rel:h},O):O,!ge.RichText.isEmpty(o)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:o}));return"left"===a||"right"===a||"center"===a?Object(ve.createElement)("div",null,Object(ve.createElement)("figure",{className:f},v)):Object(ve.createElement)("figure",{className:f},v)},deprecated:qe},Vt=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"}));function Ft(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ft(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Gt={className:!1,anchor:!0},Wt={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"}},qt=function(e){if(!e.customTextColor)return e;var t={color:{text:e.customTextColor}};return Ut({},Object(fe.omit)(e,["customTextColor"]),{style:t})},Zt=[{supports:Gt,attributes:Ut({},Wt,{customTextColor:{type:"string"},textColor:{type:"string"}}),migrate:qt,save:function(e){var t,r=e.attributes,n=r.align,c=r.content,o=r.customTextColor,a=r.level,i=r.textColor,l="h"+a,s=Object(ge.getColorClassName)("color",i),u=_e()((t={},Object(de.a)(t,s,s),Object(de.a)(t,"has-text-color",i||o),Object(de.a)(t,"has-text-align-".concat(n),n),t));return Object(ve.createElement)(ge.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:o},value:c})}},{attributes:Ut({},Wt,{customTextColor:{type:"string"},textColor:{type:"string"}}),migrate:qt,save:function(e){var t,r=e.attributes,n=r.align,c=r.content,o=r.customTextColor,a=r.level,i=r.textColor,l="h"+a,s=Object(ge.getColorClassName)("color",i),u=_e()((t={},Object(de.a)(t,s,s),Object(de.a)(t,"has-text-align-".concat(n),n),t));return Object(ve.createElement)(ge.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:o},value:c})},supports:Gt},{supports:Gt,attributes:Ut({},Wt,{customTextColor:{type:"string"},textColor:{type:"string"}}),migrate:qt,save:function(e){var t=e.attributes,r=t.align,n=t.level,c=t.content,o=t.textColor,a=t.customTextColor,i="h"+n,l=Object(ge.getColorClassName)("color",o),s=_e()(Object(de.a)({},l,l));return Object(ve.createElement)(ge.RichText.Content,{className:s||void 0,tagName:i,style:{textAlign:r,color:l?void 0:a},value:c})}}],Kt=r(18),Qt=r(17),$t=r(20),Jt=r(13),Yt=r(19);function Xt(e){var t=e.level,r=e.isPressed,n=void 0!==r&&r,c={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return c.hasOwnProperty(t)?Object(ve.createElement)(Te.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},Object(ve.createElement)(Te.Path,{d:c[t]})):null}function er(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var tr=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(er()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){return Object(Kt.a)(this,n),r.apply(this,arguments)}return Object(Qt.a)(n,[{key:"createLevelControl",value:function(e,t,r){var n=e===t;return{icon:Object(ve.createElement)(Xt,{level:e,isPressed:n}),title:Object(Oe.sprintf)(Object(Oe.__)("Heading %d"),e),isActive:n,onClick:function(){return r(e)}}}},{key:"render",value:function(){var e=this,t=this.props,r=t.isCollapsed,n=void 0===r||r,c=t.minLevel,o=t.maxLevel,a=t.selectedLevel,i=t.onChange;return Object(ve.createElement)(Te.ToolbarGroup,{isCollapsed:n,icon:Object(ve.createElement)(Xt,{level:a}),controls:Object(fe.range)(c,o).map((function(t){return e.createLevelControl(t,a,i)})),label:Object(Oe.__)("Change heading level")})}}]),n}(ve.Component);function rr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var nr=function(e){var t=e.attributes,r=e.setAttributes,n=e.mergeBlocks,c=e.onReplace,o=e.mergedStyle,a=t.align,i=t.content,l=t.level,s=t.placeholder,u="h"+l;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(tr,{minLevel:"web"===ve.Platform.OS?2:1,maxLevel:"web"===ve.Platform.OS?5:7,selectedLevel:l,onChange:function(e){return r({level:e})}}),Object(ve.createElement)(ge.AlignmentToolbar,{value:a,onChange:function(e){r({align:e})}})),"web"===ve.Platform.OS&&Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Heading settings")},Object(ve.createElement)(Te.__experimentalText,{variant:"label"},Object(Oe.__)("Level")),Object(ve.createElement)(tr,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:l,onChange:function(e){return r({level:e})}}))),Object(ve.createElement)(ge.RichText,{identifier:"content",tagName:ge.__experimentalBlock[u],value:i,onChange:function(e){return r({content:e})},onMerge:n,onSplit:function(e){return e?Object(he.createBlock)("core/heading",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rr(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{content:e})):Object(he.createBlock)("core/paragraph")},onReplace:c,onRemove:function(){return c([])},className:_e()(Object(de.a)({},"has-text-align-".concat(a),a)),placeholder:s||Object(Oe.__)("Write heading…"),textAlign:a,style:o}))};var cr={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(he.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:function(e){var t={children:e.phrasingContentSchema,attributes:e.isPaste?[]:["style"]};return{h1:t,h2:t,h3:t,h4:t,h5:t,h6:t}},transform:function(e){var t,r=Object(he.getBlockAttributes)("core/heading",e.outerHTML),n=(e.style||{}).textAlign;return r.level=(t=e.nodeName,Number(t.substr(1))),"left"!==n&&"center"!==n&&"right"!==n||(r.align=n),Object(he.createBlock)("core/heading",r)}}].concat(Object(me.a)([2,3,4,5,6].map((function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(he.createBlock)("core/heading",{level:e,content:t})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(he.createBlock)("core/paragraph",{content:t})}}]},or={name:"core/heading",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"}}},ar=or.name,ir={title:Object(Oe.__)("Heading"),description:Object(Oe.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:Vt,keywords:[Object(Oe.__)("title"),Object(Oe.__)("subtitle")],supports:{className:!1,anchor:!0,__unstablePasteTextInline:!0,lightBlockWrapper:!0,__experimentalColor:"web"===ve.Platform.OS,__experimentalLineHeight:!0,__experimentalFontSize:!0},example:{attributes:{content:Object(Oe.__)("Code is Poetry"),level:2}},__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.content,n=e.level;return Object(fe.isEmpty)(r)?Object(Oe.sprintf)(Object(Oe.__)("Level %s. Empty."),n):Object(Oe.sprintf)(Object(Oe.__)("Level %1$s. %2$s"),n,r)}},transforms:cr,deprecated:Zt,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:nr,save:function(e){var t=e.attributes,r=t.align,n=t.content,c="h"+t.level,o=_e()(Object(de.a)({},"has-text-align-".concat(r),r));return Object(ve.createElement)(ge.RichText.Content,{className:o||void 0,tagName:c,value:n})}},lr=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"}));function sr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ur(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sr(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var br={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}},mr=[{attributes:br,save:function(e){var t=e.attributes,r=t.align,n=t.value,c=t.citation;return Object(ve.createElement)("blockquote",{style:{textAlign:r||null}},Object(ve.createElement)(ge.RichText.Content,{multiline:!0,value:n}),!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:c}))}},{attributes:ur({},br,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?ur({},Object(fe.omit)(e,["style"]),{className:e.className?e.className+" is-style-large":"is-style-large"}):e},save:function(e){var t=e.attributes,r=t.align,n=t.value,c=t.citation,o=t.style;return Object(ve.createElement)("blockquote",{className:2===o?"is-large":"",style:{textAlign:r||null}},Object(ve.createElement)(ge.RichText.Content,{multiline:!0,value:n}),!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:c}))}},{attributes:ur({},br,{citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}}),save:function(e){var t=e.attributes,r=t.align,n=t.value,c=t.citation,o=t.style;return Object(ve.createElement)("blockquote",{className:"blocks-quote-style-".concat(o),style:{textAlign:r||null}},Object(ve.createElement)(ge.RichText.Content,{multiline:!0,value:n}),!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"footer",value:c}))}}];function dr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var pr=r(15),gr=r(26);function hr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var fr={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(he.createBlock)("core/quote",{value:Object(gr.toHTMLString)({value:Object(gr.join)(e.map((function(e){var t=e.content;return Object(gr.create)({html:t})})),"\u2028"),multilineTag:"p"})})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(he.createBlock)("core/quote",{value:"<p>".concat(t,"</p>")})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,r=e.citation;return Object(he.createBlock)("core/quote",{value:t,citation:r})}},{type:"prefix",prefix:">",transform:function(e){return Object(he.createBlock)("core/quote",{value:"<p>".concat(e,"</p>")})}},{type:"raw",isMatch:function(e){var t,r=(t=!1,function(e){return"P"===e.nodeName||(t||"CITE"!==e.nodeName?void 0:(t=!0,!0))});return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(r)},schema:function(e){var t=e.phrasingContentSchema;return{blockquote:{children:{p:{children:t},cite:{children:t}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,r=e.citation,n=[];return t&&"<p></p>"!==t&&n.push.apply(n,Object(me.a)(Object(gr.split)(Object(gr.create)({html:t,multilineTag:"p"}),"\u2028").map((function(e){return Object(he.createBlock)("core/paragraph",{content:Object(gr.toHTMLString)({value:e})})})))),r&&"<p></p>"!==r&&n.push(Object(he.createBlock)("core/paragraph",{content:r})),0===n.length?Object(he.createBlock)("core/paragraph",{content:""}):n}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,r=e.citation,n=Object(pr.a)(e,["value","citation"]);if("<p></p>"===t)return Object(he.createBlock)("core/heading",{content:r});var c=Object(gr.split)(Object(gr.create)({html:t,multilineTag:"p"}),"\u2028"),o=Object(he.createBlock)("core/heading",{content:Object(gr.toHTMLString)({value:c[0]})});if(!r&&1===c.length)return o;var a=c.slice(1);return[o,Object(he.createBlock)("core/quote",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hr(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},n,{citation:r,value:Object(gr.toHTMLString)({value:a.length?Object(gr.join)(c.slice(1),"\u2028"):Object(gr.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,r=e.citation;return Object(he.createBlock)("core/pullquote",{value:t,citation:r})}}]};function Or(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function vr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Or(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Or(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var jr={name:"core/quote",category:"common",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}}},yr=jr.name,wr={title:Object(Oe.__)("Quote"),description:Object(Oe.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:lr,keywords:[Object(Oe.__)("blockquote"),Object(Oe.__)("cite")],example:{attributes:{value:"<p>"+Object(Oe.__)("In quoting others, we cite ourselves.")+"</p>",citation:"Julio Cortázar",className:"is-style-large"}},styles:[{name:"default",label:Object(Oe._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(Oe._x)("Large","block style")}],transforms:fr,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.isSelected,c=e.mergeBlocks,o=e.onReplace,a=e.className,i=t.align,l=t.value,s=t.citation;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.AlignmentToolbar,{value:i,onChange:function(e){r({align:e})}})),Object(ve.createElement)(Te.BlockQuotation,{className:_e()(a,Object(de.a)({},"has-text-align-".concat(i),i))},Object(ve.createElement)(ge.RichText,{identifier:"value",multiline:!0,value:l,onChange:function(e){return r({value:e})},onMerge:c,onRemove:function(e){var t=!s||0===s.length;!e&&t&&o([])},placeholder:Object(Oe.__)("Write quote…"),onReplace:o,onSplit:function(e){return Object(he.createBlock)("core/quote",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dr(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{value:e}))},__unstableOnSplitMiddle:function(){return Object(he.createBlock)("core/paragraph")},textAlign:i}),(!ge.RichText.isEmpty(s)||n)&&Object(ve.createElement)(ge.RichText,{identifier:"citation",value:s,onChange:function(e){return r({citation:e})},__unstableMobileNoFocusOnMount:!0,placeholder:Object(Oe.__)("Write citation…"),className:"wp-block-quote__citation",textAlign:i})))},save:function(e){var t=e.attributes,r=t.align,n=t.value,c=t.citation,o=_e()(Object(de.a)({},"has-text-align-".concat(r),r));return Object(ve.createElement)("blockquote",{className:o},Object(ve.createElement)(ge.RichText.Content,{multiline:!0,value:n}),!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:c}))},merge:function(e,t){var r=t.value,n=t.citation;return n||(n=e.citation),vr({},e,r&&"<p></p>"!==r?{value:e.value+r,citation:n}:{citation:n})},deprecated:mr},_r=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8h-1.5zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zM4.5 4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1V12l-2.3-1.7c-.3-.2-.6-.2-.9 0l-2.9 2.1L8 11.3c-.2-.1-.5-.1-.7 0l-2.9 1.5V4.6zm0 11.8v-1.8l3.2-1.7 2.4 1.2c.2.1.5.1.8-.1l2.8-2 2.8 2v2.5c0 .1-.1.1-.1.1H4.6c0-.1-.1-.2-.1-.2z"}));function kr(e){return Math.min(3,e.images.length)}var Cr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large",r=Object(fe.pick)(e,["alt","id","link","caption"]);r.url=Object(fe.get)(e,["sizes",t,"url"])||Object(fe.get)(e,["media_details","sizes",t,"source_url"])||e.url;var n=Object(fe.get)(e,["sizes","full","url"])||Object(fe.get)(e,["media_details","sizes","full","source_url"]);return n&&(r.fullUrl=n),r};function Er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Er(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Sr=[{attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",default:[]},columns:{type:"number"},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},isEligible:function(e){var t=e.ids;return t&&t.some((function(e){return"string"==typeof e}))},migrate:function(e){return xr({},e,{ids:Object(fe.map)(e.ids,(function(e){var t=parseInt(e,10);return Number.isInteger(t)?t:null}))})},save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?kr(t):n,o=t.imageCrop,a=t.caption,i=t.linkTo;return Object(ve.createElement)("figure",{className:"columns-".concat(c," ").concat(o?"is-cropped":"")},Object(ve.createElement)("ul",{className:"blocks-gallery-grid"},r.map((function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var r=Object(ve.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(ve.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ve.createElement)("figure",null,t?Object(ve.createElement)("a",{href:t},r):r,!ge.RichText.isEmpty(e.caption)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!ge.RichText.isEmpty(a)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?kr(t):n,o=t.imageCrop,a=t.linkTo;return Object(ve.createElement)("ul",{className:"columns-".concat(c," ").concat(o?"is-cropped":"")},r.map((function(e){var t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var r=Object(ve.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(ve.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ve.createElement)("figure",null,t?Object(ve.createElement)("a",{href:t},r):r,e.caption&&e.caption.length>0&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible:function(e){var t=e.images,r=e.ids;return t&&t.length>0&&(!r&&t||r&&t&&r.length!==t.length||Object(fe.some)(t,(function(e,t){return!e&&null!==r[t]||parseInt(e,10)!==r[t]})))},migrate:function(e){return xr({},e,{ids:Object(fe.map)(e.images,(function(e){var t=e.id;return t?parseInt(t,10):null}))})},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?kr(t):n,o=t.imageCrop,a=t.linkTo;return Object(ve.createElement)("ul",{className:"columns-".concat(c," ").concat(o?"is-cropped":"")},r.map((function(e){var t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(ve.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(ve.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ve.createElement)("figure",null,t?Object(ve.createElement)("a",{href:t},r):r,e.caption&&e.caption.length>0&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?kr(t):n,o=t.align,a=t.imageCrop,i=t.linkTo,l=_e()("columns-".concat(c),{alignnone:"none"===o,"is-cropped":a});return Object(ve.createElement)("div",{className:l},r.map((function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(ve.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(ve.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(ve.createElement)("a",{href:t},r):r)})))}}],Pr=r(9),Br=r(72),Tr=Object(ve.createElement)(ge.BlockIcon,{icon:_r}),Nr=r(21),Rr=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})),zr=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})),Mr=r(104);function Ir(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Ar=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Ir()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onBlur=e.onBlur.bind(Object(Pr.a)(e)),e.onFocus=e.onFocus.bind(Object(Pr.a)(e)),e.onSelectImage=e.onSelectImage.bind(Object(Pr.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(Pr.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(Pr.a)(e)),e.bindContainer=e.bindContainer.bind(Object(Pr.a)(e)),e.debouncedOnDeselect=Object(fe.debounce)(e.props.onDeselect,50),e.state={captionSelected:!1},e}return Object(Qt.a)(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onSelectImage",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onRemoveImage",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[Nr.BACKSPACE,Nr.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isSelected,n=t.image,c=t.url,o=t.__unstableMarkNextChangeAsNotPersistent;n&&!c&&(o(),this.props.setAttributes({url:n.source_url,alt:n.alt_text})),this.state.captionSelected&&!r&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"onBlur",value:function(){this.debouncedOnDeselect()}},{key:"onFocus",value:function(){this.debouncedOnDeselect.cancel()}},{key:"render",value:function(){var e,t=this.props,r=t.url,n=t.alt,c=t.id,o=t.linkTo,a=t.link,i=t.isFirstItem,l=t.isLastItem,s=t.isSelected,u=t.caption,b=t.onRemove,m=t.onMoveForward,d=t.onMoveBackward,p=t.setAttributes,g=t["aria-label"];switch(o){case"media":e=r;break;case"attachment":e=a}var h=Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)("img",{src:r,alt:n,"data-id":c,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":g,ref:this.bindContainer}),Object(Ze.isBlobURL)(r)&&Object(ve.createElement)(Te.Spinner,null)),f=_e()({"is-selected":s,"is-transient":Object(Ze.isBlobURL)(r)});return Object(ve.createElement)("figure",{className:f,onBlur:this.onBlur,onFocus:this.onFocus},e?Object(ve.createElement)("a",{href:e},h):h,Object(ve.createElement)("div",{className:"block-library-gallery-item__move-menu"},Object(ve.createElement)(Te.Button,{icon:Rr,onClick:i?void 0:d,className:"blocks-gallery-item__move-backward",label:Object(Oe.__)("Move image backward"),"aria-disabled":i,disabled:!s}),Object(ve.createElement)(Te.Button,{icon:zr,onClick:l?void 0:m,className:"blocks-gallery-item__move-forward",label:Object(Oe.__)("Move image forward"),"aria-disabled":l,disabled:!s})),Object(ve.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(ve.createElement)(Te.Button,{icon:Mr.a,onClick:b,className:"blocks-gallery-item__remove",label:Object(Oe.__)("Remove image"),disabled:!s})),(s||u)&&Object(ve.createElement)(ge.RichText,{tagName:"figcaption",placeholder:s?Object(Oe.__)("Write caption…"):null,value:u,isSelected:this.state.captionSelected,onChange:function(e){return p({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),n}(ve.Component),Hr=Object(Ke.compose)([Object(Ne.withSelect)((function(e,t){var r=e("core").getMedia,n=t.id;return{image:n?r(parseInt(n,10)):null}})),Object(Ne.withDispatch)((function(e){return{__unstableMarkNextChangeAsNotPersistent:e("core/block-editor").__unstableMarkNextChangeAsNotPersistent}}))])(Ar);function Dr(e){var t=e.isHidden,r=Object(pr.a)(e,["isHidden"]);return t?Object(ve.createElement)(Te.VisuallyHidden,Object(Ge.a)({as:ge.RichText},r)):Object(ve.createElement)(ge.RichText,r)}var Lr=function(e){var t,r=e.attributes,n=e.className,c=e.isSelected,o=e.setAttributes,a=e.selectedImage,i=e.mediaPlaceholder,l=e.onMoveBackward,s=e.onMoveForward,u=e.onRemoveImage,b=e.onSelectImage,m=e.onDeselectImage,d=e.onSetImageAttributes,p=e.onFocusGalleryCaption,g=r.align,h=r.columns,f=void 0===h?kr(r):h,O=r.caption,v=r.imageCrop,j=r.images;return Object(ve.createElement)("figure",{className:_e()(n,(t={},Object(de.a)(t,"align".concat(g),g),Object(de.a)(t,"columns-".concat(f),f),Object(de.a)(t,"is-cropped",v),t))},Object(ve.createElement)("ul",{className:"blocks-gallery-grid"},j.map((function(e,t){var r=Object(Oe.sprintf)(Object(Oe.__)("image %1$d of %2$d in gallery"),t+1,j.length);return Object(ve.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(ve.createElement)(Hr,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===t,isLastItem:t+1===j.length,isSelected:c&&a===t,onMoveBackward:l(t),onMoveForward:s(t),onRemove:u(t),onSelect:b(t),onDeselect:m(t),setAttributes:function(e){return d(t,e)},caption:e.caption,"aria-label":r}))}))),i,Object(ve.createElement)(Dr,{isHidden:!c&&ge.RichText.isEmpty(O),tagName:"figcaption",className:"blocks-gallery-caption",placeholder:Object(Oe.__)("Write gallery caption…"),value:O,unstableOnFocus:p,onChange:function(e){return o({caption:e})},inlineToolbar:!0}))};function Vr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vr(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ur(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Gr=[{value:"attachment",label:Object(Oe.__)("Attachment Page")},{value:"media",label:Object(Oe.__)("Media File")},{value:"none",label:Object(Oe.__)("None")}],Wr=["image"],qr=ve.Platform.select({web:Object(Oe.__)("Drag images, upload new ones or select files from your library."),native:Object(Oe.__)("ADD MEDIA")}),Zr=ve.Platform.select({web:{},native:{type:"stepper"}}),Kr=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Ur()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onSelectImage=e.onSelectImage.bind(Object(Pr.a)(e)),e.onSelectImages=e.onSelectImages.bind(Object(Pr.a)(e)),e.onDeselectImage=e.onDeselectImage.bind(Object(Pr.a)(e)),e.setLinkTo=e.setLinkTo.bind(Object(Pr.a)(e)),e.setColumnsNumber=e.setColumnsNumber.bind(Object(Pr.a)(e)),e.toggleImageCrop=e.toggleImageCrop.bind(Object(Pr.a)(e)),e.onMove=e.onMove.bind(Object(Pr.a)(e)),e.onMoveForward=e.onMoveForward.bind(Object(Pr.a)(e)),e.onMoveBackward=e.onMoveBackward.bind(Object(Pr.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(Pr.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Pr.a)(e)),e.setImageAttributes=e.setImageAttributes.bind(Object(Pr.a)(e)),e.setAttributes=e.setAttributes.bind(Object(Pr.a)(e)),e.onFocusGalleryCaption=e.onFocusGalleryCaption.bind(Object(Pr.a)(e)),e.getImagesSizeOptions=e.getImagesSizeOptions.bind(Object(Pr.a)(e)),e.updateImagesSize=e.updateImagesSize.bind(Object(Pr.a)(e)),e.state={selectedImage:null,attachmentCaptions:null},e}return Object(Qt.a)(n,[{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=Fr({},e,{ids:Object(fe.map)(e.images,(function(e){var t=e.id;return parseInt(t,10)}))})),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onDeselectImage",value:function(e){var t=this;return function(){t.state.selectedImage===e&&t.setState({selectedImage:null})}}},{key:"onMove",value:function(e,t){var r=Object(me.a)(this.props.attributes.images);r.splice(t,1,this.props.attributes.images[e]),r.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.setAttributes({images:r})}},{key:"onMoveForward",value:function(e){var t=this;return function(){e!==t.props.attributes.images.length-1&&t.onMove(e,e+1)}}},{key:"onMoveBackward",value:function(e){var t=this;return function(){0!==e&&t.onMove(e,e-1)}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var r=Object(fe.filter)(t.props.attributes.images,(function(t,r){return e!==r})),n=t.props.attributes.columns;t.setState({selectedImage:null}),t.setAttributes({images:r,columns:n?Math.min(r.length,n):n})}}},{key:"selectCaption",value:function(e,t,r){var n=Object(fe.toString)(e.id),c=Object(fe.find)(t,{id:n}),o=c?c.caption:e.caption;if(!r)return o;var a=Object(fe.find)(r,{id:n});return a&&a.caption!==e.caption?e.caption:o}},{key:"onSelectImages",value:function(e){var t=this,r=this.props.attributes,n=r.columns,c=r.images,o=r.sizeSlug,a=this.state.attachmentCaptions;this.setState({attachmentCaptions:e.map((function(e){return{id:Object(fe.toString)(e.id),caption:e.caption}}))}),this.setAttributes({images:e.map((function(e){return Fr({},Cr(e,o),{caption:t.selectCaption(e,c,a),id:Object(fe.toString)(e.id)})})),columns:n?Math.min(e.length,n):n})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(Oe.__)("Thumbnails are cropped to align."):Object(Oe.__)("Thumbnails are not cropped.")}},{key:"onFocusGalleryCaption",value:function(){this.setState({selectedImage:null})}},{key:"setImageAttributes",value:function(e,t){var r=this.props.attributes.images,n=this.setAttributes;r[e]&&n({images:[].concat(Object(me.a)(r.slice(0,e)),[Fr({},r[e],{},t)],Object(me.a)(r.slice(e+1)))})}},{key:"getImagesSizeOptions",value:function(){var e=this.props,t=e.imageSizes,r=e.resizedImages;return Object(fe.map)(Object(fe.filter)(t,(function(e){var t=e.slug;return Object(fe.some)(r,(function(e){return e[t]}))})),(function(e){var t=e.name;return{value:e.slug,label:t}}))}},{key:"updateImagesSize",value:function(e){var t=this.props,r=t.attributes.images,n=t.resizedImages,c=Object(fe.map)(r,(function(t){if(!t.id)return t;var r=Object(fe.get)(n,[parseInt(t.id,10),e]);return Fr({},t,{},r&&{url:r})}));this.setAttributes({images:c,sizeSlug:e})}},{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,r=e.mediaUpload,n=t.images;if("web"===ve.Platform.OS&&n&&n.length>0&&Object(fe.every)(n,(function(e){var t=e.url;return Object(Ze.isBlobURL)(t)}))){var c=Object(fe.map)(n,(function(e){var t=e.url;return Object(Ze.getBlobByURL)(t)}));Object(fe.forEach)(n,(function(e){var t=e.url;return Object(Ze.revokeBlobURL)(t)})),r({filesList:c,onFileChange:this.onSelectImages,allowedTypes:["image"]})}}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.className,n=e.isSelected,c=e.noticeUI,o=t.columns,a=void 0===o?kr(t):o,i=t.imageCrop,l=t.images,s=t.linkTo,u=t.sizeSlug,b=!!l.length,m=Object(ve.createElement)(ge.MediaPlaceholder,{addToGallery:!0,isAppender:b,className:r,disableMediaButtons:b&&!n,icon:!b&&Tr,labels:{title:!b&&Object(Oe.__)("Gallery"),instructions:!b&&qr},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:Wr,multiple:!0,value:l,onError:this.onUploadError,notices:b?void 0:c,onFocus:this.props.onFocus});if(!b)return m;var d=this.getImagesSizeOptions(),p=b&&!Object(fe.isEmpty)(d);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Gallery settings")},l.length>1&&Object(ve.createElement)(Te.RangeControl,Object(Ge.a)({label:Object(Oe.__)("Columns"),value:a,onChange:this.setColumnsNumber,min:1,max:Math.min(8,l.length)},Zr,{required:!0})),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Crop images"),checked:!!i,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Link to"),value:s,onChange:this.setLinkTo,options:Gr}),p&&Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Images size"),value:u,options:d,onChange:this.updateImagesSize}))),c,Object(ve.createElement)(Lr,Object(Ge.a)({},this.props,{selectedImage:this.state.selectedImage,mediaPlaceholder:m,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onDeselectImage:this.onDeselectImage,onSetImageAttributes:this.setImageAttributes,onFocusGalleryCaption:this.onFocusGalleryCaption})))}}]),n}(ve.Component),Qr=Object(Ke.compose)([Object(Ne.withSelect)((function(e,t){var r=t.attributes.ids,n=t.isSelected,c=e("core").getMedia,o=(0,e("core/block-editor").getSettings)(),a=o.imageSizes,i=o.mediaUpload,l={};return n&&(l=Object(fe.reduce)(r,(function(e,t){if(!t)return e;var r=c(t),n=Object(fe.reduce)(a,(function(e,t){var n=Object(fe.get)(r,["sizes",t.slug,"url"]),c=Object(fe.get)(r,["media_details","sizes",t.slug,"source_url"]);return Fr({},e,Object(de.a)({},t.slug,n||c))}),{});return Fr({},e,Object(de.a)({},parseInt(t,10),n))}),{})),{imageSizes:a,mediaUpload:i,resizedImages:l}})),Te.withNotices,Object(Br.withViewportMatch)({isNarrow:"< small"})])(Kr);var $r=function(e){return e?e.split(",").map((function(e){return parseInt(e,10)})):[]},Jr={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0],r=t.align,n=t.sizeSlug;r=Object(fe.every)(e,["align",r])?r:void 0,n=Object(fe.every)(e,["sizeSlug",n])?n:void 0;var c=Object(fe.filter)(e,(function(e){return e.url}));return Object(he.createBlock)("core/gallery",{images:c.map((function(e){var t=e.id,r=e.url,n=e.alt,c=e.caption;return{id:Object(fe.toString)(t),url:r,alt:n,caption:c}})),ids:c.map((function(e){var t=e.id;return parseInt(t,10)})),align:r,sizeSlug:n})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return $r(t).map((function(e){return{id:Object(fe.toString)(e)}}))}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return $r(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,r=void 0===t?"attachment":t;return"file"===r?"media":r}}}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(fe.every)(e,(function(e){return 0===e.type.indexOf("image/")}))},transform:function(e){return Object(he.createBlock)("core/gallery",{images:e.map((function(e){return Cr({url:Object(Ze.createBlobURL)(e)})}))})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,r=e.align,n=e.sizeSlug,c=e.ids;return t.length>0?t.map((function(e,t){var o=e.url,a=e.alt,i=e.caption;return Object(he.createBlock)("core/image",{id:c[t],url:o,alt:a,caption:i,align:r,sizeSlug:n})})):Object(he.createBlock)("core/image",{align:r})}}]},Yr={name:"core/gallery",category:"common",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},sizeSlug:{type:"string",default:"large"}},supports:{align:!0}},Xr=Yr.name,en={title:Object(Oe.__)("Gallery"),description:Object(Oe.__)("Display multiple images in a rich gallery."),icon:_r,keywords:[Object(Oe.__)("images"),Object(Oe.__)("photos")],example:{attributes:{columns:2,images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},transforms:Jr,edit:Qr,save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?kr(t):n,o=t.imageCrop,a=t.caption,i=t.linkTo;return Object(ve.createElement)("figure",{className:"columns-".concat(c," ").concat(o?"is-cropped":"")},Object(ve.createElement)("ul",{className:"blocks-gallery-grid"},r.map((function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var r=Object(ve.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(ve.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ve.createElement)("figure",null,t?Object(ve.createElement)("a",{href:t},r):r,!ge.RichText.isEmpty(e.caption)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!ge.RichText.isEmpty(a)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))},deprecated:Sr},tn=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5zM8 12.8h8v-1.5H8v1.5zm0 3h8v-1.5H8v1.5z"})),rn=r(68),nn=r.n(rn);var cn={name:"core/archives",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},displayAsDropdown:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,html:!1}},on=cn.name,an={title:Object(Oe.__)("Archives"),description:Object(Oe.__)("Display a monthly archive of your posts."),icon:tn,example:{},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.showPostCounts,c=t.displayAsDropdown;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Archives settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display as dropdown"),checked:c,onChange:function(){return r({displayAsDropdown:!c})}}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Show post counts"),checked:n,onChange:function(){return r({showPostCounts:!n})}}))),Object(ve.createElement)(Te.Disabled,null,Object(ve.createElement)(nn.a,{block:"core/archives",attributes:t})))}},ln=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})),sn=[{attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,c=t.loop,o=t.preload,a=t.src;return Object(ve.createElement)("figure",null,Object(ve.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:c,preload:o}),!ge.RichText.isEmpty(n)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:n}))}}];function un(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var bn=["audio"],mn=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(un()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).toggleAttribute=e.toggleAttribute.bind(Object(Pr.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(Pr.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,r=e.mediaUpload,n=e.noticeOperations,c=e.setAttributes,o=t.id,a=t.src,i=void 0===a?"":a;if(!o&&Object(Ze.isBlobURL)(i)){var l=Object(Ze.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(e){var t=Object(Be.a)(e,1)[0],r=t.id,n=t.url;c({id:r,src:n})},onError:function(e){c({src:void 0,id:void 0}),n.createErrorNotice(e)},allowedTypes:bn})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(r){t.props.setAttributes(Object(de.a)({},e,r))}}},{key:"onSelectURL",value:function(e){var t=this.props,r=t.attributes,n=t.setAttributes;if(e!==r.src){var c=kt({attributes:{url:e}});if(void 0!==c)return void this.props.onReplace(c);n({src:e,id:void 0})}}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"getAutoplayHelp",value:function(e){return e?Object(Oe.__)("Note: Autoplaying audio may cause usability issues for some visitors."):null}},{key:"render",value:function(){var e=this.props.attributes,t=e.id,r=e.autoplay,n=e.caption,c=e.loop,o=e.preload,a=e.src,i=this.props,l=i.setAttributes,s=i.isSelected,u=i.noticeUI,b=function(e){e&&e.url?l({src:e.url,id:e.id}):l({src:void 0,id:void 0})};return a?Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.MediaReplaceFlow,{mediaId:t,mediaURL:a,allowedTypes:bn,accept:"audio/*",onSelect:b,onSelectURL:this.onSelectURL,onError:this.onUploadError})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Audio settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:r,help:this.getAutoplayHelp}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:c}),Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Preload"),value:o||"",onChange:function(e){return l({preload:e||void 0})},options:[{value:"",label:Object(Oe.__)("Browser default")},{value:"auto",label:Object(Oe.__)("Auto")},{value:"metadata",label:Object(Oe.__)("Metadata")},{value:"none",label:Object(Oe.__)("None")}]}))),Object(ve.createElement)(ge.__experimentalBlock.figure,null,Object(ve.createElement)(Te.Disabled,null,Object(ve.createElement)("audio",{controls:"controls",src:a})),(!ge.RichText.isEmpty(n)||s)&&Object(ve.createElement)(ge.RichText,{tagName:"figcaption",placeholder:Object(Oe.__)("Write caption…"),value:n,onChange:function(e){return l({caption:e})},inlineToolbar:!0}))):Object(ve.createElement)(ge.__experimentalBlock.div,null,Object(ve.createElement)(ge.MediaPlaceholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:ln}),onSelect:b,onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:bn,value:this.props.attributes,notices:u,onError:this.onUploadError}))}}]),n}(ve.Component),dn=Object(Ke.compose)([Object(Ne.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),Te.withNotices])(mn);var pn={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(he.createBlock)("core/audio",{src:Object(Ze.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:function(e){return e.named.src}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},gn={name:"core/audio",category:"common",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0,lightBlockWrapper:!0}},hn=gn.name,fn={title:Object(Oe.__)("Audio"),description:Object(Oe.__)("Embed a simple audio player."),keywords:[Object(Oe.__)("music"),Object(Oe.__)("sound"),Object(Oe.__)("podcast"),Object(Oe.__)("recording")],icon:ln,transforms:pn,deprecated:sn,edit:dn,save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,c=t.loop,o=t.preload,a=t.src;return a&&Object(ve.createElement)("figure",null,Object(ve.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:c,preload:o}),!ge.RichText.isEmpty(n)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:n}))}},On=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 13h8v-1.5H8V13z"})),vn={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:function(e){return Object(he.createBlock)("core/buttons",{},e.map((function(e){return Object(he.createBlock)("core/button",e)})))}}]};function jn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jn(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var wn=function(e){if(!e.customTextColor&&!e.customBackgroundColor&&!e.customGradient)return e;var t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customGradient&&(t.color.gradient=e.customGradient),yn({},Object(fe.omit)(e,["customTextColor","customBackgroundColor","customGradient"]),{style:t})},_n=function(e){return wn(Object(fe.omit)(yn({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"]))},kn={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"}},Cn=[{supports:{align:!0,alignWide:!1,__experimentalColor:{gradients:!0}},attributes:yn({},kn,{linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}}),save:function(e){var t=e.attributes,r=t.borderRadius,n=t.linkTarget,c=t.rel,o=t.text,a=t.title,i=t.url,l=_e()("wp-block-button__link",{"no-border-radius":0===r}),s={borderRadius:r?r+"px":void 0};return Object(ve.createElement)(ge.RichText.Content,{tagName:"a",className:l,href:i,title:a,style:s,value:o,target:n,rel:c})}},{supports:{align:!0,alignWide:!1},attributes:yn({},kn,{linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},customGradient:{type:"string"},gradient:{type:"string"}}),isEligible:function(e){return!!e.customTextColor||!!e.customBackgroundColor||!!e.customGradient},migrate:wn,save:function(e){var t,r=e.attributes,n=r.backgroundColor,c=r.borderRadius,o=r.customBackgroundColor,a=r.customTextColor,i=r.customGradient,l=r.linkTarget,s=r.gradient,u=r.rel,b=r.text,m=r.textColor,d=r.title,p=r.url,g=Object(ge.getColorClassName)("color",m),h=!i&&Object(ge.getColorClassName)("background-color",n),f=Object(ge.__experimentalGetGradientClass)(s),O=_e()("wp-block-button__link",(t={"has-text-color":m||a},Object(de.a)(t,g,g),Object(de.a)(t,"has-background",n||o||i||s),Object(de.a)(t,h,h),Object(de.a)(t,"no-border-radius",0===c),Object(de.a)(t,f,f),t)),v={background:i||void 0,backgroundColor:h||i||s?void 0:o,color:g?void 0:a,borderRadius:c?c+"px":void 0};return Object(ve.createElement)("div",null,Object(ve.createElement)(ge.RichText.Content,{tagName:"a",className:O,href:p,title:d,style:v,value:b,target:l,rel:u}))}},{attributes:yn({},kn,{align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"}}),isEligible:function(e){return e.className&&e.className.includes("is-style-squared")},migrate:function(e){var t=e.className;return t&&(t=t.replace(/is-style-squared[\s]?/,"").trim()),wn(yn({},e,{className:t||void 0,borderRadius:0}))},save:function(e){var t,r=e.attributes,n=r.backgroundColor,c=r.customBackgroundColor,o=r.customTextColor,a=r.linkTarget,i=r.rel,l=r.text,s=r.textColor,u=r.title,b=r.url,m=Object(ge.getColorClassName)("color",s),d=Object(ge.getColorClassName)("background-color",n),p=_e()("wp-block-button__link",(t={"has-text-color":s||o},Object(de.a)(t,m,m),Object(de.a)(t,"has-background",n||c),Object(de.a)(t,d,d),t)),g={backgroundColor:d?void 0:c,color:m?void 0:o};return Object(ve.createElement)("div",null,Object(ve.createElement)(ge.RichText.Content,{tagName:"a",className:p,href:b,title:u,style:g,value:l,target:a,rel:i}))}},{attributes:yn({},kn,{align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}}),migrate:_n,save:function(e){var t,r=e.attributes,n=r.url,c=r.text,o=r.title,a=r.backgroundColor,i=r.textColor,l=r.customBackgroundColor,s=r.customTextColor,u=Object(ge.getColorClassName)("color",i),b=Object(ge.getColorClassName)("background-color",a),m=_e()("wp-block-button__link",(t={"has-text-color":i||s},Object(de.a)(t,u,u),Object(de.a)(t,"has-background",a||l),Object(de.a)(t,b,b),t)),d={backgroundColor:b?void 0:l,color:u?void 0:s};return Object(ve.createElement)("div",null,Object(ve.createElement)(ge.RichText.Content,{tagName:"a",className:m,href:n,title:o,style:d,value:c}))}},{attributes:yn({},kn,{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,r=t.url,n=t.text,c=t.title,o=t.align,a={backgroundColor:t.color,color:t.textColor};return Object(ve.createElement)("div",{className:"align".concat(o)},Object(ve.createElement)(ge.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:r,title:c,style:a,value:n}))},migrate:_n},{attributes:yn({},kn,{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,r=t.url,n=t.text,c=t.title,o=t.align,a=t.color,i=t.textColor;return Object(ve.createElement)("div",{className:"align".concat(o),style:{backgroundColor:a}},Object(ve.createElement)(ge.RichText.Content,{tagName:"a",href:r,title:c,style:{color:i},value:n}))},migrate:_n}],En=r(188);function xn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xn(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Pn="web"===ve.Platform.OS;var Bn=function e(t){if(!Object(fe.isObject)(t))return t;var r=Object(fe.pickBy)(Object(fe.mapValues)(t,e),fe.identity);return Object(fe.isEqual)(r,{})?void 0:r};function Tn(e){var t=e.settings,r=e.clientId,n=e.enableContrastChecking,c=void 0===n||n,o=window,a=o.getComputedStyle,i=o.Node,l=Object(ve.useState)(),s=Object(Be.a)(l,2),u=s[0],b=s[1],m=Object(ve.useState)(),d=Object(Be.a)(m,2),p=d[0],g=d[1];return Object(ve.useEffect)((function(){if(!Pn||c){var e=function(e){return document.getElementById("block-"+e)}(r);if(e){g(a(e).color);for(var t=e,n=a(t).backgroundColor;"rgba(0, 0, 0, 0)"===n&&t.parentNode&&t.parentNode.nodeType===i.ELEMENT_NODE;)t=t.parentNode,n=a(t).backgroundColor;b(n)}}})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(ge.__experimentalPanelColorGradientSettings,{title:Object(Oe.__)("Color settings"),initialOpen:!1,settings:t},Pn&&c&&Object(ve.createElement)(ge.ContrastChecker,{backgroundColor:u,textColor:p})))}var Nn=function(e){var t,r,n,c=e.attributes,o=Object(Ne.useSelect)((function(e){return e("core/block-editor").getSettings()}),[]),a=o.colors,i=o.gradients,l=Object(ve.useRef)(c);Object(ve.useEffect)((function(){l.current=c}),[c]);var s,u,b=c.style,m=c.textColor,d=c.backgroundColor,p=c.gradient;s=p?Object(ge.getGradientValueBySlug)(i,p):null==b?void 0:null===(u=b.color)||void 0===u?void 0:u.gradient;var g=function(t){return function(r){var n,c,o=Object(ge.getColorObjectByColorValue)(a,r),i=t+"Color",s=Sn({},l.current.style,{color:Sn({},null===(n=l.current)||void 0===n?void 0:null===(c=n.style)||void 0===c?void 0:c.color,Object(de.a)({},t,(null==o?void 0:o.slug)?void 0:r))}),u=(null==o?void 0:o.slug)?o.slug:void 0,b=Object(de.a)({style:Bn(s)},i,u);e.setAttributes(b),l.current=Sn({},l.current,{},b)}};return Object(ve.createElement)(Tn,{enableContrastChecking:!p&&!(null==b?void 0:null===(t=b.color)||void 0===t?void 0:t.gradient),clientId:e.clientId,settings:[{label:Object(Oe.__)("Text Color"),onColorChange:g("text"),colorValue:Object(ge.getColorObjectByAttributeValues)(a,m,null==b?void 0:null===(r=b.color)||void 0===r?void 0:r.text).color},{label:Object(Oe.__)("Background Color"),onColorChange:g("background"),colorValue:Object(ge.getColorObjectByAttributeValues)(a,d,null==b?void 0:null===(n=b.color)||void 0===n?void 0:n.background).color,gradientValue:s,onGradientChange:function(t){var r,n=Object(ge.getGradientSlugByValue)(i,t);if(n){var c,o,a,s=Sn({},null===(c=l.current)||void 0===c?void 0:c.style,{color:Sn({},null===(o=l.current)||void 0===o?void 0:null===(a=o.style)||void 0===a?void 0:a.color,{gradient:void 0})});r={style:Bn(s),gradient:n}}else{var u,b,m,d=Sn({},null===(u=l.current)||void 0===u?void 0:u.style,{color:Sn({},null===(b=l.current)||void 0===b?void 0:null===(m=b.style)||void 0===m?void 0:m.color,{gradient:t})});r={style:Bn(d),gradient:void 0}}e.setAttributes(r),l.current=Sn({},l.current,{},r)}}]})};function Rn(e){var t,r,n,c,o,a,i,l,s,u,b,m=e.backgroundColor,d=e.textColor,p=e.gradient,g=e.style,h=Object(ge.getColorClassName)("background-color",m),f=Object(ge.__experimentalGetGradientClass)(p),O=Object(ge.getColorClassName)("color",d),v=_e()(O,f,(o={},Object(de.a)(o,h,!(null==g?void 0:null===(t=g.color)||void 0===t?void 0:t.gradient)&&!!h),Object(de.a)(o,"has-text-color",d||(null==g?void 0:null===(r=g.color)||void 0===r?void 0:r.text)),Object(de.a)(o,"has-background",m||(null==g?void 0:null===(n=g.color)||void 0===n?void 0:n.background)||p||(null==g?void 0:null===(c=g.color)||void 0===c?void 0:c.gradient)),o));return{className:v||void 0,style:(null==g?void 0:null===(a=g.color)||void 0===a?void 0:a.background)||(null==g?void 0:null===(i=g.color)||void 0===i?void 0:i.text)||(null==g?void 0:null===(l=g.color)||void 0===l?void 0:l.gradient)?{background:(null==g?void 0:null===(s=g.color)||void 0===s?void 0:s.gradient)?g.color.gradient:void 0,backgroundColor:(null==g?void 0:null===(u=g.color)||void 0===u?void 0:u.background)?g.color.background:void 0,color:(null==g?void 0:null===(b=g.color)||void 0===b?void 0:b.text)?g.color.text:void 0}:{}}}function zn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Mn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zn(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function In(e){var t=e.borderRadius,r=void 0===t?"":t,n=e.setAttributes,c=Object(ve.useCallback)((function(e){n({borderRadius:e})}),[n]);return Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Border settings")},Object(ve.createElement)(Te.RangeControl,{value:r,label:Object(Oe.__)("Border radius"),min:0,max:50,initialPosition:5,allowReset:!0,onChange:c}))}function An(e){var t=e.isSelected,r=e.url,n=e.setAttributes,c=e.opensInNewTab,o=e.onToggleOpenInNewTab,a=Object(ve.useState)(!1),i=Object(Be.a)(a,2),l=i[0],s=i[1],u=function(){return s(!0),!1},b=l&&Object(ve.createElement)(Te.Popover,{position:"bottom center",onClose:function(){return s(!1)}},Object(ve.createElement)(ge.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:r,opensInNewTab:c},onChange:function(e){var t=e.url,r=void 0===t?"":t,a=e.opensInNewTab;n({url:r}),c!==a&&o(a)}}));return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(Te.ToolbarButton,{name:"link",icon:En.a,title:Object(Oe.__)("Link"),shortcut:Nr.displayShortcut.primary("k"),onClick:u}))),t&&Object(ve.createElement)(Te.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(de.a)({},Nr.rawShortcut.primary("k"),u)}),b)}var Hn=function(e){var t=e.attributes,r=e.setAttributes,n=e.className,c=e.isSelected,o=e.onReplace,a=e.mergeBlocks,i=t.borderRadius,l=t.linkTarget,s=t.placeholder,u=t.rel,b=t.text,m=t.url,d=Object(ve.useCallback)((function(e){r({rel:e})}),[r]),p=Object(ve.useCallback)((function(e){var t=e?"_blank":void 0,n=u;t&&!u?n="noreferrer noopener":t||"noreferrer noopener"!==u||(n=void 0),r({linkTarget:t,rel:n})}),[u,r]),g=Rn(t);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Nn,e),Object(ve.createElement)(ge.__experimentalBlock.div,null,Object(ve.createElement)(ge.RichText,{placeholder:s||Object(Oe.__)("Add text…"),value:b,onChange:function(e){return r({text:e})},withoutInteractiveFormatting:!0,className:_e()(n,"wp-block-button__link",g.className,{"no-border-radius":0===i}),style:Mn({borderRadius:i?i+"px":void 0},g.style),onSplit:function(e){return Object(he.createBlock)("core/button",Mn({},t,{text:e}))},onReplace:o,onMerge:a,identifier:"text"})),Object(ve.createElement)(An,{url:m,setAttributes:r,isSelected:c,opensInNewTab:"_blank"===l,onToggleOpenInNewTab:p}),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(In,{borderRadius:i,setAttributes:r}),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Link settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Open in new tab"),onChange:p,checked:"_blank"===l}),Object(ve.createElement)(Te.TextControl,{label:Object(Oe.__)("Link rel"),value:u||"",onChange:d}))))};function Dn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ln(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Vn={name:"core/button",category:"layout",parent:["core/buttons"],attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},style:{type:"object"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"}},supports:{align:!0,alignWide:!1,reusable:!1,lightBlockWrapper:!0}},Fn=Vn.name,Un={title:Object(Oe.__)("Button"),description:Object(Oe.__)("Prompt visitors to take action with a button-style link."),icon:On,keywords:[Object(Oe.__)("link")],example:{attributes:{className:"is-style-fill",backgroundColor:"vivid-green-cyan",text:Object(Oe.__)("Call to Action")}},styles:[{name:"fill",label:Object(Oe.__)("Fill"),isDefault:!0},{name:"outline",label:Object(Oe.__)("Outline")}],edit:Hn,save:function(e){var t=e.attributes,r=t.borderRadius,n=t.linkTarget,c=t.rel,o=t.text,a=t.title,i=t.url,l=Rn(t),s=_e()("wp-block-button__link",l.className,{"no-border-radius":0===r}),u=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dn(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({borderRadius:r?r+"px":void 0},l.style);return Object(ve.createElement)("div",null,Object(ve.createElement)(ge.RichText.Content,{tagName:"a",className:s,href:i,title:a,style:u,value:o,target:n,rel:c}))},deprecated:Cn,merge:function(e,t){var r=t.text,n=void 0===r?"":r;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ln(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ln(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{text:e.text+n})}},Gn=[Fn],Wn=[["core/button"]],qn={isEmbedButton:!0};var Zn=function(){return Object(ve.createElement)(ge.__experimentalBlock.div,null,Object(ve.createElement)(ge.__experimentalAlignmentHookSettingsProvider,{value:qn},Object(ve.createElement)(ge.InnerBlocks,{allowedBlocks:Gn,template:Wn,__experimentalMoverDirection:"horizontal"})))};var Kn={name:"core/buttons",category:"layout",supports:{align:!0,alignWide:!1,lightBlockWrapper:!0}},Qn=Kn.name,$n={title:Object(Oe.__)("Buttons"),description:Object(Oe.__)("Prompt visitors to take action with a group of button-style links."),icon:On,keywords:[Object(Oe.__)("link")],transforms:vn,edit:Zn,save:function(){return Object(ve.createElement)("div",null,Object(ve.createElement)(ge.InnerBlocks.Content,null))}},Jn=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})),Yn=r(45),Xn=r.n(Yn);function ec(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function tc(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var rc=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(tc()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).getYearMonth=jt()(e.getYearMonth.bind(Object(Pr.a)(e)),{maxSize:1}),e.getServerSideAttributes=jt()(e.getServerSideAttributes.bind(Object(Pr.a)(e)),{maxSize:1}),e}return Object(Qt.a)(n,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=Xn()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ec(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ec(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{},this.getYearMonth(t))}},{key:"render",value:function(){return Object(ve.createElement)(Te.Disabled,null,Object(ve.createElement)(nn.a,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),n}(ve.Component),nc=Object(Ne.withSelect)((function(e){var t=e("core/editor");if(t){var r=t.getEditedPostAttribute;return{date:"post"===r("type")?r("date"):void 0}}}))(rc),cc={from:[{type:"block",blocks:["core/legacy-widget"],isMatch:function(e){return"WP_Widget_Calendar"===e.widgetClass},transform:function(e){var t=e.instance,r=Object(he.createBlock)("core/calendar");return t&&t.title?[Object(he.createBlock)("core/heading",{content:t.title}),r]:r}}]},oc={name:"core/calendar",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},month:{type:"integer"},year:{type:"integer"}},supports:{align:!0}},ac=oc.name,ic={title:Object(Oe.__)("Calendar"),description:Object(Oe.__)("A calendar of your site’s posts."),icon:Jn,keywords:[Object(Oe.__)("posts"),Object(Oe.__)("archive")],example:{},edit:nc,transforms:cc},lc=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})),sc=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z"}));function uc(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var bc=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(uc()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(Pr.a)(e)),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(Pr.a)(e)),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"toggleDisplayAsDropdown",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({displayAsDropdown:!t.displayAsDropdown})}},{key:"toggleShowPostCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showPostCounts:!t.showPostCounts})}},{key:"toggleShowHierarchy",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showHierarchy:!t.showHierarchy})}},{key:"getCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.categories;return t&&t.length?null===e?t:t.filter((function(t){return t.parent===e})):[]}},{key:"getCategoryListClassName",value:function(e){return"wp-block-categories__list wp-block-categories__list-level-".concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(fe.unescape)(e.name).trim():Object(Oe.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,r=this.getCategories(t);return Object(ve.createElement)("ul",{className:this.getCategoryListClassName(0)},r.map((function(t){return e.renderCategoryListItem(t,0)})))}},{key:"renderCategoryListItem",value:function(e,t){var r=this,n=this.props.attributes,c=n.showHierarchy,o=n.showPostCounts,a=this.getCategories(e.id);return Object(ve.createElement)("li",{key:e.id},Object(ve.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),o&&Object(ve.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),c&&!!a.length&&Object(ve.createElement)("ul",{className:this.getCategoryListClassName(t+1)},a.map((function(e){return r.renderCategoryListItem(e,t+1)}))))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,r=this.props.attributes.showHierarchy?0:null,n=this.getCategories(r),c="blocks-category-select-".concat(t);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.VisuallyHidden,{as:"label",htmlFor:c},Object(Oe.__)("Categories")),Object(ve.createElement)("select",{id:c,className:"wp-block-categories__dropdown"},n.map((function(t){return e.renderCategoryDropdownItem(t,0)}))))}},{key:"renderCategoryDropdownItem",value:function(e,t){var r=this,n=this.props.attributes,c=n.showHierarchy,o=n.showPostCounts,a=this.getCategories(e.id);return[Object(ve.createElement)("option",{key:e.id},Object(fe.times)(3*t,(function(){return" "})),this.renderCategoryName(e),o?" (".concat(e.count,")"):""),c&&!!a.length&&a.map((function(e){return r.renderCategoryDropdownItem(e,t+1)}))]}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.isRequesting,n=t.displayAsDropdown,c=t.showHierarchy,o=t.showPostCounts,a=Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Categories settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display as dropdown"),checked:n,onChange:this.toggleDisplayAsDropdown}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Show hierarchy"),checked:c,onChange:this.toggleShowHierarchy}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Show post counts"),checked:o,onChange:this.toggleShowPostCounts})));return r?Object(ve.createElement)(ve.Fragment,null,a,Object(ve.createElement)(Te.Placeholder,{icon:sc,label:Object(Oe.__)("Categories")},Object(ve.createElement)(Te.Spinner,null))):Object(ve.createElement)(ve.Fragment,null,a,Object(ve.createElement)("div",{className:this.props.className},n?this.renderCategoryDropdown():this.renderCategoryList()))}}]),n}(ve.Component),mc=Object(Ke.compose)(Object(Ne.withSelect)((function(e){var t=e("core").getEntityRecords,r=e("core/data").isResolving,n={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",n),isRequesting:r("core","getEntityRecords",["taxonomy","category",n])}})),Ke.withInstanceId)(bc),dc={name:"core/categories",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,html:!1}},pc=dc.name,gc={title:Object(Oe.__)("Categories"),description:Object(Oe.__)("Display a list of all categories."),icon:lc,example:{},edit:mc},hc=r(264);var fc=r(81);function Oc(e){return e.replace(/\[/g,"&#91;")}function vc(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1&#47;&#47;$2")}var jc={from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(he.createBlock)("core/code")}},{type:"block",blocks:["core/html"],transform:function(e){var t=e.content;return Object(he.createBlock)("core/code",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},yc={name:"core/code",category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}},supports:{html:!1,lightBlockWrapper:!0}},wc=yc.name,_c={title:Object(Oe.__)("Code"),description:Object(Oe.__)("Display code snippets that respect your spacing and tabs."),icon:hc.a,example:{attributes:{content:Object(Oe.__)('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')}},transforms:jc,edit:function(e){var t=e.attributes,r=e.setAttributes;return Object(ve.createElement)(ge.__experimentalBlock.pre,null,Object(ve.createElement)(ge.PlainText,{__experimentalVersion:2,tagName:"code",value:t.content,onChange:function(e){return r({content:e})},placeholder:Object(Oe.__)("Write code…"),"aria-label":Object(Oe.__)("Code")}))},save:function(e){var t,r=e.attributes;return Object(ve.createElement)("pre",null,Object(ve.createElement)("code",null,(t=r.content,Object(fe.flow)(fc.escapeEditableHTML,Oc,vc)(t||""))))}},kc=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-4.1 1.5v10H10v-10h4.9zM5.5 17V8c0-.3.2-.5.5-.5h2.5v10H6c-.3 0-.5-.2-.5-.5zm14 0c0 .3-.2.5-.5.5h-2.6v-10H19c.3 0 .5.2.5.5v9z"}));function Cc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ec(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return xc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xc(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,c,o=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,c=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw c}}}}function xc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Sc(e){var t,r=Sc.doc;r||(r=document.implementation.createHTMLDocument(""),Sc.doc=r),r.body.innerHTML=e;var n,c=Ec(r.body.firstChild.classList);try{for(c.s();!(n=c.n()).done;){if(t=n.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){c.e(e)}finally{c.f()}}var Pc=[{attributes:{verticalAlignment:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textColor:{type:"string"}},migrate:function(e){if(!e.customTextColor&&!e.customBackgroundColor)return e;var t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Cc(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Object(fe.omit)(e,["customTextColor","customBackgroundColor"]),{style:t})},save:function(e){var t,r=e.attributes,n=r.verticalAlignment,c=r.backgroundColor,o=r.customBackgroundColor,a=r.textColor,i=r.customTextColor,l=Object(ge.getColorClassName)("background-color",c),s=Object(ge.getColorClassName)("color",a),u=_e()((t={"has-background":c||o,"has-text-color":a||i},Object(de.a)(t,l,l),Object(de.a)(t,s,s),Object(de.a)(t,"are-vertically-aligned-".concat(n),n),t)),b={backgroundColor:l?void 0:o,color:s?void 0:i};return Object(ve.createElement)("div",{className:u||void 0,style:b},Object(ve.createElement)(ge.InnerBlocks.Content,null))}},{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!==Sc(e.originalContent)}))},migrate:function(e,t){var r=t.reduce((function(e,t){var r=Sc(t.originalContent);return void 0===r&&(r=0),e[r]||(e[r]=[]),e[r].push(t),e}),[]).map((function(e){return Object(he.createBlock)("core/column",{},e)}));return[Object(fe.omit)(e,["columns"]),r]},save:function(e){var t=e.attributes.columns;return Object(ve.createElement)("div",{className:"has-".concat(t,"-columns")},Object(ve.createElement)(ge.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:function(e,t){return[e=Object(fe.omit)(e,["columns"]),t]},save:function(e){var t=e.attributes,r=t.verticalAlignment,n=t.columns,c=_e()("has-".concat(n,"-columns"),Object(de.a)({},"are-vertically-aligned-".concat(r),r));return Object(ve.createElement)("div",{className:c},Object(ve.createElement)(ge.InnerBlocks.Content,null))}}],Bc=function(e){return Number.isFinite(e)?parseFloat(e.toFixed(2)):void 0};function Tc(e,t){var r=e.attributes.width;return Bc(void 0===r?100/t:r)}function Nc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(fe.sumBy)(e,(function(e){return Tc(e,t)}))}function Rc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((function(e,r){var n=Tc(r,t);return Object.assign(e,Object(de.a)({},r.clientId,n))}),{})}function zc(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,n=Nc(e,r),c=t-n,o=c/e.length;return Object(fe.mapValues)(Rc(e,r),(function(e){return Bc(e+o)}))}function Mc(e,t){return e.map((function(e){return Object(fe.merge)({},e,{attributes:{width:t[e.clientId]}})}))}var Ic=["core/column"];var Ac=Object(Ne.withDispatch)((function(e,t,r){return{updateAlignment:function(n){var c=t.clientId,o=t.setAttributes,a=e("core/block-editor").updateBlockAttributes,i=r.select("core/block-editor").getBlockOrder;o({verticalAlignment:n}),i(c).forEach((function(e){a(e,{verticalAlignment:n})}))},updateColumns:function(n,c){var o=t.clientId,a=e("core/block-editor").replaceInnerBlocks,i=(0,r.select("core/block-editor").getBlocks)(o),l=i.every((function(e){return Number.isFinite(e.attributes.width)})),s=c>n;if(s&&l){var u=Bc(100/c),b=zc(i,100-u);i=[].concat(Object(me.a)(Mc(i,b)),Object(me.a)(Object(fe.times)(c-n,(function(){return Object(he.createBlock)("core/column",{width:u})}))))}else if(s)i=[].concat(Object(me.a)(i),Object(me.a)(Object(fe.times)(c-n,(function(){return Object(he.createBlock)("core/column")}))));else{if(i=Object(fe.dropRight)(i,n-c),l)i=Mc(i,zc(i,100))}a(o,i,!1)}}}))((function(e){var t=e.attributes,r=e.updateAlignment,n=e.updateColumns,c=e.clientId,o=t.verticalAlignment,a=Object(Ne.useSelect)((function(e){return{count:e("core/block-editor").getBlockCount(c)}}),[c]).count,i=_e()(Object(de.a)({},"are-vertically-aligned-".concat(o),o));return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.BlockVerticalAlignmentToolbar,{onChange:r,value:o})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,null,Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Columns"),value:a,onChange:function(e){return n(a,e)},min:2,max:Math.max(6,a)}),a>6&&Object(ve.createElement)(Te.Notice,{status:"warning",isDismissible:!1},Object(Oe.__)("This column count exceeds the recommended amount and may cause visual breakage.")))),Object(ve.createElement)(ge.InnerBlocks,{allowedBlocks:Ic,__experimentalMoverDirection:"horizontal",__experimentalTagName:ge.__experimentalBlock.div,__experimentalPassedProps:{className:i},renderAppender:!1}))})),Hc=function e(t){return Object(fe.map)(t,(function(t){var r=Object(Be.a)(t,3),n=r[0],c=r[1],o=r[2],a=void 0===o?[]:o;return Object(he.createBlock)(n,c,e(a))}))},Dc=function(e){var t=e.clientId,r=e.name,n=Object(Ne.useSelect)((function(e){var n=e("core/blocks"),c=n.getBlockVariations,o=n.getBlockType,a=n.getDefaultBlockVariation;return{blockType:o(r),defaultVariation:a(r,"block"),hasInnerBlocks:e("core/block-editor").getBlocks(t).length>0,variations:c(r,"block")}}),[t,r]),c=n.blockType,o=n.defaultVariation,a=n.hasInnerBlocks,i=n.variations,l=Object(Ne.useDispatch)("core/block-editor").replaceInnerBlocks;return a?Object(ve.createElement)(Ac,e):Object(ve.createElement)(ge.__experimentalBlock.div,null,Object(ve.createElement)(ge.__experimentalBlockVariationPicker,{icon:Object(fe.get)(c,["icon","src"]),label:Object(fe.get)(c,["title"]),variations:i,onSelect:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;t.attributes&&e.setAttributes(t.attributes),t.innerBlocks&&l(e.clientId,Hc(t.innerBlocks))},allowSkip:!0}))};var Lc=[{name:"two-columns-equal",title:Object(Oe.__)("50 / 50"),description:Object(Oe.__)("Two columns; equal split"),icon:Object(ve.createElement)(Te.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),isDefault:!0,innerBlocks:[["core/column"],["core/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:Object(Oe.__)("30 / 70"),description:Object(Oe.__)("Two columns; one-third, two-thirds split"),icon:Object(ve.createElement)(Te.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),innerBlocks:[["core/column",{width:33.33}],["core/column",{width:66.66}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:Object(Oe.__)("70 / 30"),description:Object(Oe.__)("Two columns; two-thirds, one-third split"),icon:Object(ve.createElement)(Te.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),innerBlocks:[["core/column",{width:66.66}],["core/column",{width:33.33}]],scope:["block"]},{name:"three-columns-equal",title:Object(Oe.__)("33 / 33 / 33"),description:Object(Oe.__)("Three columns; equal split"),icon:Object(ve.createElement)(Te.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),innerBlocks:[["core/column"],["core/column"],["core/column"]],scope:["block"]},{name:"three-columns-wider-center",title:Object(Oe.__)("25 / 50 / 25"),description:Object(Oe.__)("Three columns; wide center column"),icon:Object(ve.createElement)(Te.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),innerBlocks:[["core/column",{width:25}],["core/column",{width:50}],["core/column",{width:25}]],scope:["block"]}],Vc={name:"core/columns",category:"layout",attributes:{verticalAlignment:{type:"string"}}},Fc=Vc.name,Uc={title:Object(Oe.__)("Columns"),icon:kc,description:Object(Oe.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1,lightBlockWrapper:!0,__experimentalColor:"web"===ve.Platform.OS&&{gradients:!0}},variations:Lc,example:{innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Oe.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.")}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:Object(Oe.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Oe.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:Object(Oe.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:Pc,edit:Dc,save:function(e){var t=e.attributes.verticalAlignment,r=_e()(Object(de.a)({},"are-vertically-aligned-".concat(t),t));return Object(ve.createElement)("div",{className:r||void 0},Object(ve.createElement)(ge.InnerBlocks.Content,null))}},Gc=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z"}));var Wc=Object(Ke.compose)(Object(Ne.withSelect)((function(e,t){var r=t.clientId;return{hasChildBlocks:(0,e("core/block-editor").getBlockOrder)(r).length>0}})),Object(Ne.withDispatch)((function(e,t,r){return{updateAlignment:function(n){var c=t.clientId,o=t.setAttributes,a=e("core/block-editor").updateBlockAttributes,i=r.select("core/block-editor").getBlockRootClientId;o({verticalAlignment:n}),a(i(c),{verticalAlignment:null})}}})))((function(e){var t=e.attributes,r=e.setAttributes,n=e.updateAlignment,c=e.hasChildBlocks,o=t.verticalAlignment,a=t.width,i=_e()("block-core-columns",Object(de.a)({},"is-vertically-aligned-".concat(o),o)),l=Number.isFinite(a);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.BlockVerticalAlignmentToolbar,{onChange:n,value:o})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Column settings")},Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Percentage width"),value:a||"",onChange:function(e){r({width:e})},min:0,max:100,step:.1,required:!0,allowReset:!0,placeholder:void 0===a?Object(Oe.__)("Auto"):void 0}))),Object(ve.createElement)(ge.InnerBlocks,{templateLock:!1,renderAppender:c?void 0:function(){return Object(ve.createElement)(ge.InnerBlocks.ButtonBlockAppender,null)},__experimentalTagName:ge.__experimentalBlock.div,__experimentalPassedProps:{className:i,style:l?{flexBasis:a+"%"}:void 0}}))}));var qc={name:"core/column",category:"common",parent:["core/columns"],attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}},supports:{reusable:!1,html:!1,lightBlockWrapper:!0}},Zc=qc.name,Kc={title:Object(Oe.__)("Column"),icon:Gc,description:Object(Oe.__)("A single column within a columns block."),edit:Wc,save:function(e){var t,r=e.attributes,n=r.verticalAlignment,c=r.width,o=_e()(Object(de.a)({},"is-vertically-aligned-".concat(n),n));return Number.isFinite(c)&&(t={flexBasis:c+"%"}),Object(ve.createElement)("div",{className:o,style:t},Object(ve.createElement)(ge.InnerBlocks.Content,null))}},Qc=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"}));function $c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Jc={"top left":"is-position-top-left","top center":"is-position-top-center","top right":"is-position-top-right","center left":"is-position-center-left","center center":"is-position-center-center",center:"is-position-center-center","center right":"is-position-center-right","bottom left":"is-position-bottom-left","bottom center":"is-position-bottom-center","bottom right":"is-position-bottom-right"};function Yc(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}var Xc=[{value:"px",label:"px",default:430},{value:"em",label:"em",default:20},{value:"rem",label:"rem",default:20},{value:"vw",label:"vw",default:20},{value:"vh",label:"vh",default:50}];function eo(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function to(e){return function(t){if(t&&t.url){var r;if(t.media_type)r="image"===t.media_type?"image":"video";else{if("image"!==t.type&&"video"!==t.type)return;r=t.type}e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$c(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({url:t.url,id:t.id,backgroundType:r},"video"===r?{focalPoint:void 0,hasParallax:void 0}:{}))}else e({url:void 0,id:void 0})}}function ro(e){return void 0===e?"":Jc[e]}function no(e){return!e||"center center"===e||"center"===e}function co(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function oo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?co(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):co(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ao={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},io=[{attributes:oo({},ao,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}),save:function(e){var t=e.attributes,r=t.backgroundType,n=t.gradient,c=t.customGradient,o=t.customOverlayColor,a=t.dimRatio,i=t.focalPoint,l=t.hasParallax,s=t.overlayColor,u=t.url,b=t.minHeight,m=Object(ge.getColorClassName)("background-color",s),d=Object(ge.__experimentalGetGradientClass)(n),p="image"===r?Yc(u):{};m||(p.backgroundColor=o),i&&!l&&(p.backgroundPosition="".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")),c&&!u&&(p.background=c),p.minHeight=b||void 0;var g=_e()(eo(a),m,Object(de.a)({"has-background-dim":0!==a,"has-parallax":l,"has-background-gradient":c},d,!u&&d));return Object(ve.createElement)("div",{className:g,style:p},u&&(n||c)&&0!==a&&Object(ve.createElement)("span",{"aria-hidden":"true",className:_e()("wp-block-cover__gradient-background",d),style:c?{background:c}:void 0}),"video"===r&&u&&Object(ve.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(ve.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}},{attributes:oo({},ao,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}),save:function(e){var t=e.attributes,r=t.backgroundType,n=t.gradient,c=t.customGradient,o=t.customOverlayColor,a=t.dimRatio,i=t.focalPoint,l=t.hasParallax,s=t.overlayColor,u=t.url,b=t.minHeight,m=Object(ge.getColorClassName)("background-color",s),d=Object(ge.__experimentalGetGradientClass)(n),p="image"===r?Yc(u):{};m||(p.backgroundColor=o),i&&!l&&(p.backgroundPosition="".concat(100*i.x,"% ").concat(100*i.y,"%")),c&&!u&&(p.background=c),p.minHeight=b||void 0;var g=_e()(eo(a),m,Object(de.a)({"has-background-dim":0!==a,"has-parallax":l,"has-background-gradient":c},d,!u&&d));return Object(ve.createElement)("div",{className:g,style:p},u&&(n||c)&&0!==a&&Object(ve.createElement)("span",{"aria-hidden":"true",className:_e()("wp-block-cover__gradient-background",d),style:c?{background:c}:void 0}),"video"===r&&u&&Object(ve.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(ve.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}},{attributes:oo({},ao,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}}),supports:{align:!0},save:function(e){var t=e.attributes,r=t.backgroundType,n=t.contentAlign,c=t.customOverlayColor,o=t.dimRatio,a=t.focalPoint,i=t.hasParallax,l=t.overlayColor,s=t.title,u=t.url,b=Object(ge.getColorClassName)("background-color",l),m="image"===r?Yc(u):{};b||(m.backgroundColor=c),a&&!i&&(m.backgroundPosition="".concat(100*a.x,"% ").concat(100*a.y,"%"));var d=_e()(eo(o),b,Object(de.a)({"has-background-dim":0!==o,"has-parallax":i},"has-".concat(n,"-content"),"center"!==n));return Object(ve.createElement)("div",{className:d,style:m},"video"===r&&u&&Object(ve.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!ge.RichText.isEmpty(s)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},migrate:function(e){return[Object(fe.omit)(e,["title","contentAlign"]),[Object(he.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(Oe.__)("Write title…")})]]}},{attributes:oo({},ao,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}}),supports:{className:!1},save:function(e){var t=e.attributes,r=t.url,n=t.title,c=t.hasParallax,o=t.dimRatio,a=t.align,i=t.contentAlign,l=t.overlayColor,s=t.customOverlayColor,u=Object(ge.getColorClassName)("background-color",l),b=Yc(r);u||(b.backgroundColor=s);var m=_e()("wp-block-cover-image",eo(o),u,Object(de.a)({"has-background-dim":0!==o,"has-parallax":c},"has-".concat(i,"-content"),"center"!==i),a?"align".concat(a):null);return Object(ve.createElement)("div",{className:m,style:b},!ge.RichText.isEmpty(n)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:n}))},migrate:function(e){return[Object(fe.omit)(e,["title","contentAlign","align"]),[Object(he.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(Oe.__)("Write title…")})]]}},{attributes:oo({},ao,{title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}}),supports:{className:!1},save:function(e){var t=e.attributes,r=t.url,n=t.title,c=t.hasParallax,o=t.dimRatio,a=t.align,i=Yc(r),l=_e()("wp-block-cover-image",eo(o),{"has-background-dim":0!==o,"has-parallax":c},a?"align".concat(a):null);return Object(ve.createElement)("section",{className:l,style:i},Object(ve.createElement)(ge.RichText.Content,{tagName:"h2",value:n}))},migrate:function(e){return[Object(fe.omit)(e,["title","contentAlign","align"]),[Object(he.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(Oe.__)("Write title…")})]]}}],lo=r(236),so=r.n(lo),uo=r(59),bo=r.n(uo);function mo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function po(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mo(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var go=["image","video"],ho=[["core/paragraph",{align:"center",fontSize:"large",placeholder:Object(Oe.__)("Write title…")}]];function fo(){return fo.fastAverageColor||(fo.fastAverageColor=new so.a),fo.fastAverageColor}function Oo(e){var t=e.onChange,r=e.onUnitChange,n=e.unit,c=void 0===n?"px":n,o=e.value,a=void 0===o?"":o,i=Object(ve.useState)(null),l=Object(Be.a)(i,2),s=l[0],u=l[1],b=Object(Ke.useInstanceId)(ge.__experimentalUnitControl),m="block-cover-height-input-".concat(b),d=null!==s?s:a,p="px"===c?50:0;return Object(ve.createElement)(Te.BaseControl,{label:Object(Oe.__)("Minimum height of cover"),id:m},Object(ve.createElement)(ge.__experimentalUnitControl,{id:m,min:p,onBlur:function(){null!==s&&u(null)},onChange:function(e){var r=""!==e?parseInt(e,10):void 0;isNaN(r)&&void 0!==r?u(e):(u(null),t(r))},onUnitChange:r,step:"1",style:{maxWidth:80},unit:c,units:Xc,value:d}))}var vo={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};function jo(e){var t=e.className,r=e.onResizeStart,n=e.onResize,c=e.onResizeStop,o=Object(pr.a)(e,["className","onResizeStart","onResize","onResizeStop"]),a=Object(ve.useState)(!1),i=Object(Be.a)(a,2),l=i[0],s=i[1];return Object(ve.createElement)(Te.ResizableBox,Object(Ge.a)({className:_e()(t,{"is-resizing":l}),enable:vo,onResizeStart:function(e,t,c){r(c.clientHeight),n(c.clientHeight)},onResize:function(e,t,r){n(r.clientHeight),l||s(!0)},onResizeStop:function(e,t,r){c(r.clientHeight),s(!1)},minHeight:50},o))}var yo=Object(Ke.compose)([Object(Ne.withDispatch)((function(e){return{toggleSelection:e("core/block-editor").toggleSelection}})),Object(ge.withColors)({overlayColor:"background-color"}),Te.withNotices,Ke.withInstanceId])((function(e){var t,r=e.attributes,n=e.setAttributes,c=e.isSelected,o=e.noticeUI,a=e.overlayColor,i=e.setOverlayColor,l=e.toggleSelection,s=e.noticeOperations,u=r.contentPosition,b=r.id,m=r.backgroundType,d=r.dimRatio,p=r.focalPoint,g=r.hasParallax,h=r.minHeight,f=r.minHeightUnit,O=r.url,v=Object(ge.__experimentalUseGradient)(),j=v.gradientClass,y=v.gradientValue,w=v.setGradient,_=to(n),k=Object(ve.useRef)(),C=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,c=Object(ve.useState)(!1),o=Object(Be.a)(c,2),a=o[0],i=o[1];return Object(ve.useEffect)((function(){e&&t<=50&&n.current&&fo().getColorAsync(n.current,(function(e){i(e.isDark)}))}),[e,e&&t<=50&&n.current,i]),Object(ve.useEffect)((function(){if(t>50||!e){if(!r)return void i(!0);i(bo()(r).isDark())}}),[r,t>50||!e,i]),Object(ve.useEffect)((function(){e||r||i(!1)}),[!e&&!r,i]),a}(O,d,a.color,k),E=Object(ve.useState)(null),x=Object(Be.a)(E,2),S=x[0],P=x[1],B=s.removeAllNotices,T=s.createErrorNotice,N=f?"".concat(h).concat(f):h,R=po({},"image"===m?Yc(O):{},{backgroundColor:a.color,minHeight:S||N||void 0});y&&!O&&(R.background=y),p&&(R.backgroundPosition="".concat(100*p.x,"% ").concat(100*p.y,"%"));var z=!!(O||a.color||y),M=Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.__experimentalBlockAlignmentMatrixToolbar,{label:Object(Oe.__)("Change content position"),value:u,onChange:function(e){return n({contentPosition:e})}}),z&&Object(ve.createElement)(ge.MediaReplaceFlow,{mediaId:b,mediaURL:O,allowedTypes:go,accept:"image/*,video/*",onSelect:_})),Object(ve.createElement)(ge.InspectorControls,null,!!O&&Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Media settings")},"image"===m&&Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Fixed background"),checked:g,onChange:function(){n(po({hasParallax:!g},g?{}:{focalPoint:void 0}))}}),"image"===m&&!g&&Object(ve.createElement)(Te.FocalPointPicker,{label:Object(Oe.__)("Focal point picker"),url:O,value:p,onChange:function(e){return n({focalPoint:e})}}),"video"===m&&Object(ve.createElement)("video",{autoPlay:!0,muted:!0,loop:!0,src:O}),Object(ve.createElement)(Te.PanelRow,null,Object(ve.createElement)(Te.Button,{isSecondary:!0,isSmall:!0,className:"block-library-cover__reset-button",onClick:function(){return n({url:void 0,id:void 0,backgroundType:void 0,dimRatio:void 0,focalPoint:void 0,hasParallax:void 0})}},Object(Oe.__)("Clear Media")))),z&&Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Dimensions")},Object(ve.createElement)(Oo,{value:S||h,unit:f,onChange:function(e){return n({minHeight:e})},onUnitChange:function(e){n({minHeightUnit:e})}})),Object(ve.createElement)(ge.__experimentalPanelColorGradientSettings,{title:Object(Oe.__)("Overlay"),initialOpen:!0,settings:[{colorValue:a.color,gradientValue:y,onColorChange:i,onGradientChange:w,label:Object(Oe.__)("Color")}]},!!O&&Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Background opacity"),value:d,onChange:function(e){return n({dimRatio:e})},min:0,max:100,required:!0})))));if(!z){var I=Object(ve.createElement)(ge.BlockIcon,{icon:Qc}),A=Object(Oe.__)("Cover");return Object(ve.createElement)(ve.Fragment,null,M,Object(ve.createElement)(ge.__experimentalBlock.div,{className:"is-placeholder"},Object(ve.createElement)(ge.MediaPlaceholder,{icon:I,labels:{title:A,instructions:Object(Oe.__)("Upload an image or video file, or pick one from your media library.")},onSelect:_,accept:"image/*,video/*",allowedTypes:go,notices:o,onError:function(e){B(),T(e)}},Object(ve.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(ve.createElement)(ge.ColorPalette,{disableCustomColors:!0,value:a.color,onChange:i,clearable:!1})))))}var H=_e()(eo(d),(t={"is-dark-theme":C,"has-background-dim":0!==d,"has-parallax":g},Object(de.a)(t,a.class,a.class),Object(de.a)(t,"has-background-gradient",y),Object(de.a)(t,j,!O&&j),Object(de.a)(t,"has-custom-content-position",!no(u)),t),ro(u));return Object(ve.createElement)(ve.Fragment,null,M,Object(ve.createElement)(ge.__experimentalBlock.div,{className:H,"data-url":O,style:R},Object(ve.createElement)(jo,{className:"block-library-cover__resize-container",onResizeStart:function(){n({minHeightUnit:"px"}),l(!1)},onResize:P,onResizeStop:function(e){l(!0),n({minHeight:e}),P(null)},showHandle:c}),"image"===m&&Object(ve.createElement)("img",{ref:k,"aria-hidden":!0,alt:"",style:{display:"none"},src:O}),O&&y&&0!==d&&Object(ve.createElement)("span",{"aria-hidden":"true",className:_e()("wp-block-cover__gradient-background",j),style:{background:y}}),"video"===m&&Object(ve.createElement)("video",{ref:k,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:O}),Object(ve.createElement)(ge.InnerBlocks,{__experimentalTagName:"div",__experimentalPassedProps:{className:"wp-block-cover__inner-container"},template:ho})))}));var wo={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,r=e.url,n=e.align,c=e.id;return Object(he.createBlock)("core/cover",{title:t,url:r,align:n,id:c})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,r=e.src,n=e.align,c=e.id;return Object(he.createBlock)("core/cover",{title:t,url:r,align:n,id:c,backgroundType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType,r=e.url,n=e.overlayColor,c=e.customOverlayColor,o=e.gradient,a=e.customGradient;return r?"image"===t:!(n||c||o||a)},transform:function(e){var t=e.title,r=e.url,n=e.align,c=e.id;return Object(he.createBlock)("core/image",{caption:t,url:r,align:n,id:c})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType,r=e.url,n=e.overlayColor,c=e.customOverlayColor,o=e.gradient,a=e.customGradient;return r?"video"===t:!(n||c||o||a)},transform:function(e){var t=e.title,r=e.url,n=e.align,c=e.id;return Object(he.createBlock)("core/video",{caption:t,src:r,id:c,align:n})}}]},_o={name:"core/cover",category:"common",attributes:{url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"}},supports:{align:!0,html:!1,lightBlockWrapper:!0}},ko=_o.name,Co={title:Object(Oe.__)("Cover"),description:Object(Oe.__)("Add an image or video with a text overlay — great for headers."),icon:Qc,example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:Object(Oe.__)("<strong>Snow Patrol</strong>"),align:"center"}}]},transforms:wo,save:function(e){var t,r=e.attributes,n=r.backgroundType,c=r.gradient,o=r.contentPosition,a=r.customGradient,i=r.customOverlayColor,l=r.dimRatio,s=r.focalPoint,u=r.hasParallax,b=r.overlayColor,m=r.url,d=r.minHeight,p=r.minHeightUnit,g=Object(ge.getColorClassName)("background-color",b),h=Object(ge.__experimentalGetGradientClass)(c),f=p?"".concat(d).concat(p):d,O="image"===n?Yc(m):{};g||(O.backgroundColor=i),s&&!u&&(O.backgroundPosition="".concat(Math.round(100*s.x),"% ").concat(Math.round(100*s.y),"%")),a&&!m&&(O.background=a),O.minHeight=f||void 0;var v=_e()(eo(l),g,(t={"has-background-dim":0!==l,"has-parallax":u,"has-background-gradient":c||a},Object(de.a)(t,h,!m&&h),Object(de.a)(t,"has-custom-content-position",!no(o)),t),ro(o));return Object(ve.createElement)("div",{className:v,style:O},m&&(c||a)&&0!==l&&Object(ve.createElement)("span",{"aria-hidden":"true",className:_e()("wp-block-cover__gradient-background",h),style:a?{background:a}:void 0}),"video"===n&&m&&Object(ve.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:m}),Object(ve.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))},edit:yo,deprecated:io},Eo=r(187),xo=function(e){var t=e.blockSupportsResponsive,r=e.showEditButton,n=e.themeSupportsResponsive,c=e.allowResponsive,o=e.getResponsiveHelp,a=e.toggleResponsive,i=e.switchBackToURLInput;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,null,r&&Object(ve.createElement)(Te.Button,{className:"components-toolbar__control",label:Object(Oe.__)("Edit URL"),icon:Eo.a,onClick:i}))),n&&t&&Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Media settings"),className:"blocks-responsive"},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Resize for smaller devices"),checked:c,help:o,onChange:a}))))},So=function(){return Object(ve.createElement)("div",{className:"wp-block-embed is-loading"},Object(ve.createElement)(Te.Spinner,null),Object(ve.createElement)("p",null,Object(Oe.__)("Embedding…")))},Po=function(e){var t=e.icon,r=e.label,n=e.value,c=e.onSubmit,o=e.onChange,a=e.cannotEmbed,i=e.fallback,l=e.tryAgain;return Object(ve.createElement)(Te.Placeholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:t,showColors:!0}),label:r,className:"wp-block-embed",instructions:Object(Oe.__)("Paste a link to the content you want to display on your site.")},Object(ve.createElement)("form",{onSubmit:c},Object(ve.createElement)("input",{type:"url",value:n||"",className:"components-placeholder__input","aria-label":r,placeholder:Object(Oe.__)("Enter URL to embed here…"),onChange:o}),Object(ve.createElement)(Te.Button,{isPrimary:!0,type:"submit"},Object(Oe._x)("Embed","button label"))),Object(ve.createElement)("div",{className:"components-placeholder__learn-more"},Object(ve.createElement)(Te.ExternalLink,{href:Object(Oe.__)("https://wordpress.org/support/article/embeds/")},Object(Oe.__)("Learn more about embeds"))),a&&Object(ve.createElement)("div",{className:"components-placeholder__error"},Object(ve.createElement)("div",{className:"components-placeholder__instructions"},Object(Oe.__)("Sorry, this content could not be embedded.")),Object(ve.createElement)(Te.Button,{isSecondary:!0,onClick:l},Object(Oe._x)("Try again","button label"))," ",Object(ve.createElement)(Te.Button,{isSecondary:!0,onClick:i},Object(Oe._x)("Convert to link","button label"))))};function Bo(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var To=window.FocusEvent,No=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Bo()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).checkFocus=e.checkFocus.bind(Object(Pr.a)(e)),e.node=Object(ve.createRef)(),e}return Object(Qt.a)(n,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new To("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object(ve.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),n}(ve.Component),Ro=Object(Ke.withGlobalEvents)({blur:"checkFocus"})(No);function zo(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Mo=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(zo()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).hideOverlay=e.hideOverlay.bind(Object(Pr.a)(e)),e.state={interactive:!1},e}return Object(Qt.a)(n,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e,t,r,n=this.props,c=n.preview,o=n.url,a=n.type,i=n.caption,l=n.onCaptionChange,s=n.isSelected,u=n.className,b=n.icon,m=n.label,d=c.scripts,p=this.state.interactive,g="photo"===a?(t=(e=c).thumbnail_url?e.thumbnail_url:e.url,r=Object(ve.createElement)("p",null,Object(ve.createElement)("img",{src:t,alt:e.title,width:"100%"})),Object(ve.renderToString)(r)):c.html,h=new URL(o).host.split("."),f=h.splice(h.length-2,h.length-1).join("."),O=Object(fe.includes)(gt,f),v=Object(Oe.sprintf)(Object(Oe.__)("Embedded content from %s"),f),j=Ot()(a,u,"wp-block-embed__wrapper"),y="wp-embed"===a?Object(ve.createElement)(Ro,{html:g}):Object(ve.createElement)("div",{className:"wp-block-embed__wrapper"},Object(ve.createElement)(Te.SandBox,{html:g,scripts:d,title:v,type:j,onFocus:this.hideOverlay}),!p&&Object(ve.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(ve.createElement)("figure",{className:Ot()(u,"wp-block-embed",{"is-type-video":"video"===a})},O?Object(ve.createElement)(Te.Placeholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:b,showColors:!0}),label:m},Object(ve.createElement)("p",{className:"components-placeholder__error"},Object(ve.createElement)("a",{href:o},o)),Object(ve.createElement)("p",{className:"components-placeholder__error"},Object(Oe.sprintf)(Object(Oe.__)("Embedded content from %s can't be previewed in the editor."),f))):y,(!ge.RichText.isEmpty(i)||s)&&Object(ve.createElement)(ge.RichText,{tagName:"figcaption",placeholder:Object(Oe.__)("Write caption…"),value:i,onChange:l,inlineToolbar:!0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),n}(ve.Component);function Io(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ao(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Io(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Io(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ho(e){return function(){var t,r=Object(Jt.a)(e);if(Do()){var n=Object(Jt.a)(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return Object($t.a)(this,t)}}function Do(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Lo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Lo(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Fo={url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0}};function Uo(e){var t=e.title,r=e.description,n=e.icon,c=e.category,o=void 0===c?"embed":c,a=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=r||Object(Oe.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),p=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(function(n){Object(Yt.a)(o,n);var c=Ho(o);function o(){var e;return Object(Kt.a)(this,o),(e=c.apply(this,arguments)).switchBackToURLInput=e.switchBackToURLInput.bind(Object(Pr.a)(e)),e.setUrl=e.setUrl.bind(Object(Pr.a)(e)),e.getMergedAttributes=e.getMergedAttributes.bind(Object(Pr.a)(e)),e.setMergedAttributes=e.setMergedAttributes.bind(Object(Pr.a)(e)),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(Pr.a)(e)),e.toggleResponsive=e.toggleResponsive.bind(Object(Pr.a)(e)),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(Pr.a)(e)),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(Qt.a)(o,[{key:"handleIncomingPreview",value:function(){if(this.setMergedAttributes(),this.props.onReplace){var e=kt(this.props,this.getMergedAttributes());e&&this.props.onReplace(e)}}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,r=void 0!==e.preview,n=e.preview&&this.props.preview&&this.props.preview.html!==e.preview.html||t&&!r,c=this.props.attributes.url!==e.attributes.url;if(n||c){if(this.props.cannotEmbed)return void(this.props.fetching||this.resubmitWithoutTrailingSlash());this.handleIncomingPreview()}}},{key:"resubmitWithoutTrailingSlash",value:function(){this.setState((function(e){return{url:e.url.replace(/\/$/,"")}}),this.setUrl)}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,r=this.props.setAttributes;this.setState({editingURL:!1}),r({url:t})}},{key:"getMergedAttributes",value:function(){var t=this.props.preview,n=this.props.attributes,c=n.className,o=n.allowResponsive;return Ao({},this.props.attributes,{},xt(t,e,c,r,o))}},{key:"setMergedAttributes",value:function(){(0,this.props.setAttributes)(this.getMergedAttributes())}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"getResponsiveHelp",value:function(e){return e?Object(Oe.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(Oe.__)("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,n=e.className,c=this.props.preview.html,o=!t;this.props.setAttributes({allowResponsive:o,className:Ct(c,n,r&&o)})}},{key:"render",value:function(){var n=this,c=this.state,o=c.url,a=c.editingURL,i=this.props,l=i.fetching,s=i.setAttributes,u=i.isSelected,b=i.preview,m=i.cannotEmbed,d=i.themeSupportsResponsive,p=i.tryAgain;if(l)return Object(ve.createElement)(So,null);var g=Object(Oe.sprintf)(Object(Oe.__)("%s URL"),e);if(!b||m||a)return Object(ve.createElement)(Po,{icon:t,label:g,onSubmit:this.setUrl,value:o,cannotEmbed:m,onChange:function(e){return n.setState({url:e.target.value})},fallback:function(){return Et(o,n.props.onReplace)},tryAgain:p});var h=this.getMergedAttributes(),f=h.caption,O=h.type,v=h.allowResponsive,j=_e()(h.className,this.props.className);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(xo,{showEditButton:b&&!m,themeSupportsResponsive:d,blockSupportsResponsive:r,allowResponsive:v,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object(ve.createElement)(Mo,{preview:b,className:j,url:o,type:O,caption:f,onCaptionChange:function(e){return s({caption:e})},isSelected:u,icon:t,label:g}))}}]),o}(ve.Component))}(t,n,m);return{title:t,description:d,icon:n,category:o,keywords:l,attributes:Fo,supports:Vo({align:!0},u),transforms:a,edit:Object(Ke.compose)(Object(Ne.withSelect)((function(e,t){var r=t.attributes.url,n=e("core"),c=n.getEmbedPreview,o=n.isPreviewEmbedFallback,a=n.isRequestingEmbedPreview,i=n.getThemeSupports,l=void 0!==r&&c(r),s=void 0!==r&&o(r),u=void 0!==r&&a(r),b=i(),m=!!l&&void 0===l.type&&!1===l.html,d=!!l&&l.data&&404===l.data.status,p=!!l&&!m&&!d,g=void 0!==r&&(!p||s);return{preview:p?l:void 0,fetching:u,themeSupportsResponsive:b["responsive-embeds"],cannotEmbed:g}})),Object(Ne.withDispatch)((function(e,t){var r=t.attributes.url,n=e("core/data");return{tryAgain:function(){n.invalidateResolution("core","getEmbedPreview",[r])}}})))(p),save:function(e){var t,r=e.attributes,n=r.url,c=r.caption,o=r.type,a=r.providerNameSlug;if(!n)return null;var i=Ot()("wp-block-embed",(t={},Object(de.a)(t,"is-type-".concat(o),o),Object(de.a)(t,"is-provider-".concat(a),a),t));return Object(ve.createElement)("figure",{className:i},Object(ve.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(n,"\n")),!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:c}))},deprecated:[{attributes:Fo,save:function(e){var t,r=e.attributes,n=r.url,c=r.caption,o=r.type,a=r.providerNameSlug;if(!n)return null;var i=Ot()("wp-block-embed",(t={},Object(de.a)(t,"is-type-".concat(o),o),Object(de.a)(t,"is-provider-".concat(a),a),t));return Object(ve.createElement)("figure",{className:i},"\n".concat(n,"\n"),!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:c}))}}]}}var Go={from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)},transform:function(e){return Object(he.createBlock)("core/embed",{url:e.textContent.trim()})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.url,r=e.caption,n=Object(ve.createElement)("a",{href:t},r||t);return Object(he.createBlock)("core/paragraph",{content:Object(ve.renderToString)(n)})}}]};function Wo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Zo="core/embed",Ko=Uo({title:Object(Oe._x)("Embed","block title"),description:Object(Oe.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:$e,responsive:!1,transforms:Go}),Qo=dt.map((function(e){return qo({},e,{settings:qo({},Uo(e.settings),{transforms:Go})})})),$o=pt.map((function(e){return qo({},e,{settings:qo({},Uo(e.settings),{transforms:Go})})})),Jo=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5z"}));function Yo(e){var t=e.hrefs,r=e.openInNewWindow,n=e.showDownloadButton,c=e.changeLinkDestinationOption,o=e.changeOpenInNewWindow,a=e.changeShowDownloadButton,i=t.href,l=t.textLinkHref,s=t.attachmentPage,u=[{value:i,label:Object(Oe.__)("URL")}];return s&&(u=[{value:i,label:Object(Oe.__)("Media file")},{value:s,label:Object(Oe.__)("Attachment page")}]),Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Text link settings")},Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Link to"),value:l,options:u,onChange:c}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Open in new tab"),checked:r,onChange:o})),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Download button settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Show download button"),checked:n,onChange:a}))))}function Xo(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var ea=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Xo()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onSelectFile=e.onSelectFile.bind(Object(Pr.a)(e)),e.confirmCopyURL=e.confirmCopyURL.bind(Object(Pr.a)(e)),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(Pr.a)(e)),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(Pr.a)(e)),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(Pr.a)(e)),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(Pr.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Pr.a)(e)),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props,r=t.attributes,n=t.mediaUpload,c=t.noticeOperations,o=t.setAttributes,a=r.downloadButtonText,i=r.href;Object(Ze.isBlobURL)(i)&&(n({filesList:[Object(Ze.getBlobByURL)(i)],onFileChange:function(t){var r=Object(Be.a)(t,1)[0];return e.onSelectFile(r)},onError:function(t){e.setState({hasError:!0}),c.createErrorNotice(t)}}),Object(Ze.revokeBlobURL)(i));void 0===a&&o({downloadButtonText:Object(Oe._x)("Download","button label")})}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id}))}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"confirmCopyURL",value:function(){this.setState({showCopyConfirmation:!0})}},{key:"resetCopyConfirmation",value:function(){this.setState({showCopyConfirmation:!1})}},{key:"changeLinkDestinationOption",value:function(e){this.props.setAttributes({textLinkHref:e})}},{key:"changeOpenInNewWindow",value:function(e){this.props.setAttributes({textLinkTarget:!!e&&"_blank"})}},{key:"changeShowDownloadButton",value:function(e){this.props.setAttributes({showDownloadButton:e})}},{key:"render",value:function(){var e=this,t=this.props,r=t.className,n=t.isSelected,c=t.attributes,o=t.setAttributes,a=t.noticeUI,i=t.media,l=c.id,s=c.fileName,u=c.href,b=c.textLinkHref,m=c.textLinkTarget,d=c.showDownloadButton,p=c.downloadButtonText,g=this.state,h=g.hasError,f=g.showCopyConfirmation,O=i&&i.link;if(!u||h)return Object(ve.createElement)(ge.MediaPlaceholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:Jo}),labels:{title:Object(Oe.__)("File"),instructions:Object(Oe.__)("Upload a file or pick one from your media library.")},onSelect:this.onSelectFile,notices:a,onError:this.onUploadError,accept:"*"});var v=_e()(r,{"is-transient":Object(Ze.isBlobURL)(u)});return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Yo,Object(Ge.a)({hrefs:{href:u,textLinkHref:b,attachmentPage:O}},{openInNewWindow:!!m,showDownloadButton:d,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.MediaReplaceFlow,{mediaId:l,mediaURL:u,accept:"*",onSelect:this.onSelectFile,onError:this.onUploadError})),Object(ve.createElement)(Te.Animate,{type:Object(Ze.isBlobURL)(u)?"loading":null},(function(t){var r=t.className;return Object(ve.createElement)("div",{className:_e()(v,r)},Object(ve.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(ve.createElement)("div",{className:"wp-block-file__textlink"},Object(ve.createElement)(ge.RichText,{tagName:"div",value:s,placeholder:Object(Oe.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:function(e){return o({fileName:e})}})),d&&Object(ve.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(ve.createElement)(ge.RichText,{tagName:"div",className:"wp-block-file__button",value:p,withoutInteractiveFormatting:!0,placeholder:Object(Oe.__)("Add text…"),onChange:function(e){return o({downloadButtonText:e})}}))),n&&Object(ve.createElement)(Te.ClipboardButton,{isSecondary:!0,text:u,className:"wp-block-file__copy-url-button",onCopy:e.confirmCopyURL,onFinishCopy:e.resetCopyConfirmation,disabled:Object(Ze.isBlobURL)(u)},f?Object(Oe.__)("Copied!"):Object(Oe.__)("Copy URL")))})))}}]),n}(ve.Component),ta=Object(Ke.compose)([Object(Ne.withSelect)((function(e,t){var r=e("core").getMedia,n=(0,e("core/block-editor").getSettings)().mediaUpload,c=t.attributes.id;return{media:void 0===c?void 0:r(c),mediaUpload:n}})),Te.withNotices])(ea);var ra={from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.forEach((function(e){var r=Object(Ze.createBlobURL)(e);t.push(Object(he.createBlock)("core/file",{href:r,fileName:e.name,textLinkHref:r}))})),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(he.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(he.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(he.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 r=(0,Object(Ne.select)("core").getMedia)(t);return!!r&&Object(fe.includes)(r.mime_type,"audio")},transform:function(e){return Object(he.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 r=(0,Object(Ne.select)("core").getMedia)(t);return!!r&&Object(fe.includes)(r.mime_type,"video")},transform:function(e){return Object(he.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 r=(0,Object(Ne.select)("core").getMedia)(t);return!!r&&Object(fe.includes)(r.mime_type,"image")},transform:function(e){return Object(he.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},na={name:"core/file",category:"common",attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"}},supports:{align:!0}},ca=na.name,oa={title:Object(Oe.__)("File"),description:Object(Oe.__)("Add a link to a downloadable file."),icon:Jo,keywords:[Object(Oe.__)("document"),Object(Oe.__)("pdf"),Object(Oe.__)("download")],transforms:ra,edit:ta,save:function(e){var t=e.attributes,r=t.href,n=t.fileName,c=t.textLinkHref,o=t.textLinkTarget,a=t.showDownloadButton,i=t.downloadButtonText;return r&&Object(ve.createElement)("div",null,!ge.RichText.isEmpty(n)&&Object(ve.createElement)("a",{href:c,target:o,rel:!!o&&"noreferrer noopener"},Object(ve.createElement)(ge.RichText.Content,{value:n})),a&&Object(ve.createElement)("a",{href:r,className:"wp-block-file__button",download:!0},Object(ve.createElement)(ge.RichText.Content,{value:i})))}},aa=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z"}));function ia(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var la=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(ia()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(Pr.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=this.props.styles;this.setState({styles:["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat(Object(me.a)(Object(ge.transformStyles)(e)))})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"switchToHTML",value:function(){this.setState({isPreview:!1})}},{key:"render",value:function(){var e=this,t=this.props,r=t.attributes,n=t.setAttributes,c=this.state,o=c.isPreview,a=c.styles;return Object(ve.createElement)("div",{className:"wp-block-html"},Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(Te.Button,{className:"components-tab-button",isPressed:!o,onClick:this.switchToHTML},Object(ve.createElement)("span",null,"HTML")),Object(ve.createElement)(Te.Button,{className:"components-tab-button",isPressed:o,onClick:this.switchToPreview},Object(ve.createElement)("span",null,Object(Oe.__)("Preview"))))),Object(ve.createElement)(Te.Disabled.Consumer,null,(function(t){return o||t?Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.SandBox,{html:r.content,styles:a}),!e.props.isSelected&&Object(ve.createElement)("div",{className:"block-library-html__preview-overlay"})):Object(ve.createElement)(ge.PlainText,{value:r.content,onChange:function(e){return n({content:e})},placeholder:Object(Oe.__)("Write HTML…"),"aria-label":Object(Oe.__)("HTML")})})))}}]),n}(ve.Component),sa=Object(Ne.withSelect)((function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}}))(la);var ua={from:[{type:"block",blocks:["core/code"],transform:function(e){var t=e.content;return Object(he.createBlock)("core/html",{content:t})}}]},ba={name:"core/html",category:"formatting",attributes:{content:{type:"string",source:"html"}},supports:{customClassName:!1,className:!1,html:!1}},ma=ba.name,da={title:Object(Oe.__)("Custom HTML"),description:Object(Oe.__)("Add custom HTML code and preview it as you edit."),icon:aa,keywords:[Object(Oe.__)("embed")],example:{attributes:{content:"<marquee>"+Object(Oe.__)("Welcome to the wonderful world of blocks…")+"</marquee>"}},edit:sa,save:function(e){var t=e.attributes;return Object(ve.createElement)(ve.RawHTML,null,t.content)},transforms:ua},pa=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M4 17h7V6H4v11zm9-10v1.5h7V7h-7zm0 5.5h7V11h-7v1.5zm0 4h7V15h-7v1.5z"})),ga=Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object(ve.createElement)(Te.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object(ve.createElement)(Te.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"}));function ha(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var fa=["image","video"];function Oa(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}function va(e){var t=e.isSelected,r=e.isStackedOnMobile,n=Object(pr.a)(e,["isSelected","isStackedOnMobile"]),c=Object(Ke.useViewportMatch)("small","<");return Object(ve.createElement)(Te.ResizableBox,Object(Ge.a)({showHandle:t&&(!c||!r)},n))}var ja=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(ha()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onUploadError=e.onUploadError.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.onSelectMedia,r=e.mediaUrl,n=e.mediaId;return Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.MediaReplaceFlow,{mediaId:n,mediaURL:r,allowedTypes:fa,accept:"image/*,video/*",onSelect:t}))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,r=e.mediaUrl,n=e.className,c=e.imageFill,o=e.focalPoint,a=c?Oa(r,o):{};return Object(ve.createElement)(ve.Fragment,null,this.renderToolbarEditButton(),Object(ve.createElement)("figure",{className:n,style:a},Object(ve.createElement)("img",{src:r,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,r=e.className;return Object(ve.createElement)(ve.Fragment,null,this.renderToolbarEditButton(),Object(ve.createElement)("figure",{className:r},Object(ve.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,r=e.className,n=e.noticeUI;return Object(ve.createElement)(ge.MediaPlaceholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:ga}),labels:{title:Object(Oe.__)("Media area")},className:r,onSelect:t,accept:"image/*,video/*",allowedTypes:fa,notices:n,onError:this.onUploadError})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,r=e.mediaUrl,n=e.mediaType,c=e.mediaWidth,o=e.commitWidthChange,a=e.onWidthChange,i=e.toggleSelection,l=e.isSelected,s=e.isStackedOnMobile;if(n&&r){var u={right:"left"===t,left:"right"===t},b=null;switch(n){case"image":b=this.renderImage();break;case"video":b=this.renderVideo()}return Object(ve.createElement)(va,{className:"editor-media-container__resizer",size:{width:c+"%"},minWidth:"10%",maxWidth:"100%",enable:u,onResizeStart:function(){i(!1)},onResize:function(e,t,r){a(parseInt(r.style.width))},onResizeStop:function(e,t,r){i(!0),o(parseInt(r.style.width))},axis:"x",isSelected:l,isStackedOnMobile:s},b)}return this.renderPlaceholder()}}]),n}(ve.Component),ya=Object(Ke.compose)([Object(Ne.withDispatch)((function(e){return{toggleSelection:e("core/block-editor").toggleSelection}})),Te.withNotices])(ja);function wa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wa(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ka=function(e){if(!e.customBackgroundColor)return e;var t={color:{background:e.customBackgroundColor}};return _a({},Object(fe.omit)(e,["customBackgroundColor"]),{style:t})},Ca={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!1}},Ea=[{attributes:_a({},Ca,{customBackgroundColor:{type:"string"},mediaLink:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure a",attribute:"target"},href:{type:"string",source:"attribute",selector:"figure a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure a",attribute:"class"},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}),migrate:ka,save:function(e){var t,r=e.attributes,n=r.backgroundColor,c=r.customBackgroundColor,o=r.isStackedOnMobile,a=r.mediaAlt,i=r.mediaPosition,l=r.mediaType,s=r.mediaUrl,u=r.mediaWidth,b=r.mediaId,m=r.verticalAlignment,d=r.imageFill,p=r.focalPoint,g=r.linkClass,h=r.href,f=r.linkTarget,O=r.rel,v=Object(fe.isEmpty)(O)?void 0:O,j=Object(ve.createElement)("img",{src:s,alt:a,className:b&&"image"===l?"wp-image-".concat(b):null});h&&(j=Object(ve.createElement)("a",{className:g,href:h,target:f,rel:v},j));var y,w={image:function(){return j},video:function(){return Object(ve.createElement)("video",{controls:!0,src:s})}},_=Object(ge.getColorClassName)("background-color",n),k=_e()((t={"has-media-on-the-right":"right"===i,"has-background":_||c},Object(de.a)(t,_,_),Object(de.a)(t,"is-stacked-on-mobile",o),Object(de.a)(t,"is-vertically-aligned-".concat(m),m),Object(de.a)(t,"is-image-fill",d),t)),C=d?Oa(s,p):{};50!==u&&(y="right"===i?"auto ".concat(u,"%"):"".concat(u,"% auto"));var E={backgroundColor:_?void 0:c,gridTemplateColumns:y};return Object(ve.createElement)("div",{className:k,style:E},Object(ve.createElement)("figure",{className:"wp-block-media-text__media",style:C},(w[l]||fe.noop)()),Object(ve.createElement)("div",{className:"wp-block-media-text__content"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}},{attributes:_a({},Ca,{customBackgroundColor:{type:"string"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}),migrate:ka,save:function(e){var t,r,n=e.attributes,c=n.backgroundColor,o=n.customBackgroundColor,a=n.isStackedOnMobile,i=n.mediaAlt,l=n.mediaPosition,s=n.mediaType,u=n.mediaUrl,b=n.mediaWidth,m=n.mediaId,d=n.verticalAlignment,p=n.imageFill,g=n.focalPoint,h={image:function(){return Object(ve.createElement)("img",{src:u,alt:i,className:m&&"image"===s?"wp-image-".concat(m):null})},video:function(){return Object(ve.createElement)("video",{controls:!0,src:u})}},f=Object(ge.getColorClassName)("background-color",c),O=_e()((t={"has-media-on-the-right":"right"===l},Object(de.a)(t,f,f),Object(de.a)(t,"is-stacked-on-mobile",a),Object(de.a)(t,"is-vertically-aligned-".concat(d),d),Object(de.a)(t,"is-image-fill",p),t)),v=p?Oa(u,g):{};50!==b&&(r="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var j={backgroundColor:f?void 0:o,gridTemplateColumns:r};return Object(ve.createElement)("div",{className:O,style:j},Object(ve.createElement)("figure",{className:"wp-block-media-text__media",style:v},(h[s]||fe.noop)()),Object(ve.createElement)("div",{className:"wp-block-media-text__content"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}},{attributes:_a({},Ca,{customBackgroundColor:{type:"string"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"}}),save:function(e){var t,r,n=e.attributes,c=n.backgroundColor,o=n.customBackgroundColor,a=n.isStackedOnMobile,i=n.mediaAlt,l=n.mediaPosition,s=n.mediaType,u=n.mediaUrl,b=n.mediaWidth,m={image:function(){return Object(ve.createElement)("img",{src:u,alt:i})},video:function(){return Object(ve.createElement)("video",{controls:!0,src:u})}},d=Object(ge.getColorClassName)("background-color",c),p=_e()((t={"has-media-on-the-right":"right"===l},Object(de.a)(t,d,d),Object(de.a)(t,"is-stacked-on-mobile",a),t));50!==b&&(r="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var g={backgroundColor:d?void 0:o,gridTemplateColumns:r};return Object(ve.createElement)("div",{className:p,style:g},Object(ve.createElement)("figure",{className:"wp-block-media-text__media"},(m[s]||fe.noop)()),Object(ve.createElement)("div",{className:"wp-block-media-text__content"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}}],xa=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M4 18h6V6H4v12zm9-10v1.5h7V8h-7zm0 7.5h7V14h-7v1.5z"})),Sa=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M14 6v12h6V6h-6zM4 9.5h7V8H4v1.5zm0 6h7V14H4v1.5z"}));function Pa(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Ba=[["core/paragraph",{fontSize:"large",placeholder:Object(Oe._x)("Content…","content placeholder")}]],Ta=function(e){return Math.max(15,Math.min(e,85))},Na=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Pa()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onSelectMedia=e.onSelectMedia.bind(Object(Pr.a)(e)),e.onWidthChange=e.onWidthChange.bind(Object(Pr.a)(e)),e.commitWidthChange=e.commitWidthChange.bind(Object(Pr.a)(e)),e.state={mediaWidth:null},e.onSetHref=e.onSetHref.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"onSelectMedia",value:function(e){var t,r,n=this.props.setAttributes,c=this.props.attributes,o=c.linkDestination,a=c.href;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(r=Object(fe.get)(e,["sizes","large","url"])||Object(fe.get)(e,["media_details","sizes","large","source_url"]));var i=a;"media"===o&&(i=e.url),"attachment"===o&&(i=e.link),n({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:r||e.url,mediaLink:e.link||void 0,href:i,focalPoint:void 0})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:Ta(e)})}},{key:"onSetHref",value:function(e){this.props.setAttributes(e)}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:Ta(e)}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props,t=e.attributes,r=e.isSelected,n=t.mediaAlt,c=t.mediaId,o=t.mediaPosition,a=t.mediaType,i=t.mediaUrl,l=t.mediaWidth,s=t.imageFill,u=t.focalPoint,b=t.isStackedOnMobile;return Object(ve.createElement)(ya,Object(Ge.a)({className:"wp-block-media-text__media",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:n,mediaId:c,mediaType:a,mediaUrl:i,mediaPosition:o,mediaWidth:l,imageFill:s,focalPoint:u,isSelected:r,isStackedOnMobile:b}))}},{key:"render",value:function(){var e,t=this.props,r=t.attributes,n=t.className,c=t.isSelected,o=t.setAttributes,a=t.image,i=r.isStackedOnMobile,l=r.mediaAlt,s=r.mediaPosition,u=r.mediaType,b=r.mediaWidth,m=r.verticalAlignment,d=r.mediaUrl,p=r.imageFill,g=r.focalPoint,h=r.rel,f=r.href,O=r.linkTarget,v=r.linkClass,j=r.linkDestination,y=this.state.mediaWidth,w=_e()(n,(e={"has-media-on-the-right":"right"===s,"is-selected":c,"is-stacked-on-mobile":i},Object(de.a)(e,"is-vertically-aligned-".concat(m),m),Object(de.a)(e,"is-image-fill",p),e)),_="".concat(y||b,"%"),k="right"===s?"1fr ".concat(_):"".concat(_," 1fr"),C={gridTemplateColumns:k,msGridColumns:k},E=[{icon:xa,title:Object(Oe.__)("Show media on left"),isActive:"left"===s,onClick:function(){return o({mediaPosition:"left"})}},{icon:Sa,title:Object(Oe.__)("Show media on right"),isActive:"right"===s,onClick:function(){return o({mediaPosition:"right"})}}],x=Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Media & Text settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Stack on mobile"),checked:i,onChange:function(){return o({isStackedOnMobile:!i})}}),"image"===u&&Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Crop image to fill entire column"),checked:p,onChange:function(){return o({imageFill:!p})}}),p&&Object(ve.createElement)(Te.FocalPointPicker,{label:Object(Oe.__)("Focal point picker"),url:d,value:g,onChange:function(e){return o({focalPoint:e})}}),"image"===u&&Object(ve.createElement)(Te.TextareaControl,{label:Object(Oe.__)("Alt text (alternative text)"),value:l,onChange:function(e){o({mediaAlt:e})},help:Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(Oe.__)("Describe the purpose of the image")),Object(Oe.__)("Leave empty if the image is purely decorative."))}));return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,x),Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,{controls:E}),Object(ve.createElement)(ge.BlockVerticalAlignmentToolbar,{onChange:function(e){o({verticalAlignment:e})},value:m}),"image"===u&&Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(ge.__experimentalImageURLInputUI,{url:f||"",onChangeUrl:this.onSetHref,linkDestination:j,mediaType:u,mediaUrl:a&&a.source_url,mediaLink:a&&a.link,linkTarget:O,linkClass:v,rel:h}))),Object(ve.createElement)("div",{className:w,style:C},this.renderMediaArea(),Object(ve.createElement)(ge.InnerBlocks,{template:Ba,templateInsertUpdatesSelection:!1})))}}]),n}(ve.Component),Ra=Object(Ke.compose)([Object(Ne.withSelect)((function(e,t){var r=e("core").getMedia,n=t.attributes.mediaId,c=t.isSelected;return{image:n&&c?r(n):null}}))])(Na);var za={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,r=e.url,n=e.id;return Object(he.createBlock)("core/media-text",{mediaAlt:t,mediaId:n,mediaUrl:r,mediaType:"image"})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,r=e.id;return Object(he.createBlock)("core/media-text",{mediaId:r,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,r=e.mediaId,n=e.mediaUrl;return Object(he.createBlock)("core/image",{alt:t,id:r,url:n})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,r=e.mediaUrl;return Object(he.createBlock)("core/video",{id:t,src:r})}}]},Ma={name:"core/media-text",category:"layout",attributes:{align:{type:"string",default:"wide"},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"},mediaLink:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure a",attribute:"target"},href:{type:"string",source:"attribute",selector:"figure a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure a",attribute:"class"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!0},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}},Ia=Ma.name,Aa={title:Object(Oe.__)("Media & Text"),description:Object(Oe.__)("Set media and words side-by-side for a richer layout."),icon:pa,keywords:[Object(Oe.__)("image"),Object(Oe.__)("video")],supports:{align:["wide","full"],html:!1,__experimentalColor:"web"===ve.Platform.OS&&{gradients:!0}},example:{attributes:{mediaType:"image",mediaUrl:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Oe.__)("The wren<br>Earns his living<br>Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(Oe.__)("— Kobayashi Issa (一茶)")}}]},transforms:za,edit:Ra,save:function(e){var t,r=e.attributes,n=r.isStackedOnMobile,c=r.mediaAlt,o=r.mediaPosition,a=r.mediaType,i=r.mediaUrl,l=r.mediaWidth,s=r.mediaId,u=r.verticalAlignment,b=r.imageFill,m=r.focalPoint,d=r.linkClass,p=r.href,g=r.linkTarget,h=r.rel,f=Object(fe.isEmpty)(h)?void 0:h,O=Object(ve.createElement)("img",{src:i,alt:c,className:s&&"image"===a?"wp-image-".concat(s):null});p&&(O=Object(ve.createElement)("a",{className:d,href:p,target:g,rel:f},O));var v,j={image:function(){return O},video:function(){return Object(ve.createElement)("video",{controls:!0,src:i})}},y=_e()((t={"has-media-on-the-right":"right"===o,"is-stacked-on-mobile":n},Object(de.a)(t,"is-vertically-aligned-".concat(u),u),Object(de.a)(t,"is-image-fill",b),t)),w=b?Oa(i,m):{};50!==l&&(v="right"===o?"auto ".concat(l,"%"):"".concat(l,"% auto"));var _={gridTemplateColumns:v};return Object(ve.createElement)("div",{className:y,style:_},Object(ve.createElement)("figure",{className:"wp-block-media-text__media",style:w},(j[a]||fe.noop)()),Object(ve.createElement)("div",{className:"wp-block-media-text__content"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))},deprecated:Ea},Ha=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"}));function Da(e){var t=e.clientId,r=e.__experimentalWithBlockNavigationSlots,n=Object(Ne.useSelect)((function(e){var r=e("core/block-editor"),n=r.getSelectedBlockClientId;return{block:(0,r.getBlock)(t),selectedBlockClientId:n()}}),[t]),c=n.block,o=n.selectedBlockClientId,a=Object(Ne.useDispatch)("core/block-editor").selectBlock;return Object(ve.createElement)(ge.__experimentalBlockNavigationTree,{blocks:[c],selectedBlockClientId:o,selectBlock:a,__experimentalWithBlockNavigationSlots:r,showNestedBlocks:!0,showAppender:!0,showBlockMovers:!0})}var La=Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},Object(ve.createElement)(Te.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));var Va=function(){return Object(ve.createElement)(Te.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(ve.createElement)(Te.Path,{d:"M7.434 5l3.18 9.16H8.538l-.692-2.184H4.628l-.705 2.184H2L5.18 5h2.254zm-1.13 1.904h-.115l-1.148 3.593H7.44L6.304 6.904zM14.348 7.006c1.853 0 2.9.876 2.9 2.374v4.78h-1.79v-.914h-.114c-.362.64-1.123 1.022-2.031 1.022-1.346 0-2.292-.826-2.292-2.108 0-1.27.972-2.006 2.71-2.107l1.696-.102V9.38c0-.584-.42-.914-1.18-.914-.667 0-1.112.228-1.264.647h-1.701c.12-1.295 1.307-2.107 3.066-2.107zm1.079 4.1l-1.416.09c-.793.056-1.18.342-1.18.844 0 .52.45.837 1.091.837.857 0 1.505-.545 1.505-1.256v-.515z"}))},Fa=function(e){var t=e.style,r=e.className;return Object(ve.createElement)("div",{className:"block-library-colors-selector__icon-container"},Object(ve.createElement)("div",{className:"".concat(r," block-library-colors-selector__state-selection"),style:t},Object(ve.createElement)(Va,null)))},Ua=function(e){var t,r,n,c=e.children,o=Object(pr.a)(e,["children"]);return Object(ve.createElement)(Te.Dropdown,{position:"bottom right",className:"block-library-colors-selector",contentClassName:"block-library-colors-selector__popover",renderToggle:(t=o,r=t.TextColor,n=t.BackgroundColor,function(e){var t=e.onToggle,c=e.isOpen;return Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(Te.Button,{className:"components-toolbar__control block-library-colors-selector__toggle",label:Object(Oe.__)("Open Colors Selector"),onClick:t,onKeyDown:function(e){c||e.keyCode!==Nr.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(ve.createElement)(n,null,Object(ve.createElement)(r,null,Object(ve.createElement)(Fa,null)))}))}),renderContent:function(){return c}})},Ga=Object(ve.createElement)(Te.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M11 16v-3h10v-2H11V8l-4 4 4 4zM5 4H3v16h2V4z"})),Wa=Object(ve.createElement)(Te.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M5 8v3H1v2h4v3l4-4-4-4zm14 8v-3h4v-2h-4V8l-4 4 4 4zM13 4h-2v16h2V4z"})),qa=Object(ve.createElement)(Te.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M13 8v3H3v2h10v3l4-4-4-4zm8-4h-2v16h2V4z"}));var Za=Object(Ke.compose)([Object(ge.withFontSizes)("fontSize"),Object(Ne.withSelect)((function(e,t){var r,n,c,o=t.clientId,a=e("core/block-editor").getBlocks(o),i=e("core/block-editor"),l=i.getClientIdsOfDescendants,s=i.hasSelectedInnerBlock,u=i.getSelectedBlockClientId,b={parent:0,order:"asc",orderby:"id"},m=["core","getEntityRecords",["postType","page",b]];return{isImmediateParentOfSelectedBlock:s(o,!1),selectedBlockHasDescendants:!!(null===(r=l([u()]))||void 0===r?void 0:r.length),hasExistingNavItems:!!a.length,pages:e("core").getEntityRecords("postType","page",b),isRequestingPages:(n=e("core/data")).isResolving.apply(n,m),hasResolvedPages:(c=e("core/data")).hasFinishedResolution.apply(c,m)}})),Object(Ne.withDispatch)((function(e,t){var r=t.clientId;return{updateNavItemBlocks:function(t){e("core/block-editor").replaceInnerBlocks(r,t)}}}))])((function(e){var t,r=e.selectedBlockHasDescendants,n=e.attributes,c=e.clientId,o=e.fontSize,a=e.hasExistingNavItems,i=e.hasResolvedPages,l=e.isImmediateParentOfSelectedBlock,s=e.isRequestingPages,u=e.isSelected,b=e.pages,m=e.setAttributes,d=e.setFontSize,p=e.updateNavItemBlocks,g=e.className,h=Object(ve.useRef)(),f=Object(Ne.useDispatch)("core/block-editor").selectBlock,O=Object(ge.__experimentalUseColors)([{name:"textColor",property:"color"},{name:"backgroundColor",className:"has-background"}],{contrastCheckers:[{backgroundColor:!0,textColor:!0,fontSize:o.size}],colorDetector:{targetRef:h},colorPanelProps:{initialOpen:!0}},[o.size]),v=O.TextColor,j=O.BackgroundColor,y=O.ColorPanel,_=function(e,t){var r=Object(ve.useState)(!1),n=Object(Be.a)(r,2),c=n[0],o=n[1];return{navigatorToolbarButton:Object(ve.createElement)(Te.Button,{className:"components-toolbar__control",label:Object(Oe.__)("Open block navigator"),onClick:function(){return o(!0)},icon:La}),navigatorModal:c&&Object(ve.createElement)(Te.Modal,{title:Object(Oe.__)("Block Navigator"),closeLabel:Object(Oe.__)("Close"),onRequestClose:function(){o(!1)}},Object(ve.createElement)(Da,{clientId:e,__experimentalWithBlockNavigationSlots:t}))}}(c,!0),k=_.navigatorToolbarButton,C=_.navigatorModal,E=Object(ve.useMemo)((function(){return b?b.map((function(e){var t=e.title,r=e.type,n=e.link,c=e.id;return Object(he.createBlock)("core/navigation-link",{type:r,id:c,url:n,label:t.rendered?Object(fe.escape)(t.rendered):Object(Oe.__)("(no title)"),opensInNewTab:!1})})):null}),[b]);function x(e){return function(){var t=n.itemsJustification===e?void 0:e;m({itemsJustification:t})}}var S=i&&b&&b.length,P={fontSize:o.size?o.size+"px":void 0};if(!a)return Object(ve.createElement)(ge.__experimentalBlock.div,null,Object(ve.createElement)(Te.Placeholder,{className:"wp-block-navigation-placeholder",icon:Ha,label:Object(Oe.__)("Navigation"),instructions:Object(Oe.__)("Create a Navigation from all existing pages, or create an empty one.")},Object(ve.createElement)("div",{ref:h,className:"wp-block-navigation-placeholder__buttons"},Object(ve.createElement)(Te.Button,{isPrimary:!0,className:"wp-block-navigation-placeholder__button",onClick:function(){p(E),f(c)},disabled:!S},Object(Oe.__)("Create from all top-level pages")),Object(ve.createElement)(Te.Button,{isLink:!0,className:"wp-block-navigation-placeholder__button",onClick:function(){var e=Object(he.createBlock)("core/navigation-link");p([e])}},Object(Oe.__)("Create empty")))));var B=_e()(g,(t={},Object(de.a)(t,"items-justified-".concat(n.itemsJustification),n.itemsJustification),Object(de.a)(t,o.class,o.class),Object(de.a)(t,"is-vertical","vertical"===n.orientation),t));return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.Toolbar,{icon:n.itemsJustification?w["justify".concat(Object(fe.upperFirst)(n.itemsJustification),"Icon")]:Ga,label:Object(Oe.__)("Change items justification"),isCollapsed:!0,controls:[{icon:Ga,title:Object(Oe.__)("Justify items left"),isActive:"left"===n.itemsJustification,onClick:x("left")},{icon:Wa,title:Object(Oe.__)("Justify items center"),isActive:"center"===n.itemsJustification,onClick:x("center")},{icon:qa,title:Object(Oe.__)("Justify items right"),isActive:"right"===n.itemsJustification,onClick:x("right")}]}),Object(ve.createElement)(Te.ToolbarGroup,null,k),Object(ve.createElement)(Ua,{TextColor:v,BackgroundColor:j},y)),C,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Navigation Structure")},Object(ve.createElement)(Da,{clientId:c,__experimentalWithBlockNavigationSlots:!0})),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Text settings")},Object(ve.createElement)(ge.FontSizePicker,{value:o.size,onChange:d}))),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Display settings")},Object(ve.createElement)(Te.ToggleControl,{checked:n.showSubmenuIcon,onChange:function(e){m({showSubmenuIcon:e})},label:Object(Oe.__)("Show submenu indicator icons")}))),Object(ve.createElement)(v,null,Object(ve.createElement)(j,null,Object(ve.createElement)(ge.__experimentalBlock.nav,{className:B,style:P},!a&&s&&Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.Spinner,null)," ",Object(Oe.__)("Loading Navigation…")," "),Object(ve.createElement)(ge.InnerBlocks,{ref:h,allowedBlocks:["core/navigation-link"],renderAppender:!!(l&&!r||u)&&ge.InnerBlocks.DefaultAppender,templateInsertUpdatesSelection:!1,__experimentalMoverDirection:n.orientation||"horizontal",__experimentalTagName:"ul",__experimentalAppenderTagName:"li",__experimentalPassedProps:{className:"wp-block-navigation__container"},__experimentalCaptureToolbars:!0,templateLock:!1})))))}));function Ka(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Qa=[{attributes:{className:{type:"string"},textColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean"}},isEligible:function(e){return e.rgbTextColor||e.rgbBackgroundColor},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0},migrate:function(e){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ka(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ka(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Object(fe.omit)(e,["rgbTextColor","rgbBackgroundColor"]),{customTextColor:e.textColor?void 0:e.rgbTextColor,customBackgroundColor:e.backgroundColor?void 0:e.rgbBackgroundColor})},save:function(){return Object(ve.createElement)(ge.InnerBlocks.Content,null)}}],$a={name:"core/navigation",category:"layout",attributes:{orientation:{type:"string"},className:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0}},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,lightBlockWrapper:!0}},Ja=$a.name,Ya={title:Object(Oe.__)("Navigation"),icon:Ha,description:Object(Oe.__)("Add a navigation block to your site."),keywords:[Object(Oe.__)("menu"),Object(Oe.__)("navigation"),Object(Oe.__)("links")],variations:[{name:"horizontal",isDefault:!0,title:Object(Oe.__)("Navigation (horizontal)"),description:Object(Oe.__)("Links shown in a row."),attributes:{orientation:"horizontal"}},{name:"vertical",title:Object(Oe.__)("Navigation (vertical)"),description:Object(Oe.__)("Links shown in a column."),attributes:{orientation:"vertical"}}],example:{innerBlocks:[{name:"core/navigation-link",attributes:{label:Object(Oe.__)("Home"),url:"https://make.wordpress.org/"}},{name:"core/navigation-link",attributes:{label:Object(Oe.__)("About"),url:"https://make.wordpress.org/"}},{name:"core/navigation-link",attributes:{label:Object(Oe.__)("Contact"),url:"https://make.wordpress.org/"}}]},styles:[{name:"light",label:Object(Oe.__)("Light"),isDefault:!0},{name:"dark",label:Object(Oe.__)("Dark")}],edit:Za,save:function(){return Object(ve.createElement)(ge.InnerBlocks.Content,null)},deprecated:Qa},Xa=Object(ve.createElement)(je.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M12.5 4C8.9 4 6 6.8 6 10.2c0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C19 6.8 16.1 4 12.5 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4zM12.5 9c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5 1.5-.7 1.5-1.5S13.3 9 12.5 9z"})),ei=r(23),ti=r.n(ei),ri=r(42),ni=r(30),ci=function(){return Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(ve.createElement)(Te.Path,{d:"M2 12c0 3.6 2.4 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.5 0-4.5-1.5-4.5-4s2-4.5 4.5-4.5h3.5V6H8c-3.6 0-6 2.4-6 6zm19.5-1h-8v1.5h8V11zm0 5h-8v1.5h8V16zm0-10h-8v1.5h8V6z"}))},oi=function(){return Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",transform:"rotate(90)"},Object(ve.createElement)(Te.Path,{d:"M8 5v14l11-7z"}),Object(ve.createElement)(Te.Path,{d:"M0 0h24v24H0z",fill:"none"}))};var ai=function(e,t,r){return r||(e&&e.length?Object(fe.get)(Object(fe.find)(e,{slug:t}),"color"):void 0)},ii=Object(Ke.compose)([Object(Ne.withSelect)((function(e,t){var r,n=e("core/block-editor"),c=n.getBlockAttributes,o=n.getClientIdsOfDescendants,a=n.hasSelectedInnerBlock,i=n.getBlockParentsByBlockName,l=n.getSelectedBlockClientId,s=n.getSettings,u=t.clientId,b=c(Object(fe.head)(i(u,"core/navigation"))),m=Object(fe.get)(s(),"colors",[]),d=!!o([u]).length,p=!!b.showSubmenuIcon&&d,g=a(u,!0),h=a(u,!1),f=!!(null===(r=o([l()]))||void 0===r?void 0:r.length),O=e("core").canUser("create","pages");return{isParentOfSelectedBlock:g,isImmediateParentOfSelectedBlock:h,hasDescendants:d,selectedBlockHasDescendants:f,showSubmenuIcon:p,textColor:b.textColor,backgroundColor:b.backgroundColor,userCanCreatePages:O,rgbTextColor:ai(m,b.textColor,b.customTextColor),rgbBackgroundColor:ai(m,b.backgroundColor,b.customBackgroundColor)}})),Object(Ne.withDispatch)((function(e,t,r){return{saveEntityRecord:e("core").saveEntityRecord,insertLinkBlock:function(){var n=t.clientId,c=e("core/block-editor").insertBlock,o=(0,r.select("core/block-editor").getClientIdsOfDescendants)([n]),a=o.length?o.length:0;c(Object(he.createBlock)("core/navigation-link"),a,n)}}}))])((function(e){var t,r=e.attributes,n=e.hasDescendants,c=e.isSelected,o=e.isImmediateParentOfSelectedBlock,a=e.isParentOfSelectedBlock,i=e.setAttributes,l=e.showSubmenuIcon,s=e.insertLinkBlock,u=e.textColor,b=e.backgroundColor,m=e.rgbTextColor,d=e.rgbBackgroundColor,p=e.saveEntityRecord,g=e.selectedBlockHasDescendants,h=e.userCanCreatePages,f=void 0!==h&&h,O=e.insertBlocksAfter,v=e.mergeBlocks,j=e.onReplace,y=r.label,w=r.opensInNewTab,_=r.url,k=r.nofollow,C=r.description,E={url:_,opensInNewTab:w},x=Object(ve.useState)(!1),S=Object(Be.a)(x,2),P=S[0],B=S[1],T=Object(Oe.__)("Add link…"),N=Object(ve.useRef)();function R(){return(R=Object(ri.a)(ti.a.mark((function e(t){var r,n;return ti.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="page",e.next=3,p("postType",r,{title:t,status:"publish"});case 3:return n=e.sent,e.abrupt("return",{id:n.id,type:r,title:n.title.rendered,url:n.link});case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(Object(ve.useEffect)((function(){_||B(!0)}),[]),Object(ve.useEffect)((function(){c||B(!1)}),[c]),Object(ve.useEffect)((function(){P&&_&&(Object(Qe.isURL)(Object(Qe.prependHTTP)(y))&&/^.+\.[a-z]+/.test(y)?function(){N.current.focus();var e=window.getSelection(),t=document.createRange();t.selectNodeContents(N.current),e.removeAllRanges(),e.addRange(t)}():Object(ni.placeCaretAtHorizontalEdge)(N.current,!0))}),[_]),Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(Te.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(de.a)({},Nr.rawShortcut.primary("k"),(function(){return B(!0)}))}),Object(ve.createElement)(Te.ToolbarButton,{name:"link",icon:En.a,title:Object(Oe.__)("Link"),shortcut:Nr.displayShortcut.primary("k"),onClick:function(){return B(!0)}}),Object(ve.createElement)(Te.ToolbarButton,{name:"submenu",icon:Object(ve.createElement)(ci,null),title:Object(Oe.__)("Add submenu"),onClick:s}))),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("SEO settings")},Object(ve.createElement)(Te.ToggleControl,{checked:k,onChange:function(e){i({nofollow:e})},label:Object(Oe.__)("Add nofollow to link"),help:Object(ve.createElement)(ve.Fragment,null,Object(Oe.__)("Don't let search engines follow this link."),Object(ve.createElement)(Te.ExternalLink,{className:"wp-block-navigation-link__nofollow-external-link",href:Object(Oe.__)("https://codex.wordpress.org/Nofollow")},Object(Oe.__)("What's this?")))})),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Link settings")},Object(ve.createElement)(Te.TextareaControl,{value:C||"",onChange:function(e){i({description:e})},label:Object(Oe.__)("Description"),help:Object(Oe.__)("The description will be displayed in the menu if the current theme supports it.")}))),Object(ve.createElement)(ge.__experimentalBlockNavigationEditor,{value:y,onChange:function(e){return i({label:e})}}),Object(ve.createElement)(ge.__experimentalBlock.li,{className:_e()((t={"is-editing":c||a,"is-selected":c,"has-link":!!_,"has-child":n,"has-text-color":m},Object(de.a)(t,"has-".concat(u,"-color"),!!u),Object(de.a)(t,"has-background",d),Object(de.a)(t,"has-".concat(b,"-background-color"),!!b),t)),style:{color:m,backgroundColor:d}},Object(ve.createElement)("div",{className:"wp-block-navigation-link__content"},Object(ve.createElement)(ge.RichText,{ref:N,identifier:"label",className:"wp-block-navigation-link__label",value:y,onChange:function(e){return i({label:e})},onMerge:v,onReplace:j,__unstableOnSplitAtEnd:function(){return O(Object(he.createBlock)("core/navigation-link"))},placeholder:T,keepPlaceholderOnFocus:!0,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough"]}),P&&Object(ve.createElement)(Te.Popover,{position:"bottom center",onClose:function(){return B(!1)}},Object(ve.createElement)(ge.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:E,showInitialSuggestions:!0,createSuggestion:f?function(e){return R.apply(this,arguments)}:void 0,onChange:function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.title,c=void 0===n?"":n,o=r.url,a=void 0===o?"":o,l=r.opensInNewTab,s=r.id;return i({url:encodeURI(a),label:(e=c.replace(/http(s?):\/\//gi,""),t=a.replace(/http(s?):\/\//gi,""),""!==c&&e!==t&&y!==c?Object(fe.escape)(c):y||Object(fe.escape)(t)),opensInNewTab:l,id:s})}}))),l&&Object(ve.createElement)("span",{className:"wp-block-navigation-link__submenu-icon"},Object(ve.createElement)(oi,null)),Object(ve.createElement)(ge.InnerBlocks,{allowedBlocks:["core/navigation-link"],renderAppender:!!(c&&n||o&&!g)&&ge.InnerBlocks.DefaultAppender,__experimentalTagName:"ul",__experimentalAppenderTagName:"li",__experimentalPassedProps:{className:_e()("wp-block-navigation__container",{"is-parent-of-selected-block":a})}}))))}));function li(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var si={name:"core/navigation-link",category:"layout",parent:["core/navigation"],attributes:{label:{type:"string"},nofollow:{type:"boolean",default:!1},type:{type:"string"},description:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"}},supports:{reusable:!1,html:!1,lightBlockWrapper:!0}},ui=si.name,bi={title:Object(Oe.__)("Navigation Link"),icon:Xa,description:Object(Oe.__)("Add a page, link, or another item to your navigation."),__experimentalLabel:function(e){return e.label},merge:function(e,t){var r=t.label,n=void 0===r?"":r;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?li(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):li(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{label:e.label+n})},edit:ii,save:function(){return Object(ve.createElement)(ge.InnerBlocks.Content,null)}},mi=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"}));function di(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var pi=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(di()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).setCommentsToShow=e.setCommentsToShow.bind(Object(Pr.a)(e)),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(Qt.a)(n,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var r=t.props.attributes[e];(0,t.props.setAttributes)(Object(de.a)({},e,!r))}}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.commentsToShow,r=e.displayAvatar,n=e.displayDate,c=e.displayExcerpt;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Latest comments settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display avatar"),checked:r,onChange:this.toggleDisplayAvatar}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display date"),checked:n,onChange:this.toggleDisplayDate}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display excerpt"),checked:c,onChange:this.toggleDisplayExcerpt}),Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Number of comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(ve.createElement)(Te.Disabled,null,Object(ve.createElement)(nn.a,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),n}(ve.Component),gi={name:"core/latest-comments",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},commentsToShow:{type:"number",default:5,minimum:1,maximum:100},displayAvatar:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayExcerpt:{type:"boolean",default:!0}},supports:{align:!0,html:!1}},hi=gi.name,fi={title:Object(Oe.__)("Latest Comments"),description:Object(Oe.__)("Display a list of your most recent comments."),icon:mi,keywords:[Object(Oe.__)("recent comments")],example:{},edit:pi},Oi=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 11h2V9H7v2zm0 4h2v-2H7v2zm3-4h7V9h-7v2zm0 4h7v-2h-7v2z"}));function vi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ji(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vi(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var yi=[{attributes:ji({},{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},categories:{type:"array",items:{type:"object"}},postsToShow:{type:"number",default:5},displayPostContent:{type:"boolean",default:!1},displayPostContentRadio:{type:"string",default:"excerpt"},excerptLength:{type:"number",default:55},displayPostDate:{type:"boolean",default:!1},postLayout:{type:"string",default:"list"},columns:{type:"number",default:3},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},displayFeaturedImage:{type:"boolean",default:!1},featuredImageAlign:{type:"string",enum:["left","center","right"]},featuredImageSizeSlug:{type:"string",default:"thumbnail"},featuredImageSizeWidth:{type:"number",default:null},featuredImageSizeHeight:{type:"number",default:null}},{categories:{type:"string"}}),supports:{align:!0,html:!1},migrate:function(e){return ji({},e,{categories:[{id:Number(e.categories)}]})},isEligible:function(e){var t=e.categories;return t&&"string"==typeof t},save:function(){return null}}],wi=r(38),_i=r.n(wi),ki=r(62),Ci=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"})),Ei=r(265);function xi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Si(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xi(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pi(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Bi={per_page:-1},Ti=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Pi()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).state={categoriesList:[]},e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=_i()({path:Object(Qe.addQueryArgs)("/wp/v2/categories",Bi)}).then((function(t){e.isStillMounted&&e.setState({categoriesList:t})})).catch((function(){e.isStillMounted&&e.setState({categoriesList:[]})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.setAttributes,n=e.imageSizeOptions,c=e.latestPosts,o=e.defaultImageWidth,a=e.defaultImageHeight,i=this.state.categoriesList,l=t.displayFeaturedImage,s=t.displayPostContentRadio,u=t.displayPostContent,b=t.displayPostDate,m=t.postLayout,d=t.columns,p=t.order,g=t.orderBy,h=t.categories,f=t.postsToShow,O=t.excerptLength,v=t.featuredImageAlign,j=t.featuredImageSizeSlug,y=t.featuredImageSizeWidth,w=t.featuredImageSizeHeight,_=i.reduce((function(e,t){return Si({},e,Object(de.a)({},t.name,t))}),{}),k=Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Post content settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Post content"),checked:u,onChange:function(e){return r({displayPostContent:e})}}),u&&Object(ve.createElement)(Te.RadioControl,{label:Object(Oe.__)("Show:"),selected:s,options:[{label:Object(Oe.__)("Excerpt"),value:"excerpt"},{label:Object(Oe.__)("Full post"),value:"full_post"}],onChange:function(e){return r({displayPostContentRadio:e})}}),u&&"excerpt"===s&&Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Max number of words in excerpt"),value:O,onChange:function(e){return r({excerptLength:e})},min:10,max:100})),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Post meta settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display post date"),checked:b,onChange:function(e){return r({displayPostDate:e})}})),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Featured image settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display featured image"),checked:l,onChange:function(e){return r({displayFeaturedImage:e})}}),l&&Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.__experimentalImageSizeControl,{onChange:function(e){var t={};e.hasOwnProperty("width")&&(t.featuredImageSizeWidth=e.width),e.hasOwnProperty("height")&&(t.featuredImageSizeHeight=e.height),r(t)},slug:j,width:y,height:w,imageWidth:o,imageHeight:a,imageSizeOptions:n,onChangeImage:function(e){return r({featuredImageSizeSlug:e,featuredImageSizeWidth:void 0,featuredImageSizeHeight:void 0})}}),Object(ve.createElement)(Te.BaseControl,null,Object(ve.createElement)(Te.BaseControl.VisualLabel,null,Object(Oe.__)("Image alignment")),Object(ve.createElement)(ge.BlockAlignmentToolbar,{value:v,onChange:function(e){return r({featuredImageAlign:e})},controls:["left","center","right"],isCollapsed:!1})))),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Sorting and filtering")},Object(ve.createElement)(Te.QueryControls,Object(Ge.a)({order:p,orderBy:g},{numberOfItems:f,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onNumberOfItemsChange:function(e){return r({postsToShow:e})},categorySuggestions:_,onCategoryChange:function(e){if(!e.some((function(e){return"string"==typeof e&&!_[e]}))){var t=e.map((function(e){return"string"==typeof e?_[e]:e}));if(Object(fe.includes)(t,null))return!1;r({categories:t})}},selectedCategories:h})),"grid"===m&&Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Columns"),value:d,onChange:function(e){return r({columns:e})},min:2,max:C?Math.min(6,c.length):6,required:!0}))),C=Array.isArray(c)&&c.length;if(!C)return Object(ve.createElement)(ve.Fragment,null,k,Object(ve.createElement)(Te.Placeholder,{icon:sc,label:Object(Oe.__)("Latest Posts")},Array.isArray(c)?Object(Oe.__)("No posts found."):Object(ve.createElement)(Te.Spinner,null)));var E=c.length>f?c.slice(0,f):c,x=[{icon:Ci,title:Object(Oe.__)("List view"),onClick:function(){return r({postLayout:"list"})},isActive:"list"===m},{icon:Ei.a,title:Object(Oe.__)("Grid view"),onClick:function(){return r({postLayout:"grid"})},isActive:"grid"===m}],S=Object(ki.__experimentalGetSettings)().formats.date;return Object(ve.createElement)(ve.Fragment,null,k,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,{controls:x})),Object(ve.createElement)("ul",{className:_e()(this.props.className,Object(de.a)({"wp-block-latest-posts__list":!0,"is-grid":"grid"===m,"has-dates":b},"columns-".concat(d),"grid"===m))},E.map((function(e,t){var r=Object(fe.invoke)(e,["title","rendered","trim"]),n=e.excerpt.rendered,c=document.createElement("div");c.innerHTML=n,n=c.textContent||c.innerText||"";var o=e.featuredImageSourceUrl,a=_e()(Object(de.a)({"wp-block-latest-posts__featured-image":!0},"align".concat(v),!!v)),i=O<n.trim().split(" ").length&&""===e.excerpt.raw?Object(ve.createElement)(ve.Fragment,null,n.trim().split(" ",O).join(" "),Object(Oe.__)(" … "),Object(ve.createElement)("a",{href:e.link,target:"_blank",rel:"noopener noreferrer"},Object(Oe.__)("Read more"))):n;return Object(ve.createElement)("li",{key:t},l&&Object(ve.createElement)("div",{className:a},o&&Object(ve.createElement)("img",{src:o,alt:"",style:{maxWidth:y,maxHeight:w}})),Object(ve.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},r?Object(ve.createElement)(ve.RawHTML,null,r):Object(Oe.__)("(no title)")),b&&e.date_gmt&&Object(ve.createElement)("time",{dateTime:Object(ki.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(ki.dateI18n)(S,e.date_gmt)),u&&"excerpt"===s&&Object(ve.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},i),u&&"full_post"===s&&Object(ve.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object(ve.createElement)(ve.RawHTML,{key:"html"},e.content.raw.trim())))}))))}}]),n}(ve.Component),Ni=Object(Ne.withSelect)((function(e,t){var r=t.attributes,n=r.featuredImageSizeSlug,c=r.postsToShow,o=r.order,a=r.orderBy,i=r.categories,l=e("core"),s=l.getEntityRecords,u=l.getMedia,b=(0,e("core/block-editor").getSettings)(),m=b.imageSizes,d=b.imageDimensions,p=i&&i.length>0?i.map((function(e){return e.id})):[],g=s("postType","post",Object(fe.pickBy)({categories:p,order:o,orderby:a,per_page:c},(function(e){return!Object(fe.isUndefined)(e)}))),h=m.filter((function(e){return"full"!==e.slug})).map((function(e){var t=e.name;return{value:e.slug,label:t}}));return{defaultImageWidth:Object(fe.get)(d,[n,"width"],0),defaultImageHeight:Object(fe.get)(d,[n,"height"],0),imageSizeOptions:h,latestPosts:Array.isArray(g)?g.map((function(e){if(e.featured_media){var t=u(e.featured_media),r=Object(fe.get)(t,["media_details","sizes",n,"source_url"],null);return r||(r=Object(fe.get)(t,"source_url",null)),Si({},e,{featuredImageSourceUrl:r})}return e})):g}}))(Ti),Ri={name:"core/latest-posts",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},categories:{type:"array",items:{type:"object"}},postsToShow:{type:"number",default:5},displayPostContent:{type:"boolean",default:!1},displayPostContentRadio:{type:"string",default:"excerpt"},excerptLength:{type:"number",default:55},displayPostDate:{type:"boolean",default:!1},postLayout:{type:"string",default:"list"},columns:{type:"number",default:3},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},displayFeaturedImage:{type:"boolean",default:!1},featuredImageAlign:{type:"string",enum:["left","center","right"]},featuredImageSizeSlug:{type:"string",default:"thumbnail"},featuredImageSizeWidth:{type:"number",default:null},featuredImageSizeHeight:{type:"number",default:null}},supports:{align:!0,html:!1}},zi=Ri.name,Mi={title:Object(Oe.__)("Latest Posts"),description:Object(Oe.__)("Display a list of your most recent posts."),icon:Oi,keywords:[Object(Oe.__)("recent posts")],example:{},edit:Ni,deprecated:yi},Ii=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M7 11h2v2H7v-2zm14-5v14l-2 2H5l-2-2V6l2-2h1V2h2v2h8V2h2v2h1l2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"})),Ai=r(255),Hi=r(49),Di=r.n(Hi);function Li(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return Vi(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vi(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,c,o=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,c=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw c}}}}function Vi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Fi(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Ui=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Fi()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).containerRef=Object(ve.createRef)(),e.formRef=Object(ve.createRef)(),e.widgetContentRef=Object(ve.createRef)(),e.idBaseInputRef=Object(ve.createRef)(),e.widgetNumberInputRef=Object(ve.createRef)(),e.triggerWidgetEvent=e.triggerWidgetEvent.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){this.triggerWidgetEvent("widget-added"),this.previousFormData=new window.FormData(this.formRef.current)}},{key:"shouldComponentUpdate",value:function(e){var t=!1;(e.idBase!==this.props.idBase&&this.idBaseInputRef.current&&(this.idBaseInputRef.current.value=e.idBase,t=!0),e.number!==this.props.number&&this.widgetNumberInputRef.current&&(this.widgetNumberInputRef.current.value=e.number),e.form!==this.props.form&&this.widgetContentRef.current)&&(this.widgetContentRef.current.innerHTML=e.form,t=!0);return t&&(this.triggerWidgetEvent("widget-updated"),this.previousFormData=new window.FormData(this.formRef.current)),!1}},{key:"render",value:function(){var e=this,t=this.props,r=t.id,n=t.idBase,c=t.number,o=t.form,a=t.isReferenceWidget;return Object(ve.createElement)("div",{className:"widget open",ref:this.containerRef},Object(ve.createElement)("div",{className:"widget-inside"},Object(ve.createElement)("form",{className:"form",ref:this.formRef,method:"post",onBlur:function(){e.shouldTriggerInstanceUpdate()&&(a&&e.containerRef.current&&window.wpWidgets.save(window.jQuery(e.containerRef.current)),e.props.onInstanceChange(e.retrieveUpdatedInstance()))}},Object(ve.createElement)("div",{ref:this.widgetContentRef,className:"widget-content",dangerouslySetInnerHTML:{__html:o}}),a&&Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)("input",{type:"hidden",name:"widget-id",className:"widget-id",value:r}),Object(ve.createElement)("input",{ref:this.idBaseInputRef,type:"hidden",name:"id_base",className:"id_base",value:n}),Object(ve.createElement)("input",{ref:this.widgetNumberInputRef,type:"hidden",name:"widget_number",className:"widget_number",value:c}),Object(ve.createElement)("input",{type:"hidden",name:"multi_number",className:"multi_number",value:""}),Object(ve.createElement)("input",{type:"hidden",name:"add_new",className:"add_new",value:""})))))}},{key:"shouldTriggerInstanceUpdate",value:function(){if(!this.formRef.current)return!1;if(!this.previousFormData)return!0;var e=new window.FormData(this.formRef.current),t=Array.from(e.keys()),r=Array.from(this.previousFormData.keys());if(t.length!==r.length)return!0;for(var n=0,c=t;n<c.length;n++){var o=c[n];if(!Di()(e.getAll(o),this.previousFormData.getAll(o)))return this.previousFormData=e,!0}return!1}},{key:"triggerWidgetEvent",value:function(e){window.jQuery(window.document).trigger(e,[window.jQuery(this.containerRef.current)])}},{key:"retrieveUpdatedInstance",value:function(){if(this.formRef.current){var e,t=this.formRef.current,r=new window.FormData(t),n={},c=Li(r.keys());try{for(c.s();!(e=c.n()).done;){var o=e.value;if(!Object(fe.includes)(["widget-id","id_base","widget_number","multi_number","add_new"],o)){var a=o.match(/[^\[]*\[[-\d]*\]\[([^\]]*)\]/),i=a&&a[1]?a[1]:o,l=r.getAll(o);l.length>1?n[i]=l:n[i]=l[0]}}}catch(e){c.e(e)}finally{c.f()}return n}}}]),n}(ve.Component);function Gi(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Wi=window,qi=Wi.XMLHttpRequest,Zi=Wi.FormData,Ki=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Gi()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).state={form:null},e.widgetNonce=null,e.instanceUpdating=null,e.onInstanceChange=e.onInstanceChange.bind(Object(Pr.a)(e)),e.requestWidgetUpdater=e.requestWidgetUpdater.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.trySetNonce(),this.requestWidgetUpdater(void 0,(function(t){e.props.onInstanceChange(null,!!t.form)}))}},{key:"componentDidUpdate",value:function(e){var t=this;this.widgetNonce||this.trySetNonce(),e.instance!==this.props.instance&&this.instanceUpdating!==this.props.instance&&this.requestWidgetUpdater(void 0,(function(e){t.props.onInstanceChange(null,!!e.form)})),this.instanceUpdating===this.props.instance&&(this.instanceUpdating=null)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t=this.props,r=t.instanceId,n=t.id,c=t.number,o=t.idBase,a=t.instance,i=t.isSelected,l=t.widgetName,s=this.state.form;if(!s)return null;var u=Object(fe.get)(a,["title"]),b=null;return i&&(u&&l?b="".concat(l,": ").concat(u):!u&&l?b=l:u&&!l&&(b=u)),Object(ve.createElement)(ve.Fragment,null,b&&Object(ve.createElement)("div",{className:"wp-block-legacy-widget__edit-widget-title"},b),Object(ve.createElement)("div",{className:"wp-block-legacy-widget__edit-container",style:{display:this.props.isVisible?"block":"none"}},Object(ve.createElement)(Ui,{isReferenceWidget:!!n,ref:function(t){e.widgetEditDomManagerRef=t},onInstanceChange:this.onInstanceChange,number:c||-1*r,id:n,idBase:o,form:s})))}},{key:"trySetNonce",value:function(){var e=document.getElementById("_wpnonce_widgets");e&&e.value&&(this.widgetNonce=e.value)}},{key:"onInstanceChange",value:function(e){var t=this;this.props.id?this.props.onInstanceChange(e,!0):this.requestWidgetUpdater(e,(function(e){t.instanceUpdating=e.instance,t.props.onInstanceChange(e.instance,!!e.form)}))}},{key:"requestWidgetUpdater",value:function(e,t){var r=this,n=this.props,c=n.id,o=n.idBase,a=n.instance,i=n.widgetClass,l=this.isStillMounted;if(c||i){if(c){var s=new qi,u=new Zi;return u.append("action","save-widget"),u.append("id_base",o),u.append("widget-id",c),u.append("widget-width","250"),u.append("widget-height","200"),u.append("savewidgets",this.widgetNonce),s.open("POST",window.ajaxurl),s.addEventListener("load",(function(){if(l){var e=s.responseText;r.setState({form:e}),t&&t({form:e})}})),void s.send(u)}i&&_i()({path:"/__experimental/widget-forms/".concat(i,"/"),data:{instance:a,instance_changes:e},method:"POST"}).then((function(e){l&&(r.setState({form:e.form}),t&&t(e))}))}}}]),n}(ve.Component),Qi=Object(Ke.withInstanceId)(Ki),$i=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"}));function Ji(e){var t,r=e.availableLegacyWidgets,n=e.currentWidget,c=e.hasPermissionsToManageWidgets,o=e.onChangeWidget,a=Object(ve.useMemo)((function(){return Object(fe.pickBy)(r,(function(e){return!e.isHidden}))}),[r]);return t=c?Object(fe.isEmpty)(a)?Object(Oe.__)("There are no widgets available."):Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Select a legacy widget to display:"),value:n||"none",onChange:o,options:[{value:"none",label:"Select widget"}].concat(Object(fe.map)(a,(function(e,t){return{value:t,label:e.name}})))}):Object(Oe.__)("You don't have permissions to use widgets on this site."),Object(ve.createElement)(Te.Placeholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:$i}),label:Object(Oe.__)("Legacy Widget")},t)}function Yi(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Xi=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Yi()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).state={hasEditForm:!0,isPreview:!1},e.switchToEdit=e.switchToEdit.bind(Object(Pr.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(Pr.a)(e)),e.changeWidget=e.changeWidget.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"render",value:function(){var e=this,t=this.props,r=t.attributes,n=t.availableLegacyWidgets,c=t.hasPermissionsToManageWidgets,o=t.isSelected,a=t.setAttributes,i=this.state,l=i.isPreview,s=i.hasEditForm,u=r.id,b=r.widgetClass,m=u&&n[u]||b&&n[b];if(!u&&!b)return Object(ve.createElement)(Ji,{availableLegacyWidgets:n,hasPermissionsToManageWidgets:c,onChangeWidget:function(e){var t=n[e].isReferenceWidget;a({instance:{},id:t?e:void 0,widgetClass:t?void 0:e})}});var d=m?Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:m.name},m.description)):null;return c?Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,null,m&&!m.isHidden&&Object(ve.createElement)(Te.Button,{onClick:this.changeWidget,label:Object(Oe.__)("Change widget"),icon:Ai.a}),s&&Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.Button,{className:"components-tab-button",isPressed:!l,onClick:this.switchToEdit},Object(ve.createElement)("span",null,Object(Oe.__)("Edit"))),Object(ve.createElement)(Te.Button,{className:"components-tab-button",isPressed:l,onClick:this.switchToPreview},Object(ve.createElement)("span",null,Object(Oe.__)("Preview")))))),d,s&&Object(ve.createElement)(Qi,{isSelected:o,isVisible:!l,id:u,idBase:r.idBase||r.id,number:r.number,widgetName:Object(fe.get)(m,["name"]),widgetClass:r.widgetClass,instance:r.instance,onInstanceChange:function(t,r){t&&e.props.setAttributes({instance:t}),r!==e.hasEditForm&&e.setState({hasEditForm:r})}}),(l||!s)&&this.renderWidgetPreview()):Object(ve.createElement)(ve.Fragment,null,d,this.renderWidgetPreview())}},{key:"changeWidget",value:function(){this.switchToEdit(),this.props.setAttributes({instance:{},id:void 0,widgetClass:void 0}),this.setState({hasEditForm:!0})}},{key:"switchToEdit",value:function(){this.setState({isPreview:!1})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"renderWidgetPreview",value:function(){var e=this.props.attributes;return Object(ve.createElement)(nn.a,{className:"wp-block-legacy-widget__preview",block:"core/legacy-widget",attributes:e})}}]),n}(ve.Component),el=Object(Ne.withSelect)((function(e){var t=e("core/block-editor").getSettings(),r=t.availableLegacyWidgets;return{hasPermissionsToManageWidgets:t.hasPermissionsToManageWidgets,availableLegacyWidgets:r}}))(Xi),tl={name:"core/legacy-widget",category:"widgets",attributes:{widgetClass:{type:"string"},id:{type:"string"},idBase:{type:"string"},number:{type:"number"},instance:{type:"object"}},supports:{html:!1,customClassName:!1}},rl=tl.name,nl={title:Object(Oe.__)("Legacy Widget (Experimental)"),description:Object(Oe.__)("Display a legacy widget."),icon:Ii,edit:el},cl=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M20 8.75H4V7.25H20V8.75ZM12.8889 15.75H4V14.25H12.8889V15.75ZM18 17C19.1046 17 20 16.1046 20 15C20 13.8954 19.1046 13 18 13C16.8954 13 16 13.8954 16 15C16 16.1046 16.8954 17 18 17Z"})),ol=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M4 7.2v1.5h16V7.2H4zm7.1 8.6H20v-1.5h-8.9v1.5zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})),al=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M20 8.75H4V7.25H20V8.75ZM12.8889 15.75H4V14.25H12.8889V15.75ZM20 13V12.3063L19.3419 12.5257L17.8419 13.0257L18.1581 13.9743L19 13.6937V17H20V13Z"})),il=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zM4 7.2v1.5h16V7.2H4zm.2 6.8l.8-.3V17h1v-4.7l-2.2.7.4 1z"})),ll=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z"})),sl=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z"})),ul=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z"})),bl=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z"})),ml=function(e){var t=e.setAttributes,r=e.reversed,n=e.start;return Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Ordered list settings")},Object(ve.createElement)(Te.TextControl,{label:Object(Oe.__)("Start value"),type:"number",onChange:function(e){var r=parseInt(e,10);t({start:isNaN(r)?void 0:r})},value:Number.isInteger(n)?n.toString(10):"",step:"1"}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Reverse list numbering"),checked:r||!1,onChange:function(e){t({reversed:e||void 0})}})))};function dl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pl(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function hl(e){var t=gl({},e.phrasingContentSchema,{ul:{},ol:{attributes:["type","start","reversed"]}});return["ul","ol"].forEach((function(e){t[e].children={li:{children:t}}})),t}var fl={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(he.createBlock)("core/list",{values:Object(gr.toHTMLString)({value:Object(gr.join)(e.map((function(t){var r=t.content,n=Object(gr.create)({html:r});return e.length>1?n:Object(gr.replace)(n,/\n/g,gr.__UNSTABLE_LINE_SEPARATOR)})),gr.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(he.createBlock)("core/list",{values:Object(gr.toHTMLString)({value:Object(gr.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:function(e){return{ol:hl(e).ol,ul:hl(e).ul}},transform:function(e){var t={ordered:"OL"===e.nodeName};if(t.ordered){var r=e.getAttribute("type");r&&(t.type=r),null!==e.getAttribute("reversed")&&(t.reversed=!0);var n=parseInt(e.getAttribute("start"),10);isNaN(n)||1===n&&!t.reversed||(t.start=n)}return Object(he.createBlock)("core/list",gl({},Object(he.getBlockAttributes)("core/list",e.outerHTML),{},t))}}].concat(Object(me.a)(["*","-"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(he.createBlock)("core/list",{values:"<li>".concat(e,"</li>")})}}}))),Object(me.a)(["1.","1)"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(he.createBlock)("core/list",{ordered:!0,values:"<li>".concat(e,"</li>")})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(gr.split)(Object(gr.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),gr.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object(he.createBlock)("core/paragraph",{content:Object(gr.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(he.createBlock)("core/quote",{value:Object(gr.toHTMLString)({value:Object(gr.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]};function Ol(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var vl={name:"core/list",category:"common",attributes:{ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:""},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"}},supports:{className:!1,__unstablePasteTextInline:!0,lightBlockWrapper:!0}},jl=vl.name,yl={title:Object(Oe.__)("List"),description:Object(Oe.__)("Create a bulleted or numbered list."),icon:Ci,keywords:[Object(Oe.__)("bullet list"),Object(Oe.__)("ordered list"),Object(Oe.__)("numbered list")],example:{attributes:{values:"<li>Alice.</li><li>The White Rabbit.</li><li>The Cheshire Cat.</li><li>The Mad Hatter.</li><li>The Queen of Hearts.</li>"}},transforms:fl,merge:function(e,t){var r=t.values;return r&&"<li></li>"!==r?function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ol(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ol(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{values:e.values+r}):e},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.mergeBlocks,c=e.onReplace,o=e.isSelected,a=t.ordered,i=t.values,l=t.type,s=t.reversed,u=t.start,b=a?"ol":"ul",m=Object(Ne.useSelect)((function(e){return!!e("core/block-editor").getSettings().isRTL}),[]);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.RichText,{identifier:"values",multiline:"li",__unstableMultilineRootTag:b,tagName:ge.__experimentalBlock[b],onChange:function(e){return r({values:e})},value:i,placeholder:Object(Oe.__)("Write list…"),onMerge:n,onSplit:function(e){return Object(he.createBlock)(jl,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dl(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{values:e}))},__unstableOnSplitMiddle:function(){return Object(he.createBlock)("core/paragraph")},onReplace:c,onRemove:function(){return c([])},start:u,reversed:s,type:l},(function(e){var t=e.value,n=e.onChange,c=e.onFocus;return Object(ve.createElement)(ve.Fragment,null,o&&Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.RichTextShortcut,{type:"primary",character:"[",onUse:function(){n(Object(gr.__unstableOutdentListItems)(t))}}),Object(ve.createElement)(ge.RichTextShortcut,{type:"primary",character:"]",onUse:function(){n(Object(gr.__unstableIndentListItems)(t,{type:b}))}}),Object(ve.createElement)(ge.RichTextShortcut,{type:"primary",character:"m",onUse:function(){n(Object(gr.__unstableIndentListItems)(t,{type:b}))}}),Object(ve.createElement)(ge.RichTextShortcut,{type:"primaryShift",character:"m",onUse:function(){n(Object(gr.__unstableOutdentListItems)(t))}})),Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,{controls:[{icon:m?cl:ol,title:Object(Oe.__)("Convert to unordered list"),isActive:Object(gr.__unstableIsActiveListType)(t,"ul",b),onClick:function(){n(Object(gr.__unstableChangeListType)(t,{type:"ul"})),c(),Object(gr.__unstableIsListRootSelected)(t)&&r({ordered:!1})}},{icon:m?al:il,title:Object(Oe.__)("Convert to ordered list"),isActive:Object(gr.__unstableIsActiveListType)(t,"ol",b),onClick:function(){n(Object(gr.__unstableChangeListType)(t,{type:"ol"})),c(),Object(gr.__unstableIsListRootSelected)(t)&&r({ordered:!0})}},{icon:m?ll:sl,title:Object(Oe.__)("Outdent list item"),shortcut:Object(Oe._x)("Backspace","keyboard key"),isDisabled:!Object(gr.__unstableCanOutdentListItems)(t),onClick:function(){n(Object(gr.__unstableOutdentListItems)(t)),c()}},{icon:m?ul:bl,title:Object(Oe.__)("Indent list item"),shortcut:Object(Oe._x)("Space","keyboard key"),isDisabled:!Object(gr.__unstableCanIndentListItems)(t),onClick:function(){n(Object(gr.__unstableIndentListItems)(t,{type:b})),c()}}]})))})),a&&Object(ve.createElement)(ml,{setAttributes:r,ordered:a,reversed:s,start:u}))},save:function(e){var t=e.attributes,r=t.ordered,n=t.values,c=t.type,o=t.reversed,a=t.start,i=r?"ol":"ul";return Object(ve.createElement)(ge.RichText.Content,{tagName:i,value:n,type:c,reversed:o,start:a,multiline:"li"})}};var wl=Object(Ne.withDispatch)((function(e,t){var r=t.clientId,n=t.attributes,c=e("core/block-editor").replaceBlock;return{convertToHTML:function(){c(r,Object(he.createBlock)("core/html",{content:n.originalUndelimitedContent}))}}}))((function(e){var t,r=e.attributes,n=e.convertToHTML,c=r.originalName,o=r.originalUndelimitedContent,a=!!o,i=Object(he.getBlockType)("core/html"),l=[];return a&&i?(t=Object(Oe.sprintf)(Object(Oe.__)('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.'),c),l.push(Object(ve.createElement)(Te.Button,{key:"convert",onClick:n,isLarge:!0,isPrimary:!0},Object(Oe.__)("Keep as HTML")))):t=Object(Oe.sprintf)(Object(Oe.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),c),Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.Warning,{actions:l},t),Object(ve.createElement)(ve.RawHTML,null,o))}));var _l={name:"core/missing",category:"common",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1}},kl=_l.name,Cl={name:kl,title:Object(Oe.__)("Unsupported"),description:Object(Oe.__)("Your site doesn’t include support for this block."),__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.originalName,n=r?Object(he.getBlockType)(r):void 0;return n?n.settings.title||r:""}},edit:wl,save:function(e){var t=e.attributes;return Object(ve.createElement)(ve.RawHTML,null,t.originalContent)}},El=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"}));function xl(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Sl=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(xl()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onChangeInput=e.onChangeInput.bind(Object(Pr.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(Pr.a)(e)),e.state={defaultText:Object(Oe.__)("Read more")},e}return Object(Qt.a)(n,[{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,r=this.props.insertBlocksAfter;t===Nr.ENTER&&r([Object(he.createBlock)(Object(he.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(Oe.__)("The excerpt is hidden."):Object(Oe.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,r=e.noTeaser,n=this.props.setAttributes,c=this.state.defaultText,o=void 0!==t?t:c,a={width:o.length+1.2+"em"};return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,null,Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Hide the excerpt on the full content page"),checked:!!r,onChange:function(){return n({noTeaser:!r})},help:this.getHideExcerptHelp}))),Object(ve.createElement)("div",{className:"wp-block-more"},Object(ve.createElement)("input",{type:"text",value:o,onChange:this.onChangeInput,onKeyDown:this.onKeyDown,style:a})))}}]),n}(ve.Component);var Pl={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,r=t.customText,n=t.noTeaser,c={};return r&&(c.customText=r),""===n&&(c.noTeaser=!0),Object(he.createBlock)("core/more",c)}}]},Bl={name:"core/more",category:"layout",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},supports:{customClassName:!1,className:!1,html:!1,multiple:!1}},Tl=Bl.name,Nl={title:Object(Oe._x)("More","block name"),description:Object(Oe.__)("Content before this block will be shown in the excerpt on your archives page."),icon:El,example:{},__experimentalLabel:function(e,t){if("accessibility"===t.context)return e.customText},transforms:Pl,edit:Sl,save:function(e){var t=e.attributes,r=t.customText,n=t.noTeaser,c=r?"\x3c!--more ".concat(r,"--\x3e"):"\x3c!--more--\x3e",o=n?"\x3c!--noteaser--\x3e":"";return Object(ve.createElement)(ve.RawHTML,null,Object(fe.compact)([c,o]).join("\n"))}},Rl=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M7.8 6c0-.7.6-1.2 1.2-1.2h6c.7 0 1.2.6 1.2 1.2v3h1.5V6c0-1.5-1.2-2.8-2.8-2.8H9C7.5 3.2 6.2 4.5 6.2 6v3h1.5V6zm8.4 11c0 .7-.6 1.2-1.2 1.2H9c-.7 0-1.2-.6-1.2-1.2v-3H6.2v3c0 1.5 1.2 2.8 2.8 2.8h6c1.5 0 2.8-1.2 2.8-2.8v-3h-1.5v3zM4 11v1h16v-1H4z"}));var zl={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(he.createBlock)("core/nextpage",{})}}]},Ml={name:"core/nextpage",category:"layout",parent:["core/post-content"],supports:{customClassName:!1,className:!1,html:!1}},Il=Ml.name,Al={title:Object(Oe.__)("Page Break"),description:Object(Oe.__)("Separate your content into a multi-page experience."),icon:Rl,keywords:[Object(Oe.__)("next page"),Object(Oe.__)("pagination")],example:{},transforms:zl,edit:function(){return Object(ve.createElement)("div",{className:"wp-block-nextpage"},Object(ve.createElement)("span",null,Object(Oe.__)("Page break")))},save:function(){return Object(ve.createElement)(ve.RawHTML,null,"\x3c!--nextpage--\x3e")}},Hl=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z"}));var Dl={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(he.createBlock)("core/preformatted",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:function(e){return{pre:{children:e.phrasingContentSchema}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(he.createBlock)("core/paragraph",e)}}]},Ll={name:"core/preformatted",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0}},supports:{lightBlockWrapper:!0}},Vl=Ll.name,Fl={title:Object(Oe.__)("Preformatted"),description:Object(Oe.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:Hl,example:{attributes:{content:Object(Oe.__)("EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;")}},transforms:Dl,edit:function(e){var t=e.attributes,r=e.mergeBlocks,n=e.setAttributes,c=e.className,o=e.style,a=t.content;return Object(ve.createElement)(ge.RichText,{tagName:ge.__experimentalBlock.pre,identifier:"content",preserveWhiteSpace:!0,value:a,onChange:function(e){n({content:e})},placeholder:Object(Oe.__)("Write preformatted text…"),className:c,style:o,onMerge:r})},save:function(e){var t=e.attributes.content;return Object(ve.createElement)(ge.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}},Ul=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z"})),Gl="is-style-".concat("solid-color");function Wl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ql(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wl(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Zl={value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}};function Kl(e){if(e){var t=e.match(/border-color:([^;]+)[;]?/);return t&&t[1]?t[1]:void 0}}var Ql=[{attributes:ql({},Zl,{figureStyle:{source:"attribute",selector:"figure",attribute:"style"}}),save:function(e){var t,r,n=e.attributes,c=n.mainColor,o=n.customMainColor,a=n.textColor,i=n.customTextColor,l=n.value,s=n.citation,u=n.className,b=n.figureStyle;if(Object(fe.includes)(u,Gl)){var m=Object(ge.getColorClassName)("background-color",c);t=_e()(Object(de.a)({"has-background":m||o},m,m)),r={backgroundColor:m?void 0:o}}else if(o)r={borderColor:o};else if(c){r={borderColor:Kl(b)}}var d=Object(ge.getColorClassName)("color",a),p=(a||i)&&_e()("has-text-color",Object(de.a)({},d,d)),g=d?void 0:{color:i};return Object(ve.createElement)("figure",{className:t,style:r},Object(ve.createElement)("blockquote",{className:p,style:g},Object(ve.createElement)(ge.RichText.Content,{value:l,multiline:!0}),!ge.RichText.isEmpty(s)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:s})))},migrate:function(e){var t=e.className,r=e.figureStyle,n=e.mainColor,c=Object(pr.a)(e,["className","figureStyle","mainColor"]);if(!Object(fe.includes)(t,Gl)&&n&&r){var o=Kl(r);if(o)return ql({},c,{className:t,customMainColor:o})}return ql({className:t,mainColor:n},c)}},{attributes:Zl,save:function(e){var t,r,n=e.attributes,c=n.mainColor,o=n.customMainColor,a=n.textColor,i=n.customTextColor,l=n.value,s=n.citation,u=n.className;if(Object(fe.includes)(u,Gl))(t=Object(ge.getColorClassName)("background-color",c))||(r={backgroundColor:o});else if(o)r={borderColor:o};else if(c){var b=Object(fe.get)(Object(Ne.select)("core/block-editor").getSettings(),["colors"],[]);r={borderColor:Object(ge.getColorObjectByAttributeValues)(b,c).color}}var m=Object(ge.getColorClassName)("color",a),d=a||i?_e()("has-text-color",Object(de.a)({},m,m)):void 0,p=m?void 0:{color:i};return Object(ve.createElement)("figure",{className:t,style:r},Object(ve.createElement)("blockquote",{className:d,style:p},Object(ve.createElement)(ge.RichText.Content,{value:l,multiline:!0}),!ge.RichText.isEmpty(s)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:s})))}},{attributes:ql({},Zl),save:function(e){var t=e.attributes,r=t.value,n=t.citation;return Object(ve.createElement)("blockquote",null,Object(ve.createElement)(ge.RichText.Content,{value:r,multiline:!0}),!ge.RichText.isEmpty(n)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:n}))}},{attributes:ql({},Zl,{citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,r=t.value,n=t.citation,c=t.align;return Object(ve.createElement)("blockquote",{className:"align".concat(c)},Object(ve.createElement)(ge.RichText.Content,{value:r,multiline:!0}),!ge.RichText.isEmpty(n)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"footer",value:n}))}}];function $l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Jl=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if($l()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(e){var t;return Object(Kt.a)(this,n),(t=r.call(this,e)).wasTextColorAutomaticallyComputed=!1,t.pullQuoteMainColorSetter=t.pullQuoteMainColorSetter.bind(Object(Pr.a)(t)),t.pullQuoteTextColorSetter=t.pullQuoteTextColorSetter.bind(Object(Pr.a)(t)),t}return Object(Qt.a)(n,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,r=t.colorUtils,n=t.textColor,c=t.setAttributes,o=t.setTextColor,a=t.setMainColor,i=t.className,l=Object(fe.includes)(i,Gl),s=!n.color||this.wasTextColorAutomaticallyComputed,u=l&&s&&e;l?a(e):c({customMainColor:e}),u&&(this.wasTextColorAutomaticallyComputed=!0,o(r.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.attributes,n=t.className,c=t.mainColor,o=t.setAttributes;r.mainColor&&!Object(fe.includes)(n,Gl)&&Object(fe.includes)(e.className,Gl)&&o({mainColor:void 0,customMainColor:c.color})}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.mainColor,n=e.textColor,c=e.setAttributes,o=e.isSelected,a=e.className,i=t.value,l=t.citation,s=Object(fe.includes)(a,Gl),u=s?{backgroundColor:r.color}:{borderColor:r.color},b=_e()(a,Object(de.a)({"has-background":s&&r.color},r.class,s&&r.class)),m={color:n.color},d=n.color&&_e()("has-text-color",Object(de.a)({},n.class,n.class));return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)("figure",{style:u,className:b},Object(ve.createElement)("blockquote",{style:m,className:d},Object(ve.createElement)(ge.RichText,{identifier:"value",multiline:!0,value:i,onChange:function(e){return c({value:e})},placeholder:Object(Oe.__)("Write quote…"),textAlign:"center"}),(!ge.RichText.isEmpty(l)||o)&&Object(ve.createElement)(ge.RichText,{identifier:"citation",value:l,placeholder:Object(Oe.__)("Write citation…"),onChange:function(e){return c({citation:e})},className:"wp-block-pullquote__citation",__unstableMobileNoFocusOnMount:!0,textAlign:"center"}))),"web"===ve.Platform.OS&&Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(ge.PanelColorSettings,{title:Object(Oe.__)("Color settings"),colorSettings:[{value:r.color,onChange:this.pullQuoteMainColorSetter,label:Object(Oe.__)("Main color")},{value:n.color,onChange:this.pullQuoteTextColorSetter,label:Object(Oe.__)("Text color")}]},s&&Object(ve.createElement)(ge.ContrastChecker,Object(Ge.a)({textColor:n.color,backgroundColor:r.color},{isLargeText:!1})))))}}]),n}(ve.Component),Yl=Object(ge.withColors)({mainColor:"background-color",textColor:"color"})(Jl);var Xl={name:"core/pullquote",category:"formatting",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{align:["left","right","wide","full"]}},es=Xl.name,ts={title:Object(Oe.__)("Pullquote"),description:Object(Oe.__)("Give special visual emphasis to a quote from your text."),icon:Ul,example:{attributes:{value:"<p>"+Object(Oe.__)("One of the hardest things to do in technology is disrupt yourself.")+"</p>",citation:Object(Oe.__)("Matt Mullenweg")}},styles:[{name:"default",label:Object(Oe._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(Oe.__)("Solid color")}],edit:Yl,save:function(e){var t,r,n=e.attributes,c=n.mainColor,o=n.customMainColor,a=n.textColor,i=n.customTextColor,l=n.value,s=n.citation,u=n.className;if(Object(fe.includes)(u,Gl)){var b=Object(ge.getColorClassName)("background-color",c);t=_e()(Object(de.a)({"has-background":b||o},b,b)),r={backgroundColor:b?void 0:o}}else o&&(r={borderColor:o});var m=Object(ge.getColorClassName)("color",a),d=(a||i)&&_e()("has-text-color",Object(de.a)({},m,m)),p=m?void 0:{color:i};return Object(ve.createElement)("figure",{className:t,style:r},Object(ve.createElement)("blockquote",{className:d,style:p},Object(ve.createElement)(ge.RichText.Content,{value:l,multiline:!0}),!ge.RichText.isEmpty(s)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:s})))},deprecated:Ql};function rs(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var ns=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(rs()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).titleField=Object(ve.createRef)(),e.editButton=Object(ve.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(Pr.a)(e)),e.handleTitleChange=e.handleTitleChange.bind(Object(Pr.a)(e)),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{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===Nr.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,r=e.title,n=e.isSaving,c=e.isEditDisabled,o=e.onEdit,a=e.instanceId;return Object(ve.createElement)(ve.Fragment,null,!t&&!n&&Object(ve.createElement)("div",{className:"reusable-block-edit-panel"},Object(ve.createElement)("b",{className:"reusable-block-edit-panel__info"},r),Object(ve.createElement)(Te.Button,{ref:this.editButton,isSecondary:!0,className:"reusable-block-edit-panel__button",disabled:c,onClick:o},Object(Oe.__)("Edit"))),(t||n)&&Object(ve.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(ve.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(a),className:"reusable-block-edit-panel__label"},Object(Oe.__)("Name:")),Object(ve.createElement)("input",{ref:this.titleField,type:"text",disabled:n,className:"reusable-block-edit-panel__title",value:r,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(a)}),Object(ve.createElement)(Te.Button,{type:"submit",isSecondary:!0,isBusy:n,disabled:!r||n,className:"reusable-block-edit-panel__button"},Object(Oe.__)("Save"))))}}]),n}(ve.Component),cs=Object(Ke.withInstanceId)(ns);function os(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var as=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(os()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(e){var t,c=e.reusableBlock;return Object(Kt.a)(this,n),(t=r.apply(this,arguments)).startEditing=t.startEditing.bind(Object(Pr.a)(t)),t.stopEditing=t.stopEditing.bind(Object(Pr.a)(t)),t.setBlocks=t.setBlocks.bind(Object(Pr.a)(t)),t.setTitle=t.setTitle.bind(Object(Pr.a)(t)),t.save=t.save.bind(Object(Pr.a)(t)),t.state=c?{isEditing:c.isTemporary,title:c.title,blocks:Object(he.parse)(c.content)}:{isEditing:!1,title:null,blocks:[]},t}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"componentDidUpdate",value:function(e){e.reusableBlock!==this.props.reusableBlock&&null===this.state.title&&this.setState({title:this.props.reusableBlock.title,blocks:Object(he.parse)(this.props.reusableBlock.content)})}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,blocks:Object(he.parse)(e.content)})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,blocks:[]})}},{key:"setBlocks",value:function(e){this.setState({blocks:e})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.onChange,r=e.onSave,n=this.state,c=n.blocks;t({title:n.title,content:Object(he.serialize)(c)}),r(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,r=e.reusableBlock,n=e.isFetching,c=e.isSaving,o=e.canUpdateBlock,a=e.settings,i=this.state,l=i.isEditing,s=i.title,u=i.blocks;if(!r&&n)return Object(ve.createElement)(Te.Placeholder,null,Object(ve.createElement)(Te.Spinner,null));if(!r)return Object(ve.createElement)(Te.Placeholder,null,Object(Oe.__)("Block has been deleted or is unavailable."));var b=Object(ve.createElement)(ge.BlockEditorProvider,{settings:a,value:u,onChange:this.setBlocks,onInput:this.setBlocks},Object(ve.createElement)(ge.WritingFlow,null,Object(ve.createElement)(ge.BlockList,null)));return l||(b=Object(ve.createElement)(Te.Disabled,null,b)),Object(ve.createElement)("div",{className:"block-library-block__reusable-block-container"},(t||l)&&Object(ve.createElement)(cs,{isEditing:l,title:null!==s?s:r.title,isSaving:c&&!r.isTemporary,isEditDisabled:!o,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),b)}}]),n}(ve.Component),is=Object(Ke.compose)([Object(Ne.withSelect)((function(e,t){var r=e("core/editor"),n=r.__experimentalGetReusableBlock,c=r.__experimentalIsFetchingReusableBlock,o=r.__experimentalIsSavingReusableBlock,a=e("core").canUser,i=e("core/block-editor"),l=i.__experimentalGetParsedReusableBlock,s=i.getSettings,u=t.attributes.ref,b=n(u);return{reusableBlock:b,isFetching:c(u),isSaving:o(u),blocks:b?l(b.id):null,canUpdateBlock:!!b&&!b.isTemporary&&!!a("update","blocks",u),settings:s()}})),Object(Ne.withDispatch)((function(e,t){var r=e("core/editor"),n=r.__experimentalFetchReusableBlocks,c=r.__experimentalUpdateReusableBlock,o=r.__experimentalSaveReusableBlock,a=t.attributes.ref;return{fetchReusableBlock:Object(fe.partial)(n,a),onChange:Object(fe.partial)(c,a),onSave:Object(fe.partial)(o,a)}}))])(as),ls={name:"core/block",category:"reusable",attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1}},ss=ls.name,us={title:Object(Oe.__)("Reusable Block"),description:Object(Oe.__)("Create and save content to reuse across your site. Update the block, and the changes apply everywhere it’s used."),edit:is},bs=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"}));var ms={name:"core/rss",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},columns:{type:"number",default:2},blockLayout:{type:"string",default:"list"},feedURL:{type:"string",default:""},itemsToShow:{type:"number",default:5},displayExcerpt:{type:"boolean",default:!1},displayAuthor:{type:"boolean",default:!1},displayDate:{type:"boolean",default:!1},excerptLength:{type:"number",default:55}},supports:{align:!0,html:!1}},ds=ms.name,ps={title:Object(Oe.__)("RSS"),description:Object(Oe.__)("Display entries from any RSS or Atom feed."),icon:bs,keywords:[Object(Oe.__)("atom"),Object(Oe.__)("feed")],example:{attributes:{feedURL:"https://wordpress.org"}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=Object(ve.useState)(!t.feedURL),c=Object(Be.a)(n,2),o=c[0],a=c[1],i=t.blockLayout,l=t.columns,s=t.displayAuthor,u=t.displayDate,b=t.displayExcerpt,m=t.excerptLength,d=t.feedURL,p=t.itemsToShow;function g(e){return function(){var n=t[e];r(Object(de.a)({},e,!n))}}if(o)return Object(ve.createElement)(Te.Placeholder,{icon:bs,label:"RSS"},Object(ve.createElement)("form",{onSubmit:function(e){e.preventDefault(),d&&a(!1)},className:"wp-block-rss__placeholder-form"},Object(ve.createElement)(Te.TextControl,{placeholder:Object(Oe.__)("Enter URL here…"),value:d,onChange:function(e){return r({feedURL:e})},className:"wp-block-rss__placeholder-input"}),Object(ve.createElement)(Te.Button,{isPrimary:!0,type:"submit"},Object(Oe.__)("Use URL"))));var h=[{icon:Eo.a,title:Object(Oe.__)("Edit RSS URL"),onClick:function(){return a(!0)}},{icon:Ci,title:Object(Oe.__)("List view"),onClick:function(){return r({blockLayout:"list"})},isActive:"list"===i},{icon:Ei.a,title:Object(Oe.__)("Grid view"),onClick:function(){return r({blockLayout:"grid"})},isActive:"grid"===i}];return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,{controls:h})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("RSS settings")},Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Number of items"),value:p,onChange:function(e){return r({itemsToShow:e})},min:1,max:10,required:!0}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display author"),checked:s,onChange:g("displayAuthor")}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display date"),checked:u,onChange:g("displayDate")}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display excerpt"),checked:b,onChange:g("displayExcerpt")}),b&&Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Max number of words in excerpt"),value:m,onChange:function(e){return r({excerptLength:e})},min:10,max:100,required:!0}),"grid"===i&&Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Columns"),value:l,onChange:function(e){return r({columns:e})},min:2,max:6,required:!0}))),Object(ve.createElement)(Te.Disabled,null,Object(ve.createElement)(nn.a,{block:"core/rss",attributes:t})))}},gs=r(259);var hs=[{name:"default",isDefault:!0,attributes:{buttonText:Object(Oe.__)("Search"),label:Object(Oe.__)("Search")}}],fs={name:"core/search",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},label:{type:"string"},placeholder:{type:"string",default:""},buttonText:{type:"string"}},supports:{align:!0,html:!1}},Os=fs.name,vs={title:Object(Oe.__)("Search"),description:Object(Oe.__)("Help visitors find your content."),icon:gs.a,keywords:[Object(Oe.__)("find")],example:{},variations:hs,edit:function(e){var t=e.className,r=e.attributes,n=e.setAttributes,c=r.label,o=r.placeholder,a=r.buttonText;return Object(ve.createElement)("div",{className:t},Object(ve.createElement)(ge.RichText,{className:"wp-block-search__label","aria-label":Object(Oe.__)("Label text"),placeholder:Object(Oe.__)("Add label…"),withoutInteractiveFormatting:!0,value:c,onChange:function(e){return n({label:e})}}),Object(ve.createElement)("input",{className:"wp-block-search__input","aria-label":Object(Oe.__)("Optional placeholder text"),placeholder:o?void 0:Object(Oe.__)("Optional placeholder…"),value:o,onChange:function(e){return n({placeholder:e.target.value})}}),Object(ve.createElement)(ge.RichText,{className:"wp-block-search__button","aria-label":Object(Oe.__)("Button text"),placeholder:Object(Oe.__)("Add button text…"),withoutInteractiveFormatting:!0,value:a,onChange:function(e){return n({buttonText:e})}}))}},js=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"}));function ys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ws(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ys(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var _s=function(e){if(e.tagName||(e=ws({},e,{tagName:"div"})),!e.customTextColor&&!e.customBackgroundColor)return e;var t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),ws({},Object(fe.omit)(e,["customTextColor","customBackgroundColor"]),{style:t})},ks=[{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:_s,save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,c=t.textColor,o=t.customTextColor,a=Object(ge.getColorClassName)("background-color",r),i=Object(ge.getColorClassName)("color",c),l=_e()(a,i,{"has-text-color":c||o,"has-background":r||n}),s={backgroundColor:a?void 0:n,color:i?void 0:o};return Object(ve.createElement)("div",{className:l,style:s},Object(ve.createElement)("div",{className:"wp-block-group__inner-container"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},migrate:_s,supports:{align:["wide","full"],anchor:!0,html:!1},save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,c=t.textColor,o=t.customTextColor,a=Object(ge.getColorClassName)("background-color",r),i=Object(ge.getColorClassName)("color",c),l=_e()(a,{"has-text-color":c||o,"has-background":r||n}),s={backgroundColor:a?void 0:n,color:i?void 0:o};return Object(ve.createElement)("div",{className:l,style:s},Object(ve.createElement)("div",{className:"wp-block-group__inner-container"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:_s,save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,c=Object(ge.getColorClassName)("background-color",r),o=_e()(c,{"has-background":r||n}),a={backgroundColor:c?void 0:n};return Object(ve.createElement)("div",{className:o,style:a},Object(ve.createElement)(ge.InnerBlocks.Content,null))}}];var Cs=function(e){var t=e.attributes,r=e.className,n=e.clientId,c=Object(Ne.useSelect)((function(e){var t=(0,e("core/block-editor").getBlock)(n);return!(!t||!t.innerBlocks.length)}),[n]),o=ge.__experimentalBlock[t.tagName];return Object(ve.createElement)(o,{className:r},Object(ve.createElement)(ge.InnerBlocks,{renderAppender:c?void 0:function(){return Object(ve.createElement)(ge.InnerBlocks.ButtonBlockAppender,null)},__experimentalTagName:"div",__experimentalPassedProps:{className:"wp-block-group__inner-container"}}))};var Es={name:"core/group",category:"layout",attributes:{tagName:{type:"string",default:"div"}}},xs=Es.name,Ss={title:Object(Oe.__)("Group"),icon:js,description:Object(Oe.__)("A block that groups other blocks."),keywords:[Object(Oe.__)("container"),Object(Oe.__)("wrapper"),Object(Oe.__)("row"),Object(Oe.__)("section")],example:{attributes:{style:{color:{text:"#000000",background:"#ffffff"}}},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(Oe.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(Oe.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(Oe.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(Oe.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(Oe.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(Oe.__)("Six.")}}]},supports:{align:["wide","full"],anchor:!0,html:!1,lightBlockWrapper:!0,__experimentalColor:"web"===ve.Platform.OS&&{gradients:!0}},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:function(e){if(1!==e.length||"core/group"!==e[0].name){var t=["wide","full"],r=e.reduce((function(e,r){var n=r.attributes.align;return t.indexOf(n)>t.indexOf(e)?n:e}),void 0),n=e.map((function(e){return Object(he.createBlock)(e.name,e.attributes,e.innerBlocks)}));return Object(he.createBlock)("core/group",{align:r},n)}}}]},edit:Cs,save:function(e){var t=e.attributes.tagName;return Object(ve.createElement)(t,null,Object(ve.createElement)("div",{className:"wp-block-group__inner-container"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))},deprecated:ks},Ps=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"})),Bs=function(e){var t=e.color,r=e.setColor;return Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(ge.PanelColorSettings,{title:Object(Oe.__)("Color settings"),colorSettings:[{value:t.color,onChange:r,label:Object(Oe.__)("Color")}]}))};var Ts=Object(ge.withColors)("color",{textColor:"color"})((function(e){var t=e.color,r=e.setColor,n=e.className;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.HorizontalRule,{className:_e()(n,Object(de.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}}),Object(ve.createElement)(Bs,{color:t,setColor:r}))}));var Ns={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(he.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},Rs={name:"core/separator",category:"layout",attributes:{color:{type:"string"},customColor:{type:"string"}}},zs=Rs.name,Ms={title:Object(Oe.__)("Separator"),description:Object(Oe.__)("Create a break between ideas or sections with a horizontal separator."),icon:Ps,keywords:[Object(Oe.__)("horizontal-line"),"hr",Object(Oe.__)("divider")],example:{attributes:{customColor:"#065174",className:"is-style-wide"}},styles:[{name:"default",label:Object(Oe.__)("Default"),isDefault:!0},{name:"wide",label:Object(Oe.__)("Wide Line")},{name:"dots",label:Object(Oe.__)("Dots")}],transforms:Ns,edit:Ts,save:function(e){var t,r=e.attributes,n=r.color,c=r.customColor,o=Object(ge.getColorClassName)("background-color",n),a=Object(ge.getColorClassName)("color",n),i=_e()((t={"has-text-color has-background":n||c},Object(de.a)(t,o,o),Object(de.a)(t,a,a),t)),l={backgroundColor:o?void 0:c,color:a?void 0:c};return Object(ve.createElement)("hr",{className:i,style:l})}},Is=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"})),As=r(113);var Hs=r(92),Ds={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var r=t.content;return Object(Hs.removep)(Object(Hs.autop)(r))}}},priority:20}]},Ls={name:"core/shortcode",category:"widgets",attributes:{text:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,html:!1}},Vs=Ls.name,Fs={title:Object(Oe.__)("Shortcode"),description:Object(Oe.__)("Insert additional custom elements with a WordPress shortcode."),icon:Is,transforms:Ds,edit:function e(t){var r=t.attributes,n=t.setAttributes,c=Object(Ke.useInstanceId)(e),o="blocks-shortcode-input-".concat(c);return Object(ve.createElement)("div",{className:"wp-block-shortcode components-placeholder"},Object(ve.createElement)("label",{htmlFor:o,className:"components-placeholder__label"},Object(ve.createElement)(As.a,{icon:Is}),Object(Oe.__)("Shortcode")),Object(ve.createElement)(ge.PlainText,{className:"input-control",id:o,value:r.text,placeholder:Object(Oe.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))},save:function(e){var t=e.attributes;return Object(ve.createElement)(ve.RawHTML,null,t.text)}},Us=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M12.5 4.2v1.6h4.7L5.8 17.2V12H4.2v7.8H12v-1.6H6.8L18.2 6.8v4.7h1.6V4.2z"})),Gs=Object(Ke.compose)([Object(Ne.withDispatch)((function(e){var t=e("core/block-editor").toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}})),Ke.withInstanceId])((function(e){var t=e.attributes,r=e.isSelected,n=e.setAttributes,c=e.onResizeStart,o=e.onResizeStop,a=t.height,i=function(e){n({height:e})};return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.ResizableBox,{className:_e()("block-library-spacer__resize-container",{"is-selected":r}),size:{height:a},minHeight:20,enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:c,onResizeStop:function(e,t,r,n){o();var c=Math.min(parseInt(a+n.height,10),500);i(c)},showHandle:r}),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Spacer settings")},Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Height in pixels"),min:20,max:Math.max(500,a),value:a,onChange:i}))))}));var Ws={name:"core/spacer",category:"layout",attributes:{height:{type:"number",default:100}}},qs=Ws.name,Zs={title:Object(Oe.__)("Spacer"),description:Object(Oe.__)("Add white space between blocks and customize its height."),icon:Us,edit:Gs,save:function(e){var t=e.attributes;return Object(ve.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}},Ks=r(40),Qs=r.n(Ks);var $s={to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(he.createBlock)("core/paragraph",e)}}]},Js={name:"core/subhead",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}},supports:{inserter:!1,multiple:!1}},Ys=Js.name,Xs={title:Object(Oe.__)("Subheading (deprecated)"),description:Object(Oe.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),transforms:$s,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,c=t.align,o=t.content,a=t.placeholder;return Qs()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.AlignmentToolbar,{value:c,onChange:function(e){r({align:e})}})),Object(ve.createElement)(ge.RichText,{tagName:"p",value:o,onChange:function(e){r({content:e})},style:{textAlign:c},className:n,placeholder:a||Object(Oe.__)("Write subheading…")}))},save:function(e){var t=e.attributes,r=t.align,n=t.content;return Object(ve.createElement)(ge.RichText.Content,{tagName:"p",style:{textAlign:r},value:n})}},eu=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"})),tu=[{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,c=t.body,o=t.foot,a=t.backgroundColor;if(!n.length&&!c.length&&!o.length)return null;var i=Object(ge.getColorClassName)("background-color",a),l=_e()(i,{"has-fixed-layout":r,"has-background":!!i}),s=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(ve.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(ve.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,c=e.scope;return Object(ve.createElement)(ge.RichText.Content,{tagName:n,value:r,key:t,scope:"th"===n?c:void 0})})))})))};return Object(ve.createElement)("table",{className:l},Object(ve.createElement)(s,{type:"head",rows:n}),Object(ve.createElement)(s,{type:"body",rows:c}),Object(ve.createElement)(s,{type:"foot",rows:o}))}}],ru=r(256),nu=r(257),cu=r(258),ou=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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.84zM6.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"})),au=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"})),iu=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"})),lu=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"})),su=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"})),uu=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"})),bu=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"}));function mu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var du=["align"];function pu(e,t,r){if(!t)return e;var n=Object(fe.pick)(e,["head","body","foot"]),c=t.sectionName,o=t.rowIndex;return Object(fe.mapValues)(n,(function(e,n){return c&&c!==n?e:e.map((function(e,c){return o&&o!==c?e:{cells:e.cells.map((function(e,o){return function(e,t){if(!e||!t)return!1;switch(t.type){case"column":return"column"===t.type&&e.columnIndex===t.columnIndex;case"cell":return"cell"===t.type&&e.sectionName===t.sectionName&&e.columnIndex===t.columnIndex&&e.rowIndex===t.rowIndex}}({sectionName:n,columnIndex:o,rowIndex:c},t)?r(e):e}))}}))}))}function gu(e,t){var r=t.sectionName,n=t.rowIndex,c=t.columnCount,o=function(e){return Ou(e.head)?Ou(e.body)?Ou(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),a=void 0===c?Object(fe.get)(o,["cells","length"]):c;return a?Object(de.a)({},r,[].concat(Object(me.a)(e[r].slice(0,n)),[{cells:Object(fe.times)(a,(function(e){var t=Object(fe.get)(o,["cells",e],{});return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mu(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Object(fe.pick)(t,du),{content:"",tag:"head"===r?"th":"td"})}))}],Object(me.a)(e[r].slice(n)))):e}function hu(e,t){var r=t.columnIndex,n=Object(fe.pick)(e,["head","body","foot"]);return Object(fe.mapValues)(n,(function(e,t){return Ou(e)?e:e.map((function(e){return vu(e)||e.cells.length<r?e:{cells:[].concat(Object(me.a)(e.cells.slice(0,r)),[{content:"",tag:"head"===t?"th":"td"}],Object(me.a)(e.cells.slice(r)))}}))}))}function fu(e,t){return Ou(e[t])?gu(e,{sectionName:t,rowIndex:0,columnCount:Object(fe.get)(e,["body",0,"cells","length"],1)}):Object(de.a)({},t,[])}function Ou(e){return!e||!e.length||Object(fe.every)(e,vu)}function vu(e){return!(e.cells&&e.cells.length)}function ju(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ju(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ju(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function wu(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var _u=[{color:"#f3f4f5",name:"Subtle light gray",slug:"subtle-light-gray"},{color:"#e9fbe5",name:"Subtle pale green",slug:"subtle-pale-green"},{color:"#e7f5fe",name:"Subtle pale blue",slug:"subtle-pale-blue"},{color:"#fcf0ef",name:"Subtle pale pink",slug:"subtle-pale-pink"}],ku=[{icon:ru.a,title:Object(Oe.__)("Align Column Left"),align:"left"},{icon:nu.a,title:Object(Oe.__)("Align Column Center"),align:"center"},{icon:cu.a,title:Object(Oe.__)("Align Column Right"),align:"right"}],Cu=Object(ge.createCustomColorsHOC)(_u),Eu=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(wu()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onCreateTable=e.onCreateTable.bind(Object(Pr.a)(e)),e.onChangeFixedLayout=e.onChangeFixedLayout.bind(Object(Pr.a)(e)),e.onChange=e.onChange.bind(Object(Pr.a)(e)),e.onChangeInitialColumnCount=e.onChangeInitialColumnCount.bind(Object(Pr.a)(e)),e.onChangeInitialRowCount=e.onChangeInitialRowCount.bind(Object(Pr.a)(e)),e.renderSection=e.renderSection.bind(Object(Pr.a)(e)),e.getTableControls=e.getTableControls.bind(Object(Pr.a)(e)),e.onInsertRow=e.onInsertRow.bind(Object(Pr.a)(e)),e.onInsertRowBefore=e.onInsertRowBefore.bind(Object(Pr.a)(e)),e.onInsertRowAfter=e.onInsertRowAfter.bind(Object(Pr.a)(e)),e.onDeleteRow=e.onDeleteRow.bind(Object(Pr.a)(e)),e.onInsertColumn=e.onInsertColumn.bind(Object(Pr.a)(e)),e.onInsertColumnBefore=e.onInsertColumnBefore.bind(Object(Pr.a)(e)),e.onInsertColumnAfter=e.onInsertColumnAfter.bind(Object(Pr.a)(e)),e.onDeleteColumn=e.onDeleteColumn.bind(Object(Pr.a)(e)),e.onToggleHeaderSection=e.onToggleHeaderSection.bind(Object(Pr.a)(e)),e.onToggleFooterSection=e.onToggleFooterSection.bind(Object(Pr.a)(e)),e.onChangeColumnAlignment=e.onChangeColumnAlignment.bind(Object(Pr.a)(e)),e.getCellAlignment=e.getCellAlignment.bind(Object(Pr.a)(e)),e.state={initialRowCount:2,initialColumnCount:2,selectedCell:null},e}return Object(Qt.a)(n,[{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,r,n,c=this.props.setAttributes,o=this.state,a=o.initialRowCount,i=o.initialColumnCount;a=parseInt(a,10)||2,i=parseInt(i,10)||2,c((r=(t={rowCount:a,columnCount:i}).rowCount,n=t.columnCount,{body:Object(fe.times)(r,(function(){return{cells:Object(fe.times)(n,(function(){return{content:"",tag:"td"}}))}}))}))}},{key:"onChangeFixedLayout",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({hasFixedLayout:!t.hasFixedLayout})}},{key:"onChange",value:function(e){var t=this.state.selectedCell;if(t){var r=this.props,n=r.attributes;(0,r.setAttributes)(pu(n,t,(function(t){return yu({},t,{content:e})})))}}},{key:"onChangeColumnAlignment",value:function(e){var t=this.state.selectedCell;if(t){var r={type:"column",columnIndex:t.columnIndex},n=this.props,c=n.attributes;(0,n.setAttributes)(pu(c,r,(function(t){return yu({},t,{align:e})})))}}},{key:"getCellAlignment",value:function(){var e=this.state.selectedCell;if(e){var t,r,n,c,o,a,i=this.props.attributes;return t=i,n="align",c=(r=e).sectionName,o=r.rowIndex,a=r.columnIndex,Object(fe.get)(t,[c,o,"cells",a,n])}}},{key:"onToggleHeaderSection",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)(fu(t,"head"))}},{key:"onToggleFooterSection",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)(fu(t,"foot"))}},{key:"onInsertRow",value:function(e){var t=this.state.selectedCell;if(t){var r=this.props,n=r.attributes,c=r.setAttributes,o=t.sectionName,a=t.rowIndex;this.setState({selectedCell:null}),c(gu(n,{sectionName:o,rowIndex:a+e}))}}},{key:"onInsertRowBefore",value:function(){this.onInsertRow(0)}},{key:"onInsertRowAfter",value:function(){this.onInsertRow(1)}},{key:"onDeleteRow",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,r=t.attributes,n=t.setAttributes,c=e.sectionName,o=e.rowIndex;this.setState({selectedCell:null}),n(function(e,t){var r=t.sectionName,n=t.rowIndex;return Object(de.a)({},r,e[r].filter((function(e,t){return t!==n})))}(r,{sectionName:c,rowIndex:o}))}}},{key:"onInsertColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var r=this.props,n=r.attributes,c=r.setAttributes,o=t.columnIndex;this.setState({selectedCell:null}),c(hu(n,{columnIndex:o+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,r=t.attributes,n=t.setAttributes,c=e.sectionName,o=e.columnIndex;this.setState({selectedCell:null}),n(function(e,t){var r=t.columnIndex,n=Object(fe.pick)(e,["head","body","foot"]);return Object(fe.mapValues)(n,(function(e){return Ou(e)?e:e.map((function(e){return{cells:e.cells.length>=r?e.cells.filter((function(e,t){return t!==r})):e.cells}})).filter((function(e){return e.cells.length}))}))}(r,{sectionName:c,columnIndex:o}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:yu({},e,{type:"cell"})})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:ou,title:Object(Oe.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:au,title:Object(Oe.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:iu,title:Object(Oe.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:lu,title:Object(Oe.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:su,title:Object(Oe.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:uu,title:Object(Oe.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,r=e.name,n=e.rows;if(Ou(n))return null;var c="t".concat(r);return Object(ve.createElement)(c,null,n.map((function(e,n){var c=e.cells;return Object(ve.createElement)("tr",{key:n},c.map((function(e,c){var o=e.content,a=e.tag,i=e.scope,l=e.align,s={sectionName:r,rowIndex:n,columnIndex:c},u=_e()(Object(de.a)({},"has-text-align-".concat(l),l),"wp-block-table__cell-content"),b="";return"head"===r?b=Object(Oe.__)("Header label"):"foot"===r&&(b=Object(Oe.__)("Footer label")),Object(ve.createElement)(ge.RichText,{tagName:a,key:c,className:u,scope:"th"===a?i:void 0,value:o,onChange:t.onChange,unstableOnFocus:t.createOnFocus(s),placeholder:b})})))})))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this,t=this.props,r=t.attributes,n=t.className,c=t.backgroundColor,o=t.setBackgroundColor,a=t.setAttributes,i=this.state,l=i.initialRowCount,s=i.initialColumnCount,u=r.hasFixedLayout,b=r.caption,m=r.head,d=r.body,p=r.foot,g=Ou(m)&&Ou(d)&&Ou(p),h=this.renderSection;if(g)return Object(ve.createElement)(Te.Placeholder,{label:Object(Oe.__)("Table"),icon:Object(ve.createElement)(ge.BlockIcon,{icon:eu,showColors:!0}),instructions:Object(Oe.__)("Insert a table for sharing data.")},Object(ve.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:this.onCreateTable},Object(ve.createElement)(Te.TextControl,{type:"number",label:Object(Oe.__)("Column Count"),value:s,onChange:this.onChangeInitialColumnCount,min:"1",className:"blocks-table__placeholder-input"}),Object(ve.createElement)(Te.TextControl,{type:"number",label:Object(Oe.__)("Row Count"),value:l,onChange:this.onChangeInitialRowCount,min:"1",className:"blocks-table__placeholder-input"}),Object(ve.createElement)(Te.Button,{className:"blocks-table__placeholder-button",isPrimary:!0,type:"submit"},Object(Oe.__)("Create Table"))));var f=_e()(c.class,{"has-fixed-layout":u,"has-background":!!c.color});return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(Te.DropdownMenu,{hasArrowIndicator:!0,icon:bu,label:Object(Oe.__)("Edit table"),controls:this.getTableControls()})),Object(ve.createElement)(ge.AlignmentToolbar,{label:Object(Oe.__)("Change column alignment"),alignmentControls:ku,value:this.getCellAlignment(),onChange:function(t){return e.onChangeColumnAlignment(t)},onHover:this.onHoverAlignment})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Table settings"),className:"blocks-table-settings"},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Fixed width table cells"),checked:!!u,onChange:this.onChangeFixedLayout}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Header section"),checked:!(!m||!m.length),onChange:this.onToggleHeaderSection}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Footer section"),checked:!(!p||!p.length),onChange:this.onToggleFooterSection})),Object(ve.createElement)(ge.PanelColorSettings,{title:Object(Oe.__)("Color settings"),initialOpen:!1,colorSettings:[{value:c.color,onChange:o,label:Object(Oe.__)("Background color"),disableCustomColors:!0,colors:_u}]})),Object(ve.createElement)("figure",{className:n},Object(ve.createElement)("table",{className:f},Object(ve.createElement)(h,{name:"head",rows:m}),Object(ve.createElement)(h,{name:"body",rows:d}),Object(ve.createElement)(h,{name:"foot",rows:p})),Object(ve.createElement)(ge.RichText,{tagName:"figcaption",placeholder:Object(Oe.__)("Write caption…"),value:b,onChange:function(e){return a({caption:e})},unstableOnFocus:function(){return e.setState({selectedCell:null})}})))}}]),n}(ve.Component),xu=Cu("backgroundColor")(Eu);var Su=function(e){var t=e.phrasingContentSchema;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:t,attributes:["scope"]},td:{allowEmpty:!0,children:t}}}}},Pu={from:[{type:"raw",selector:"table",schema:function(e){return{table:{children:{thead:{allowEmpty:!0,children:Su(e)},tfoot:{allowEmpty:!0,children:Su(e)},tbody:{allowEmpty:!0,children:Su(e)}}}}}}]},Bu={name:"core/table",category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{align:!0}},Tu=Bu.name,Nu={title:Object(Oe.__)("Table"),description:Object(Oe.__)("Insert a table — perfect for sharing charts and data."),icon:eu,example:{attributes:{head:[{cells:[{content:Object(Oe.__)("Version"),tag:"th"},{content:Object(Oe.__)("Jazz Musician"),tag:"th"},{content:Object(Oe.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(Oe.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(Oe.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(Oe.__)("December 6, 2018"),tag:"td"}]}]}},styles:[{name:"regular",label:Object(Oe._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(Oe.__)("Stripes")}],transforms:Pu,edit:xu,save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,c=t.body,o=t.foot,a=t.backgroundColor,i=t.caption;if(!n.length&&!c.length&&!o.length)return null;var l=Object(ge.getColorClassName)("background-color",a),s=_e()(l,{"has-fixed-layout":r,"has-background":!!l}),u=!ge.RichText.isEmpty(i),b=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(ve.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(ve.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,c=e.scope,o=e.align,a=_e()(Object(de.a)({},"has-text-align-".concat(o),o));return Object(ve.createElement)(ge.RichText.Content,{className:a||void 0,"data-align":o,tagName:n,value:r,key:t,scope:"th"===n?c:void 0})})))})))};return Object(ve.createElement)("figure",null,Object(ve.createElement)("table",{className:""===s?void 0:s},Object(ve.createElement)(b,{type:"head",rows:n}),Object(ve.createElement)(b,{type:"body",rows:c}),Object(ve.createElement)(b,{type:"foot",rows:o})),u&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:i}))},deprecated:tu};var Ru={to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,r=e.columns,n=e.content,c=e.width;return Object(he.createBlock)("core/columns",{align:"wide"===c||"full"===c?c:void 0,className:t,columns:r},n.map((function(e){var t=e.children;return Object(he.createBlock)("core/column",{},[Object(he.createBlock)("core/paragraph",{content:t})])})))}}]},zu={name:"core/text-columns",icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},supports:{inserter:!1}},Mu=zu.name,Iu={title:Object(Oe.__)("Text Columns (deprecated)"),description:Object(Oe.__)("This block is deprecated. Please use the Columns block instead."),transforms:Ru,getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,c=t.width,o=t.content,a=t.columns;return Qs()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.BlockAlignmentToolbar,{value:c,onChange:function(e){return r({width:e})},controls:["center","wide","full"]})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,null,Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Columns"),value:a,onChange:function(e){return r({columns:e})},min:2,max:4,required:!0}))),Object(ve.createElement)("div",{className:"".concat(n," align").concat(c," columns-").concat(a)},Object(fe.times)(a,(function(e){return Object(ve.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(ve.createElement)(ge.RichText,{tagName:"p",value:Object(fe.get)(o,[e,"children"]),onChange:function(t){r({content:[].concat(Object(me.a)(o.slice(0,e)),[{children:t}],Object(me.a)(o.slice(e+1)))})},placeholder:Object(Oe.__)("New Column")}))}))))},save:function(e){var t=e.attributes,r=t.width,n=t.content,c=t.columns;return Object(ve.createElement)("div",{className:"align".concat(r," columns-").concat(c)},Object(fe.times)(c,(function(e){return Object(ve.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(ve.createElement)(ge.RichText.Content,{tagName:"p",value:Object(fe.get)(n,[e,"children"])}))})))}},Au=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})),Hu=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content;return Object(ve.createElement)(ge.RichText.Content,{tagName:"pre",style:{textAlign:r},value:n})}}];var Du={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(he.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(he.createBlock)("core/paragraph",e)}}]},Lu={name:"core/verse",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0},textAlign:{type:"string"}},supports:{lightBlockWrapper:!0}},Vu=Lu.name,Fu={title:Object(Oe.__)("Verse"),description:Object(Oe.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:Au,example:{attributes:{content:Object(Oe.__)("WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.")}},keywords:[Object(Oe.__)("poetry"),Object(Oe.__)("poem")],transforms:Du,deprecated:Hu,merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,c=e.mergeBlocks,o=t.textAlign,a=t.content;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.AlignmentToolbar,{value:o,onChange:function(e){r({textAlign:e})}})),Object(ve.createElement)(ge.RichText,{tagName:ge.__experimentalBlock.pre,identifier:"content",preserveWhiteSpace:!0,value:a,onChange:function(e){r({content:e})},placeholder:Object(Oe.__)("Write…"),className:_e()(n,Object(de.a)({},"has-text-align-".concat(o),o)),onMerge:c,textAlign:o}))},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content,c=_e()(Object(de.a)({},"has-text-align-".concat(r),r));return Object(ve.createElement)(ge.RichText.Content,{tagName:"pre",className:c,value:n})}},Uu=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})),Gu=function(e){var t=e.setAttributes,r=e.attributes,n=r.autoplay,c=r.controls,o=r.loop,a=r.muted,i=r.playsInline,l=r.preload,s=function(e){return function(r){t(Object(de.a)({},e,r))}};return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Autoplay"),onChange:s("autoplay"),checked:n,help:function(e){return e?Object(Oe.__)("Note: Autoplaying videos may cause usability issues for some visitors."):null}}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Loop"),onChange:s("loop"),checked:o}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Muted"),onChange:s("muted"),checked:a}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Playback controls"),onChange:s("controls"),checked:c}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Play inline"),onChange:s("playsInline"),checked:i}),Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Preload"),value:l,onChange:function(e){return t({preload:e})},options:[{value:"auto",label:Object(Oe.__)("Auto")},{value:"metadata",label:Object(Oe.__)("Metadata")},{value:"none",label:Object(Oe.__)("None")}]}))};function Wu(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var qu=["video"],Zu=["image"],Ku=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Wu()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).videoPlayer=Object(ve.createRef)(),e.posterImageButton=Object(ve.createRef)(),e.onSelectURL=e.onSelectURL.bind(Object(Pr.a)(e)),e.onSelectPoster=e.onSelectPoster.bind(Object(Pr.a)(e)),e.onRemovePoster=e.onRemovePoster.bind(Object(Pr.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,r=e.mediaUpload,n=e.noticeOperations,c=e.setAttributes,o=t.id,a=t.src,i=void 0===a?"":a;if(!o&&Object(Ze.isBlobURL)(i)){var l=Object(Ze.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(e){var t=Object(Be.a)(e,1)[0].url;c({src:t})},onError:function(e){n.createErrorNotice(e)},allowedTypes:qu})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"onSelectURL",value:function(e){var t=this.props,r=t.attributes,n=t.setAttributes;if(e!==r.src){var c=kt({attributes:{url:e}});if(void 0!==c)return void this.props.onReplace(c);n({src:e,id:void 0})}}},{key:"onSelectPoster",value:function(e){(0,this.props.setAttributes)({poster:e.url})}},{key:"onRemovePoster",value:function(){(0,this.props.setAttributes)({poster:""}),this.posterImageButton.current.focus()}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"render",value:function(){var e=this,t=this.props.attributes,r=t.id,n=t.caption,c=t.controls,o=t.poster,a=t.src,i=this.props,l=i.instanceId,s=i.isSelected,u=i.noticeUI,b=i.attributes,m=i.setAttributes,d=function(e){e&&e.url?m({src:e.url,id:e.id}):m({src:void 0,id:void 0})};if(!a)return Object(ve.createElement)(ge.__experimentalBlock.div,null,Object(ve.createElement)(ge.MediaPlaceholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:Uu}),onSelect:d,onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:qu,value:this.props.attributes,notices:u,onError:this.onUploadError}));var p="video-block__poster-image-description-".concat(l);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.MediaReplaceFlow,{mediaId:r,mediaURL:a,allowedTypes:qu,accept:"video/*",onSelect:d,onSelectURL:this.onSelectURL,onError:this.onUploadError})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Video settings")},Object(ve.createElement)(Gu,{setAttributes:m,attributes:b}),Object(ve.createElement)(ge.MediaUploadCheck,null,Object(ve.createElement)(Te.BaseControl,{className:"editor-video-poster-control"},Object(ve.createElement)(Te.BaseControl.VisualLabel,null,Object(Oe.__)("Poster image")),Object(ve.createElement)(ge.MediaUpload,{title:Object(Oe.__)("Select poster image"),onSelect:this.onSelectPoster,allowedTypes:Zu,render:function(t){var r=t.open;return Object(ve.createElement)(Te.Button,{isPrimary:!0,onClick:r,ref:e.posterImageButton,"aria-describedby":p},e.props.attributes.poster?Object(Oe.__)("Replace"):Object(Oe.__)("Select"))}}),Object(ve.createElement)("p",{id:p,hidden:!0},this.props.attributes.poster?Object(Oe.sprintf)(Object(Oe.__)("The current poster image url is %s"),this.props.attributes.poster):Object(Oe.__)("There is no poster image currently selected")),!!this.props.attributes.poster&&Object(ve.createElement)(Te.Button,{onClick:this.onRemovePoster,isTertiary:!0},Object(Oe.__)("Remove")))))),Object(ve.createElement)(ge.__experimentalBlock.figure,null,Object(ve.createElement)(Te.Disabled,null,Object(ve.createElement)("video",{controls:c,poster:o,src:a,ref:this.videoPlayer})),(!ge.RichText.isEmpty(n)||s)&&Object(ve.createElement)(ge.RichText,{tagName:"figcaption",placeholder:Object(Oe.__)("Write caption…"),value:n,onChange:function(e){return m({caption:e})},inlineToolbar:!0})))}}]),n}(ve.Component),Qu=Object(Ke.compose)([Object(Ne.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),Te.withNotices,Ke.withInstanceId])(Ku);var $u={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(he.createBlock)("core/video",{src:Object(Ze.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:function(e){var t=e.named,r=t.src,n=t.mp4,c=t.m4v,o=t.webm,a=t.ogv,i=t.flv;return r||n||c||o||a||i}},poster:{type:"string",shortcode:function(e){return e.named.poster}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},Ju={name:"core/video",category:"common",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},playsInline:{type:"boolean",source:"attribute",selector:"video",attribute:"playsinline"}},supports:{align:!0,lightBlockWrapper:!0}},Yu=Ju.name,Xu={title:Object(Oe.__)("Video"),description:Object(Oe.__)("Embed a video from your media library or upload a new one."),icon:Uu,keywords:[Object(Oe.__)("movie")],transforms:$u,edit:Qu,save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,c=t.controls,o=t.loop,a=t.muted,i=t.poster,l=t.preload,s=t.src,u=t.playsInline;return Object(ve.createElement)("figure",null,s&&Object(ve.createElement)("video",{autoPlay:r,controls:c,loop:o,muted:a,poster:i,preload:"metadata"!==l?l:void 0,src:s,playsInline:u}),!ge.RichText.isEmpty(n)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:n}))}},eb=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M20.1 11.2l-6.7-6.7c-.1-.1-.3-.2-.5-.2H5c-.4-.1-.8.3-.8.7v7.8c0 .2.1.4.2.5l6.7 6.7c.2.2.5.4.7.5s.6.2.9.2c.3 0 .6-.1.9-.2.3-.1.5-.3.8-.5l5.6-5.6c.4-.4.7-1 .7-1.6.1-.6-.2-1.2-.6-1.6zM19 13.4L13.4 19c-.1.1-.2.1-.3.2-.2.1-.4.1-.6 0-.1 0-.2-.1-.3-.2l-6.5-6.5V5.8h6.8l6.5 6.5c.2.2.2.4.2.6 0 .1 0 .3-.2.5zM9 8c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1z"}));function tb(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var rb=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(tb()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(Pr.a)(e)),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"getTaxonomyOptions",value:function(){var e=Object(fe.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(Oe.__)("- Select -"),value:"",disabled:!0},r=Object(fe.map)(e,(function(e){return{value:e.slug,label:e.name}}));return[t].concat(Object(me.a)(r))}},{key:"setTaxonomy",value:function(e){(0,this.props.setAttributes)({taxonomy:e})}},{key:"toggleShowTagCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showTagCounts:!t.showTagCounts})}},{key:"render",value:function(){var e=this.props.attributes,t=e.taxonomy,r=e.showTagCounts,n=this.getTaxonomyOptions(),c=Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Tag Cloud settings")},Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Taxonomy"),options:n,value:t,onChange:this.setTaxonomy}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Show post counts"),checked:r,onChange:this.toggleShowTagCounts})));return Object(ve.createElement)(ve.Fragment,null,c,Object(ve.createElement)(nn.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),n}(ve.Component),nb=Object(Ne.withSelect)((function(e){return{taxonomies:e("core").getTaxonomies()}}))(rb),cb={name:"core/tag-cloud",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},taxonomy:{type:"string",default:"post_tag"},showTagCounts:{type:"boolean",default:!1}},supports:{html:!1,align:!0}},ob=cb.name,ab={title:Object(Oe.__)("Tag Cloud"),description:Object(Oe.__)("A cloud of your most used tags."),icon:eb,example:{},edit:nb},ib=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z"}));function lb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function sb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lb(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ub(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var bb=window.wp;var mb=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(ub()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(e){var t;return Object(Kt.a)(this,n),(t=r.call(this,e)).initialize=t.initialize.bind(Object(Pr.a)(t)),t.onSetup=t.onSetup.bind(Object(Pr.a)(t)),t.focus=t.focus.bind(Object(Pr.a)(t)),t}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=window.wpEditorL10n.tinymce,t=e.baseURL,r=e.suffix;window.tinymce.EditorManager.overrideDefaults({base_url:t,suffix:r}),"complete"===document.readyState?this.initialize():window.addEventListener("DOMContentLoaded",this.initialize)}},{key:"componentWillUnmount",value:function(){window.addEventListener("DOMContentLoaded",this.initialize),bb.oldEditor.remove("editor-".concat(this.props.clientId))}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.clientId,n=t.attributes.content,c=window.tinymce.get("editor-".concat(r));e.attributes.content!==n&&c.setContent(n||"")}},{key:"initialize",value:function(){var e=this.props.clientId,t=window.wpEditorL10n.tinymce.settings;bb.oldEditor.initialize("editor-".concat(e),{tinymce:sb({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-".concat(e),setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t,r=this,n=this.props,c=n.attributes.content,o=n.setAttributes,a=this.ref;this.editor=e,c&&e.on("loadContent",(function(){return e.setContent(c)})),e.on("blur",(function(){return t=e.selection.getBookmark(2,!0),o({content:e.getContent()}),e.once("focus",(function(){t&&e.selection.moveToBookmark(t)})),!1})),e.on("mousedown touchstart",(function(){t=null})),e.on("keydown",(function(t){t.keyCode!==Nr.BACKSPACE&&t.keyCode!==Nr.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)||(r.props.onReplace([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===Nr.F10&&t.stopPropagation()})),e.addButton("kitchensink",{tooltip:Object(Oe._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(Oe.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",(function(){var e=r.editor.getBody();document.activeElement===e&&(e.blur(),r.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(ve.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(Oe.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(ve.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),n}(ve.Component);var db={name:"core/freeform",category:"formatting",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,reusable:!1}},pb=db.name,gb={title:Object(Oe._x)("Classic","block title"),description:Object(Oe.__)("Use the classic WordPress editor."),icon:ib,edit:mb,save:function(e){var t=e.attributes.content;return Object(ve.createElement)(ve.RawHTML,null,t)}},hb=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"})),fb=["core/social-link"],Ob=[["core/social-link",{service:"wordpress",url:"https://wordpress.org"}],["core/social-link",{service:"facebook"}],["core/social-link",{service:"twitter"}],["core/social-link",{service:"instagram"}],["core/social-link",{service:"linkedin"}],["core/social-link",{service:"youtube"}]],vb=function(){return Object(ve.createElement)(ge.InnerBlocks,{allowedBlocks:fb,templateLock:!1,template:Ob,__experimentalMoverDirection:"horizontal",__experimentalTagName:ge.__experimentalBlock.ul,__experimentalAppenderTagName:"li"})};var jb={name:"core/social-links",category:"widgets",supports:{align:["left","center","right"],lightBlockWrapper:!0}},yb=jb.name,wb={title:Object(Oe.__)("Social Icons"),description:Object(Oe.__)("Display icons linking to your social media profiles or websites."),keywords:[Object(Oe._x)("links","block keywords")],example:{innerBlocks:[{name:"core/social-link",attributes:{service:"wordpress",url:"https://wordpress.org"}},{name:"core/social-link",attributes:{service:"facebook",url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link",attributes:{service:"twitter",url:"https://twitter.com/WordPress"}}]},styles:[{name:"default",label:Object(Oe.__)("Default"),isDefault:!0},{name:"logos-only",label:Object(Oe.__)("Logos Only")},{name:"pill-shape",label:Object(Oe.__)("Pill Shape")}],icon:hb,edit:vb,save:function(e){var t=e.className;return Object(ve.createElement)("ul",{className:t},Object(ve.createElement)(ge.InnerBlocks.Content,null))}},_b=r(186),kb=function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M19.647,16.706a1.134,1.134,0,0,0-.343-.833l-2.549-2.549a1.134,1.134,0,0,0-.833-.343,1.168,1.168,0,0,0-.883.392l.233.226q.2.189.264.264a2.922,2.922,0,0,1,.184.233.986.986,0,0,1,.159.312,1.242,1.242,0,0,1,.043.337,1.172,1.172,0,0,1-1.176,1.176,1.237,1.237,0,0,1-.337-.043,1,1,0,0,1-.312-.159,2.76,2.76,0,0,1-.233-.184q-.073-.068-.264-.264l-.226-.233a1.19,1.19,0,0,0-.4.895,1.134,1.134,0,0,0,.343.833L15.837,19.3a1.13,1.13,0,0,0,.833.331,1.18,1.18,0,0,0,.833-.318l1.8-1.789a1.12,1.12,0,0,0,.343-.821Zm-8.615-8.64a1.134,1.134,0,0,0-.343-.833L8.163,4.7a1.134,1.134,0,0,0-.833-.343,1.184,1.184,0,0,0-.833.331L4.7,6.473a1.12,1.12,0,0,0-.343.821,1.134,1.134,0,0,0,.343.833l2.549,2.549a1.13,1.13,0,0,0,.833.331,1.184,1.184,0,0,0,.883-.38L8.728,10.4q-.2-.189-.264-.264A2.922,2.922,0,0,1,8.28,9.9a.986.986,0,0,1-.159-.312,1.242,1.242,0,0,1-.043-.337A1.172,1.172,0,0,1,9.254,8.079a1.237,1.237,0,0,1,.337.043,1,1,0,0,1,.312.159,2.761,2.761,0,0,1,.233.184q.073.068.264.264l.226.233a1.19,1.19,0,0,0,.4-.895ZM22,16.706a3.343,3.343,0,0,1-1.042,2.488l-1.8,1.789a3.536,3.536,0,0,1-4.988-.025l-2.525-2.537a3.384,3.384,0,0,1-1.017-2.488,3.448,3.448,0,0,1,1.078-2.561l-1.078-1.078a3.434,3.434,0,0,1-2.549,1.078,3.4,3.4,0,0,1-2.5-1.029L3.029,9.794A3.4,3.4,0,0,1,2,7.294,3.343,3.343,0,0,1,3.042,4.806l1.8-1.789A3.384,3.384,0,0,1,7.331,2a3.357,3.357,0,0,1,2.5,1.042l2.525,2.537a3.384,3.384,0,0,1,1.017,2.488,3.448,3.448,0,0,1-1.078,2.561l1.078,1.078a3.551,3.551,0,0,1,5.049-.049l2.549,2.549A3.4,3.4,0,0,1,22,16.706Z"}))},Cb=[{isDefault:!0,name:"wordpress",attributes:{service:"wordpress"},title:"WordPress",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z"}))}},{name:"fivehundredpx",attributes:{service:"fivehundredpx"},title:"500px",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z"}))}},{name:"amazon",attributes:{service:"amazon"},title:"Amazon",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z"}))}},{name:"bandcamp",attributes:{service:"bandcamp"},title:"Bandcamp",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289"}))}},{name:"behance",attributes:{service:"behance"},title:"Behance",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z"}))}},{name:"chain",attributes:{service:"chain"},title:"Link",icon:kb},{name:"codepen",attributes:{service:"codepen"},title:"CodePen",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z"}))}},{name:"deviantart",attributes:{service:"deviantart"},title:"DeviantArt",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z"}))}},{name:"dribbble",attributes:{service:"dribbble"},title:"Dribbble",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z"}))}},{name:"dropbox",attributes:{service:"dropbox"},title:"Dropbox",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z"}))}},{name:"etsy",attributes:{service:"etsy"},title:"Etsy",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z"}))}},{name:"facebook",attributes:{service:"facebook"},title:"Facebook",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"}))}},{name:"feed",attributes:{service:"feed"},title:"RSS Feed",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z"}))}},{name:"flickr",attributes:{service:"flickr"},title:"Flickr",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z"}))}},{name:"foursquare",attributes:{service:"foursquare"},title:"Foursquare",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z"}))}},{name:"goodreads",attributes:{service:"goodreads"},title:"Goodreads",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z"}))}},{name:"google",attributes:{service:"google"},title:"Google",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.8,3.85,1.48l2.84-2.76C16.99,2.99,14.73,2,12.03,2c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.77,0,9.6-4.06,9.6-9.77 c0-0.83-0.11-1.42-0.25-2.05H12.02z"}))}},{name:"github",attributes:{service:"github"},title:"GitHub",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"}))}},{name:"instagram",attributes:{service:"instagram"},title:"Instagram",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"}))}},{name:"lastfm",attributes:{service:"lastfm"},title:"Last.fm",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M10.5002,0 C4.7006,0 0,4.70109753 0,10.4998496 C0,16.2989526 4.7006,21 10.5002,21 C16.299,21 21,16.2989526 21,10.4998496 C21,4.70109753 16.299,0 10.5002,0 Z M14.69735,14.7204413 C13.3164,14.7151781 12.4346,14.0870017 11.83445,12.6859357 L11.6816001,12.3451305 L10.35405,9.31011397 C9.92709997,8.26875064 8.85260001,7.57120012 7.68010001,7.57120012 C6.06945001,7.57120012 4.75925001,8.88509738 4.75925001,10.5009524 C4.75925001,12.1164565 6.06945001,13.4303036 7.68010001,13.4303036 C8.77200001,13.4303036 9.76514999,12.827541 10.2719501,11.8567047 C10.2893,11.8235214 10.3239,11.8019673 10.36305,11.8038219 C10.4007,11.8053759 10.43535,11.8287847 10.4504,11.8631709 L10.98655,13.1045863 C11.0016,13.1389726 10.9956,13.17782 10.97225,13.2068931 C10.1605001,14.1995341 8.96020001,14.7683115 7.68010001,14.7683115 C5.33305,14.7683115 3.42340001,12.8535563 3.42340001,10.5009524 C3.42340001,8.14679459 5.33300001,6.23203946 7.68010001,6.23203946 C9.45720002,6.23203946 10.8909,7.19074535 11.6138,8.86359341 C11.6205501,8.88018505 12.3412,10.5707777 12.97445,12.0190621 C13.34865,12.8739575 13.64615,13.3959676 14.6288,13.4291508 C15.5663001,13.4612814 16.25375,12.9121534 16.25375,12.1484869 C16.25375,11.4691321 15.8320501,11.3003585 14.8803,10.98216 C13.2365,10.4397989 12.34495,9.88605929 12.34495,8.51817658 C12.34495,7.1809207 13.26665,6.31615054 14.692,6.31615054 C15.62875,6.31615054 16.3155,6.7286858 16.79215,7.5768142 C16.80495,7.60062396 16.8079001,7.62814302 16.8004001,7.65420843 C16.7929,7.68027384 16.7748,7.70212868 16.7507001,7.713808 L15.86145,8.16900031 C15.8178001,8.19200805 15.7643,8.17807308 15.73565,8.13847371 C15.43295,7.71345711 15.0956,7.52513451 14.6423,7.52513451 C14.05125,7.52513451 13.6220001,7.92899802 13.6220001,8.48649708 C13.6220001,9.17382194 14.1529001,9.34144259 15.0339,9.61923972 C15.14915,9.65578139 15.26955,9.69397731 15.39385,9.73432853 C16.7763,10.1865133 17.57675,10.7311301 17.57675,12.1836251 C17.57685,13.629654 16.3389,14.7204413 14.69735,14.7204413 Z"}))}},{name:"linkedin",attributes:{service:"linkedin"},title:"LinkedIn",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"}))}},{name:"mail",attributes:{service:"mail"},title:"Mail",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z"}))}},{name:"mastodon",attributes:{service:"mastodon"},title:"Mastodon",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z"}))}},{name:"meetup",attributes:{service:"meetup"},title:"Meetup",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z"}))}},{name:"medium",attributes:{service:"medium"},title:"Medium",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"}))}},{name:"pinterest",attributes:{service:"pinterest"},title:"Pinterest",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"}))}},{name:"pocket",attributes:{service:"pocket"},title:"Pocket",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z"}))}},{name:"reddit",attributes:{service:"reddit"},title:"Reddit",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M22,11.816c0-1.256-1.021-2.277-2.277-2.277c-0.593,0-1.122,0.24-1.526,0.614c-1.481-0.965-3.455-1.594-5.647-1.69 l1.171-3.702l3.18,0.748c0.008,1.028,0.846,1.862,1.876,1.862c1.035,0,1.877-0.842,1.877-1.878c0-1.035-0.842-1.877-1.877-1.877 c-0.769,0-1.431,0.466-1.72,1.13l-3.508-0.826c-0.203-0.047-0.399,0.067-0.46,0.261l-1.35,4.268 c-2.316,0.038-4.411,0.67-5.97,1.671C5.368,9.765,4.853,9.539,4.277,9.539C3.021,9.539,2,10.56,2,11.816 c0,0.814,0.433,1.523,1.078,1.925c-0.037,0.221-0.061,0.444-0.061,0.672c0,3.292,4.011,5.97,8.941,5.97s8.941-2.678,8.941-5.97 c0-0.214-0.02-0.424-0.053-0.632C21.533,13.39,22,12.661,22,11.816z M18.776,4.394c0.606,0,1.1,0.493,1.1,1.1s-0.493,1.1-1.1,1.1 s-1.1-0.494-1.1-1.1S18.169,4.394,18.776,4.394z M2.777,11.816c0-0.827,0.672-1.5,1.499-1.5c0.313,0,0.598,0.103,0.838,0.269 c-0.851,0.676-1.477,1.479-1.812,2.36C2.983,12.672,2.777,12.27,2.777,11.816z M11.959,19.606c-4.501,0-8.164-2.329-8.164-5.193 S7.457,9.22,11.959,9.22s8.164,2.329,8.164,5.193S16.46,19.606,11.959,19.606z M20.636,13.001c-0.326-0.89-0.948-1.701-1.797-2.384 c0.248-0.186,0.55-0.301,0.883-0.301c0.827,0,1.5,0.673,1.5,1.5C21.223,12.299,20.992,12.727,20.636,13.001z M8.996,14.704 c-0.76,0-1.397-0.616-1.397-1.376c0-0.76,0.637-1.397,1.397-1.397c0.76,0,1.376,0.637,1.376,1.397 C10.372,14.088,9.756,14.704,8.996,14.704z M16.401,13.328c0,0.76-0.616,1.376-1.376,1.376c-0.76,0-1.399-0.616-1.399-1.376 c0-0.76,0.639-1.397,1.399-1.397C15.785,11.931,16.401,12.568,16.401,13.328z M15.229,16.708c0.152,0.152,0.152,0.398,0,0.55 c-0.674,0.674-1.727,1.002-3.219,1.002c-0.004,0-0.007-0.002-0.011-0.002c-0.004,0-0.007,0.002-0.011,0.002 c-1.492,0-2.544-0.328-3.218-1.002c-0.152-0.152-0.152-0.398,0-0.55c0.152-0.152,0.399-0.151,0.55,0 c0.521,0.521,1.394,0.775,2.669,0.775c0.004,0,0.007,0.002,0.011,0.002c0.004,0,0.007-0.002,0.011-0.002 c1.275,0,2.148-0.253,2.669-0.775C14.831,16.556,15.078,16.556,15.229,16.708z"}))}},{name:"skype",attributes:{service:"skype"},title:"Skype",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"}))}},{name:"snapchat",attributes:{service:"snapchat"},title:"Snapchat",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z"}))}},{name:"soundcloud",attributes:{service:"soundcloud"},title:"SoundCloud",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M8.9,16.1L9,14L8.9,9.5c0-0.1,0-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.1L8.3,14l0.1,2.1 c0,0.1,0,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1C8.8,16.3,8.9,16.3,8.9,16.1z M11.4,15.9l0.1-1.8L11.4,9c0-0.1,0-0.2-0.1-0.2 c0,0-0.1,0-0.1,0s-0.1,0-0.1,0c-0.1,0-0.1,0.1-0.1,0.2l0,0.1l-0.1,5c0,0,0,0.7,0.1,2v0c0,0.1,0,0.1,0.1,0.1c0.1,0.1,0.1,0.1,0.2,0.1 c0.1,0,0.1,0,0.2-0.1c0.1,0,0.1-0.1,0.1-0.2L11.4,15.9z M2.4,12.9L2.5,14l-0.2,1.1c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0-0.1-0.1L2.1,14 l0.1-1.1C2.2,12.9,2.3,12.9,2.4,12.9C2.3,12.9,2.4,12.9,2.4,12.9z M3.1,12.2L3.3,14l-0.2,1.8c0,0.1,0,0.1-0.1,0.1 c-0.1,0-0.1,0-0.1-0.1L2.8,14L3,12.2C3,12.2,3,12.2,3.1,12.2C3.1,12.2,3.1,12.2,3.1,12.2z M3.9,11.9L4.1,14l-0.2,2.1 c0,0.1,0,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L3.5,14l0.2-2.1c0-0.1,0-0.1,0.1-0.1C3.9,11.8,3.9,11.8,3.9,11.9z M4.7,11.9L4.9,14 l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L4.3,14l0.2-2.2c0-0.1,0-0.1,0.1-0.1C4.7,11.7,4.7,11.8,4.7,11.9z M5.6,12 l0.2,2l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c0,0-0.1,0-0.1,0c0,0,0-0.1,0-0.1L5.1,14l0.2-2c0,0,0-0.1,0-0.1s0.1,0,0.1,0 C5.5,11.9,5.5,11.9,5.6,12L5.6,12z M6.4,10.7L6.6,14l-0.2,2.1c0,0,0,0.1,0,0.1c0,0-0.1,0-0.1,0c-0.1,0-0.1-0.1-0.2-0.2L5.9,14 l0.2-3.3c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0C6.4,10.7,6.4,10.7,6.4,10.7z M7.2,10l0.2,4.1l-0.2,2.1c0,0,0,0.1,0,0.1 c0,0-0.1,0-0.1,0c-0.1,0-0.2-0.1-0.2-0.2l-0.1-2.1L6.8,10c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0S7.2,9.9,7.2,10z M8,9.6L8.2,14 L8,16.1c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2L7.5,14l0.1-4.4c0-0.1,0-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1c0.1,0,0.1,0,0.1,0.1 C8,9.6,8,9.6,8,9.6z M11.4,16.1L11.4,16.1L11.4,16.1z M9.7,9.6L9.8,14l-0.1,2.1c0,0.1,0,0.1-0.1,0.2s-0.1,0.1-0.2,0.1 c-0.1,0-0.1,0-0.1-0.1s-0.1-0.1-0.1-0.2L9.2,14l0.1-4.4c0-0.1,0-0.1,0.1-0.2s0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S9.7,9.5,9.7,9.6 L9.7,9.6z M10.6,9.8l0.1,4.3l-0.1,2c0,0.1,0,0.1-0.1,0.2c0,0-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c0,0-0.1-0.1-0.1-0.2L10,14 l0.1-4.3c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S10.6,9.7,10.6,9.8z M12.4,14l-0.1,2c0,0.1,0,0.1-0.1,0.2 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2l-0.1-1l-0.1-1l0.1-5.5v0c0-0.1,0-0.2,0.1-0.2 c0.1,0,0.1-0.1,0.2-0.1c0,0,0.1,0,0.1,0c0.1,0,0.1,0.1,0.1,0.2L12.4,14z M22.1,13.9c0,0.7-0.2,1.3-0.7,1.7c-0.5,0.5-1.1,0.7-1.7,0.7 h-6.8c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2V8.2c0-0.1,0.1-0.2,0.2-0.3c0.5-0.2,1-0.3,1.6-0.3c1.1,0,2.1,0.4,2.9,1.1 c0.8,0.8,1.3,1.7,1.4,2.8c0.3-0.1,0.6-0.2,1-0.2c0.7,0,1.3,0.2,1.7,0.7C21.8,12.6,22.1,13.2,22.1,13.9L22.1,13.9z"}))}},{name:"spotify",attributes:{service:"spotify"},title:"Spotify",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"}))}},{name:"tumblr",attributes:{service:"tumblr"},title:"Tumblr",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z"}))}},{name:"twitch",attributes:{service:"twitch"},title:"Twitch",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"}))}},{name:"twitter",attributes:{service:"twitter"},title:"Twitter",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"}))}},{name:"vimeo",attributes:{service:"vimeo"},title:"Vimeo",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z"}))}},{name:"vk",attributes:{service:"vk"},title:"VK",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z"}))}},{name:"yelp",attributes:{service:"yelp"},title:"Yelp",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"}))}},{name:"youtube",attributes:{service:"youtube"},title:"YouTube",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"}))}}],Eb=function(e){var t,r,n=e.attributes,c=e.setAttributes,o=e.isSelected,a=n.url,i=n.service,l=n.label,s=Object(ve.useState)(!1),u=Object(Be.a)(s,2),b=u[0],m=u[1],d=_e()("wp-social-link","wp-social-link-"+i,{"wp-social-link__is-incomplete":!a}),p=(t=i,(r=Object(fe.find)(Cb,{name:t}))?r.icon:kb),g=function(e){var t=Object(fe.find)(Cb,{name:e});return t?t.title:Object(Oe.__)("Social Icon")}(i);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.sprintf)(Object(Oe.__)("%s label"),g),initialOpen:!1},Object(ve.createElement)(Te.PanelRow,null,Object(ve.createElement)(Te.TextControl,{label:Object(Oe.__)("Link label"),help:Object(Oe.__)("Briefly describe the link to help screen reader users."),value:l,onChange:function(e){return c({label:e})}})))),Object(ve.createElement)(ge.__experimentalBlock.li,{className:d},Object(ve.createElement)(Te.Button,{onClick:function(){return m(!0)}},Object(ve.createElement)(p,null),o&&b&&Object(ve.createElement)(ge.URLPopover,{onClose:function(){return m(!1)}},Object(ve.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:function(e){e.preventDefault(),m(!1)}},Object(ve.createElement)("div",{className:"block-editor-url-input"},Object(ve.createElement)(ge.URLInput,{value:a,onChange:function(e){return c({url:e})},placeholder:Object(Oe.__)("Enter address"),disableSuggestions:!0})),Object(ve.createElement)(Te.Button,{icon:_b.a,label:Object(Oe.__)("Apply"),type:"submit"}))))))},xb={name:"core/social-link",category:"widgets",parent:["core/social-links"],attributes:{url:{type:"string"},service:{type:"string"},label:{type:"string"}},supports:{reusable:!1,html:!1,lightBlockWrapper:!0}},Sb=xb.name,Pb={title:Object(Oe.__)("Social Icon"),icon:hb,edit:Eb,description:Object(Oe.__)("Display an icon linking to a social media profile or website."),variations:Cb};function Bb(){var e=Object(pe.useEntityBlockEditor)("root","widgetArea"),t=Object(Be.a)(e,3),r=t[0],n=t[1],c=t[2];return Object(ve.createElement)(ge.InnerBlocks,{value:r,onInput:n,onChange:c,templateLock:!1,renderAppender:ge.InnerBlocks.ButtonBlockAppender})}var Tb={name:"core/widget-area",category:"widgets",attributes:{id:{type:"string"},name:{type:"string"}},supports:{html:!1,inserter:!1,customClassName:!1}},Nb=Tb.name,Rb={title:Object(Oe.__)("Widget Area"),description:Object(Oe.__)("A widget area container."),__experimentalLabel:function(e){return e.name},edit:function(e){var t=e.clientId,r=e.className,n=e.attributes,c=n.id,o=n.name,a=Object(Ne.useSelect)((function(e){return e("core/block-editor").getBlockIndex(t)}),[t]);return Object(ve.createElement)(Te.Panel,{className:r},Object(ve.createElement)(Te.PanelBody,{title:o,initialOpen:0===a},Object(ve.createElement)(pe.EntityProvider,{kind:"root",type:"widgetArea",id:c},Object(ve.createElement)(Bb,null))))}};var zb={name:"core/site-title",category:"layout",attributes:{level:{type:"number",default:1}},supports:{html:!1,lightBlockWrapper:!0}},Mb=zb.name,Ib={title:Object(Oe.__)("Site Title"),icon:Xa,edit:function(){var e=Object(pe.useEntityProp)("root","site","title"),t=Object(Be.a)(e,2),r=t[0],n=t[1];return Object(ve.createElement)(ge.PlainText,{__experimentalVersion:2,tagName:ge.__experimentalBlock.h1,placeholder:Object(Oe.__)("Site Title"),value:r,onChange:n,disableLineBreaks:!0})}};function Ab(e,t,r){return Object(Ne.useSelect)((function(n){if(e)return n("core").getEntityRecord("postType","wp_template_part",e)&&e;if(t&&r){var c=n("core").getEntityRecords("postType","wp_template_part",{status:["publish","auto-draft"],slug:t,theme:r}),o=null==c?void 0:c.filter((function(e){return e.slug===t&&e.meta&&e.meta.theme===r})),a=(null==o?void 0:o.find((function(e){return"publish"===e.status})))||(null==o?void 0:o.find((function(e){return"auto-draft"===e.status})));return null==a?void 0:a.id}}),[e,t,r])}function Hb(){var e=Object(pe.useEntityBlockEditor)("postType","wp_template_part",{initialEdits:{status:"publish"}}),t=Object(Be.a)(e,3),r=t[0],n=t[1],c=t[2];return Object(ve.createElement)(ge.InnerBlocks,{value:r,onInput:n,onChange:c})}var Db=r(184);function Lb(){var e=Object(pe.useEntityBlockEditor)("postType","wp_template_part"),t=Object(Be.a)(e,1)[0];return Object(ve.createElement)("div",{className:"wp-block-template-part__placeholder-preview"},Object(ve.createElement)("div",{className:"wp-block-template-part__placeholder-preview-title"},Object(Oe.__)("Preview")),Object(ve.createElement)(ge.BlockPreview,{blocks:t,viewportWidth:1200}))}function Vb(e){var t=e.setAttributes,r=Object(ve.useState)(""),n=Object(Be.a)(r,2),c=n[0],o=n[1],a=Object(ve.useState)(""),i=Object(Be.a)(a,2),l=i[0],s=i[1],u=Object(ve.useState)(),b=Object(Be.a)(u,2),m=b[0],d=b[1],p=Ab(null,c,l),g=Object(Ne.useSelect)((function(e){if(p)return e("core").getEntityRecord("postType","wp_template_part",p)?Object(ve.createElement)(pe.EntityProvider,{kind:"postType",type:"wp_template_part",id:p},Object(ve.createElement)(Lb,null)):void 0}),[p]),h=Object(ve.useCallback)((function(e){o(e),d(Object(Qe.cleanForSlug)(e))}),[]),f=Object(Ne.useDispatch)("core").saveEntityRecord,O=Object(ve.useCallback)(Object(ri.a)(ti.a.mark((function e(){var r,n,o;return ti.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r={slug:c,theme:l},null==p){e.next=5;break}r.postId=p,e.next=16;break;case 5:return e.prev=5,n=Object(Qe.cleanForSlug)(c),e.next=9,f("postType","wp_template_part",{title:n,status:"publish",slug:n,meta:{theme:l}});case 9:o=e.sent,r.postId=o.id,e.next=16;break;case 13:e.prev=13,e.t0=e.catch(5),d(Object(Oe.__)("Error adding template."));case 16:t(r);case 17:case"end":return e.stop()}}),e,null,[[5,13]])}))),[p,c,l]);return Object(ve.createElement)(Te.Placeholder,{icon:Db.a,label:Object(Oe.__)("Template Part"),instructions:Object(Oe.__)("Choose a template part by slug and theme, or create a new one.")},Object(ve.createElement)("div",{className:"wp-block-template-part__placeholder-input-container"},Object(ve.createElement)(Te.TextControl,{label:Object(Oe.__)("Slug"),placeholder:Object(Oe.__)("header"),value:c,onChange:h,help:m,className:"wp-block-template-part__placeholder-input"}),Object(ve.createElement)(Te.TextControl,{label:Object(Oe.__)("Theme"),placeholder:Object(Oe.__)("twentytwenty"),value:l,onChange:s,className:"wp-block-template-part__placeholder-input"})),g,Object(ve.createElement)(Te.Button,{isPrimary:!0,disabled:!c||!l,onClick:O},p?Object(Oe.__)("Choose"):Object(Oe.__)("Create")))}var Fb={name:"core/template-part",category:"layout",attributes:{postId:{type:"number"},slug:{type:"string"},theme:{type:"string"}},supports:{html:!1}},Ub=Fb.name,Gb={title:Object(Oe.__)("Template Part"),__experimentalLabel:function(e){var t=e.slug;return Object(fe.startCase)(t)},edit:function(e){var t=e.attributes,r=t.postId,n=t.slug,c=t.theme,o=e.setAttributes,a=Object(ve.useRef)(r),i=Object(ve.useRef)(n),l=Object(ve.useRef)(c),s=Ab(r,n,c);return Object(ve.useEffect)((function(){void 0!==a.current&&null!==a.current||null==s||o({postId:s})}),[s]),s?Object(ve.createElement)(pe.EntityProvider,{kind:"postType",type:"wp_template_part",id:s},Object(ve.createElement)(Hb,null)):i.current||l.current?null:Object(ve.createElement)(Vb,{setAttributes:o})}};function Wb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wb(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Zb(e){var t=e.query,r=e.setQuery,n=Object(Ne.useSelect)((function(e){var t=e("core").getEntityRecords("taxonomy","category");return qb({categories:t},null==t?void 0:t.reduce((function(e,t){return{categoriesMapById:qb({},e.categoriesMapById,Object(de.a)({},t.id,t)),categoriesMapByName:qb({},e.categoriesMapByName,Object(de.a)({},t.name,t))}}),{categoriesMapById:{},categoriesMapByName:{}}))}),[]),c=n.categories,o=n.categoriesMapById,a=n.categoriesMapByName;return Object(ve.createElement)(Te.Toolbar,null,Object(ve.createElement)(Te.Dropdown,{renderToggle:function(e){var t=e.onToggle;return Object(ve.createElement)(Te.ToolbarButton,{icon:Oi,label:Object(Oe.__)("Query"),onClick:t})},renderContent:function(){return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Posts per Page"),min:1,allowReset:!0,value:t.perPage,onChange:function(e){return r({perPage:null!=e?e:-1})}}),Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Number of Pages"),min:1,allowReset:!0,value:t.pages,onChange:function(e){return r({pages:null!=e?e:-1})}}),Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Offset"),min:0,allowReset:!0,value:t.offset,onChange:function(e){return r({offset:null!=e?e:0})}}),c&&Object(ve.createElement)(Te.FormTokenField,{label:Object(Oe.__)("Categories"),value:t.categoryIds.map((function(e){return{id:e,value:o[e].name}})),suggestions:c.map((function(e){return e.name})),onChange:function(e){var t=e.map((function(e){var t;return null===(t=a[e])||void 0===t?void 0:t.id}));t.includes(void 0)||r({categoryIds:t})}}))}}))}function Kb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Qb=Object(ve.createContext)();function $b(e){var t=e.children,r=Object(ve.useState)({page:1}),n=Object(Be.a)(r,2),c=n[0],o=n[1];return Object(ve.createElement)(Qb.Provider,{value:Object(ve.useMemo)((function(){return[c,function(e){return o((function(t){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Kb(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{},e)}))}]}),[c])},t)}function Jb(){return Object(ve.useContext)(Qb)}function Yb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Yb(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var em=[["core/query-loop"],["core/query-pagination"]];var tm={name:"core/query",category:"layout",attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:3,pages:1,offset:0,categoryIds:[]}}},providesContext:{queryId:"queryId",query:"query"},supports:{html:!1}},rm=tm.name,nm={title:Object(Oe.__)("Query"),edit:function e(t){var r=t.attributes,n=r.queryId,c=r.query,o=t.setAttributes,a=Object(Ke.useInstanceId)(e);return Object(ve.useEffect)((function(){n||o({queryId:a})}),[n,a]),Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Zb,{query:c,setQuery:function(e){return o({query:Xb({},c,{},e)})}})),Object(ve.createElement)($b,null,Object(ve.createElement)(ge.InnerBlocks,{template:em})))},save:function(){return Object(ve.createElement)(ge.InnerBlocks.Content,null)}},cm=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"})),om=[["core/post-title"],["core/post-content"]];var am={name:"core/query-loop",category:"layout",context:["queryId","query","queryContext"],supports:{reusable:!1,html:!1}},im=am.name,lm={title:Object(Oe.__)("Query Loop"),icon:cm,edit:function(e){var t=e.clientId,r=e.context,n=r.query,c=n.perPage,o=n.offset,a=n.categoryIds,i=r.queryContext,l=Jb()||i,s=Object(Be.a)(l,1)[0].page,u=Object(ve.useState)(),b=Object(Be.a)(u,2),m=b[0],d=b[1],p=Object(Ne.useSelect)((function(e){var r={offset:c?c*(s-1)+o:0,categories:a};return c&&(r.per_page=c),{posts:e("core").getEntityRecords("postType","post",r),blocks:e("core/block-editor").getBlocks(t)}}),[c,s,o,a,t]),g=p.posts,h=p.blocks,f=Object(ve.useMemo)((function(){return null==g?void 0:g.map((function(e){return{postType:e.type,postId:e.id}}))}),[g]);return f?f.map((function(e){return Object(ve.createElement)(ge.BlockContextProvider,{key:e.postId,value:e},e===(m||f[0])?Object(ve.createElement)(ge.InnerBlocks,{template:om}):Object(ve.createElement)(ge.BlockPreview,{blocks:h,__experimentalLive:!0,__experimentalOnClick:function(){return d(e)}}))})):null},save:function(){return Object(ve.createElement)(ge.InnerBlocks.Content,null)}};var sm={name:"core/query-pagination",category:"layout",context:["queryId","query","queryContext"],supports:{reusable:!1,html:!1}},um=sm.name,bm={title:Object(Oe.__)("Query Pagination"),edit:function(e){var t,r,n=e.context,c=n.query.pages,o=void 0===c?1:c,a=n.queryContext,i=Jb()||a,l=Object(Be.a)(i,2),s=l[0].page,u=l[1];return s>1&&(t=Object(ve.createElement)(Te.Button,{isPrimary:!0,icon:Rr,onClick:function(){return u({page:s-1})}},Object(Oe.__)("Previous"))),s<o&&(r=Object(ve.createElement)(Te.Button,{isPrimary:!0,icon:zr,onClick:function(){return u({page:s+1})}},Object(Oe.__)("Next"))),t||r?Object(ve.createElement)(Te.ButtonGroup,null,t,r):Object(Oe.__)("No pages to paginate.")}},mm=Object(ve.createElement)(je.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M5 4v3h5.5v12h3V7H19V4H5z"}));var dm={name:"core/post-title",category:"layout",context:["postId","postType"],supports:{html:!1}},pm=dm.name,gm={title:Object(Oe.__)("Post Title"),icon:mm,edit:function(e){var t=e.context,r=t.postType,n=t.postId,c=Object(Ne.useSelect)((function(e){return e("core").getEditedEntityRecord("postType",r,n)}),[r,n]);return c?Object(ve.createElement)("h2",null,c.title):null}},hm=Object(ve.createElement)(je.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M3 15h18v-2H3v2zm0 4h18v-2H3v2zm0-8h18V9H3v2zm0-6v2h18V5H3z"}));function fm(e){var t=e.postType,r=e.postId,n=Object(pe.useEntityBlockEditor)("postType",t,{id:r}),c=Object(Be.a)(n,3),o=c[0],a=c[1],i=c[2];return Object(ve.createElement)(ge.InnerBlocks,{value:o,onInput:a,onChange:i})}var Om={name:"core/post-content",category:"layout",context:["postId","postType"],supports:{html:!1}},vm=Om.name,jm={title:Object(Oe.__)("Post Content"),icon:hm,edit:function(e){var t=e.context,r=t.postId,n=t.postType;return r&&n?Object(ve.createElement)(fm,{postType:n,postId:r}):Object(ve.createElement)("p",null,Object(Oe.__)("This is a placeholder for post content."))}};var ym=Object(ge.withFontSizes)("fontSize")((function(e){var t=e.isSelected,r=e.fontSize,n=e.setFontSize,c=e.context,o=e.attributes,a=e.setAttributes,i=c.postType,l=c.postId,s=Object(Ne.useSelect)((function(e){var t,r=e("core"),n=r.getEditedEntityRecord,c=r.getUser,o=r.getAuthors,a=null===(t=n("postType",i,l))||void 0===t?void 0:t.author;return{authorId:a,authorDetails:a?c(a):null,authors:o()}}),[i,l]),u=s.authorId,b=s.authorDetails,m=s.authors,d=Object(Ne.useDispatch)("core").editEntityRecord,p=Object(ve.useRef)(),g=Object(ge.__experimentalUseColors)([{name:"textColor",property:"color"},{name:"backgroundColor",className:"background-color"}],{contrastCheckers:[{backgroundColor:!0,textColor:!0,fontSize:r.size}],colorDetector:{targetRef:p},colorPanelProps:{initialOpen:!0}},[r.size]),h=g.TextColor,f=g.BackgroundColor,O=g.InspectorControlsColorPanel,v=g.ColorPanel,j=o.align,y=o.showAvatar,w=o.showBio,_=o.byline,k=[];b&&Object(fe.forEach)(b.avatar_urls,(function(e,t){k.push({value:t,label:"".concat(t," x ").concat(t)})}));var C=24;o.avatarSize&&(C=o.avatarSize);var E=_e()("wp-block-post-author",Object(de.a)({},r.class,r.class)),x={fontSize:r.size?r.size+"px":void 0};return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Author Settings")},Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Author"),value:u,options:m.map((function(e){return{value:e.id,label:e.name}})),onChange:function(e){d("postType",i,l,{author:e})}}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Show avatar"),checked:y,onChange:function(){return a({showAvatar:!y})}}),y&&Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Avatar size"),value:o.avatarSize,options:k,onChange:function(e){a({avatarSize:Number(e)})}}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Show bio"),checked:w,onChange:function(){return a({showBio:!w})}})),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Text settings")},Object(ve.createElement)(ge.FontSizePicker,{value:r.size,onChange:n}))),O,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.AlignmentToolbar,{value:j,onChange:function(e){a({align:e})}}),Object(ve.createElement)(ge.BlockColorsStyleSelector,{TextColor:h,BackgroundColor:f},v)),Object(ve.createElement)(h,null,Object(ve.createElement)(f,null,Object(ve.createElement)("div",{ref:p,className:_e()(E,Object(de.a)({},"has-text-align-".concat(j),j)),style:x},y&&b&&Object(ve.createElement)("div",{className:"wp-block-post-author__avatar"},Object(ve.createElement)("img",{width:C,src:b.avatar_urls[C],alt:b.name})),Object(ve.createElement)("div",{className:"wp-block-post-author__content"},(!ge.RichText.isEmpty(_)||t)&&Object(ve.createElement)(ge.RichText,{className:"wp-block-post-author__byline",multiline:!1,placeholder:Object(Oe.__)("Write byline …"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/strikethrough"],value:_,onChange:function(e){return a({byline:e})}}),Object(ve.createElement)("p",{className:"wp-block-post-author__name"},null==b?void 0:b.name),w&&Object(ve.createElement)("p",{className:"wp-block-post-author__bio"},null==b?void 0:b.description))))))})),wm=Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M5.8 11c0-.7.6-1.2 1.2-1.2h4c.7 0 1.2.6 1.2 1.2v1h1.5v-1c0-1.5-1.2-2.8-2.8-2.8H7c-1.5 0-2.8 1.2-2.8 2.8v1h1.5v-1zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zM9 7c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"})),_m={name:"core/post-author",category:"layout",attributes:{align:{type:"string"},avatarSize:{type:"number"},showAvatar:{type:"boolean"},showBio:{type:"boolean"},byline:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},context:["postType","postId"],supports:{html:!1}},km=_m.name,Cm={title:Object(Oe.__)("Post Author"),icon:wm,edit:ym};function Em(e){var t=e.postId;return Object(Ne.useSelect)((function(e){var r=e("core").getEntityRecords("root","comment",{post:t});return r&&r.length?r.map((function(e){return Object(ve.createElement)("p",{key:e.id},e.content.raw)})):Object(Oe.__)("No comments.")}),[t])}var xm={name:"core/post-comments",category:"layout",context:["postId"]},Sm=xm.name,Pm={title:Object(Oe.__)("Post Comments"),edit:function(){var e=Object(pe.useEntityId)("postType","post");return e?Object(ve.createElement)(Em,{postId:e}):"Post Comments Placeholder"}};function Bm(e){var t=e.className,r=Object(pe.useEntityId)("postType","post"),n=Object(ve.useState)(),c=Object(Be.a)(n,2),o=c[0],a=c[1];return Object(ve.useEffect)((function(){var e=r;_i()({path:Object(Qe.addQueryArgs)("/wp/v2/comments",{post:r}),parse:!1}).then((function(t){e===r&&a(t.headers.get("X-WP-Total"))}))}),[r]),Object(ve.createElement)("span",{className:t},void 0!==o&&o)}var Tm={name:"core/post-comments-count",category:"layout",context:["postId"],supports:{html:!1}},Nm=Tm.name,Rm={title:Object(Oe.__)("Post Comments Count"),edit:function(e){var t=e.className;return Object(pe.useEntityId)("postType","post")?Object(ve.createElement)(Bm,{className:t}):"Post Comments Count Placeholder"}};var zm={name:"core/post-comments-form",category:"layout",context:["postId"],supports:{html:!1}},Mm=zm.name,Im={title:Object(Oe.__)("Post Comments Form"),edit:function(){return"Post Comments Form Placeholder"}};function Am(e){var t=e.format,r=e.setAttributes,n=Object(pe.useEntityProp)("root","site","date_format"),c=Object(Be.a)(n,1)[0],o=Object(pe.useEntityProp)("postType","post","date"),a=Object(Be.a)(o,2),i=a[0],l=a[1],s=Object(ve.useState)(!1),u=Object(Be.a)(s,2),b=u[0],m=u[1],d=Object(ki.__experimentalGetSettings)(),p=/a(?!\\)/i.test(d.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join("")),g=Object.values(d.formats).map((function(e){return{key:e,name:Object(ki.dateI18n)(e,i)}})),h=t||c||d.formats.date;return i?Object(ve.createElement)("time",{dateTime:Object(ki.dateI18n)("c",i)},Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(Te.ToolbarButton,{icon:"edit",title:Object(Oe.__)("Change Date"),onClick:function(){return m((function(e){return!e}))}}))),Object(ki.dateI18n)(h,i),b&&Object(ve.createElement)(Te.Popover,{onClose:m.bind(null,!1)},Object(ve.createElement)(Te.DateTimePicker,{currentDate:i,onChange:l,is12Hour:p})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Format settings")},Object(ve.createElement)(Te.CustomSelectControl,{hideLabelFromVision:!0,label:Object(Oe.__)("Date Format"),options:g,onChange:function(e){var t=e.selectedItem;return r({format:t.key})},value:g.find((function(e){return e.key===h}))})))):Object(Oe.__)("No Date")}var Hm={name:"core/post-date",category:"layout",attributes:{format:{type:"string"}},context:["postId"],supports:{html:!1}},Dm=Hm.name,Lm={title:Object(Oe.__)("Post Date"),edit:function(e){var t=e.attributes.format,r=e.setAttributes;return Object(pe.useEntityId)("postType","post")?Object(ve.createElement)(Am,{format:t,setAttributes:r}):Object(ve.createElement)("p",null,"Jan 1st, 1440")}};function Vm(e){var t=e.attributes,r=t.wordCount,n=t.moreText,c=t.showMoreOnNewLine,o=e.setAttributes,a=e.isSelected,i=Object(pe.useEntityProp)("postType","post","excerpt"),l=Object(Be.a)(i,2),s=l[0],u=l[1],b=function(e){var t=Object(pe.useEntityProp)("postType","post","content"),r=Object(Be.a)(t,3)[2].raw;return Object(ve.useMemo)((function(){if(!r)return"";var t=document.createElement("div");return t.innerHTML=r,(t.textContent||t.innerText||"").trim().split(" ",e).join(" ")}),[r,e])}(r);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Post Excerpt Settings")},!s&&Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Max words"),value:r,onChange:function(e){return o({wordCount:e})},min:10,max:100}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Show link on new line"),checked:c,onChange:function(e){return o({showMoreOnNewLine:e})}}))),Object(ve.createElement)(ge.RichText,{className:!c&&"wp-block-post-excerpt__excerpt is-inline",placeholder:b,value:s||(a?"":b),onChange:u,keepPlaceholderOnFocus:!0}),!c&&" ",c?Object(ve.createElement)("p",null,Object(ve.createElement)(ge.RichText,{tagName:"a",placeholder:Object(Oe.__)("Read more…"),value:n,onChange:function(e){return o({moreText:e})}})):Object(ve.createElement)(ge.RichText,{tagName:"a",placeholder:Object(Oe.__)("Read more…"),value:n,onChange:function(e){return o({moreText:e})}}))}var Fm={name:"core/post-excerpt",category:"layout",attributes:{wordCount:{type:"number",default:55},moreText:{type:"string"},showMoreOnNewLine:{type:"boolean",default:!0}},context:["postId"],supports:{html:!1}},Um=Fm.name,Gm={title:Object(Oe.__)("Post Excerpt"),edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.isSelected;return Object(pe.useEntityId)("postType","post")?Object(ve.createElement)(Vm,{attributes:t,setAttributes:r,isSelected:n}):"Post Excerpt Placeholder"}};function Wm(){var e=Object(pe.useEntityProp)("postType","post","featured_media"),t=Object(Be.a)(e,1)[0],r=Object(Ne.useSelect)((function(e){return t&&e("core").getMedia(t)}),[t]);return r?Object(ve.createElement)(Te.ResponsiveWrapper,{naturalWidth:r.media_details.width,naturalHeight:r.media_details.height},Object(ve.createElement)("img",{src:r.source_url,alt:"Post Featured Media"})):null}var qm={name:"core/post-featured-image",category:"layout",context:["postId"],supports:{html:!1}},Zm=qm.name,Km={title:Object(Oe.__)("Post Featured Image"),edit:function(){return Object(pe.useEntityId)("postType","post")?Object(ve.createElement)(Wm,null):"Post Featured Image Placeholder"}};function Qm(){var e=Object(pe.useEntityProp)("postType","post","tags"),t=Object(Be.a)(e,1)[0],r=Object(Ne.useSelect)((function(e){var r=e("core").getEntityRecord,n=!0,c=t.map((function(e){var t=r("taxonomy","post_tag",e);return t?Object(ve.createElement)("a",{key:e,href:t.link},t.name):n=!1}));return n&&c}),[t]);return r&&(0===r.length?Object(Oe.__)("No tags."):r.reduce((function(e,t){return[e," | ",t]})))}var $m={name:"core/post-tags",category:"layout",context:["postId"],supports:{html:!1}},Jm=$m.name,Ym={title:Object(Oe.__)("Post Tags"),edit:function(){return Object(pe.useEntityId)("postType","post")?Object(ve.createElement)(Qm,null):"Post Tags Placeholder"}},Xm=function(e){if(e){var t=e.metadata,r=e.settings,n=e.name;t&&Object(he.unstable__bootstrapServerSideBlockDefinitions)(Object(de.a)({},n,t)),Object(he.registerBlockType)(n,r)}},ed=function(){[n,c,o,i,S,a,D,l,s,u,b,m,d,p,g,h,f,O].concat(Object(me.a)(Qo),Object(me.a)($o),[v,A,window.wp&&window.wp.oldEditor?Z:null,j,y,C,E,P,B,T,N,R,M,I,H,z,K,Q,L,V,F,q,U,G,W]).forEach(Xm),Object(he.setDefaultBlockName)(Ve),window.wp&&window.wp.oldEditor&&Object(he.setFreeformContentHandlerName)(pb),Object(he.setUnregisteredTypeHandlerName)(kl),Object(he.setGroupingBlockName)(xs)},td=function(e){var t=e.__experimentalEnableLegacyWidgetBlock,r=e.__experimentalEnableFullSiteEditing;[$,t?x:null,_,k].concat(Object(me.a)(r?[J,Y,X,ee,te,re,ne,ce,oe,ae,ie,le,se,ue,be]:[])).forEach(Xm)}},37:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,"a",(function(){return n}))},38:function(e,t){!function(){e.exports=this.wp.apiFetch}()},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t){!function(){e.exports=this.wp.deprecated}()},41:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,c={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(c[r]=e[r]);return c}r.d(t,"a",(function(){return n}))},42:function(e,t,r){"use strict";function n(e,t,r,n,c,o,a){try{var i=e[o](a),l=i.value}catch(e){return void r(e)}i.done?t(l):Promise.resolve(l).then(n,c)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(c,o){var a=e.apply(t,r);function i(e){n(a,c,o,i,l,"next",e)}function l(e){n(a,c,o,i,l,"throw",e)}i(void 0)}))}}r.d(t,"a",(function(){return c}))},43:function(e,t){!function(){e.exports=this.wp.coreData}()},45:function(e,t){!function(){e.exports=this.moment}()},47:function(e,t){!function(){e.exports=this.wp.blob}()},49:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},5:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},53:function(e,t,r){e.exports=function(e,t){var r,n,c=0;function o(){var o,a,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(a=0;a<l;a++)if(i.args[a]!==arguments[a]){i=i.next;continue e}return i!==r&&(i===n&&(n=i.prev),i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=r,i.prev=null,r.prev=i,r=i),i.val}i=i.next}for(o=new Array(l),a=0;a<l;a++)o[a]=arguments[a];return i={args:o,val:e.apply(null,o)},r?(r.prev=i,i.next=r):n=i,c===t.maxSize?(n=n.prev).next=null:c++,r=i,i.val}return t=t||{},o.clear=function(){r=null,n=null,c=0},o}},59:function(e,t,r){var n;!function(c){var o=/^\s+/,a=/\s+$/,i=0,l=c.round,s=c.min,u=c.max,b=c.random;function m(e,t){if(t=t||{},(e=e||"")instanceof m)return e;if(!(this instanceof m))return new m(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,l=null,b=!1,m=!1;"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(a,"").toLowerCase();var t,r=!1;if(B[e])e=B[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=U.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=U.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=U.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=U.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=U.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=U.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=U.hex8.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),a:D(t[4]),format:r?"name":"hex8"};if(t=U.hex6.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),format:r?"name":"hex"};if(t=U.hex4.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),a:D(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=U.hex3.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(G(e.r)&&G(e.g)&&G(e.b)?(d=e.r,p=e.g,g=e.b,t={r:255*R(d,255),g:255*R(p,255),b:255*R(g,255)},b=!0,m="%"===String(e.r).substr(-1)?"prgb":"rgb"):G(e.h)&&G(e.s)&&G(e.v)?(n=A(e.s),i=A(e.v),t=function(e,t,r){e=6*R(e,360),t=R(t,100),r=R(r,100);var n=c.floor(e),o=e-n,a=r*(1-t),i=r*(1-o*t),l=r*(1-(1-o)*t),s=n%6;return{r:255*[r,i,a,a,l,r][s],g:255*[l,r,r,i,a,a][s],b:255*[a,a,l,r,r,i][s]}}(e.h,n,i),b=!0,m="hsv"):G(e.h)&&G(e.s)&&G(e.l)&&(n=A(e.s),l=A(e.l),t=function(e,t,r){var n,c,o;function a(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=R(e,360),t=R(t,100),r=R(r,100),0===t)n=c=o=r;else{var i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;n=a(l,i,e+1/3),c=a(l,i,e),o=a(l,i,e-1/3)}return{r:255*n,g:255*c,b:255*o}}(e.h,n,l),b=!0,m="hsl"),e.hasOwnProperty("a")&&(r=e.a));var d,p,g;return r=N(r),{ok:b,format:e.format||m,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=l(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=r.ok,this._tc_id=i++}function d(e,t,r){e=R(e,255),t=R(t,255),r=R(r,255);var n,c,o=u(e,t,r),a=s(e,t,r),i=(o+a)/2;if(o==a)n=c=0;else{var l=o-a;switch(c=i>.5?l/(2-o-a):l/(o+a),o){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:c,l:i}}function p(e,t,r){e=R(e,255),t=R(t,255),r=R(r,255);var n,c,o=u(e,t,r),a=s(e,t,r),i=o,l=o-a;if(c=0===o?0:l/o,o==a)n=0;else{switch(o){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:c,v:i}}function g(e,t,r,n){var c=[I(l(e).toString(16)),I(l(t).toString(16)),I(l(r).toString(16))];return n&&c[0].charAt(0)==c[0].charAt(1)&&c[1].charAt(0)==c[1].charAt(1)&&c[2].charAt(0)==c[2].charAt(1)?c[0].charAt(0)+c[1].charAt(0)+c[2].charAt(0):c.join("")}function h(e,t,r,n){return[I(H(n)),I(l(e).toString(16)),I(l(t).toString(16)),I(l(r).toString(16))].join("")}function f(e,t){t=0===t?0:t||10;var r=m(e).toHsl();return r.s-=t/100,r.s=z(r.s),m(r)}function O(e,t){t=0===t?0:t||10;var r=m(e).toHsl();return r.s+=t/100,r.s=z(r.s),m(r)}function v(e){return m(e).desaturate(100)}function j(e,t){t=0===t?0:t||10;var r=m(e).toHsl();return r.l+=t/100,r.l=z(r.l),m(r)}function y(e,t){t=0===t?0:t||10;var r=m(e).toRgb();return r.r=u(0,s(255,r.r-l(-t/100*255))),r.g=u(0,s(255,r.g-l(-t/100*255))),r.b=u(0,s(255,r.b-l(-t/100*255))),m(r)}function w(e,t){t=0===t?0:t||10;var r=m(e).toHsl();return r.l-=t/100,r.l=z(r.l),m(r)}function _(e,t){var r=m(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,m(r)}function k(e){var t=m(e).toHsl();return t.h=(t.h+180)%360,m(t)}function C(e){var t=m(e).toHsl(),r=t.h;return[m(e),m({h:(r+120)%360,s:t.s,l:t.l}),m({h:(r+240)%360,s:t.s,l:t.l})]}function E(e){var t=m(e).toHsl(),r=t.h;return[m(e),m({h:(r+90)%360,s:t.s,l:t.l}),m({h:(r+180)%360,s:t.s,l:t.l}),m({h:(r+270)%360,s:t.s,l:t.l})]}function x(e){var t=m(e).toHsl(),r=t.h;return[m(e),m({h:(r+72)%360,s:t.s,l:t.l}),m({h:(r+216)%360,s:t.s,l:t.l})]}function S(e,t,r){t=t||6,r=r||30;var n=m(e).toHsl(),c=360/r,o=[m(e)];for(n.h=(n.h-(c*t>>1)+720)%360;--t;)n.h=(n.h+c)%360,o.push(m(n));return o}function P(e,t){t=t||6;for(var r=m(e).toHsv(),n=r.h,c=r.s,o=r.v,a=[],i=1/t;t--;)a.push(m({h:n,s:c,v:o})),o=(o+i)%1;return a}m.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:c.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:c.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:c.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=N(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,c){var o=[I(l(e).toString(16)),I(l(t).toString(16)),I(l(r).toString(16)),I(H(n))];if(c&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*R(this._r,255))+"%",g:l(100*R(this._g,255))+"%",b:l(100*R(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*R(this._r,255))+"%, "+l(100*R(this._g,255))+"%, "+l(100*R(this._b,255))+"%)":"rgba("+l(100*R(this._r,255))+"%, "+l(100*R(this._g,255))+"%, "+l(100*R(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var c=m(e);r="#"+h(c._r,c._g,c._b,c._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return m(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},m.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:A(e[n]));e=r}return m(e,t)},m.equals=function(e,t){return!(!e||!t)&&m(e).toRgbString()==m(t).toRgbString()},m.random=function(){return m.fromRatio({r:b(),g:b(),b:b()})},m.mix=function(e,t,r){r=0===r?0:r||50;var n=m(e).toRgb(),c=m(t).toRgb(),o=r/100;return m({r:(c.r-n.r)*o+n.r,g:(c.g-n.g)*o+n.g,b:(c.b-n.b)*o+n.b,a:(c.a-n.a)*o+n.a})},m.readability=function(e,t){var r=m(e),n=m(t);return(c.max(r.getLuminance(),n.getLuminance())+.05)/(c.min(r.getLuminance(),n.getLuminance())+.05)},m.isReadable=function(e,t,r){var n,c,o=m.readability(e,t);switch(c=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":c=o>=4.5;break;case"AAlarge":c=o>=3;break;case"AAAsmall":c=o>=7}return c},m.mostReadable=function(e,t,r){var n,c,o,a,i=null,l=0;c=(r=r||{}).includeFallbackColors,o=r.level,a=r.size;for(var s=0;s<t.length;s++)(n=m.readability(e,t[s]))>l&&(l=n,i=m(t[s]));return m.isReadable(e,i,{level:o,size:a})||!c?i:(r.includeFallbackColors=!1,m.mostReadable(e,["#fff","#000"],r))};var B=m.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=m.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(B);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function R(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),c.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function z(e){return s(1,u(0,e))}function M(e){return parseInt(e,16)}function I(e){return 1==e.length?"0"+e:""+e}function A(e){return e<=1&&(e=100*e+"%"),e}function H(e){return c.round(255*parseFloat(e)).toString(16)}function D(e){return M(e)/255}var L,V,F,U=(V="[\\s|\\(]+("+(L="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+L+")[,|\\s]+("+L+")\\s*\\)?",F="[\\s|\\(]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")[,|\\s]+("+L+")\\s*\\)?",{CSS_UNIT:new RegExp(L),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function G(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=m:void 0===(n=function(){return m}.call(t,r,t,e))||(e.exports=n)}(Math)},6:function(e,t){!function(){e.exports=this.wp.blockEditor}()},62:function(e,t){!function(){e.exports=this.wp.date}()},68:function(e,t){!function(){e.exports=this.wp.serverSideRender}()},7:function(e,t){!function(){e.exports=this.wp.primitives}()},72:function(e,t){!function(){e.exports=this.wp.viewport}()},8:function(e,t){!function(){e.exports=this.wp.compose}()},81:function(e,t){!function(){e.exports=this.wp.escapeHtml}()},9:function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",(function(){return n}))},92:function(e,t){!function(){e.exports=this.wp.autop}()},93:function(e,t,r){var n;
5
  http://jedwatson.github.io/classnames
6
  */!function(){"use strict";var r={}.hasOwnProperty;function c(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n))e.push(c.apply(null,n));else if("object"===o)for(var a in n)r.call(n,a)&&n[a]&&e.push(a)}}return e.join(" ")}e.exports?e.exports=c:void 0===(n=function(){return c}.apply(t,[]))||(e.exports=n)}()},113:function(e,t,r){"use strict";var n=r(5),c=r(15),o=r(0);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}t.a=function(e){var t=e.icon,r=e.size,i=void 0===r?24:r,l=Object(c.a)(e,["icon","size"]);return Object(o.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({width:i,height:i},l))}},12:function(e,t){!function(){e.exports=this.wp.blocks}()},13:function(e,t,r){"use strict";function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,"a",(function(){return n}))},14:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(36);var c=r(29),o=r(37);function a(e,t){return Object(n.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,c=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){c=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(c)throw o}}return r}}(e,t)||Object(c.a)(e,t)||Object(o.a)()}},15:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(41);function c(e,t){if(null==e)return{};var r,c,o=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(c=0;c<a.length;c++)r=a[c],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}},16:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(25);var c=r(35),o=r(29);function a(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||Object(c.a)(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},17:function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,"a",(function(){return c}))},18:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},184:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(c.Path,{d:"M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z"}));t.a=o},186:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(c.Path,{d:"M16 4h2v9H7v3l-5-4 5-4v3h9V4z"}));t.a=o},187:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(c.Path,{d:"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.6zM13.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"}));t.a=o},188:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.a=o},19:function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(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&&n(e,t)}r.d(t,"a",(function(){return c}))},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(34),c=r(9);function o(e,t){return!t||"object"!==Object(n.a)(t)&&"function"!=typeof t?Object(c.a)(e):t}},21:function(e,t){!function(){e.exports=this.wp.keycodes}()},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},236:function(e,t,r){
7
  /*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
8
+ e.exports=function(){"use strict";function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,c=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){c=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(c)throw o}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}return function(){function r(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r)}var n,c,o;return n=r,(c=[{key:"getColorAsync",value:function(e,t,r){e.complete?t.call(e,this.getColor(e,r),r&&r.data):this._bindImageEvents(e,t,r)}},{key:"getColor",value:function(e,t){t=t||{};var r=this._getDefaultColor(t),n=this._getOriginalSize(e),c=this._prepareSizeAndPosition(n,t),o=null,a=r;if(!(c.srcWidth&&c.srcHeight&&c.destWidth&&c.destHeight))return this._prepareResult(r,new Error("FastAverageColor: Incorrect sizes."));if(!this._ctx&&(this._canvas=this._makeCanvas(),this._ctx=this._canvas.getContext&&this._canvas.getContext("2d"),!this._ctx))return this._prepareResult(r,new Error("FastAverageColor: Canvas Context 2D is not supported in this browser."));this._canvas.width=c.destWidth,this._canvas.height=c.destHeight;try{this._ctx.clearRect(0,0,c.destWidth,c.destHeight),this._ctx.drawImage(e,c.srcLeft,c.srcTop,c.srcWidth,c.srcHeight,0,0,c.destWidth,c.destHeight);var i=this._ctx.getImageData(0,0,c.destWidth,c.destHeight).data;a=this.getColorFromArray4(i,t)}catch(e){o=e}return this._prepareResult(a,o)}},{key:"getColorFromArray4",value:function(e,t){t=t||{};var r=e.length;if(r<4)return this._getDefaultColor(t);var n=r-r%4,c=4*(t.step||1),o="_"+(t.algorithm||"sqrt")+"Algorithm";if("function"!=typeof this[o])throw new Error("FastAverageColor: ".concat(t.algorithm," is unknown algorithm."));return this[o](e,n,c)}},{key:"destroy",value:function(){delete this._canvas,delete this._ctx}},{key:"_getDefaultColor",value:function(e){return this._getOption(e,"defaultColor",[255,255,255,255])}},{key:"_getOption",value:function(e,t,r){return void 0===e[t]?r:e[t]}},{key:"_prepareSizeAndPosition",value:function(e,t){var r,n=this._getOption(t,"left",0),c=this._getOption(t,"top",0),o=this._getOption(t,"width",e.width),a=this._getOption(t,"height",e.height),i=o,l=a;return"precision"===t.mode?{srcLeft:n,srcTop:c,srcWidth:o,srcHeight:a,destWidth:i,destHeight:l}:(o>a?(r=o/a,i=100,l=Math.round(i/r)):(r=a/o,l=100,i=Math.round(l/r)),(i>o||l>a||i<10||l<10)&&(i=o,l=a),{srcLeft:n,srcTop:c,srcWidth:o,srcHeight:a,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,r){for(var n=0,c=0,o=0,a=0,i=0,l=0;l<t;l+=r){var s=e[l+3];n+=e[l]*s,c+=e[l+1]*s,o+=e[l+2]*s,a+=s,i++}return a?[Math.round(n/a),Math.round(c/a),Math.round(o/a),Math.round(a/i)]:[0,0,0,0]}},{key:"_sqrtAlgorithm",value:function(e,t,r){for(var n=0,c=0,o=0,a=0,i=0,l=0;l<t;l+=r){var s=e[l],u=e[l+1],b=e[l+2],m=e[l+3];n+=s*s*m,c+=u*u*m,o+=b*b*m,a+=m,i++}return a?[Math.round(Math.sqrt(n/a)),Math.round(Math.sqrt(c/a)),Math.round(Math.sqrt(o/a)),Math.round(a/i)]:[0,0,0,0]}},{key:"_dominantAlgorithm",value:function(e,r,n){for(var c={},o=0;o<r;o+=n){var a=e[o],i=e[o+1],l=e[o+2],s=e[o+3],u=Math.round(a/24)+","+Math.round(i/24)+","+Math.round(l/24);c[u]?c[u]=[c[u][0]+a*s,c[u][1]+i*s,c[u][2]+l*s,c[u][3]+s,c[u][4]+1]:c[u]=[a*s,i*s,l*s,s,1]}var b=t(Object.keys(c).map((function(e){return c[e]})).sort((function(e,t){var r=e[4],n=t[4];return r>n?-1:r===n?0:1}))[0],5),m=b[0],d=b[1],p=b[2],g=b[3],h=b[4];return g?[Math.round(m/g),Math.round(d/g),Math.round(p/g),Math.round(g/h)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,r){var n=this,c=(r=r||{})&&r.data,o=this._getDefaultColor(r),a=function(){s(),t.call(e,n.getColor(e,r),c)},i=function(){s(),t.call(e,n._prepareResult(o,new Error("Image error")),c)},l=function(){s(),t.call(e,n._prepareResult(o,new Error("Image abort")),c)},s=function(){e.removeEventListener("load",a),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",a),e.addEventListener("error",i),e.addEventListener("abort",l)}},{key:"_prepareResult",value:function(e,t){var r=e.slice(0,3),n=[].concat(r,e[3]/255),c=this._isDark(e);return{error:t,value:e,rgb:"rgb("+r.join(",")+")",rgba:"rgba("+n.join(",")+")",hex:this._arrayToHex(r),hexa:this._arrayToHex(e),isDark:c,isLight:!c}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){return(299*e[0]+587*e[1]+114*e[2])/1e3<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(n.prototype,c),o&&e(n,o),r}()}()},25:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},255:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(c.Path,{d:"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"}));t.a=o},256:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"}));t.a=o},257:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));t.a=o},258:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"}));t.a=o},259:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"}));t.a=o},26:function(e,t){!function(){e.exports=this.wp.richText}()},264:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(n.createElement)(c.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"}));t.a=o},265:function(e,t,r){"use strict";var n=r(0),c=r(7),o=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(c.Path,{d:"M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z"}));t.a=o},28:function(e,t){!function(){e.exports=this.wp.url}()},29:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(25);function c(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},3:function(e,t){!function(){e.exports=this.wp.components}()},30:function(e,t){!function(){e.exports=this.wp.dom}()},34:function(e,t,r){"use strict";function n(e){return(n="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)}r.d(t,"a",(function(){return n}))},35:function(e,t,r){"use strict";function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},36:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},367:function(e,t,r){"use strict";r.r(t),r.d(t,"registerCoreBlocks",(function(){return ed})),r.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return td}));var n={};r.r(n),r.d(n,"metadata",(function(){return Le})),r.d(n,"name",(function(){return Ve})),r.d(n,"settings",(function(){return Fe}));var c={};r.r(c),r.d(c,"metadata",(function(){return Ht})),r.d(c,"name",(function(){return Dt})),r.d(c,"settings",(function(){return Lt}));var o={};r.r(o),r.d(o,"metadata",(function(){return or})),r.d(o,"name",(function(){return ar})),r.d(o,"settings",(function(){return ir}));var a={};r.r(a),r.d(a,"metadata",(function(){return jr})),r.d(a,"name",(function(){return yr})),r.d(a,"settings",(function(){return wr}));var i={};r.r(i),r.d(i,"metadata",(function(){return Yr})),r.d(i,"name",(function(){return Xr})),r.d(i,"settings",(function(){return en}));var l={};r.r(l),r.d(l,"metadata",(function(){return cn})),r.d(l,"name",(function(){return on})),r.d(l,"settings",(function(){return an}));var s={};r.r(s),r.d(s,"metadata",(function(){return gn})),r.d(s,"name",(function(){return hn})),r.d(s,"settings",(function(){return fn}));var u={};r.r(u),r.d(u,"metadata",(function(){return Vn})),r.d(u,"name",(function(){return Fn})),r.d(u,"settings",(function(){return Un}));var b={};r.r(b),r.d(b,"metadata",(function(){return Kn})),r.d(b,"name",(function(){return Qn})),r.d(b,"settings",(function(){return $n}));var m={};r.r(m),r.d(m,"metadata",(function(){return oc})),r.d(m,"name",(function(){return ac})),r.d(m,"settings",(function(){return ic}));var d={};r.r(d),r.d(d,"metadata",(function(){return dc})),r.d(d,"name",(function(){return pc})),r.d(d,"settings",(function(){return gc}));var p={};r.r(p),r.d(p,"metadata",(function(){return yc})),r.d(p,"name",(function(){return wc})),r.d(p,"settings",(function(){return _c}));var g={};r.r(g),r.d(g,"metadata",(function(){return Vc})),r.d(g,"name",(function(){return Fc})),r.d(g,"settings",(function(){return Uc}));var h={};r.r(h),r.d(h,"metadata",(function(){return qc})),r.d(h,"name",(function(){return Zc})),r.d(h,"settings",(function(){return Kc}));var f={};r.r(f),r.d(f,"metadata",(function(){return _o})),r.d(f,"name",(function(){return ko})),r.d(f,"settings",(function(){return Co}));var O={};r.r(O),r.d(O,"name",(function(){return Zo})),r.d(O,"settings",(function(){return Ko})),r.d(O,"common",(function(){return Qo})),r.d(O,"others",(function(){return $o}));var v={};r.r(v),r.d(v,"metadata",(function(){return na})),r.d(v,"name",(function(){return ca})),r.d(v,"settings",(function(){return oa}));var j={};r.r(j),r.d(j,"metadata",(function(){return ba})),r.d(j,"name",(function(){return ma})),r.d(j,"settings",(function(){return da}));var y={};r.r(y),r.d(y,"metadata",(function(){return Ma})),r.d(y,"name",(function(){return Ia})),r.d(y,"settings",(function(){return Aa}));var w={};r.r(w),r.d(w,"justifyLeftIcon",(function(){return Ga})),r.d(w,"justifyCenterIcon",(function(){return Wa})),r.d(w,"justifyRightIcon",(function(){return qa}));var _={};r.r(_),r.d(_,"metadata",(function(){return $a})),r.d(_,"name",(function(){return Ja})),r.d(_,"settings",(function(){return Ya}));var k={};r.r(k),r.d(k,"metadata",(function(){return si})),r.d(k,"name",(function(){return ui})),r.d(k,"settings",(function(){return bi}));var C={};r.r(C),r.d(C,"metadata",(function(){return gi})),r.d(C,"name",(function(){return hi})),r.d(C,"settings",(function(){return fi}));var E={};r.r(E),r.d(E,"metadata",(function(){return Ri})),r.d(E,"name",(function(){return zi})),r.d(E,"settings",(function(){return Mi}));var x={};r.r(x),r.d(x,"metadata",(function(){return tl})),r.d(x,"name",(function(){return rl})),r.d(x,"settings",(function(){return nl}));var S={};r.r(S),r.d(S,"metadata",(function(){return vl})),r.d(S,"name",(function(){return jl})),r.d(S,"settings",(function(){return yl}));var P={};r.r(P),r.d(P,"metadata",(function(){return _l})),r.d(P,"name",(function(){return kl})),r.d(P,"settings",(function(){return Cl}));var B={};r.r(B),r.d(B,"metadata",(function(){return Bl})),r.d(B,"name",(function(){return Tl})),r.d(B,"settings",(function(){return Nl}));var T={};r.r(T),r.d(T,"metadata",(function(){return Ml})),r.d(T,"name",(function(){return Il})),r.d(T,"settings",(function(){return Al}));var N={};r.r(N),r.d(N,"metadata",(function(){return Ll})),r.d(N,"name",(function(){return Vl})),r.d(N,"settings",(function(){return Fl}));var R={};r.r(R),r.d(R,"metadata",(function(){return Xl})),r.d(R,"name",(function(){return es})),r.d(R,"settings",(function(){return ts}));var z={};r.r(z),r.d(z,"metadata",(function(){return ls})),r.d(z,"name",(function(){return ss})),r.d(z,"settings",(function(){return us}));var M={};r.r(M),r.d(M,"metadata",(function(){return ms})),r.d(M,"name",(function(){return ds})),r.d(M,"settings",(function(){return ps}));var I={};r.r(I),r.d(I,"metadata",(function(){return fs})),r.d(I,"name",(function(){return Os})),r.d(I,"settings",(function(){return vs}));var A={};r.r(A),r.d(A,"metadata",(function(){return Es})),r.d(A,"name",(function(){return xs})),r.d(A,"settings",(function(){return Ss}));var H={};r.r(H),r.d(H,"metadata",(function(){return Rs})),r.d(H,"name",(function(){return zs})),r.d(H,"settings",(function(){return Ms}));var D={};r.r(D),r.d(D,"metadata",(function(){return Ls})),r.d(D,"name",(function(){return Vs})),r.d(D,"settings",(function(){return Fs}));var L={};r.r(L),r.d(L,"metadata",(function(){return Ws})),r.d(L,"name",(function(){return qs})),r.d(L,"settings",(function(){return Zs}));var V={};r.r(V),r.d(V,"metadata",(function(){return Js})),r.d(V,"name",(function(){return Ys})),r.d(V,"settings",(function(){return Xs}));var F={};r.r(F),r.d(F,"metadata",(function(){return Bu})),r.d(F,"name",(function(){return Tu})),r.d(F,"settings",(function(){return Nu}));var U={};r.r(U),r.d(U,"metadata",(function(){return zu})),r.d(U,"name",(function(){return Mu})),r.d(U,"settings",(function(){return Iu}));var G={};r.r(G),r.d(G,"metadata",(function(){return Lu})),r.d(G,"name",(function(){return Vu})),r.d(G,"settings",(function(){return Fu}));var W={};r.r(W),r.d(W,"metadata",(function(){return Ju})),r.d(W,"name",(function(){return Yu})),r.d(W,"settings",(function(){return Xu}));var q={};r.r(q),r.d(q,"metadata",(function(){return cb})),r.d(q,"name",(function(){return ob})),r.d(q,"settings",(function(){return ab}));var Z={};r.r(Z),r.d(Z,"metadata",(function(){return db})),r.d(Z,"name",(function(){return pb})),r.d(Z,"settings",(function(){return gb}));var K={};r.r(K),r.d(K,"metadata",(function(){return jb})),r.d(K,"name",(function(){return yb})),r.d(K,"settings",(function(){return wb}));var Q={};r.r(Q),r.d(Q,"metadata",(function(){return xb})),r.d(Q,"name",(function(){return Sb})),r.d(Q,"settings",(function(){return Pb}));var $={};r.r($),r.d($,"metadata",(function(){return Tb})),r.d($,"name",(function(){return Nb})),r.d($,"settings",(function(){return Rb}));var J={};r.r(J),r.d(J,"metadata",(function(){return zb})),r.d(J,"name",(function(){return Mb})),r.d(J,"settings",(function(){return Ib}));var Y={};r.r(Y),r.d(Y,"metadata",(function(){return Fb})),r.d(Y,"name",(function(){return Ub})),r.d(Y,"settings",(function(){return Gb}));var X={};r.r(X),r.d(X,"metadata",(function(){return tm})),r.d(X,"name",(function(){return rm})),r.d(X,"settings",(function(){return nm})),r.d(X,"useQueryContext",(function(){return Jb}));var ee={};r.r(ee),r.d(ee,"metadata",(function(){return am})),r.d(ee,"name",(function(){return im})),r.d(ee,"settings",(function(){return lm}));var te={};r.r(te),r.d(te,"metadata",(function(){return sm})),r.d(te,"name",(function(){return um})),r.d(te,"settings",(function(){return bm}));var re={};r.r(re),r.d(re,"metadata",(function(){return dm})),r.d(re,"name",(function(){return pm})),r.d(re,"settings",(function(){return gm}));var ne={};r.r(ne),r.d(ne,"metadata",(function(){return Om})),r.d(ne,"name",(function(){return vm})),r.d(ne,"settings",(function(){return jm}));var ce={};r.r(ce),r.d(ce,"metadata",(function(){return _m})),r.d(ce,"name",(function(){return km})),r.d(ce,"settings",(function(){return Cm}));var oe={};r.r(oe),r.d(oe,"metadata",(function(){return xm})),r.d(oe,"name",(function(){return Sm})),r.d(oe,"settings",(function(){return Pm}));var ae={};r.r(ae),r.d(ae,"metadata",(function(){return Tm})),r.d(ae,"name",(function(){return Nm})),r.d(ae,"settings",(function(){return Rm}));var ie={};r.r(ie),r.d(ie,"metadata",(function(){return zm})),r.d(ie,"name",(function(){return Mm})),r.d(ie,"settings",(function(){return Im}));var le={};r.r(le),r.d(le,"metadata",(function(){return Hm})),r.d(le,"name",(function(){return Dm})),r.d(le,"settings",(function(){return Lm}));var se={};r.r(se),r.d(se,"metadata",(function(){return Fm})),r.d(se,"name",(function(){return Um})),r.d(se,"settings",(function(){return Gm}));var ue={};r.r(ue),r.d(ue,"metadata",(function(){return qm})),r.d(ue,"name",(function(){return Zm})),r.d(ue,"settings",(function(){return Km}));var be={};r.r(be),r.d(be,"metadata",(function(){return $m})),r.d(be,"name",(function(){return Jm})),r.d(be,"settings",(function(){return Ym}));var me=r(16),de=r(5),pe=r(43),ge=r(6),he=r(12),fe=r(2),Oe=r(1),ve=r(0),je=r(7),ye=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M18.3 4H9.9v-.1l-.9.2c-2.3.4-4 2.4-4 4.8s1.7 4.4 4 4.8l.7.1V20h1.5V5.5h2.9V20h1.5V5.5h2.7V4z"})),we=r(11),_e=r.n(we);function ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ke(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ee={className:!1},xe={align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},backgroundColor:{type:"string"},fontSize:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]},style:{type:"object"}},Se=function(e){if(!e.customTextColor&&!e.customBackgroundColor&&!e.customFontSize)return e;var t={};return(e.customTextColor||e.customBackgroundColor)&&(t.color={}),e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customFontSize&&(t.typography={fontSize:e.customFontSize}),Ce({},Object(fe.omit)(e,["customTextColor","customBackgroundColor","customFontSize"]),{style:t})},Pe=[{supports:Ee,attributes:Ce({},Object(fe.omit)(xe,["style"]),{customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}}),migrate:Se,save:function(e){var t,r=e.attributes,n=r.align,c=r.content,o=r.dropCap,a=r.backgroundColor,i=r.textColor,l=r.customBackgroundColor,s=r.customTextColor,u=r.fontSize,b=r.customFontSize,m=r.direction,d=Object(ge.getColorClassName)("color",i),p=Object(ge.getColorClassName)("background-color",a),g=Object(ge.getFontSizeClass)(u),h=_e()((t={"has-text-color":i||s,"has-background":a||l,"has-drop-cap":o},Object(de.a)(t,"has-text-align-".concat(n),n),Object(de.a)(t,g,g),Object(de.a)(t,d,d),Object(de.a)(t,p,p),t)),f={backgroundColor:p?void 0:l,color:d?void 0:s,fontSize:g?void 0:b};return Object(ve.createElement)(ge.RichText.Content,{tagName:"p",style:f,className:h||void 0,value:c,dir:m})}},{supports:Ee,attributes:Ce({},Object(fe.omit)(xe,["style"]),{customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}}),migrate:Se,save:function(e){var t,r=e.attributes,n=r.align,c=r.content,o=r.dropCap,a=r.backgroundColor,i=r.textColor,l=r.customBackgroundColor,s=r.customTextColor,u=r.fontSize,b=r.customFontSize,m=r.direction,d=Object(ge.getColorClassName)("color",i),p=Object(ge.getColorClassName)("background-color",a),g=Object(ge.getFontSizeClass)(u),h=_e()((t={"has-text-color":i||s,"has-background":a||l,"has-drop-cap":o},Object(de.a)(t,g,g),Object(de.a)(t,d,d),Object(de.a)(t,p,p),t)),f={backgroundColor:p?void 0:l,color:d?void 0:s,fontSize:g?void 0:b,textAlign:n};return Object(ve.createElement)(ge.RichText.Content,{tagName:"p",style:f,className:h||void 0,value:c,dir:m})}},{supports:Ee,attributes:Ce({},Object(fe.omit)(xe,["style"]),{customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"},width:{type:"string"}}),migrate:Se,save:function(e){var t,r=e.attributes,n=r.width,c=r.align,o=r.content,a=r.dropCap,i=r.backgroundColor,l=r.textColor,s=r.customBackgroundColor,u=r.customTextColor,b=r.fontSize,m=r.customFontSize,d=Object(ge.getColorClassName)("color",l),p=Object(ge.getColorClassName)("background-color",i),g=b&&"is-".concat(b,"-text"),h=_e()((t={},Object(de.a)(t,"align".concat(n),n),Object(de.a)(t,"has-background",i||s),Object(de.a)(t,"has-drop-cap",a),Object(de.a)(t,g,g),Object(de.a)(t,d,d),Object(de.a)(t,p,p),t)),f={backgroundColor:p?void 0:s,color:d?void 0:u,fontSize:g?void 0:m,textAlign:c};return Object(ve.createElement)(ge.RichText.Content,{tagName:"p",style:f,className:h||void 0,value:o})}},{supports:Ee,attributes:Object(fe.omit)(Ce({},xe,{fontSize:{type:"number"}}),["style"]),save:function(e){var t,r=e.attributes,n=r.width,c=r.align,o=r.content,a=r.dropCap,i=r.backgroundColor,l=r.textColor,s=r.fontSize,u=_e()((t={},Object(de.a)(t,"align".concat(n),n),Object(de.a)(t,"has-background",i),Object(de.a)(t,"has-drop-cap",a),t)),b={backgroundColor:i,color:l,fontSize:s,textAlign:c};return Object(ve.createElement)("p",{style:b,className:u||void 0},o)},migrate:function(e){return Se(Object(fe.omit)(Ce({},e,{customFontSize:Object(fe.isFinite)(e.fontSize)?e.fontSize:void 0,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.backgroundColor&&"#"===e.backgroundColor[0]?e.backgroundColor:void 0})))}},{supports:Ee,attributes:Ce({},xe,{content:{type:"string",source:"html",default:""}}),save:function(e){var t=e.attributes;return Object(ve.createElement)(ve.RawHTML,null,t.content)},migrate:function(e){return e}}],Be=r(14),Te=r(3),Ne=r(4),Re=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"}));function ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Me=window.getComputedStyle,Ie=window.document.querySelector.bind(document);function Ae(e){var t=e.direction,r=e.setDirection;return Object(Ne.useSelect)((function(e){return!!e("core/block-editor").getSettings().isRTL}),[])&&Object(ve.createElement)(Te.ToolbarGroup,{controls:[{icon:Re,title:Object(Oe._x)("Left to right","editor button"),isActive:"ltr"===t,onClick:function(){r("ltr"===t?void 0:"ltr")}}]})}var He=function(e){var t=e.attributes,r=e.mergeBlocks,n=e.onReplace,c=e.onRemove,o=e.setAttributes,a=t.align,i=t.content,l=t.direction,s=t.dropCap,u=t.placeholder,b=t.fontSize,m=t.style,d=Object(ve.useRef)(),p=function(e,t,r){var n=Object(ge.__experimentalUseEditorFeature)("__experimentalDisableDropCap"),c=Object(ve.useState)(),o=Object(Be.a)(c,2),a=o[0],i=o[1],l=Object(Ne.useSelect)((function(e){return e("core/block-editor").getSettings()})).fontSizes,s=Object(ge.getFontSize)(l,t,r);return Object(ve.useEffect)((function(){if(!n){var t=Ie("p.has-drop-cap");e&&t?i(Me(t,"first-letter").lineHeight):a&&i(void 0)}}),[n,e,a,i,s.size]),[!n,a]}(s,b,null==m?void 0:m.fontSize),g=Object(Be.a)(p,2),h=g[0],f={direction:l,minHeight:g[1]};return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.AlignmentToolbar,{value:a,onChange:function(e){return o({align:e})}}),Object(ve.createElement)(Ae,{direction:l,setDirection:function(e){return o({direction:e})}})),Object(ve.createElement)(ge.InspectorControls,null,h&&Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Text settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Drop cap"),checked:!!s,onChange:function(){return o({dropCap:!s})},help:s?Object(Oe.__)("Showing large initial letter."):Object(Oe.__)("Toggle to show a large initial letter.")}))),Object(ve.createElement)(ge.RichText,{ref:d,identifier:"content",tagName:ge.__experimentalBlock.p,className:_e()(Object(de.a)({"has-drop-cap":s},"has-text-align-".concat(a),a)),style:f,value:i,onChange:function(e){return o({content:e})},onSplit:function(e){return e?Object(he.createBlock)("core/paragraph",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ze(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{content:e})):Object(he.createBlock)("core/paragraph")},onMerge:r,onReplace:n,onRemove:c,"aria-label":i?Object(Oe.__)("Paragraph block"):Object(Oe.__)("Empty block; start writing or type forward slash to choose a block"),placeholder:u||Object(Oe.__)("Start writing or type / to choose a block"),__unstableEmbedURLOnPaste:!0,__unstableAllowPrefixTransformations:!0}))};var De={from:[{type:"raw",priority:20,selector:"p",schema:function(e){return{p:{children:e.phrasingContentSchema,attributes:e.isPaste?[]:["style"]}}},transform:function(e){var t=Object(he.getBlockAttributes)("core/paragraph",e.outerHTML),r=(e.style||{}).textAlign;return"left"!==r&&"center"!==r&&"right"!==r||(t.align=r),Object(he.createBlock)("core/paragraph",t)}}]},Le={name:"core/paragraph",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]}}},Ve=Le.name,Fe={title:Object(Oe.__)("Paragraph"),description:Object(Oe.__)("Start with the building block of all narrative."),icon:ye,keywords:[Object(Oe.__)("text")],example:{attributes:{content:Object(Oe.__)("In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing."),style:{typography:{fontSize:28}},dropCap:!0}},supports:{className:!1,__unstablePasteTextInline:!0,lightBlockWrapper:!0,__experimentalColor:"web"===ve.Platform.OS,__experimentalLineHeight:!0,__experimentalFontSize:!0},__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.content;return Object(fe.isEmpty)(r)?Object(Oe.__)("Empty"):r}},transforms:De,deprecated:Pe,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:He,save:function(e){var t=e.attributes,r=t.align,n=t.content,c=t.dropCap,o=t.direction,a=_e()(Object(de.a)({"has-drop-cap":c},"has-text-align-".concat(r),r));return Object(ve.createElement)(ge.RichText.Content,{tagName:"p",className:a||void 0,value:n,dir:o})}},Ue=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),Ge=r(10),We={align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},qe=[{attributes:We,save:function(e){var t,r=e.attributes,n=r.url,c=r.alt,o=r.caption,a=r.align,i=r.href,l=r.width,s=r.height,u=r.id,b=_e()((t={},Object(de.a)(t,"align".concat(a),a),Object(de.a)(t,"is-resized",l||s),t)),m=Object(ve.createElement)("img",{src:n,alt:c,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(ve.createElement)("figure",{className:b},i?Object(ve.createElement)("a",{href:i},m):m,!ge.RichText.isEmpty(o)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:We,save:function(e){var t=e.attributes,r=t.url,n=t.alt,c=t.caption,o=t.align,a=t.href,i=t.width,l=t.height,s=t.id,u=Object(ve.createElement)("img",{src:r,alt:n,className:s?"wp-image-".concat(s):null,width:i,height:l});return Object(ve.createElement)("figure",{className:o?"align".concat(o):null},a?Object(ve.createElement)("a",{href:a},u):u,!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:c}))}},{attributes:We,save:function(e){var t=e.attributes,r=t.url,n=t.alt,c=t.caption,o=t.align,a=t.href,i=t.width,l=t.height,s=i||l?{width:i,height:l}:{},u=Object(ve.createElement)("img",Object(Ge.a)({src:r,alt:n},s)),b={};return i?b={width:i}:"left"!==o&&"right"!==o||(b={maxWidth:"50%"}),Object(ve.createElement)("figure",{className:o?"align".concat(o):null,style:b},a?Object(ve.createElement)("a",{href:a},u):u,!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:c}))}}],Ze=r(47),Ke=r(8),Qe=r(28),$e=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"})),Je=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM13.2 7.7c-.4.4-.7 1.1-.7 1.9v3.7c-.4-.3-.8-.4-1.3-.4-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2.5 0 1-.2 1.4-.5.9-.6 1.4-1.6 1.4-2.6V9.6c0-.4.1-.6.2-.8.3-.3 1-.3 1.6-.3h.2V7h-.2c-.7 0-1.8 0-2.6.7z"})),Ye=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9.2 4.5H19c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V9.8l4.6-5.3zm9.8 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),Xe=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM10 15l5-3-5-3v6z"})),et={foreground:"#1da1f2",src:Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.G,null,Object(ve.createElement)(Te.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},tt={foreground:"#ff0000",src:Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},rt={foreground:"#3b5998",src:Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},nt=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.G,null,Object(ve.createElement)(Te.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),ct={foreground:"#0073AA",src:Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.G,null,Object(ve.createElement)(Te.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},ot={foreground:"#1db954",src:Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},at=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),it={foreground:"#1ab7ea",src:Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.G,null,Object(ve.createElement)(Te.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},lt=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),st={foreground:"#35465c",src:Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M19 3H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.69 14.66c-2.72 0-3.1-1.9-3.1-3.16v-3.56H8.49V8.99c1.7-.62 2.54-1.99 2.64-2.87 0-.06.06-.41.06-.58h1.9v3.1h2.17v2.3h-2.18v3.1c0 .47.13 1.3 1.2 1.26h1.1v2.36c-1.01.02-2.07 0-2.07 0z"}))},ut=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),Object(ve.createElement)(Te.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),Object(ve.createElement)(Te.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})),bt=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",fill:"#4bc7ee"}),Object(ve.createElement)(Te.Path,{d:"m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z",fill:"#d4cdcb"}),Object(ve.createElement)(Te.Path,{d:"m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",fill:"#c3d82e"}),Object(ve.createElement)(Te.Path,{d:"m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z",fill:"#e4ecb0"}),Object(ve.createElement)(Te.Path,{d:"m.0206909 21 19.5468091-9.063 1.6621 2.8344z",fill:"#209dbd"}),Object(ve.createElement)(Te.Path,{d:"m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",fill:"#7cb3c9"})),mt=Object(ve.createElement)(Te.SVG,{viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"m12.1479 18.5957c-2.4949 0-4.28131-1.7558-4.28131-4.0658 0-2.2176 1.78641-4.0965 4.09651-4.0965 2.2793 0 4.0349 1.7864 4.0349 4.1581 0 2.2794-1.7556 4.0042-3.8501 4.0042zm8.3521-18.5957-4.5329 1v7c-1.1088-1.41691-2.8028-1.8787-4.8049-1.8787-2.09443 0-3.97329.76993-5.5133 2.27917-1.72483 1.66323-2.6489 3.78863-2.6489 6.16033 0 2.5873.98562 4.8049 2.89526 6.499 1.44763 1.2936 3.17251 1.9402 5.17454 1.9402 1.9713 0 3.4498-.5236 4.8973-1.9402v1.9402h4.5329c0-7.6359 0-15.3641 0-23z",fill:"#333436"})),dt=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:et,keywords:["tweet",Object(Oe.__)("social")],description:Object(Oe.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:tt,keywords:[Object(Oe.__)("music"),Object(Oe.__)("video")],description:Object(Oe.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:rt,keywords:[Object(Oe.__)("social")],description:Object(Oe.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:nt,keywords:[Object(Oe.__)("image"),Object(Oe.__)("social")],description:Object(Oe.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:ct,keywords:[Object(Oe.__)("post"),Object(Oe.__)("blog")],responsive:!1,description:Object(Oe.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:Je,keywords:[Object(Oe.__)("music"),Object(Oe.__)("audio")],description:Object(Oe.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:ot,keywords:[Object(Oe.__)("music"),Object(Oe.__)("audio")],description:Object(Oe.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:at,keywords:[Object(Oe.__)("image")],description:Object(Oe.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:it,keywords:[Object(Oe.__)("video")],description:Object(Oe.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],pt=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:bt,description:Object(Oe.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:$e,description:Object(Oe.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:Xe,description:Object(Oe.__)("Embed CollegeHumor content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:$e,keywords:["polldaddy",Object(Oe.__)("survey")],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object(he.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(Oe.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:mt,keywords:[Object(Oe.__)("video")],description:Object(Oe.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:Xe,keywords:[Object(Oe.__)("video")],description:Object(Oe.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:Ye,description:Object(Oe.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:$e,description:Object(Oe.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:$e,description:Object(Oe.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:$e,description:Object(Oe.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:Je,keywords:[Object(Oe.__)("music"),Object(Oe.__)("audio")],description:Object(Oe.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:$e,description:Object(Oe.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:lt,description:Object(Oe.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:Je,description:Object(Oe.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:Xe,description:Object(Oe.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:$e,description:Object(Oe.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:$e,description:Object(Oe.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:Ye,description:Object(Oe.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(.+\.)?smugmug\.com\/.*/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:Je,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:$e,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object(he.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(Oe.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/tiktok",settings:{title:"TikTok",icon:Xe,keywords:[Object(Oe.__)("video")],description:Object(Oe.__)("Embed a TikTok video.")},patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:Xe,description:Object(Oe.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:st,keywords:[Object(Oe.__)("social")],description:Object(Oe.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:Xe,keywords:[Object(Oe.__)("video")],description:Object(Oe.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:Xe,description:Object(Oe.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:ut,keywords:[Object(Oe.__)("ebook")],responsive:!1,description:Object(Oe.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}],gt=["facebook.com","smugmug.com"],ht=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],ft=r(93),Ot=r.n(ft),vt=r(53),jt=r.n(vt);function yt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var wt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.some((function(t){return e.match(t)}))},_t=function(e){return Object(fe.includes)(e,'class="wp-embedded-content"')},kt=function(e,t){var r=e.preview,n=e.name,c=e.attributes.url;if(c){var o=function(e){for(var t=0,r=[].concat(Object(me.a)(dt),Object(me.a)(pt));t<r.length;t++){var n=r[t];if(wt(e,n.patterns))return n.name}return"core/embed"}(c);if(Object(he.getBlockType)(o)){if("core-embed/wordpress"!==n&&"core/embed"!==o&&n!==o)return Object(he.createBlock)(o,{url:c});if(r){var a=r.html;if(_t(a)&&"core-embed/wordpress"!==n)return Object(he.createBlock)("core-embed/wordpress",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({url:c},t))}}}};function Ct(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!r){for(var n={"wp-has-aspect-ratio":!1},c=0;c<ht.length;c++){var o=ht[c];n[o.className]=!1}return Ot()(t,n)}var a=document.implementation.createHTMLDocument("");a.body.innerHTML=e;var i=a.body.querySelector("iframe");if(i&&i.height&&i.width)for(var l=(i.width/i.height).toFixed(2),s=0;s<ht.length;s++){var u,b=ht[s];if(l>=b.ratio)return Ot()(t,(u={},Object(de.a)(u,b.className,r),Object(de.a)(u,"wp-has-aspect-ratio",r),u))}return t}function Et(e,t){var r=Object(ve.createElement)("a",{href:e},e);t(Object(he.createBlock)("core/paragraph",{content:Object(ve.renderToString)(r)}))}var xt=jt()((function(e,t,r,n){var c=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!e)return{};var o={},a=e.type,i=void 0===a?"rich":a,l=e.html,s=e.provider_name,u=Object(fe.kebabCase)(Object(fe.toLower)(""!==s?s:t));return _t(l)&&(i="wp-embed"),(l||"photo"===i)&&(o.type=i,o.providerNameSlug=u),o.className=Ct(l,r,n&&c),o})),St=["image"];function Pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Tt=function(e,t){return!e&&Object(Ze.isBlobURL)(t)};var Nt=Object(Te.withNotices)((function(e){var t=e.attributes,r=t.url,n=void 0===r?"":r,c=t.alt,o=t.caption,a=t.align,i=t.id,l=t.href,s=t.rel,u=t.linkClass,b=t.linkDestination,m=t.title,d=t.width,p=t.height,g=t.linkTarget,h=t.sizeSlug,f=e.setAttributes,O=e.isSelected,v=e.className,j=e.noticeUI,y=e.insertBlocksAfter,w=e.noticeOperations,_=e.onReplace,k=Object(ve.useRef)(),C=Object(Ne.useSelect)((function(e){var t=e("core").getMedia,r=e("core/block-editor").getSettings;return Bt({},Object(fe.pick)(r(),["mediaUpload","imageSizes","isRTL","maxWidth"]),{image:i&&O?t(i):null})}),[i,O]),E=C.image,x=C.maxWidth,S=C.isRTL,P=C.imageSizes,B=C.mediaUpload,T=Object(Ne.useDispatch)("core/block-editor").toggleSelection,N=Object(Ke.useViewportMatch)("medium"),R=Object(ve.useState)(!1),z=Object(Be.a)(R,2),M=z[0],I=z[1],A=Object(fe.includes)(["wide","full"],a);function H(e){w.removeAllNotices(),w.createErrorNotice(e)}function D(e){if(e&&e.url){var t,r=function(e){var t=Object(fe.pick)(e,["alt","id","link","caption"]);return t.url=Object(fe.get)(e,["sizes","large","url"])||Object(fe.get)(e,["media_details","sizes","large","source_url"])||e.url,t}(e);Tt(i,n)&&c&&(r=Object(fe.omit)(r,["alt"])),o&&!Object(fe.get)(r,["caption"])&&(r=Object(fe.omit)(r,["caption"])),t=e.id&&e.id===i?{url:n}:{width:void 0,height:void 0,sizeSlug:"large"},"media"===b&&(r.href=e.url),"attachment"===b&&(r.href=e.link),f(Bt({},r,{},t))}else f({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0})}function L(e){e!==n&&f({url:e,id:void 0,sizeSlug:"large"})}var V=Tt(i,n);Object(ve.useEffect)((function(){if(V){var e=Object(Ze.getBlobByURL)(n);e&&B({filesList:[e],onFileChange:function(e){D(Object(Be.a)(e,1)[0])},allowedTypes:St,onError:function(e){w.createErrorNotice(e)}})}}),[]),Object(ve.useEffect)((function(){if(V)return function(){Object(Ze.revokeBlobURL)(n)}}),[V]),Object(ve.useEffect)((function(){O||I(!1)}),[O]);var F=function(e,t){return t&&!e&&!Object(Ze.isBlobURL)(t)}(i,n),U=Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.BlockAlignmentToolbar,{value:a,onChange:function(e){var t=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};f(Bt({},t,{align:e}))}}),n&&Object(ve.createElement)(ge.MediaReplaceFlow,{mediaId:i,mediaURL:n,allowedTypes:St,accept:"image/*",onSelect:D,onSelectURL:L,onError:H}),n&&Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(ge.__experimentalImageURLInputUI,{url:l||"",onChangeUrl:function(e){f(e)},linkDestination:b,mediaUrl:E&&E.source_url,mediaLink:E&&E.link,linkTarget:g,linkClass:u,rel:s}))),G=F?n:void 0,W=!!n&&Object(ve.createElement)("img",{alt:Object(Oe.__)("Edit image"),title:Object(Oe.__)("Edit image"),className:"edit-image-preview",src:n}),q=Object(ve.createElement)(ge.MediaPlaceholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:Ue}),onSelect:D,onSelectURL:L,notices:j,onError:H,accept:"image/*",allowedTypes:St,value:{id:i,src:G},mediaPreview:W,disableMediaButtons:n}),Z=function(e,t,r){var n=Object(ve.useState)({imageWidth:null,imageHeight:null,imageWidthWithinContainer:null,imageHeightWithinContainer:null}),c=Object(Be.a)(n,2),o=c[0],a=c[1];return Object(ve.useEffect)((function(){if(t){var r=e.current.ownerDocument.defaultView,n=new r.Image;return r.addEventListener("resize",c),n.addEventListener("load",c),n.src=t,function(){r.removeEventListener("resize",c),n.removeEventListener("load",c)}}function c(){var t=function(e,t){var r=t.clientWidth,n=e.width>r,c=e.height/e.width;return{width:n?r:e.width,height:n?r*c:e.height}}(n,e.current),r=t.width,c=t.height;a({imageWidth:n.width,imageHeight:n.height,imageWidthWithinContainer:r,imageHeightWithinContainer:c})}}),[t].concat(Object(me.a)(r))),o}(k,n,[a]),K=Z.imageWidthWithinContainer,Q=Z.imageHeightWithinContainer,$=Z.imageWidth,J=Z.imageHeight;if(!n)return Object(ve.createElement)(ve.Fragment,null,U,Object(ve.createElement)(ge.__experimentalBlock.div,null,q));var Y,X=_e()(v,Object(de.a)({"is-transient":Object(Ze.isBlobURL)(n),"is-resized":!!d||!!p,"is-focused":O},"size-".concat(h),h)),ee=!A&&N,te=Object(fe.map)(Object(fe.filter)(P,(function(e){var t=e.slug;return Object(fe.get)(E,["media_details","sizes",t,"source_url"])})),(function(e){var t=e.name;return{value:e.slug,label:t}})),re=Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Image settings")},Object(ve.createElement)(Te.TextareaControl,{label:Object(Oe.__)("Alt text (alternative text)"),value:c,onChange:function(e){f({alt:e})},help:Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(Oe.__)("Describe the purpose of the image")),Object(Oe.__)("Leave empty if the image is purely decorative."))}),Object(ve.createElement)(ge.__experimentalImageSizeControl,{onChangeImage:function(e){if(!Object(fe.get)(E,["media_details","sizes",e,"source_url"]))return null;f({url:n,width:void 0,height:void 0,sizeSlug:e})},onChange:function(e){return f(e)},slug:h,width:d,height:p,imageSizeOptions:te,isResizable:ee,imageWidth:$,imageHeight:J}))),Object(ve.createElement)(ge.InspectorAdvancedControls,null,Object(ve.createElement)(Te.TextControl,{label:Object(Oe.__)("Title attribute"),value:m||"",onChange:function(e){f({title:e})},help:Object(ve.createElement)(ve.Fragment,null,Object(Oe.__)("Describe the role of this image on the page."),Object(ve.createElement)(Te.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},Object(Oe.__)("(Note: many devices and browsers do not display this text.)")))}))),ne=function(e){var t=Object(Qe.getPath)(e);if(t)return Object(fe.last)(t.split("/"))}(n);Y=c||(ne?Object(Oe.sprintf)(Object(Oe.__)("This image has an empty alt attribute; its file name is %s"),ne):Object(Oe.__)("This image has an empty alt attribute"));var ce=Object(ve.createElement)(ve.Fragment,null,re,Object(ve.createElement)("img",{src:n,alt:Y,onClick:function(){M&&I(!1)},onError:function(){var e;void 0!==(e=kt({attributes:{url:n}}))&&_(e)}}),Object(Ze.isBlobURL)(n)&&Object(ve.createElement)(Te.Spinner,null));if(ee&&K){var oe=d||K,ae=p||Q,ie=$/J,le=$<J?20:20*ie,se=J<$?20:20/ie,ue=2.5*x,be=!1,pe=!1;"center"===a?(be=!0,pe=!0):S?"left"===a?be=!0:pe=!0:"right"===a?pe=!0:be=!0,ce=Object(ve.createElement)(Te.ResizableBox,{size:{width:d,height:p},showHandle:O,minWidth:le,maxWidth:ue,minHeight:se,maxHeight:ue/ie,lockAspectRatio:!0,enable:{top:!1,right:be,bottom:!0,left:pe},onResizeStart:function(){T(!1)},onResizeStop:function(e,t,r,n){T(!0),f({width:parseInt(oe+n.width,10),height:parseInt(ae+n.height,10)})}},ce)}else ce=Object(ve.createElement)("div",{style:{width:d,height:p}},ce);return Object(ve.createElement)(ve.Fragment,null,U,Object(ve.createElement)(ge.__experimentalBlock.figure,{ref:k,className:X},ce,(!ge.RichText.isEmpty(o)||O)&&Object(ve.createElement)(ge.RichText,{tagName:"figcaption",placeholder:Object(Oe.__)("Write caption…"),value:o,unstableOnFocus:function(){M||I(!0)},onChange:function(e){return f({caption:e})},isSelected:M,inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return y(Object(he.createBlock)("core/paragraph"))}}),q))}));function Rt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function zt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Mt(e,t){var r=document.implementation.createHTMLDocument("").body;r.innerHTML=e;var n=r.firstElementChild;if(n&&"A"===n.nodeName)return n.getAttribute(t)||void 0}var It={img:{attributes:["src","alt","title"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}},At={from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("img")},schema:function(e){var t=e.phrasingContentSchema;return{figure:{require:["img"],children:zt({},It,{a:{attributes:["href","rel","target"],children:It},figcaption:{children:t}})}}},transform:function(e){var t=e.className+" "+e.querySelector("img").className,r=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),n=r?r[1]:void 0,c=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),o=c?Number(c[1]):void 0,a=e.querySelector("a"),i=a&&a.href?"custom":void 0,l=a&&a.href?a.href:void 0,s=a&&a.rel?a.rel:void 0,u=a&&a.className?a.className:void 0,b=Object(he.getBlockAttributes)("core/image",e.outerHTML,{align:n,id:o,linkDestination:i,href:l,rel:s,linkClass:u});return Object(he.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(he.createBlock)("core/image",{url:Object(Ze.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){var r=t.shortcode,n=document.implementation.createHTMLDocument("").body;n.innerHTML=r.content;for(var c=n.querySelector("img");c&&c.parentNode&&c.parentNode!==n;)c=c.parentNode;return c&&c.parentNode.removeChild(c),n.innerHTML.trim()}},href:{shortcode:function(e,t){return Mt(t.shortcode.content,"href")}},rel:{shortcode:function(e,t){return Mt(t.shortcode.content,"rel")}},linkClass:{shortcode:function(e,t){return Mt(t.shortcode.content,"class")}},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","")}}}}]},Ht={name:"core/image",category:"common",attributes:{align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},title:{type:"string",source:"attribute",selector:"img",attribute:"title"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{lightBlockWrapper:!0}},Dt=Ht.name,Lt={title:Object(Oe.__)("Image"),description:Object(Oe.__)("Insert an image to make a visual statement."),icon:Ue,keywords:["img",Object(Oe.__)("photo")],example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(Oe.__)("Mont Blanc appears—still, snowy, and serene.")}},styles:[{name:"default",label:Object(Oe._x)("Default","block style"),isDefault:!0},{name:"rounded",label:Object(Oe._x)("Rounded","block style")}],__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.caption,n=e.alt;return e.url?n?n+(r?". "+r:""):r||"":Object(Oe.__)("Empty")}},getEditWrapperProps:function(e){return{"data-align":e.align}},transforms:At,edit:Nt,save:function(e){var t,r=e.attributes,n=r.url,c=r.alt,o=r.caption,a=r.align,i=r.href,l=r.rel,s=r.linkClass,u=r.width,b=r.height,m=r.id,d=r.linkTarget,p=r.sizeSlug,g=r.title,h=Object(fe.isEmpty)(l)?void 0:l,f=_e()((t={},Object(de.a)(t,"align".concat(a),a),Object(de.a)(t,"size-".concat(p),p),Object(de.a)(t,"is-resized",u||b),t)),O=Object(ve.createElement)("img",{src:n,alt:c,className:m?"wp-image-".concat(m):null,width:u,height:b,title:g}),v=Object(ve.createElement)(ve.Fragment,null,i?Object(ve.createElement)("a",{className:s,href:i,target:d,rel:h},O):O,!ge.RichText.isEmpty(o)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:o}));return"left"===a||"right"===a||"center"===a?Object(ve.createElement)("div",null,Object(ve.createElement)("figure",{className:f},v)):Object(ve.createElement)("figure",{className:f},v)},deprecated:qe},Vt=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"}));function Ft(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ft(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Gt={className:!1,anchor:!0},Wt={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"}},qt=function(e){if(!e.customTextColor)return e;var t={color:{text:e.customTextColor}};return Ut({},Object(fe.omit)(e,["customTextColor"]),{style:t})},Zt=[{supports:Gt,attributes:Ut({},Wt,{customTextColor:{type:"string"},textColor:{type:"string"}}),migrate:qt,save:function(e){var t,r=e.attributes,n=r.align,c=r.content,o=r.customTextColor,a=r.level,i=r.textColor,l="h"+a,s=Object(ge.getColorClassName)("color",i),u=_e()((t={},Object(de.a)(t,s,s),Object(de.a)(t,"has-text-color",i||o),Object(de.a)(t,"has-text-align-".concat(n),n),t));return Object(ve.createElement)(ge.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:o},value:c})}},{attributes:Ut({},Wt,{customTextColor:{type:"string"},textColor:{type:"string"}}),migrate:qt,save:function(e){var t,r=e.attributes,n=r.align,c=r.content,o=r.customTextColor,a=r.level,i=r.textColor,l="h"+a,s=Object(ge.getColorClassName)("color",i),u=_e()((t={},Object(de.a)(t,s,s),Object(de.a)(t,"has-text-align-".concat(n),n),t));return Object(ve.createElement)(ge.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:o},value:c})},supports:Gt},{supports:Gt,attributes:Ut({},Wt,{customTextColor:{type:"string"},textColor:{type:"string"}}),migrate:qt,save:function(e){var t=e.attributes,r=t.align,n=t.level,c=t.content,o=t.textColor,a=t.customTextColor,i="h"+n,l=Object(ge.getColorClassName)("color",o),s=_e()(Object(de.a)({},l,l));return Object(ve.createElement)(ge.RichText.Content,{className:s||void 0,tagName:i,style:{textAlign:r,color:l?void 0:a},value:c})}}],Kt=r(18),Qt=r(17),$t=r(20),Jt=r(13),Yt=r(19);function Xt(e){var t=e.level,r=e.isPressed,n=void 0!==r&&r,c={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return c.hasOwnProperty(t)?Object(ve.createElement)(Te.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},Object(ve.createElement)(Te.Path,{d:c[t]})):null}function er(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var tr=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(er()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){return Object(Kt.a)(this,n),r.apply(this,arguments)}return Object(Qt.a)(n,[{key:"createLevelControl",value:function(e,t,r){var n=e===t;return{icon:Object(ve.createElement)(Xt,{level:e,isPressed:n}),title:Object(Oe.sprintf)(Object(Oe.__)("Heading %d"),e),isActive:n,onClick:function(){return r(e)}}}},{key:"render",value:function(){var e=this,t=this.props,r=t.isCollapsed,n=void 0===r||r,c=t.minLevel,o=t.maxLevel,a=t.selectedLevel,i=t.onChange;return Object(ve.createElement)(Te.ToolbarGroup,{isCollapsed:n,icon:Object(ve.createElement)(Xt,{level:a}),controls:Object(fe.range)(c,o).map((function(t){return e.createLevelControl(t,a,i)})),label:Object(Oe.__)("Change heading level")})}}]),n}(ve.Component);function rr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var nr=function(e){var t=e.attributes,r=e.setAttributes,n=e.mergeBlocks,c=e.onReplace,o=e.mergedStyle,a=t.align,i=t.content,l=t.level,s=t.placeholder,u="h"+l;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(tr,{minLevel:"web"===ve.Platform.OS?2:1,maxLevel:"web"===ve.Platform.OS?5:7,selectedLevel:l,onChange:function(e){return r({level:e})}}),Object(ve.createElement)(ge.AlignmentToolbar,{value:a,onChange:function(e){r({align:e})}})),"web"===ve.Platform.OS&&Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Heading settings")},Object(ve.createElement)(Te.__experimentalText,{variant:"label"},Object(Oe.__)("Level")),Object(ve.createElement)(tr,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:l,onChange:function(e){return r({level:e})}}))),Object(ve.createElement)(ge.RichText,{identifier:"content",tagName:ge.__experimentalBlock[u],value:i,onChange:function(e){return r({content:e})},onMerge:n,onSplit:function(e){return e?Object(he.createBlock)("core/heading",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rr(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{content:e})):Object(he.createBlock)("core/paragraph")},onReplace:c,onRemove:function(){return c([])},className:_e()(Object(de.a)({},"has-text-align-".concat(a),a)),placeholder:s||Object(Oe.__)("Write heading…"),textAlign:a,style:o}))};var cr={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(he.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:function(e){var t={children:e.phrasingContentSchema,attributes:e.isPaste?[]:["style"]};return{h1:t,h2:t,h3:t,h4:t,h5:t,h6:t}},transform:function(e){var t,r=Object(he.getBlockAttributes)("core/heading",e.outerHTML),n=(e.style||{}).textAlign;return r.level=(t=e.nodeName,Number(t.substr(1))),"left"!==n&&"center"!==n&&"right"!==n||(r.align=n),Object(he.createBlock)("core/heading",r)}}].concat(Object(me.a)([2,3,4,5,6].map((function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(he.createBlock)("core/heading",{level:e,content:t})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(he.createBlock)("core/paragraph",{content:t})}}]},or={name:"core/heading",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"}}},ar=or.name,ir={title:Object(Oe.__)("Heading"),description:Object(Oe.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:Vt,keywords:[Object(Oe.__)("title"),Object(Oe.__)("subtitle")],supports:{className:!1,anchor:!0,__unstablePasteTextInline:!0,lightBlockWrapper:!0,__experimentalColor:"web"===ve.Platform.OS,__experimentalLineHeight:!0,__experimentalFontSize:!0},example:{attributes:{content:Object(Oe.__)("Code is Poetry"),level:2}},__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.content,n=e.level;return Object(fe.isEmpty)(r)?Object(Oe.sprintf)(Object(Oe.__)("Level %s. Empty."),n):Object(Oe.sprintf)(Object(Oe.__)("Level %1$s. %2$s"),n,r)}},transforms:cr,deprecated:Zt,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:nr,save:function(e){var t=e.attributes,r=t.align,n=t.content,c="h"+t.level,o=_e()(Object(de.a)({},"has-text-align-".concat(r),r));return Object(ve.createElement)(ge.RichText.Content,{className:o||void 0,tagName:c,value:n})}},lr=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"}));function sr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ur(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sr(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var br={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}},mr=[{attributes:br,save:function(e){var t=e.attributes,r=t.align,n=t.value,c=t.citation;return Object(ve.createElement)("blockquote",{style:{textAlign:r||null}},Object(ve.createElement)(ge.RichText.Content,{multiline:!0,value:n}),!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:c}))}},{attributes:ur({},br,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?ur({},Object(fe.omit)(e,["style"]),{className:e.className?e.className+" is-style-large":"is-style-large"}):e},save:function(e){var t=e.attributes,r=t.align,n=t.value,c=t.citation,o=t.style;return Object(ve.createElement)("blockquote",{className:2===o?"is-large":"",style:{textAlign:r||null}},Object(ve.createElement)(ge.RichText.Content,{multiline:!0,value:n}),!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:c}))}},{attributes:ur({},br,{citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}}),save:function(e){var t=e.attributes,r=t.align,n=t.value,c=t.citation,o=t.style;return Object(ve.createElement)("blockquote",{className:"blocks-quote-style-".concat(o),style:{textAlign:r||null}},Object(ve.createElement)(ge.RichText.Content,{multiline:!0,value:n}),!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"footer",value:c}))}}];function dr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var pr=r(15),gr=r(26);function hr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var fr={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(he.createBlock)("core/quote",{value:Object(gr.toHTMLString)({value:Object(gr.join)(e.map((function(e){var t=e.content;return Object(gr.create)({html:t})})),"\u2028"),multilineTag:"p"})})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(he.createBlock)("core/quote",{value:"<p>".concat(t,"</p>")})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,r=e.citation;return Object(he.createBlock)("core/quote",{value:t,citation:r})}},{type:"prefix",prefix:">",transform:function(e){return Object(he.createBlock)("core/quote",{value:"<p>".concat(e,"</p>")})}},{type:"raw",isMatch:function(e){var t,r=(t=!1,function(e){return"P"===e.nodeName||(t||"CITE"!==e.nodeName?void 0:(t=!0,!0))});return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(r)},schema:function(e){var t=e.phrasingContentSchema;return{blockquote:{children:{p:{children:t},cite:{children:t}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,r=e.citation,n=[];return t&&"<p></p>"!==t&&n.push.apply(n,Object(me.a)(Object(gr.split)(Object(gr.create)({html:t,multilineTag:"p"}),"\u2028").map((function(e){return Object(he.createBlock)("core/paragraph",{content:Object(gr.toHTMLString)({value:e})})})))),r&&"<p></p>"!==r&&n.push(Object(he.createBlock)("core/paragraph",{content:r})),0===n.length?Object(he.createBlock)("core/paragraph",{content:""}):n}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,r=e.citation,n=Object(pr.a)(e,["value","citation"]);if("<p></p>"===t)return Object(he.createBlock)("core/heading",{content:r});var c=Object(gr.split)(Object(gr.create)({html:t,multilineTag:"p"}),"\u2028"),o=Object(he.createBlock)("core/heading",{content:Object(gr.toHTMLString)({value:c[0]})});if(!r&&1===c.length)return o;var a=c.slice(1);return[o,Object(he.createBlock)("core/quote",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hr(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},n,{citation:r,value:Object(gr.toHTMLString)({value:a.length?Object(gr.join)(c.slice(1),"\u2028"):Object(gr.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,r=e.citation;return Object(he.createBlock)("core/pullquote",{value:t,citation:r})}}]};function Or(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function vr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Or(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Or(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var jr={name:"core/quote",category:"common",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}}},yr=jr.name,wr={title:Object(Oe.__)("Quote"),description:Object(Oe.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:lr,keywords:[Object(Oe.__)("blockquote"),Object(Oe.__)("cite")],example:{attributes:{value:"<p>"+Object(Oe.__)("In quoting others, we cite ourselves.")+"</p>",citation:"Julio Cortázar",className:"is-style-large"}},styles:[{name:"default",label:Object(Oe._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(Oe._x)("Large","block style")}],transforms:fr,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.isSelected,c=e.mergeBlocks,o=e.onReplace,a=e.className,i=t.align,l=t.value,s=t.citation;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.AlignmentToolbar,{value:i,onChange:function(e){r({align:e})}})),Object(ve.createElement)(Te.BlockQuotation,{className:_e()(a,Object(de.a)({},"has-text-align-".concat(i),i))},Object(ve.createElement)(ge.RichText,{identifier:"value",multiline:!0,value:l,onChange:function(e){return r({value:e})},onMerge:c,onRemove:function(e){var t=!s||0===s.length;!e&&t&&o([])},placeholder:Object(Oe.__)("Write quote…"),onReplace:o,onSplit:function(e){return Object(he.createBlock)("core/quote",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dr(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{value:e}))},__unstableOnSplitMiddle:function(){return Object(he.createBlock)("core/paragraph")},textAlign:i}),(!ge.RichText.isEmpty(s)||n)&&Object(ve.createElement)(ge.RichText,{identifier:"citation",value:s,onChange:function(e){return r({citation:e})},__unstableMobileNoFocusOnMount:!0,placeholder:Object(Oe.__)("Write citation…"),className:"wp-block-quote__citation",textAlign:i})))},save:function(e){var t=e.attributes,r=t.align,n=t.value,c=t.citation,o=_e()(Object(de.a)({},"has-text-align-".concat(r),r));return Object(ve.createElement)("blockquote",{className:o},Object(ve.createElement)(ge.RichText.Content,{multiline:!0,value:n}),!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:c}))},merge:function(e,t){var r=t.value,n=t.citation;return n||(n=e.citation),vr({},e,r&&"<p></p>"!==r?{value:e.value+r,citation:n}:{citation:n})},deprecated:mr},_r=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8h-1.5zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zM4.5 4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1V12l-2.3-1.7c-.3-.2-.6-.2-.9 0l-2.9 2.1L8 11.3c-.2-.1-.5-.1-.7 0l-2.9 1.5V4.6zm0 11.8v-1.8l3.2-1.7 2.4 1.2c.2.1.5.1.8-.1l2.8-2 2.8 2v2.5c0 .1-.1.1-.1.1H4.6c0-.1-.1-.2-.1-.2z"}));function kr(e){return Math.min(3,e.images.length)}var Cr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large",r=Object(fe.pick)(e,["alt","id","link","caption"]);r.url=Object(fe.get)(e,["sizes",t,"url"])||Object(fe.get)(e,["media_details","sizes",t,"source_url"])||e.url;var n=Object(fe.get)(e,["sizes","full","url"])||Object(fe.get)(e,["media_details","sizes","full","source_url"]);return n&&(r.fullUrl=n),r};function Er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Er(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Sr=[{attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",default:[]},columns:{type:"number"},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},isEligible:function(e){var t=e.ids;return t&&t.some((function(e){return"string"==typeof e}))},migrate:function(e){return xr({},e,{ids:Object(fe.map)(e.ids,(function(e){var t=parseInt(e,10);return Number.isInteger(t)?t:null}))})},save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?kr(t):n,o=t.imageCrop,a=t.caption,i=t.linkTo;return Object(ve.createElement)("figure",{className:"columns-".concat(c," ").concat(o?"is-cropped":"")},Object(ve.createElement)("ul",{className:"blocks-gallery-grid"},r.map((function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var r=Object(ve.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(ve.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ve.createElement)("figure",null,t?Object(ve.createElement)("a",{href:t},r):r,!ge.RichText.isEmpty(e.caption)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!ge.RichText.isEmpty(a)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?kr(t):n,o=t.imageCrop,a=t.linkTo;return Object(ve.createElement)("ul",{className:"columns-".concat(c," ").concat(o?"is-cropped":"")},r.map((function(e){var t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var r=Object(ve.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(ve.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ve.createElement)("figure",null,t?Object(ve.createElement)("a",{href:t},r):r,e.caption&&e.caption.length>0&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible:function(e){var t=e.images,r=e.ids;return t&&t.length>0&&(!r&&t||r&&t&&r.length!==t.length||Object(fe.some)(t,(function(e,t){return!e&&null!==r[t]||parseInt(e,10)!==r[t]})))},migrate:function(e){return xr({},e,{ids:Object(fe.map)(e.images,(function(e){var t=e.id;return t?parseInt(t,10):null}))})},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?kr(t):n,o=t.imageCrop,a=t.linkTo;return Object(ve.createElement)("ul",{className:"columns-".concat(c," ").concat(o?"is-cropped":"")},r.map((function(e){var t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(ve.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(ve.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ve.createElement)("figure",null,t?Object(ve.createElement)("a",{href:t},r):r,e.caption&&e.caption.length>0&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?kr(t):n,o=t.align,a=t.imageCrop,i=t.linkTo,l=_e()("columns-".concat(c),{alignnone:"none"===o,"is-cropped":a});return Object(ve.createElement)("div",{className:l},r.map((function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(ve.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(ve.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(ve.createElement)("a",{href:t},r):r)})))}}],Pr=r(9),Br=r(72),Tr=Object(ve.createElement)(ge.BlockIcon,{icon:_r}),Nr=r(21),Rr=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})),zr=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})),Mr=r(104);function Ir(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Ar=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Ir()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onBlur=e.onBlur.bind(Object(Pr.a)(e)),e.onFocus=e.onFocus.bind(Object(Pr.a)(e)),e.onSelectImage=e.onSelectImage.bind(Object(Pr.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(Pr.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(Pr.a)(e)),e.bindContainer=e.bindContainer.bind(Object(Pr.a)(e)),e.debouncedOnDeselect=Object(fe.debounce)(e.props.onDeselect,50),e.state={captionSelected:!1},e}return Object(Qt.a)(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onSelectImage",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onRemoveImage",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[Nr.BACKSPACE,Nr.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isSelected,n=t.image,c=t.url,o=t.__unstableMarkNextChangeAsNotPersistent;n&&!c&&(o(),this.props.setAttributes({url:n.source_url,alt:n.alt_text})),this.state.captionSelected&&!r&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"onBlur",value:function(){this.debouncedOnDeselect()}},{key:"onFocus",value:function(){this.debouncedOnDeselect.cancel()}},{key:"render",value:function(){var e,t=this.props,r=t.url,n=t.alt,c=t.id,o=t.linkTo,a=t.link,i=t.isFirstItem,l=t.isLastItem,s=t.isSelected,u=t.caption,b=t.onRemove,m=t.onMoveForward,d=t.onMoveBackward,p=t.setAttributes,g=t["aria-label"];switch(o){case"media":e=r;break;case"attachment":e=a}var h=Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)("img",{src:r,alt:n,"data-id":c,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":g,ref:this.bindContainer}),Object(Ze.isBlobURL)(r)&&Object(ve.createElement)(Te.Spinner,null)),f=_e()({"is-selected":s,"is-transient":Object(Ze.isBlobURL)(r)});return Object(ve.createElement)("figure",{className:f,onBlur:this.onBlur,onFocus:this.onFocus},e?Object(ve.createElement)("a",{href:e},h):h,Object(ve.createElement)("div",{className:"block-library-gallery-item__move-menu"},Object(ve.createElement)(Te.Button,{icon:Rr,onClick:i?void 0:d,className:"blocks-gallery-item__move-backward",label:Object(Oe.__)("Move image backward"),"aria-disabled":i,disabled:!s}),Object(ve.createElement)(Te.Button,{icon:zr,onClick:l?void 0:m,className:"blocks-gallery-item__move-forward",label:Object(Oe.__)("Move image forward"),"aria-disabled":l,disabled:!s})),Object(ve.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(ve.createElement)(Te.Button,{icon:Mr.a,onClick:b,className:"blocks-gallery-item__remove",label:Object(Oe.__)("Remove image"),disabled:!s})),(s||u)&&Object(ve.createElement)(ge.RichText,{tagName:"figcaption",placeholder:s?Object(Oe.__)("Write caption…"):null,value:u,isSelected:this.state.captionSelected,onChange:function(e){return p({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),n}(ve.Component),Hr=Object(Ke.compose)([Object(Ne.withSelect)((function(e,t){var r=e("core").getMedia,n=t.id;return{image:n?r(parseInt(n,10)):null}})),Object(Ne.withDispatch)((function(e){return{__unstableMarkNextChangeAsNotPersistent:e("core/block-editor").__unstableMarkNextChangeAsNotPersistent}}))])(Ar);function Dr(e){var t=e.isHidden,r=Object(pr.a)(e,["isHidden"]);return t?Object(ve.createElement)(Te.VisuallyHidden,Object(Ge.a)({as:ge.RichText},r)):Object(ve.createElement)(ge.RichText,r)}var Lr=function(e){var t,r=e.attributes,n=e.className,c=e.isSelected,o=e.setAttributes,a=e.selectedImage,i=e.mediaPlaceholder,l=e.onMoveBackward,s=e.onMoveForward,u=e.onRemoveImage,b=e.onSelectImage,m=e.onDeselectImage,d=e.onSetImageAttributes,p=e.onFocusGalleryCaption,g=r.align,h=r.columns,f=void 0===h?kr(r):h,O=r.caption,v=r.imageCrop,j=r.images;return Object(ve.createElement)("figure",{className:_e()(n,(t={},Object(de.a)(t,"align".concat(g),g),Object(de.a)(t,"columns-".concat(f),f),Object(de.a)(t,"is-cropped",v),t))},Object(ve.createElement)("ul",{className:"blocks-gallery-grid"},j.map((function(e,t){var r=Object(Oe.sprintf)(Object(Oe.__)("image %1$d of %2$d in gallery"),t+1,j.length);return Object(ve.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(ve.createElement)(Hr,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===t,isLastItem:t+1===j.length,isSelected:c&&a===t,onMoveBackward:l(t),onMoveForward:s(t),onRemove:u(t),onSelect:b(t),onDeselect:m(t),setAttributes:function(e){return d(t,e)},caption:e.caption,"aria-label":r}))}))),i,Object(ve.createElement)(Dr,{isHidden:!c&&ge.RichText.isEmpty(O),tagName:"figcaption",className:"blocks-gallery-caption",placeholder:Object(Oe.__)("Write gallery caption…"),value:O,unstableOnFocus:p,onChange:function(e){return o({caption:e})},inlineToolbar:!0}))};function Vr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vr(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ur(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Gr=[{value:"attachment",label:Object(Oe.__)("Attachment Page")},{value:"media",label:Object(Oe.__)("Media File")},{value:"none",label:Object(Oe.__)("None")}],Wr=["image"],qr=ve.Platform.select({web:Object(Oe.__)("Drag images, upload new ones or select files from your library."),native:Object(Oe.__)("ADD MEDIA")}),Zr=ve.Platform.select({web:{},native:{type:"stepper"}}),Kr=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Ur()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onSelectImage=e.onSelectImage.bind(Object(Pr.a)(e)),e.onSelectImages=e.onSelectImages.bind(Object(Pr.a)(e)),e.onDeselectImage=e.onDeselectImage.bind(Object(Pr.a)(e)),e.setLinkTo=e.setLinkTo.bind(Object(Pr.a)(e)),e.setColumnsNumber=e.setColumnsNumber.bind(Object(Pr.a)(e)),e.toggleImageCrop=e.toggleImageCrop.bind(Object(Pr.a)(e)),e.onMove=e.onMove.bind(Object(Pr.a)(e)),e.onMoveForward=e.onMoveForward.bind(Object(Pr.a)(e)),e.onMoveBackward=e.onMoveBackward.bind(Object(Pr.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(Pr.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Pr.a)(e)),e.setImageAttributes=e.setImageAttributes.bind(Object(Pr.a)(e)),e.setAttributes=e.setAttributes.bind(Object(Pr.a)(e)),e.onFocusGalleryCaption=e.onFocusGalleryCaption.bind(Object(Pr.a)(e)),e.getImagesSizeOptions=e.getImagesSizeOptions.bind(Object(Pr.a)(e)),e.updateImagesSize=e.updateImagesSize.bind(Object(Pr.a)(e)),e.state={selectedImage:null,attachmentCaptions:null},e}return Object(Qt.a)(n,[{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=Fr({},e,{ids:Object(fe.map)(e.images,(function(e){var t=e.id;return parseInt(t,10)}))})),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onDeselectImage",value:function(e){var t=this;return function(){t.state.selectedImage===e&&t.setState({selectedImage:null})}}},{key:"onMove",value:function(e,t){var r=Object(me.a)(this.props.attributes.images);r.splice(t,1,this.props.attributes.images[e]),r.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.setAttributes({images:r})}},{key:"onMoveForward",value:function(e){var t=this;return function(){e!==t.props.attributes.images.length-1&&t.onMove(e,e+1)}}},{key:"onMoveBackward",value:function(e){var t=this;return function(){0!==e&&t.onMove(e,e-1)}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var r=Object(fe.filter)(t.props.attributes.images,(function(t,r){return e!==r})),n=t.props.attributes.columns;t.setState({selectedImage:null}),t.setAttributes({images:r,columns:n?Math.min(r.length,n):n})}}},{key:"selectCaption",value:function(e,t,r){var n=Object(fe.toString)(e.id),c=Object(fe.find)(t,{id:n}),o=c?c.caption:e.caption;if(!r)return o;var a=Object(fe.find)(r,{id:n});return a&&a.caption!==e.caption?e.caption:o}},{key:"onSelectImages",value:function(e){var t=this,r=this.props.attributes,n=r.columns,c=r.images,o=r.sizeSlug,a=this.state.attachmentCaptions;this.setState({attachmentCaptions:e.map((function(e){return{id:Object(fe.toString)(e.id),caption:e.caption}}))}),this.setAttributes({images:e.map((function(e){return Fr({},Cr(e,o),{caption:t.selectCaption(e,c,a),id:Object(fe.toString)(e.id)})})),columns:n?Math.min(e.length,n):n})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(Oe.__)("Thumbnails are cropped to align."):Object(Oe.__)("Thumbnails are not cropped.")}},{key:"onFocusGalleryCaption",value:function(){this.setState({selectedImage:null})}},{key:"setImageAttributes",value:function(e,t){var r=this.props.attributes.images,n=this.setAttributes;r[e]&&n({images:[].concat(Object(me.a)(r.slice(0,e)),[Fr({},r[e],{},t)],Object(me.a)(r.slice(e+1)))})}},{key:"getImagesSizeOptions",value:function(){var e=this.props,t=e.imageSizes,r=e.resizedImages;return Object(fe.map)(Object(fe.filter)(t,(function(e){var t=e.slug;return Object(fe.some)(r,(function(e){return e[t]}))})),(function(e){var t=e.name;return{value:e.slug,label:t}}))}},{key:"updateImagesSize",value:function(e){var t=this.props,r=t.attributes.images,n=t.resizedImages,c=Object(fe.map)(r,(function(t){if(!t.id)return t;var r=Object(fe.get)(n,[parseInt(t.id,10),e]);return Fr({},t,{},r&&{url:r})}));this.setAttributes({images:c,sizeSlug:e})}},{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,r=e.mediaUpload,n=t.images;if("web"===ve.Platform.OS&&n&&n.length>0&&Object(fe.every)(n,(function(e){var t=e.url;return Object(Ze.isBlobURL)(t)}))){var c=Object(fe.map)(n,(function(e){var t=e.url;return Object(Ze.getBlobByURL)(t)}));Object(fe.forEach)(n,(function(e){var t=e.url;return Object(Ze.revokeBlobURL)(t)})),r({filesList:c,onFileChange:this.onSelectImages,allowedTypes:["image"]})}}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.className,n=e.isSelected,c=e.noticeUI,o=t.columns,a=void 0===o?kr(t):o,i=t.imageCrop,l=t.images,s=t.linkTo,u=t.sizeSlug,b=!!l.length,m=Object(ve.createElement)(ge.MediaPlaceholder,{addToGallery:b,isAppender:b,className:r,disableMediaButtons:b&&!n,icon:!b&&Tr,labels:{title:!b&&Object(Oe.__)("Gallery"),instructions:!b&&qr},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:Wr,multiple:!0,value:l,onError:this.onUploadError,notices:b?void 0:c,onFocus:this.props.onFocus});if(!b)return m;var d=this.getImagesSizeOptions(),p=b&&!Object(fe.isEmpty)(d);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Gallery settings")},l.length>1&&Object(ve.createElement)(Te.RangeControl,Object(Ge.a)({label:Object(Oe.__)("Columns"),value:a,onChange:this.setColumnsNumber,min:1,max:Math.min(8,l.length)},Zr,{required:!0})),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Crop images"),checked:!!i,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Link to"),value:s,onChange:this.setLinkTo,options:Gr}),p&&Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Images size"),value:u,options:d,onChange:this.updateImagesSize}))),c,Object(ve.createElement)(Lr,Object(Ge.a)({},this.props,{selectedImage:this.state.selectedImage,mediaPlaceholder:m,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onDeselectImage:this.onDeselectImage,onSetImageAttributes:this.setImageAttributes,onFocusGalleryCaption:this.onFocusGalleryCaption})))}}]),n}(ve.Component),Qr=Object(Ke.compose)([Object(Ne.withSelect)((function(e,t){var r=t.attributes.ids,n=t.isSelected,c=e("core").getMedia,o=(0,e("core/block-editor").getSettings)(),a=o.imageSizes,i=o.mediaUpload,l={};return n&&(l=Object(fe.reduce)(r,(function(e,t){if(!t)return e;var r=c(t),n=Object(fe.reduce)(a,(function(e,t){var n=Object(fe.get)(r,["sizes",t.slug,"url"]),c=Object(fe.get)(r,["media_details","sizes",t.slug,"source_url"]);return Fr({},e,Object(de.a)({},t.slug,n||c))}),{});return Fr({},e,Object(de.a)({},parseInt(t,10),n))}),{})),{imageSizes:a,mediaUpload:i,resizedImages:l}})),Te.withNotices,Object(Br.withViewportMatch)({isNarrow:"< small"})])(Kr);var $r=function(e){return e?e.split(",").map((function(e){return parseInt(e,10)})):[]},Jr={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0],r=t.align,n=t.sizeSlug;r=Object(fe.every)(e,["align",r])?r:void 0,n=Object(fe.every)(e,["sizeSlug",n])?n:void 0;var c=Object(fe.filter)(e,(function(e){return e.url}));return Object(he.createBlock)("core/gallery",{images:c.map((function(e){var t=e.id,r=e.url,n=e.alt,c=e.caption;return{id:Object(fe.toString)(t),url:r,alt:n,caption:c}})),ids:c.map((function(e){var t=e.id;return parseInt(t,10)})),align:r,sizeSlug:n})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return $r(t).map((function(e){return{id:Object(fe.toString)(e)}}))}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return $r(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,r=void 0===t?"attachment":t;return"file"===r?"media":r}}}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(fe.every)(e,(function(e){return 0===e.type.indexOf("image/")}))},transform:function(e){return Object(he.createBlock)("core/gallery",{images:e.map((function(e){return Cr({url:Object(Ze.createBlobURL)(e)})}))})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,r=e.align,n=e.sizeSlug,c=e.ids;return t.length>0?t.map((function(e,t){var o=e.url,a=e.alt,i=e.caption;return Object(he.createBlock)("core/image",{id:c[t],url:o,alt:a,caption:i,align:r,sizeSlug:n})})):Object(he.createBlock)("core/image",{align:r})}}]},Yr={name:"core/gallery",category:"common",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},sizeSlug:{type:"string",default:"large"}},supports:{align:!0}},Xr=Yr.name,en={title:Object(Oe.__)("Gallery"),description:Object(Oe.__)("Display multiple images in a rich gallery."),icon:_r,keywords:[Object(Oe.__)("images"),Object(Oe.__)("photos")],example:{attributes:{columns:2,images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},transforms:Jr,edit:Qr,save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?kr(t):n,o=t.imageCrop,a=t.caption,i=t.linkTo;return Object(ve.createElement)("figure",{className:"columns-".concat(c," ").concat(o?"is-cropped":"")},Object(ve.createElement)("ul",{className:"blocks-gallery-grid"},r.map((function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var r=Object(ve.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(ve.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ve.createElement)("figure",null,t?Object(ve.createElement)("a",{href:t},r):r,!ge.RichText.isEmpty(e.caption)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!ge.RichText.isEmpty(a)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))},deprecated:Sr},tn=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5zM8 12.8h8v-1.5H8v1.5zm0 3h8v-1.5H8v1.5z"})),rn=r(68),nn=r.n(rn);var cn={name:"core/archives",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},displayAsDropdown:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,html:!1}},on=cn.name,an={title:Object(Oe.__)("Archives"),description:Object(Oe.__)("Display a monthly archive of your posts."),icon:tn,example:{},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.showPostCounts,c=t.displayAsDropdown;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Archives settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display as dropdown"),checked:c,onChange:function(){return r({displayAsDropdown:!c})}}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Show post counts"),checked:n,onChange:function(){return r({showPostCounts:!n})}}))),Object(ve.createElement)(Te.Disabled,null,Object(ve.createElement)(nn.a,{block:"core/archives",attributes:t})))}},ln=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})),sn=[{attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,c=t.loop,o=t.preload,a=t.src;return Object(ve.createElement)("figure",null,Object(ve.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:c,preload:o}),!ge.RichText.isEmpty(n)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:n}))}}];function un(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var bn=["audio"],mn=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(un()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).toggleAttribute=e.toggleAttribute.bind(Object(Pr.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(Pr.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,r=e.mediaUpload,n=e.noticeOperations,c=e.setAttributes,o=t.id,a=t.src,i=void 0===a?"":a;if(!o&&Object(Ze.isBlobURL)(i)){var l=Object(Ze.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(e){var t=Object(Be.a)(e,1)[0],r=t.id,n=t.url;c({id:r,src:n})},onError:function(e){c({src:void 0,id:void 0}),n.createErrorNotice(e)},allowedTypes:bn})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(r){t.props.setAttributes(Object(de.a)({},e,r))}}},{key:"onSelectURL",value:function(e){var t=this.props,r=t.attributes,n=t.setAttributes;if(e!==r.src){var c=kt({attributes:{url:e}});if(void 0!==c)return void this.props.onReplace(c);n({src:e,id:void 0})}}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"getAutoplayHelp",value:function(e){return e?Object(Oe.__)("Note: Autoplaying audio may cause usability issues for some visitors."):null}},{key:"render",value:function(){var e=this.props.attributes,t=e.id,r=e.autoplay,n=e.caption,c=e.loop,o=e.preload,a=e.src,i=this.props,l=i.setAttributes,s=i.isSelected,u=i.noticeUI,b=function(e){e&&e.url?l({src:e.url,id:e.id}):l({src:void 0,id:void 0})};return a?Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.MediaReplaceFlow,{mediaId:t,mediaURL:a,allowedTypes:bn,accept:"audio/*",onSelect:b,onSelectURL:this.onSelectURL,onError:this.onUploadError})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Audio settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:r,help:this.getAutoplayHelp}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:c}),Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Preload"),value:o||"",onChange:function(e){return l({preload:e||void 0})},options:[{value:"",label:Object(Oe.__)("Browser default")},{value:"auto",label:Object(Oe.__)("Auto")},{value:"metadata",label:Object(Oe.__)("Metadata")},{value:"none",label:Object(Oe.__)("None")}]}))),Object(ve.createElement)(ge.__experimentalBlock.figure,null,Object(ve.createElement)(Te.Disabled,null,Object(ve.createElement)("audio",{controls:"controls",src:a})),(!ge.RichText.isEmpty(n)||s)&&Object(ve.createElement)(ge.RichText,{tagName:"figcaption",placeholder:Object(Oe.__)("Write caption…"),value:n,onChange:function(e){return l({caption:e})},inlineToolbar:!0}))):Object(ve.createElement)(ge.__experimentalBlock.div,null,Object(ve.createElement)(ge.MediaPlaceholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:ln}),onSelect:b,onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:bn,value:this.props.attributes,notices:u,onError:this.onUploadError}))}}]),n}(ve.Component),dn=Object(Ke.compose)([Object(Ne.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),Te.withNotices])(mn);var pn={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(he.createBlock)("core/audio",{src:Object(Ze.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:function(e){return e.named.src}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},gn={name:"core/audio",category:"common",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0,lightBlockWrapper:!0}},hn=gn.name,fn={title:Object(Oe.__)("Audio"),description:Object(Oe.__)("Embed a simple audio player."),keywords:[Object(Oe.__)("music"),Object(Oe.__)("sound"),Object(Oe.__)("podcast"),Object(Oe.__)("recording")],icon:ln,transforms:pn,deprecated:sn,edit:dn,save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,c=t.loop,o=t.preload,a=t.src;return a&&Object(ve.createElement)("figure",null,Object(ve.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:c,preload:o}),!ge.RichText.isEmpty(n)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:n}))}},On=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 13h8v-1.5H8V13z"})),vn={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:function(e){return Object(he.createBlock)("core/buttons",{},e.map((function(e){return Object(he.createBlock)("core/button",e)})))}}]};function jn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jn(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var wn=function(e){if(!e.customTextColor&&!e.customBackgroundColor&&!e.customGradient)return e;var t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customGradient&&(t.color.gradient=e.customGradient),yn({},Object(fe.omit)(e,["customTextColor","customBackgroundColor","customGradient"]),{style:t})},_n=function(e){return wn(Object(fe.omit)(yn({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"]))},kn={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"}},Cn=[{supports:{align:!0,alignWide:!1,__experimentalColor:{gradients:!0}},attributes:yn({},kn,{linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}}),save:function(e){var t=e.attributes,r=t.borderRadius,n=t.linkTarget,c=t.rel,o=t.text,a=t.title,i=t.url,l=_e()("wp-block-button__link",{"no-border-radius":0===r}),s={borderRadius:r?r+"px":void 0};return Object(ve.createElement)(ge.RichText.Content,{tagName:"a",className:l,href:i,title:a,style:s,value:o,target:n,rel:c})}},{supports:{align:!0,alignWide:!1},attributes:yn({},kn,{linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},customGradient:{type:"string"},gradient:{type:"string"}}),isEligible:function(e){return!!e.customTextColor||!!e.customBackgroundColor||!!e.customGradient},migrate:wn,save:function(e){var t,r=e.attributes,n=r.backgroundColor,c=r.borderRadius,o=r.customBackgroundColor,a=r.customTextColor,i=r.customGradient,l=r.linkTarget,s=r.gradient,u=r.rel,b=r.text,m=r.textColor,d=r.title,p=r.url,g=Object(ge.getColorClassName)("color",m),h=!i&&Object(ge.getColorClassName)("background-color",n),f=Object(ge.__experimentalGetGradientClass)(s),O=_e()("wp-block-button__link",(t={"has-text-color":m||a},Object(de.a)(t,g,g),Object(de.a)(t,"has-background",n||o||i||s),Object(de.a)(t,h,h),Object(de.a)(t,"no-border-radius",0===c),Object(de.a)(t,f,f),t)),v={background:i||void 0,backgroundColor:h||i||s?void 0:o,color:g?void 0:a,borderRadius:c?c+"px":void 0};return Object(ve.createElement)("div",null,Object(ve.createElement)(ge.RichText.Content,{tagName:"a",className:O,href:p,title:d,style:v,value:b,target:l,rel:u}))}},{attributes:yn({},kn,{align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"}}),isEligible:function(e){return e.className&&e.className.includes("is-style-squared")},migrate:function(e){var t=e.className;return t&&(t=t.replace(/is-style-squared[\s]?/,"").trim()),wn(yn({},e,{className:t||void 0,borderRadius:0}))},save:function(e){var t,r=e.attributes,n=r.backgroundColor,c=r.customBackgroundColor,o=r.customTextColor,a=r.linkTarget,i=r.rel,l=r.text,s=r.textColor,u=r.title,b=r.url,m=Object(ge.getColorClassName)("color",s),d=Object(ge.getColorClassName)("background-color",n),p=_e()("wp-block-button__link",(t={"has-text-color":s||o},Object(de.a)(t,m,m),Object(de.a)(t,"has-background",n||c),Object(de.a)(t,d,d),t)),g={backgroundColor:d?void 0:c,color:m?void 0:o};return Object(ve.createElement)("div",null,Object(ve.createElement)(ge.RichText.Content,{tagName:"a",className:p,href:b,title:u,style:g,value:l,target:a,rel:i}))}},{attributes:yn({},kn,{align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}}),migrate:_n,save:function(e){var t,r=e.attributes,n=r.url,c=r.text,o=r.title,a=r.backgroundColor,i=r.textColor,l=r.customBackgroundColor,s=r.customTextColor,u=Object(ge.getColorClassName)("color",i),b=Object(ge.getColorClassName)("background-color",a),m=_e()("wp-block-button__link",(t={"has-text-color":i||s},Object(de.a)(t,u,u),Object(de.a)(t,"has-background",a||l),Object(de.a)(t,b,b),t)),d={backgroundColor:b?void 0:l,color:u?void 0:s};return Object(ve.createElement)("div",null,Object(ve.createElement)(ge.RichText.Content,{tagName:"a",className:m,href:n,title:o,style:d,value:c}))}},{attributes:yn({},kn,{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,r=t.url,n=t.text,c=t.title,o=t.align,a={backgroundColor:t.color,color:t.textColor};return Object(ve.createElement)("div",{className:"align".concat(o)},Object(ve.createElement)(ge.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:r,title:c,style:a,value:n}))},migrate:_n},{attributes:yn({},kn,{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,r=t.url,n=t.text,c=t.title,o=t.align,a=t.color,i=t.textColor;return Object(ve.createElement)("div",{className:"align".concat(o),style:{backgroundColor:a}},Object(ve.createElement)(ge.RichText.Content,{tagName:"a",href:r,title:c,style:{color:i},value:n}))},migrate:_n}],En=r(188);function xn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xn(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Pn="web"===ve.Platform.OS;var Bn=function e(t){if(!Object(fe.isObject)(t))return t;var r=Object(fe.pickBy)(Object(fe.mapValues)(t,e),fe.identity);return Object(fe.isEqual)(r,{})?void 0:r};function Tn(e){var t=e.settings,r=e.clientId,n=e.enableContrastChecking,c=void 0===n||n,o=window,a=o.getComputedStyle,i=o.Node,l=Object(ve.useState)(),s=Object(Be.a)(l,2),u=s[0],b=s[1],m=Object(ve.useState)(),d=Object(Be.a)(m,2),p=d[0],g=d[1];return Object(ve.useEffect)((function(){if(!Pn||c){var e=function(e){return document.getElementById("block-"+e)}(r);if(e){g(a(e).color);for(var t=e,n=a(t).backgroundColor;"rgba(0, 0, 0, 0)"===n&&t.parentNode&&t.parentNode.nodeType===i.ELEMENT_NODE;)t=t.parentNode,n=a(t).backgroundColor;b(n)}}})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(ge.__experimentalPanelColorGradientSettings,{title:Object(Oe.__)("Color settings"),initialOpen:!1,settings:t},Pn&&c&&Object(ve.createElement)(ge.ContrastChecker,{backgroundColor:u,textColor:p})))}var Nn=function(e){var t,r,n,c=e.attributes,o=Object(Ne.useSelect)((function(e){return e("core/block-editor").getSettings()}),[]),a=o.colors,i=o.gradients,l=Object(ve.useRef)(c);Object(ve.useEffect)((function(){l.current=c}),[c]);var s,u,b=c.style,m=c.textColor,d=c.backgroundColor,p=c.gradient;s=p?Object(ge.getGradientValueBySlug)(i,p):null==b?void 0:null===(u=b.color)||void 0===u?void 0:u.gradient;var g=function(t){return function(r){var n,c,o=Object(ge.getColorObjectByColorValue)(a,r),i=t+"Color",s=Sn({},l.current.style,{color:Sn({},null===(n=l.current)||void 0===n?void 0:null===(c=n.style)||void 0===c?void 0:c.color,Object(de.a)({},t,(null==o?void 0:o.slug)?void 0:r))}),u=(null==o?void 0:o.slug)?o.slug:void 0,b=Object(de.a)({style:Bn(s)},i,u);e.setAttributes(b),l.current=Sn({},l.current,{},b)}};return Object(ve.createElement)(Tn,{enableContrastChecking:!p&&!(null==b?void 0:null===(t=b.color)||void 0===t?void 0:t.gradient),clientId:e.clientId,settings:[{label:Object(Oe.__)("Text Color"),onColorChange:g("text"),colorValue:Object(ge.getColorObjectByAttributeValues)(a,m,null==b?void 0:null===(r=b.color)||void 0===r?void 0:r.text).color},{label:Object(Oe.__)("Background Color"),onColorChange:g("background"),colorValue:Object(ge.getColorObjectByAttributeValues)(a,d,null==b?void 0:null===(n=b.color)||void 0===n?void 0:n.background).color,gradientValue:s,onGradientChange:function(t){var r,n=Object(ge.getGradientSlugByValue)(i,t);if(n){var c,o,a,s=Sn({},null===(c=l.current)||void 0===c?void 0:c.style,{color:Sn({},null===(o=l.current)||void 0===o?void 0:null===(a=o.style)||void 0===a?void 0:a.color,{gradient:void 0})});r={style:Bn(s),gradient:n}}else{var u,b,m,d=Sn({},null===(u=l.current)||void 0===u?void 0:u.style,{color:Sn({},null===(b=l.current)||void 0===b?void 0:null===(m=b.style)||void 0===m?void 0:m.color,{gradient:t})});r={style:Bn(d),gradient:void 0}}e.setAttributes(r),l.current=Sn({},l.current,{},r)}}]})};function Rn(e){var t,r,n,c,o,a,i,l,s,u,b,m=e.backgroundColor,d=e.textColor,p=e.gradient,g=e.style,h=Object(ge.getColorClassName)("background-color",m),f=Object(ge.__experimentalGetGradientClass)(p),O=Object(ge.getColorClassName)("color",d),v=_e()(O,f,(o={},Object(de.a)(o,h,!(null==g?void 0:null===(t=g.color)||void 0===t?void 0:t.gradient)&&!!h),Object(de.a)(o,"has-text-color",d||(null==g?void 0:null===(r=g.color)||void 0===r?void 0:r.text)),Object(de.a)(o,"has-background",m||(null==g?void 0:null===(n=g.color)||void 0===n?void 0:n.background)||p||(null==g?void 0:null===(c=g.color)||void 0===c?void 0:c.gradient)),o));return{className:v||void 0,style:(null==g?void 0:null===(a=g.color)||void 0===a?void 0:a.background)||(null==g?void 0:null===(i=g.color)||void 0===i?void 0:i.text)||(null==g?void 0:null===(l=g.color)||void 0===l?void 0:l.gradient)?{background:(null==g?void 0:null===(s=g.color)||void 0===s?void 0:s.gradient)?g.color.gradient:void 0,backgroundColor:(null==g?void 0:null===(u=g.color)||void 0===u?void 0:u.background)?g.color.background:void 0,color:(null==g?void 0:null===(b=g.color)||void 0===b?void 0:b.text)?g.color.text:void 0}:{}}}function zn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Mn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zn(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function In(e){var t=e.borderRadius,r=void 0===t?"":t,n=e.setAttributes,c=Object(ve.useCallback)((function(e){n({borderRadius:e})}),[n]);return Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Border settings")},Object(ve.createElement)(Te.RangeControl,{value:r,label:Object(Oe.__)("Border radius"),min:0,max:50,initialPosition:5,allowReset:!0,onChange:c}))}function An(e){var t=e.isSelected,r=e.url,n=e.setAttributes,c=e.opensInNewTab,o=e.onToggleOpenInNewTab,a=Object(ve.useState)(!1),i=Object(Be.a)(a,2),l=i[0],s=i[1],u=function(){return s(!0),!1},b=l&&Object(ve.createElement)(Te.Popover,{position:"bottom center",onClose:function(){return s(!1)}},Object(ve.createElement)(ge.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:r,opensInNewTab:c},onChange:function(e){var t=e.url,r=void 0===t?"":t,a=e.opensInNewTab;n({url:r}),c!==a&&o(a)}}));return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(Te.ToolbarButton,{name:"link",icon:En.a,title:Object(Oe.__)("Link"),shortcut:Nr.displayShortcut.primary("k"),onClick:u}))),t&&Object(ve.createElement)(Te.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(de.a)({},Nr.rawShortcut.primary("k"),u)}),b)}var Hn=function(e){var t=e.attributes,r=e.setAttributes,n=e.className,c=e.isSelected,o=e.onReplace,a=e.mergeBlocks,i=t.borderRadius,l=t.linkTarget,s=t.placeholder,u=t.rel,b=t.text,m=t.url,d=Object(ve.useCallback)((function(e){r({rel:e})}),[r]),p=Object(ve.useCallback)((function(e){var t=e?"_blank":void 0,n=u;t&&!u?n="noreferrer noopener":t||"noreferrer noopener"!==u||(n=void 0),r({linkTarget:t,rel:n})}),[u,r]),g=Rn(t);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Nn,e),Object(ve.createElement)(ge.__experimentalBlock.div,null,Object(ve.createElement)(ge.RichText,{placeholder:s||Object(Oe.__)("Add text…"),value:b,onChange:function(e){return r({text:e})},withoutInteractiveFormatting:!0,className:_e()(n,"wp-block-button__link",g.className,{"no-border-radius":0===i}),style:Mn({borderRadius:i?i+"px":void 0},g.style),onSplit:function(e){return Object(he.createBlock)("core/button",Mn({},t,{text:e}))},onReplace:o,onMerge:a,identifier:"text"})),Object(ve.createElement)(An,{url:m,setAttributes:r,isSelected:c,opensInNewTab:"_blank"===l,onToggleOpenInNewTab:p}),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(In,{borderRadius:i,setAttributes:r}),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Link settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Open in new tab"),onChange:p,checked:"_blank"===l}),Object(ve.createElement)(Te.TextControl,{label:Object(Oe.__)("Link rel"),value:u||"",onChange:d}))))};function Dn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ln(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Vn={name:"core/button",category:"layout",parent:["core/buttons"],attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},style:{type:"object"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"}},supports:{align:!0,alignWide:!1,reusable:!1,lightBlockWrapper:!0}},Fn=Vn.name,Un={title:Object(Oe.__)("Button"),description:Object(Oe.__)("Prompt visitors to take action with a button-style link."),icon:On,keywords:[Object(Oe.__)("link")],example:{attributes:{className:"is-style-fill",backgroundColor:"vivid-green-cyan",text:Object(Oe.__)("Call to Action")}},styles:[{name:"fill",label:Object(Oe.__)("Fill"),isDefault:!0},{name:"outline",label:Object(Oe.__)("Outline")}],edit:Hn,save:function(e){var t=e.attributes,r=t.borderRadius,n=t.linkTarget,c=t.rel,o=t.text,a=t.title,i=t.url,l=Rn(t),s=_e()("wp-block-button__link",l.className,{"no-border-radius":0===r}),u=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dn(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({borderRadius:r?r+"px":void 0},l.style);return Object(ve.createElement)("div",null,Object(ve.createElement)(ge.RichText.Content,{tagName:"a",className:s,href:i,title:a,style:u,value:o,target:n,rel:c}))},deprecated:Cn,merge:function(e,t){var r=t.text,n=void 0===r?"":r;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ln(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ln(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{text:e.text+n})}},Gn=[Fn],Wn=[["core/button"]],qn={isEmbedButton:!0};var Zn=function(){return Object(ve.createElement)(ge.__experimentalBlock.div,null,Object(ve.createElement)(ge.__experimentalAlignmentHookSettingsProvider,{value:qn},Object(ve.createElement)(ge.InnerBlocks,{allowedBlocks:Gn,template:Wn,__experimentalMoverDirection:"horizontal"})))};var Kn={name:"core/buttons",category:"layout",supports:{align:!0,alignWide:!1,lightBlockWrapper:!0}},Qn=Kn.name,$n={title:Object(Oe.__)("Buttons"),description:Object(Oe.__)("Prompt visitors to take action with a group of button-style links."),icon:On,keywords:[Object(Oe.__)("link")],transforms:vn,edit:Zn,save:function(){return Object(ve.createElement)("div",null,Object(ve.createElement)(ge.InnerBlocks.Content,null))}},Jn=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})),Yn=r(45),Xn=r.n(Yn);function ec(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function tc(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var rc=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(tc()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).getYearMonth=jt()(e.getYearMonth.bind(Object(Pr.a)(e)),{maxSize:1}),e.getServerSideAttributes=jt()(e.getServerSideAttributes.bind(Object(Pr.a)(e)),{maxSize:1}),e}return Object(Qt.a)(n,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=Xn()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ec(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ec(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{},this.getYearMonth(t))}},{key:"render",value:function(){return Object(ve.createElement)(Te.Disabled,null,Object(ve.createElement)(nn.a,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),n}(ve.Component),nc=Object(Ne.withSelect)((function(e){var t=e("core/editor");if(t){var r=t.getEditedPostAttribute;return{date:"post"===r("type")?r("date"):void 0}}}))(rc),cc={from:[{type:"block",blocks:["core/legacy-widget"],isMatch:function(e){return"WP_Widget_Calendar"===e.widgetClass},transform:function(e){var t=e.instance,r=Object(he.createBlock)("core/calendar");return t&&t.title?[Object(he.createBlock)("core/heading",{content:t.title}),r]:r}}]},oc={name:"core/calendar",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},month:{type:"integer"},year:{type:"integer"}},supports:{align:!0}},ac=oc.name,ic={title:Object(Oe.__)("Calendar"),description:Object(Oe.__)("A calendar of your site’s posts."),icon:Jn,keywords:[Object(Oe.__)("posts"),Object(Oe.__)("archive")],example:{},edit:nc,transforms:cc},lc=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})),sc=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z"}));function uc(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var bc=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(uc()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(Pr.a)(e)),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(Pr.a)(e)),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"toggleDisplayAsDropdown",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({displayAsDropdown:!t.displayAsDropdown})}},{key:"toggleShowPostCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showPostCounts:!t.showPostCounts})}},{key:"toggleShowHierarchy",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showHierarchy:!t.showHierarchy})}},{key:"getCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.categories;return t&&t.length?null===e?t:t.filter((function(t){return t.parent===e})):[]}},{key:"getCategoryListClassName",value:function(e){return"wp-block-categories__list wp-block-categories__list-level-".concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(fe.unescape)(e.name).trim():Object(Oe.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,r=this.getCategories(t);return Object(ve.createElement)("ul",{className:this.getCategoryListClassName(0)},r.map((function(t){return e.renderCategoryListItem(t,0)})))}},{key:"renderCategoryListItem",value:function(e,t){var r=this,n=this.props.attributes,c=n.showHierarchy,o=n.showPostCounts,a=this.getCategories(e.id);return Object(ve.createElement)("li",{key:e.id},Object(ve.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),o&&Object(ve.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),c&&!!a.length&&Object(ve.createElement)("ul",{className:this.getCategoryListClassName(t+1)},a.map((function(e){return r.renderCategoryListItem(e,t+1)}))))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,r=this.props.attributes.showHierarchy?0:null,n=this.getCategories(r),c="blocks-category-select-".concat(t);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.VisuallyHidden,{as:"label",htmlFor:c},Object(Oe.__)("Categories")),Object(ve.createElement)("select",{id:c,className:"wp-block-categories__dropdown"},n.map((function(t){return e.renderCategoryDropdownItem(t,0)}))))}},{key:"renderCategoryDropdownItem",value:function(e,t){var r=this,n=this.props.attributes,c=n.showHierarchy,o=n.showPostCounts,a=this.getCategories(e.id);return[Object(ve.createElement)("option",{key:e.id},Object(fe.times)(3*t,(function(){return" "})),this.renderCategoryName(e),o?" (".concat(e.count,")"):""),c&&!!a.length&&a.map((function(e){return r.renderCategoryDropdownItem(e,t+1)}))]}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.isRequesting,n=t.displayAsDropdown,c=t.showHierarchy,o=t.showPostCounts,a=Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Categories settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display as dropdown"),checked:n,onChange:this.toggleDisplayAsDropdown}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Show hierarchy"),checked:c,onChange:this.toggleShowHierarchy}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Show post counts"),checked:o,onChange:this.toggleShowPostCounts})));return r?Object(ve.createElement)(ve.Fragment,null,a,Object(ve.createElement)(Te.Placeholder,{icon:sc,label:Object(Oe.__)("Categories")},Object(ve.createElement)(Te.Spinner,null))):Object(ve.createElement)(ve.Fragment,null,a,Object(ve.createElement)("div",{className:this.props.className},n?this.renderCategoryDropdown():this.renderCategoryList()))}}]),n}(ve.Component),mc=Object(Ke.compose)(Object(Ne.withSelect)((function(e){var t=e("core").getEntityRecords,r=e("core/data").isResolving,n={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",n),isRequesting:r("core","getEntityRecords",["taxonomy","category",n])}})),Ke.withInstanceId)(bc),dc={name:"core/categories",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,html:!1}},pc=dc.name,gc={title:Object(Oe.__)("Categories"),description:Object(Oe.__)("Display a list of all categories."),icon:lc,example:{},edit:mc},hc=r(264);var fc=r(81);function Oc(e){return e.replace(/\[/g,"&#91;")}function vc(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1&#47;&#47;$2")}var jc={from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(he.createBlock)("core/code")}},{type:"block",blocks:["core/html"],transform:function(e){var t=e.content;return Object(he.createBlock)("core/code",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},yc={name:"core/code",category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}},supports:{html:!1,lightBlockWrapper:!0}},wc=yc.name,_c={title:Object(Oe.__)("Code"),description:Object(Oe.__)("Display code snippets that respect your spacing and tabs."),icon:hc.a,example:{attributes:{content:Object(Oe.__)('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')}},transforms:jc,edit:function(e){var t=e.attributes,r=e.setAttributes;return Object(ve.createElement)(ge.__experimentalBlock.pre,null,Object(ve.createElement)(ge.PlainText,{__experimentalVersion:2,tagName:"code",value:t.content,onChange:function(e){return r({content:e})},placeholder:Object(Oe.__)("Write code…"),"aria-label":Object(Oe.__)("Code")}))},save:function(e){var t,r=e.attributes;return Object(ve.createElement)("pre",null,Object(ve.createElement)("code",null,(t=r.content,Object(fe.flow)(fc.escapeEditableHTML,Oc,vc)(t||""))))}},kc=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-4.1 1.5v10H10v-10h4.9zM5.5 17V8c0-.3.2-.5.5-.5h2.5v10H6c-.3 0-.5-.2-.5-.5zm14 0c0 .3-.2.5-.5.5h-2.6v-10H19c.3 0 .5.2.5.5v9z"}));function Cc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ec(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return xc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xc(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,c,o=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,c=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw c}}}}function xc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Sc(e){var t,r=Sc.doc;r||(r=document.implementation.createHTMLDocument(""),Sc.doc=r),r.body.innerHTML=e;var n,c=Ec(r.body.firstChild.classList);try{for(c.s();!(n=c.n()).done;){if(t=n.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){c.e(e)}finally{c.f()}}var Pc=[{attributes:{verticalAlignment:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textColor:{type:"string"}},migrate:function(e){if(!e.customTextColor&&!e.customBackgroundColor)return e;var t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Cc(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Object(fe.omit)(e,["customTextColor","customBackgroundColor"]),{style:t})},save:function(e){var t,r=e.attributes,n=r.verticalAlignment,c=r.backgroundColor,o=r.customBackgroundColor,a=r.textColor,i=r.customTextColor,l=Object(ge.getColorClassName)("background-color",c),s=Object(ge.getColorClassName)("color",a),u=_e()((t={"has-background":c||o,"has-text-color":a||i},Object(de.a)(t,l,l),Object(de.a)(t,s,s),Object(de.a)(t,"are-vertically-aligned-".concat(n),n),t)),b={backgroundColor:l?void 0:o,color:s?void 0:i};return Object(ve.createElement)("div",{className:u||void 0,style:b},Object(ve.createElement)(ge.InnerBlocks.Content,null))}},{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!==Sc(e.originalContent)}))},migrate:function(e,t){var r=t.reduce((function(e,t){var r=Sc(t.originalContent);return void 0===r&&(r=0),e[r]||(e[r]=[]),e[r].push(t),e}),[]).map((function(e){return Object(he.createBlock)("core/column",{},e)}));return[Object(fe.omit)(e,["columns"]),r]},save:function(e){var t=e.attributes.columns;return Object(ve.createElement)("div",{className:"has-".concat(t,"-columns")},Object(ve.createElement)(ge.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:function(e,t){return[e=Object(fe.omit)(e,["columns"]),t]},save:function(e){var t=e.attributes,r=t.verticalAlignment,n=t.columns,c=_e()("has-".concat(n,"-columns"),Object(de.a)({},"are-vertically-aligned-".concat(r),r));return Object(ve.createElement)("div",{className:c},Object(ve.createElement)(ge.InnerBlocks.Content,null))}}],Bc=function(e){return Number.isFinite(e)?parseFloat(e.toFixed(2)):void 0};function Tc(e,t){var r=e.attributes.width;return Bc(void 0===r?100/t:r)}function Nc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(fe.sumBy)(e,(function(e){return Tc(e,t)}))}function Rc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((function(e,r){var n=Tc(r,t);return Object.assign(e,Object(de.a)({},r.clientId,n))}),{})}function zc(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,n=Nc(e,r),c=t-n,o=c/e.length;return Object(fe.mapValues)(Rc(e,r),(function(e){return Bc(e+o)}))}function Mc(e,t){return e.map((function(e){return Object(fe.merge)({},e,{attributes:{width:t[e.clientId]}})}))}var Ic=["core/column"];var Ac=Object(Ne.withDispatch)((function(e,t,r){return{updateAlignment:function(n){var c=t.clientId,o=t.setAttributes,a=e("core/block-editor").updateBlockAttributes,i=r.select("core/block-editor").getBlockOrder;o({verticalAlignment:n}),i(c).forEach((function(e){a(e,{verticalAlignment:n})}))},updateColumns:function(n,c){var o=t.clientId,a=e("core/block-editor").replaceInnerBlocks,i=(0,r.select("core/block-editor").getBlocks)(o),l=i.every((function(e){return Number.isFinite(e.attributes.width)})),s=c>n;if(s&&l){var u=Bc(100/c),b=zc(i,100-u);i=[].concat(Object(me.a)(Mc(i,b)),Object(me.a)(Object(fe.times)(c-n,(function(){return Object(he.createBlock)("core/column",{width:u})}))))}else if(s)i=[].concat(Object(me.a)(i),Object(me.a)(Object(fe.times)(c-n,(function(){return Object(he.createBlock)("core/column")}))));else{if(i=Object(fe.dropRight)(i,n-c),l)i=Mc(i,zc(i,100))}a(o,i,!1)}}}))((function(e){var t=e.attributes,r=e.updateAlignment,n=e.updateColumns,c=e.clientId,o=t.verticalAlignment,a=Object(Ne.useSelect)((function(e){return{count:e("core/block-editor").getBlockCount(c)}}),[c]).count,i=_e()(Object(de.a)({},"are-vertically-aligned-".concat(o),o));return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.BlockVerticalAlignmentToolbar,{onChange:r,value:o})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,null,Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Columns"),value:a,onChange:function(e){return n(a,e)},min:2,max:Math.max(6,a)}),a>6&&Object(ve.createElement)(Te.Notice,{status:"warning",isDismissible:!1},Object(Oe.__)("This column count exceeds the recommended amount and may cause visual breakage.")))),Object(ve.createElement)(ge.InnerBlocks,{allowedBlocks:Ic,__experimentalMoverDirection:"horizontal",__experimentalTagName:ge.__experimentalBlock.div,__experimentalPassedProps:{className:i},renderAppender:!1}))})),Hc=function e(t){return Object(fe.map)(t,(function(t){var r=Object(Be.a)(t,3),n=r[0],c=r[1],o=r[2],a=void 0===o?[]:o;return Object(he.createBlock)(n,c,e(a))}))},Dc=function(e){var t=e.clientId,r=e.name,n=Object(Ne.useSelect)((function(e){var n=e("core/blocks"),c=n.getBlockVariations,o=n.getBlockType,a=n.getDefaultBlockVariation;return{blockType:o(r),defaultVariation:a(r,"block"),hasInnerBlocks:e("core/block-editor").getBlocks(t).length>0,variations:c(r,"block")}}),[t,r]),c=n.blockType,o=n.defaultVariation,a=n.hasInnerBlocks,i=n.variations,l=Object(Ne.useDispatch)("core/block-editor").replaceInnerBlocks;return a?Object(ve.createElement)(Ac,e):Object(ve.createElement)(ge.__experimentalBlock.div,null,Object(ve.createElement)(ge.__experimentalBlockVariationPicker,{icon:Object(fe.get)(c,["icon","src"]),label:Object(fe.get)(c,["title"]),variations:i,onSelect:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;t.attributes&&e.setAttributes(t.attributes),t.innerBlocks&&l(e.clientId,Hc(t.innerBlocks))},allowSkip:!0}))};var Lc=[{name:"two-columns-equal",title:Object(Oe.__)("50 / 50"),description:Object(Oe.__)("Two columns; equal split"),icon:Object(ve.createElement)(Te.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),isDefault:!0,innerBlocks:[["core/column"],["core/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:Object(Oe.__)("30 / 70"),description:Object(Oe.__)("Two columns; one-third, two-thirds split"),icon:Object(ve.createElement)(Te.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),innerBlocks:[["core/column",{width:33.33}],["core/column",{width:66.66}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:Object(Oe.__)("70 / 30"),description:Object(Oe.__)("Two columns; two-thirds, one-third split"),icon:Object(ve.createElement)(Te.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),innerBlocks:[["core/column",{width:66.66}],["core/column",{width:33.33}]],scope:["block"]},{name:"three-columns-equal",title:Object(Oe.__)("33 / 33 / 33"),description:Object(Oe.__)("Three columns; equal split"),icon:Object(ve.createElement)(Te.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),innerBlocks:[["core/column"],["core/column"],["core/column"]],scope:["block"]},{name:"three-columns-wider-center",title:Object(Oe.__)("25 / 50 / 25"),description:Object(Oe.__)("Three columns; wide center column"),icon:Object(ve.createElement)(Te.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(Te.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),innerBlocks:[["core/column",{width:25}],["core/column",{width:50}],["core/column",{width:25}]],scope:["block"]}],Vc={name:"core/columns",category:"layout",attributes:{verticalAlignment:{type:"string"}}},Fc=Vc.name,Uc={title:Object(Oe.__)("Columns"),icon:kc,description:Object(Oe.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1,lightBlockWrapper:!0,__experimentalColor:"web"===ve.Platform.OS&&{gradients:!0}},variations:Lc,example:{innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Oe.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.")}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:Object(Oe.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Oe.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:Object(Oe.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:Pc,edit:Dc,save:function(e){var t=e.attributes.verticalAlignment,r=_e()(Object(de.a)({},"are-vertically-aligned-".concat(t),t));return Object(ve.createElement)("div",{className:r||void 0},Object(ve.createElement)(ge.InnerBlocks.Content,null))}},Gc=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z"}));var Wc=Object(Ke.compose)(Object(Ne.withSelect)((function(e,t){var r=t.clientId;return{hasChildBlocks:(0,e("core/block-editor").getBlockOrder)(r).length>0}})),Object(Ne.withDispatch)((function(e,t,r){return{updateAlignment:function(n){var c=t.clientId,o=t.setAttributes,a=e("core/block-editor").updateBlockAttributes,i=r.select("core/block-editor").getBlockRootClientId;o({verticalAlignment:n}),a(i(c),{verticalAlignment:null})}}})))((function(e){var t=e.attributes,r=e.setAttributes,n=e.updateAlignment,c=e.hasChildBlocks,o=t.verticalAlignment,a=t.width,i=_e()("block-core-columns",Object(de.a)({},"is-vertically-aligned-".concat(o),o)),l=Number.isFinite(a);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.BlockVerticalAlignmentToolbar,{onChange:n,value:o})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Column settings")},Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Percentage width"),value:a||"",onChange:function(e){r({width:e})},min:0,max:100,step:.1,required:!0,allowReset:!0,placeholder:void 0===a?Object(Oe.__)("Auto"):void 0}))),Object(ve.createElement)(ge.InnerBlocks,{templateLock:!1,renderAppender:c?void 0:function(){return Object(ve.createElement)(ge.InnerBlocks.ButtonBlockAppender,null)},__experimentalTagName:ge.__experimentalBlock.div,__experimentalPassedProps:{className:i,style:l?{flexBasis:a+"%"}:void 0}}))}));var qc={name:"core/column",category:"common",parent:["core/columns"],attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}},supports:{reusable:!1,html:!1,lightBlockWrapper:!0}},Zc=qc.name,Kc={title:Object(Oe.__)("Column"),icon:Gc,description:Object(Oe.__)("A single column within a columns block."),edit:Wc,save:function(e){var t,r=e.attributes,n=r.verticalAlignment,c=r.width,o=_e()(Object(de.a)({},"is-vertically-aligned-".concat(n),n));return Number.isFinite(c)&&(t={flexBasis:c+"%"}),Object(ve.createElement)("div",{className:o,style:t},Object(ve.createElement)(ge.InnerBlocks.Content,null))}},Qc=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"}));function $c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Jc={"top left":"is-position-top-left","top center":"is-position-top-center","top right":"is-position-top-right","center left":"is-position-center-left","center center":"is-position-center-center",center:"is-position-center-center","center right":"is-position-center-right","bottom left":"is-position-bottom-left","bottom center":"is-position-bottom-center","bottom right":"is-position-bottom-right"};function Yc(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}var Xc=[{value:"px",label:"px",default:430},{value:"em",label:"em",default:20},{value:"rem",label:"rem",default:20},{value:"vw",label:"vw",default:20},{value:"vh",label:"vh",default:50}];function eo(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function to(e){return function(t){if(t&&t.url){var r;if(t.media_type)r="image"===t.media_type?"image":"video";else{if("image"!==t.type&&"video"!==t.type)return;r=t.type}e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$c(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({url:t.url,id:t.id,backgroundType:r},"video"===r?{focalPoint:void 0,hasParallax:void 0}:{}))}else e({url:void 0,id:void 0})}}function ro(e){return void 0===e?"":Jc[e]}function no(e){return!e||"center center"===e||"center"===e}function co(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function oo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?co(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):co(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ao={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},io=[{attributes:oo({},ao,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}),save:function(e){var t=e.attributes,r=t.backgroundType,n=t.gradient,c=t.customGradient,o=t.customOverlayColor,a=t.dimRatio,i=t.focalPoint,l=t.hasParallax,s=t.overlayColor,u=t.url,b=t.minHeight,m=Object(ge.getColorClassName)("background-color",s),d=Object(ge.__experimentalGetGradientClass)(n),p="image"===r?Yc(u):{};m||(p.backgroundColor=o),i&&!l&&(p.backgroundPosition="".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")),c&&!u&&(p.background=c),p.minHeight=b||void 0;var g=_e()(eo(a),m,Object(de.a)({"has-background-dim":0!==a,"has-parallax":l,"has-background-gradient":c},d,!u&&d));return Object(ve.createElement)("div",{className:g,style:p},u&&(n||c)&&0!==a&&Object(ve.createElement)("span",{"aria-hidden":"true",className:_e()("wp-block-cover__gradient-background",d),style:c?{background:c}:void 0}),"video"===r&&u&&Object(ve.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(ve.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}},{attributes:oo({},ao,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}),save:function(e){var t=e.attributes,r=t.backgroundType,n=t.gradient,c=t.customGradient,o=t.customOverlayColor,a=t.dimRatio,i=t.focalPoint,l=t.hasParallax,s=t.overlayColor,u=t.url,b=t.minHeight,m=Object(ge.getColorClassName)("background-color",s),d=Object(ge.__experimentalGetGradientClass)(n),p="image"===r?Yc(u):{};m||(p.backgroundColor=o),i&&!l&&(p.backgroundPosition="".concat(100*i.x,"% ").concat(100*i.y,"%")),c&&!u&&(p.background=c),p.minHeight=b||void 0;var g=_e()(eo(a),m,Object(de.a)({"has-background-dim":0!==a,"has-parallax":l,"has-background-gradient":c},d,!u&&d));return Object(ve.createElement)("div",{className:g,style:p},u&&(n||c)&&0!==a&&Object(ve.createElement)("span",{"aria-hidden":"true",className:_e()("wp-block-cover__gradient-background",d),style:c?{background:c}:void 0}),"video"===r&&u&&Object(ve.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(ve.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}},{attributes:oo({},ao,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}}),supports:{align:!0},save:function(e){var t=e.attributes,r=t.backgroundType,n=t.contentAlign,c=t.customOverlayColor,o=t.dimRatio,a=t.focalPoint,i=t.hasParallax,l=t.overlayColor,s=t.title,u=t.url,b=Object(ge.getColorClassName)("background-color",l),m="image"===r?Yc(u):{};b||(m.backgroundColor=c),a&&!i&&(m.backgroundPosition="".concat(100*a.x,"% ").concat(100*a.y,"%"));var d=_e()(eo(o),b,Object(de.a)({"has-background-dim":0!==o,"has-parallax":i},"has-".concat(n,"-content"),"center"!==n));return Object(ve.createElement)("div",{className:d,style:m},"video"===r&&u&&Object(ve.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!ge.RichText.isEmpty(s)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},migrate:function(e){return[Object(fe.omit)(e,["title","contentAlign"]),[Object(he.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(Oe.__)("Write title…")})]]}},{attributes:oo({},ao,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}}),supports:{className:!1},save:function(e){var t=e.attributes,r=t.url,n=t.title,c=t.hasParallax,o=t.dimRatio,a=t.align,i=t.contentAlign,l=t.overlayColor,s=t.customOverlayColor,u=Object(ge.getColorClassName)("background-color",l),b=Yc(r);u||(b.backgroundColor=s);var m=_e()("wp-block-cover-image",eo(o),u,Object(de.a)({"has-background-dim":0!==o,"has-parallax":c},"has-".concat(i,"-content"),"center"!==i),a?"align".concat(a):null);return Object(ve.createElement)("div",{className:m,style:b},!ge.RichText.isEmpty(n)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:n}))},migrate:function(e){return[Object(fe.omit)(e,["title","contentAlign","align"]),[Object(he.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(Oe.__)("Write title…")})]]}},{attributes:oo({},ao,{title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}}),supports:{className:!1},save:function(e){var t=e.attributes,r=t.url,n=t.title,c=t.hasParallax,o=t.dimRatio,a=t.align,i=Yc(r),l=_e()("wp-block-cover-image",eo(o),{"has-background-dim":0!==o,"has-parallax":c},a?"align".concat(a):null);return Object(ve.createElement)("section",{className:l,style:i},Object(ve.createElement)(ge.RichText.Content,{tagName:"h2",value:n}))},migrate:function(e){return[Object(fe.omit)(e,["title","contentAlign","align"]),[Object(he.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(Oe.__)("Write title…")})]]}}],lo=r(236),so=r.n(lo),uo=r(59),bo=r.n(uo);function mo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function po(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mo(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var go=["image","video"],ho=[["core/paragraph",{align:"center",fontSize:"large",placeholder:Object(Oe.__)("Write title…")}]];function fo(){return fo.fastAverageColor||(fo.fastAverageColor=new so.a),fo.fastAverageColor}function Oo(e){var t=e.onChange,r=e.onUnitChange,n=e.unit,c=void 0===n?"px":n,o=e.value,a=void 0===o?"":o,i=Object(ve.useState)(null),l=Object(Be.a)(i,2),s=l[0],u=l[1],b=Object(Ke.useInstanceId)(ge.__experimentalUnitControl),m="block-cover-height-input-".concat(b),d=null!==s?s:a,p="px"===c?50:0;return Object(ve.createElement)(Te.BaseControl,{label:Object(Oe.__)("Minimum height of cover"),id:m},Object(ve.createElement)(ge.__experimentalUnitControl,{id:m,min:p,onBlur:function(){null!==s&&u(null)},onChange:function(e){var r=""!==e?parseInt(e,10):void 0;isNaN(r)&&void 0!==r?u(e):(u(null),t(r))},onUnitChange:r,step:"1",style:{maxWidth:80},unit:c,units:Xc,value:d}))}var vo={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};function jo(e){var t=e.className,r=e.onResizeStart,n=e.onResize,c=e.onResizeStop,o=Object(pr.a)(e,["className","onResizeStart","onResize","onResizeStop"]),a=Object(ve.useState)(!1),i=Object(Be.a)(a,2),l=i[0],s=i[1];return Object(ve.createElement)(Te.ResizableBox,Object(Ge.a)({className:_e()(t,{"is-resizing":l}),enable:vo,onResizeStart:function(e,t,c){r(c.clientHeight),n(c.clientHeight)},onResize:function(e,t,r){n(r.clientHeight),l||s(!0)},onResizeStop:function(e,t,r){c(r.clientHeight),s(!1)},minHeight:50},o))}var yo=Object(Ke.compose)([Object(Ne.withDispatch)((function(e){return{toggleSelection:e("core/block-editor").toggleSelection}})),Object(ge.withColors)({overlayColor:"background-color"}),Te.withNotices,Ke.withInstanceId])((function(e){var t,r=e.attributes,n=e.setAttributes,c=e.isSelected,o=e.noticeUI,a=e.overlayColor,i=e.setOverlayColor,l=e.toggleSelection,s=e.noticeOperations,u=r.contentPosition,b=r.id,m=r.backgroundType,d=r.dimRatio,p=r.focalPoint,g=r.hasParallax,h=r.minHeight,f=r.minHeightUnit,O=r.url,v=Object(ge.__experimentalUseGradient)(),j=v.gradientClass,y=v.gradientValue,w=v.setGradient,_=to(n),k=Object(ve.useRef)(),C=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,c=Object(ve.useState)(!1),o=Object(Be.a)(c,2),a=o[0],i=o[1];return Object(ve.useEffect)((function(){e&&t<=50&&n.current&&fo().getColorAsync(n.current,(function(e){i(e.isDark)}))}),[e,e&&t<=50&&n.current,i]),Object(ve.useEffect)((function(){if(t>50||!e){if(!r)return void i(!0);i(bo()(r).isDark())}}),[r,t>50||!e,i]),Object(ve.useEffect)((function(){e||r||i(!1)}),[!e&&!r,i]),a}(O,d,a.color,k),E=Object(ve.useState)(null),x=Object(Be.a)(E,2),S=x[0],P=x[1],B=s.removeAllNotices,T=s.createErrorNotice,N=f?"".concat(h).concat(f):h,R=po({},"image"===m?Yc(O):{},{backgroundColor:a.color,minHeight:S||N||void 0});y&&!O&&(R.background=y),p&&(R.backgroundPosition="".concat(100*p.x,"% ").concat(100*p.y,"%"));var z=!!(O||a.color||y),M=Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.__experimentalBlockAlignmentMatrixToolbar,{label:Object(Oe.__)("Change content position"),value:u,onChange:function(e){return n({contentPosition:e})}}),z&&Object(ve.createElement)(ge.MediaReplaceFlow,{mediaId:b,mediaURL:O,allowedTypes:go,accept:"image/*,video/*",onSelect:_})),Object(ve.createElement)(ge.InspectorControls,null,!!O&&Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Media settings")},"image"===m&&Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Fixed background"),checked:g,onChange:function(){n(po({hasParallax:!g},g?{}:{focalPoint:void 0}))}}),"image"===m&&!g&&Object(ve.createElement)(Te.FocalPointPicker,{label:Object(Oe.__)("Focal point picker"),url:O,value:p,onChange:function(e){return n({focalPoint:e})}}),"video"===m&&Object(ve.createElement)("video",{autoPlay:!0,muted:!0,loop:!0,src:O}),Object(ve.createElement)(Te.PanelRow,null,Object(ve.createElement)(Te.Button,{isSecondary:!0,isSmall:!0,className:"block-library-cover__reset-button",onClick:function(){return n({url:void 0,id:void 0,backgroundType:void 0,dimRatio:void 0,focalPoint:void 0,hasParallax:void 0})}},Object(Oe.__)("Clear Media")))),z&&Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Dimensions")},Object(ve.createElement)(Oo,{value:S||h,unit:f,onChange:function(e){return n({minHeight:e})},onUnitChange:function(e){n({minHeightUnit:e})}})),Object(ve.createElement)(ge.__experimentalPanelColorGradientSettings,{title:Object(Oe.__)("Overlay"),initialOpen:!0,settings:[{colorValue:a.color,gradientValue:y,onColorChange:i,onGradientChange:w,label:Object(Oe.__)("Color")}]},!!O&&Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Background opacity"),value:d,onChange:function(e){return n({dimRatio:e})},min:0,max:100,required:!0})))));if(!z){var I=Object(ve.createElement)(ge.BlockIcon,{icon:Qc}),A=Object(Oe.__)("Cover");return Object(ve.createElement)(ve.Fragment,null,M,Object(ve.createElement)(ge.__experimentalBlock.div,{className:"is-placeholder"},Object(ve.createElement)(ge.MediaPlaceholder,{icon:I,labels:{title:A,instructions:Object(Oe.__)("Upload an image or video file, or pick one from your media library.")},onSelect:_,accept:"image/*,video/*",allowedTypes:go,notices:o,onError:function(e){B(),T(e)}},Object(ve.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(ve.createElement)(ge.ColorPalette,{disableCustomColors:!0,value:a.color,onChange:i,clearable:!1})))))}var H=_e()(eo(d),(t={"is-dark-theme":C,"has-background-dim":0!==d,"has-parallax":g},Object(de.a)(t,a.class,a.class),Object(de.a)(t,"has-background-gradient",y),Object(de.a)(t,j,!O&&j),Object(de.a)(t,"has-custom-content-position",!no(u)),t),ro(u));return Object(ve.createElement)(ve.Fragment,null,M,Object(ve.createElement)(ge.__experimentalBlock.div,{className:H,"data-url":O,style:R},Object(ve.createElement)(jo,{className:"block-library-cover__resize-container",onResizeStart:function(){n({minHeightUnit:"px"}),l(!1)},onResize:P,onResizeStop:function(e){l(!0),n({minHeight:e}),P(null)},showHandle:c}),"image"===m&&Object(ve.createElement)("img",{ref:k,"aria-hidden":!0,alt:"",style:{display:"none"},src:O}),O&&y&&0!==d&&Object(ve.createElement)("span",{"aria-hidden":"true",className:_e()("wp-block-cover__gradient-background",j),style:{background:y}}),"video"===m&&Object(ve.createElement)("video",{ref:k,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:O}),Object(ve.createElement)(ge.InnerBlocks,{__experimentalTagName:"div",__experimentalPassedProps:{className:"wp-block-cover__inner-container"},template:ho})))}));var wo={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,r=e.url,n=e.align,c=e.id;return Object(he.createBlock)("core/cover",{title:t,url:r,align:n,id:c})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,r=e.src,n=e.align,c=e.id;return Object(he.createBlock)("core/cover",{title:t,url:r,align:n,id:c,backgroundType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType,r=e.url,n=e.overlayColor,c=e.customOverlayColor,o=e.gradient,a=e.customGradient;return r?"image"===t:!(n||c||o||a)},transform:function(e){var t=e.title,r=e.url,n=e.align,c=e.id;return Object(he.createBlock)("core/image",{caption:t,url:r,align:n,id:c})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType,r=e.url,n=e.overlayColor,c=e.customOverlayColor,o=e.gradient,a=e.customGradient;return r?"video"===t:!(n||c||o||a)},transform:function(e){var t=e.title,r=e.url,n=e.align,c=e.id;return Object(he.createBlock)("core/video",{caption:t,src:r,id:c,align:n})}}]},_o={name:"core/cover",category:"common",attributes:{url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"}},supports:{align:!0,html:!1,lightBlockWrapper:!0}},ko=_o.name,Co={title:Object(Oe.__)("Cover"),description:Object(Oe.__)("Add an image or video with a text overlay — great for headers."),icon:Qc,example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:Object(Oe.__)("<strong>Snow Patrol</strong>"),align:"center"}}]},transforms:wo,save:function(e){var t,r=e.attributes,n=r.backgroundType,c=r.gradient,o=r.contentPosition,a=r.customGradient,i=r.customOverlayColor,l=r.dimRatio,s=r.focalPoint,u=r.hasParallax,b=r.overlayColor,m=r.url,d=r.minHeight,p=r.minHeightUnit,g=Object(ge.getColorClassName)("background-color",b),h=Object(ge.__experimentalGetGradientClass)(c),f=p?"".concat(d).concat(p):d,O="image"===n?Yc(m):{};g||(O.backgroundColor=i),s&&!u&&(O.backgroundPosition="".concat(Math.round(100*s.x),"% ").concat(Math.round(100*s.y),"%")),a&&!m&&(O.background=a),O.minHeight=f||void 0;var v=_e()(eo(l),g,(t={"has-background-dim":0!==l,"has-parallax":u,"has-background-gradient":c||a},Object(de.a)(t,h,!m&&h),Object(de.a)(t,"has-custom-content-position",!no(o)),t),ro(o));return Object(ve.createElement)("div",{className:v,style:O},m&&(c||a)&&0!==l&&Object(ve.createElement)("span",{"aria-hidden":"true",className:_e()("wp-block-cover__gradient-background",h),style:a?{background:a}:void 0}),"video"===n&&m&&Object(ve.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:m}),Object(ve.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))},edit:yo,deprecated:io},Eo=r(187),xo=function(e){var t=e.blockSupportsResponsive,r=e.showEditButton,n=e.themeSupportsResponsive,c=e.allowResponsive,o=e.getResponsiveHelp,a=e.toggleResponsive,i=e.switchBackToURLInput;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,null,r&&Object(ve.createElement)(Te.Button,{className:"components-toolbar__control",label:Object(Oe.__)("Edit URL"),icon:Eo.a,onClick:i}))),n&&t&&Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Media settings"),className:"blocks-responsive"},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Resize for smaller devices"),checked:c,help:o,onChange:a}))))},So=function(){return Object(ve.createElement)("div",{className:"wp-block-embed is-loading"},Object(ve.createElement)(Te.Spinner,null),Object(ve.createElement)("p",null,Object(Oe.__)("Embedding…")))},Po=function(e){var t=e.icon,r=e.label,n=e.value,c=e.onSubmit,o=e.onChange,a=e.cannotEmbed,i=e.fallback,l=e.tryAgain;return Object(ve.createElement)(Te.Placeholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:t,showColors:!0}),label:r,className:"wp-block-embed",instructions:Object(Oe.__)("Paste a link to the content you want to display on your site.")},Object(ve.createElement)("form",{onSubmit:c},Object(ve.createElement)("input",{type:"url",value:n||"",className:"components-placeholder__input","aria-label":r,placeholder:Object(Oe.__)("Enter URL to embed here…"),onChange:o}),Object(ve.createElement)(Te.Button,{isPrimary:!0,type:"submit"},Object(Oe._x)("Embed","button label"))),Object(ve.createElement)("div",{className:"components-placeholder__learn-more"},Object(ve.createElement)(Te.ExternalLink,{href:Object(Oe.__)("https://wordpress.org/support/article/embeds/")},Object(Oe.__)("Learn more about embeds"))),a&&Object(ve.createElement)("div",{className:"components-placeholder__error"},Object(ve.createElement)("div",{className:"components-placeholder__instructions"},Object(Oe.__)("Sorry, this content could not be embedded.")),Object(ve.createElement)(Te.Button,{isSecondary:!0,onClick:l},Object(Oe._x)("Try again","button label"))," ",Object(ve.createElement)(Te.Button,{isSecondary:!0,onClick:i},Object(Oe._x)("Convert to link","button label"))))};function Bo(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var To=window.FocusEvent,No=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Bo()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).checkFocus=e.checkFocus.bind(Object(Pr.a)(e)),e.node=Object(ve.createRef)(),e}return Object(Qt.a)(n,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new To("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object(ve.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),n}(ve.Component),Ro=Object(Ke.withGlobalEvents)({blur:"checkFocus"})(No);function zo(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Mo=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(zo()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).hideOverlay=e.hideOverlay.bind(Object(Pr.a)(e)),e.state={interactive:!1},e}return Object(Qt.a)(n,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e,t,r,n=this.props,c=n.preview,o=n.url,a=n.type,i=n.caption,l=n.onCaptionChange,s=n.isSelected,u=n.className,b=n.icon,m=n.label,d=c.scripts,p=this.state.interactive,g="photo"===a?(t=(e=c).thumbnail_url?e.thumbnail_url:e.url,r=Object(ve.createElement)("p",null,Object(ve.createElement)("img",{src:t,alt:e.title,width:"100%"})),Object(ve.renderToString)(r)):c.html,h=new URL(o).host.split("."),f=h.splice(h.length-2,h.length-1).join("."),O=Object(fe.includes)(gt,f),v=Object(Oe.sprintf)(Object(Oe.__)("Embedded content from %s"),f),j=Ot()(a,u,"wp-block-embed__wrapper"),y="wp-embed"===a?Object(ve.createElement)(Ro,{html:g}):Object(ve.createElement)("div",{className:"wp-block-embed__wrapper"},Object(ve.createElement)(Te.SandBox,{html:g,scripts:d,title:v,type:j,onFocus:this.hideOverlay}),!p&&Object(ve.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(ve.createElement)("figure",{className:Ot()(u,"wp-block-embed",{"is-type-video":"video"===a})},O?Object(ve.createElement)(Te.Placeholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:b,showColors:!0}),label:m},Object(ve.createElement)("p",{className:"components-placeholder__error"},Object(ve.createElement)("a",{href:o},o)),Object(ve.createElement)("p",{className:"components-placeholder__error"},Object(Oe.sprintf)(Object(Oe.__)("Embedded content from %s can't be previewed in the editor."),f))):y,(!ge.RichText.isEmpty(i)||s)&&Object(ve.createElement)(ge.RichText,{tagName:"figcaption",placeholder:Object(Oe.__)("Write caption…"),value:i,onChange:l,inlineToolbar:!0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),n}(ve.Component);function Io(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ao(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Io(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Io(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ho(e){return function(){var t,r=Object(Jt.a)(e);if(Do()){var n=Object(Jt.a)(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return Object($t.a)(this,t)}}function Do(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Lo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Lo(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Fo={url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0}};function Uo(e){var t=e.title,r=e.description,n=e.icon,c=e.category,o=void 0===c?"embed":c,a=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=r||Object(Oe.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),p=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(function(n){Object(Yt.a)(o,n);var c=Ho(o);function o(){var e;return Object(Kt.a)(this,o),(e=c.apply(this,arguments)).switchBackToURLInput=e.switchBackToURLInput.bind(Object(Pr.a)(e)),e.setUrl=e.setUrl.bind(Object(Pr.a)(e)),e.getMergedAttributes=e.getMergedAttributes.bind(Object(Pr.a)(e)),e.setMergedAttributes=e.setMergedAttributes.bind(Object(Pr.a)(e)),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(Pr.a)(e)),e.toggleResponsive=e.toggleResponsive.bind(Object(Pr.a)(e)),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(Pr.a)(e)),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(Qt.a)(o,[{key:"handleIncomingPreview",value:function(){if(this.setMergedAttributes(),this.props.onReplace){var e=kt(this.props,this.getMergedAttributes());e&&this.props.onReplace(e)}}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,r=void 0!==e.preview,n=e.preview&&this.props.preview&&this.props.preview.html!==e.preview.html||t&&!r,c=this.props.attributes.url!==e.attributes.url;if(n||c){if(this.props.cannotEmbed)return void(this.props.fetching||this.resubmitWithoutTrailingSlash());this.handleIncomingPreview()}}},{key:"resubmitWithoutTrailingSlash",value:function(){this.setState((function(e){return{url:e.url.replace(/\/$/,"")}}),this.setUrl)}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,r=this.props.setAttributes;this.setState({editingURL:!1}),r({url:t})}},{key:"getMergedAttributes",value:function(){var t=this.props.preview,n=this.props.attributes,c=n.className,o=n.allowResponsive;return Ao({},this.props.attributes,{},xt(t,e,c,r,o))}},{key:"setMergedAttributes",value:function(){(0,this.props.setAttributes)(this.getMergedAttributes())}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"getResponsiveHelp",value:function(e){return e?Object(Oe.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(Oe.__)("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,n=e.className,c=this.props.preview.html,o=!t;this.props.setAttributes({allowResponsive:o,className:Ct(c,n,r&&o)})}},{key:"render",value:function(){var n=this,c=this.state,o=c.url,a=c.editingURL,i=this.props,l=i.fetching,s=i.setAttributes,u=i.isSelected,b=i.preview,m=i.cannotEmbed,d=i.themeSupportsResponsive,p=i.tryAgain;if(l)return Object(ve.createElement)(So,null);var g=Object(Oe.sprintf)(Object(Oe.__)("%s URL"),e);if(!b||m||a)return Object(ve.createElement)(Po,{icon:t,label:g,onSubmit:this.setUrl,value:o,cannotEmbed:m,onChange:function(e){return n.setState({url:e.target.value})},fallback:function(){return Et(o,n.props.onReplace)},tryAgain:p});var h=this.getMergedAttributes(),f=h.caption,O=h.type,v=h.allowResponsive,j=_e()(h.className,this.props.className);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(xo,{showEditButton:b&&!m,themeSupportsResponsive:d,blockSupportsResponsive:r,allowResponsive:v,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object(ve.createElement)(Mo,{preview:b,className:j,url:o,type:O,caption:f,onCaptionChange:function(e){return s({caption:e})},isSelected:u,icon:t,label:g}))}}]),o}(ve.Component))}(t,n,m);return{title:t,description:d,icon:n,category:o,keywords:l,attributes:Fo,supports:Vo({align:!0},u),transforms:a,edit:Object(Ke.compose)(Object(Ne.withSelect)((function(e,t){var r=t.attributes.url,n=e("core"),c=n.getEmbedPreview,o=n.isPreviewEmbedFallback,a=n.isRequestingEmbedPreview,i=n.getThemeSupports,l=void 0!==r&&c(r),s=void 0!==r&&o(r),u=void 0!==r&&a(r),b=i(),m=!!l&&void 0===l.type&&!1===l.html,d=!!l&&l.data&&404===l.data.status,p=!!l&&!m&&!d,g=void 0!==r&&(!p||s);return{preview:p?l:void 0,fetching:u,themeSupportsResponsive:b["responsive-embeds"],cannotEmbed:g}})),Object(Ne.withDispatch)((function(e,t){var r=t.attributes.url,n=e("core/data");return{tryAgain:function(){n.invalidateResolution("core","getEmbedPreview",[r])}}})))(p),save:function(e){var t,r=e.attributes,n=r.url,c=r.caption,o=r.type,a=r.providerNameSlug;if(!n)return null;var i=Ot()("wp-block-embed",(t={},Object(de.a)(t,"is-type-".concat(o),o),Object(de.a)(t,"is-provider-".concat(a),a),t));return Object(ve.createElement)("figure",{className:i},Object(ve.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(n,"\n")),!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:c}))},deprecated:[{attributes:Fo,save:function(e){var t,r=e.attributes,n=r.url,c=r.caption,o=r.type,a=r.providerNameSlug;if(!n)return null;var i=Ot()("wp-block-embed",(t={},Object(de.a)(t,"is-type-".concat(o),o),Object(de.a)(t,"is-provider-".concat(a),a),t));return Object(ve.createElement)("figure",{className:i},"\n".concat(n,"\n"),!ge.RichText.isEmpty(c)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:c}))}}]}}var Go={from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)},transform:function(e){return Object(he.createBlock)("core/embed",{url:e.textContent.trim()})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.url,r=e.caption,n=Object(ve.createElement)("a",{href:t},r||t);return Object(he.createBlock)("core/paragraph",{content:Object(ve.renderToString)(n)})}}]};function Wo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Zo="core/embed",Ko=Uo({title:Object(Oe._x)("Embed","block title"),description:Object(Oe.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:$e,responsive:!1,transforms:Go}),Qo=dt.map((function(e){return qo({},e,{settings:qo({},Uo(e.settings),{transforms:Go})})})),$o=pt.map((function(e){return qo({},e,{settings:qo({},Uo(e.settings),{transforms:Go})})})),Jo=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5z"}));function Yo(e){var t=e.hrefs,r=e.openInNewWindow,n=e.showDownloadButton,c=e.changeLinkDestinationOption,o=e.changeOpenInNewWindow,a=e.changeShowDownloadButton,i=t.href,l=t.textLinkHref,s=t.attachmentPage,u=[{value:i,label:Object(Oe.__)("URL")}];return s&&(u=[{value:i,label:Object(Oe.__)("Media file")},{value:s,label:Object(Oe.__)("Attachment page")}]),Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Text link settings")},Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Link to"),value:l,options:u,onChange:c}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Open in new tab"),checked:r,onChange:o})),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Download button settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Show download button"),checked:n,onChange:a}))))}function Xo(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var ea=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Xo()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onSelectFile=e.onSelectFile.bind(Object(Pr.a)(e)),e.confirmCopyURL=e.confirmCopyURL.bind(Object(Pr.a)(e)),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(Pr.a)(e)),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(Pr.a)(e)),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(Pr.a)(e)),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(Pr.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Pr.a)(e)),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props,r=t.attributes,n=t.mediaUpload,c=t.noticeOperations,o=t.setAttributes,a=r.downloadButtonText,i=r.href;Object(Ze.isBlobURL)(i)&&(n({filesList:[Object(Ze.getBlobByURL)(i)],onFileChange:function(t){var r=Object(Be.a)(t,1)[0];return e.onSelectFile(r)},onError:function(t){e.setState({hasError:!0}),c.createErrorNotice(t)}}),Object(Ze.revokeBlobURL)(i));void 0===a&&o({downloadButtonText:Object(Oe._x)("Download","button label")})}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id}))}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"confirmCopyURL",value:function(){this.setState({showCopyConfirmation:!0})}},{key:"resetCopyConfirmation",value:function(){this.setState({showCopyConfirmation:!1})}},{key:"changeLinkDestinationOption",value:function(e){this.props.setAttributes({textLinkHref:e})}},{key:"changeOpenInNewWindow",value:function(e){this.props.setAttributes({textLinkTarget:!!e&&"_blank"})}},{key:"changeShowDownloadButton",value:function(e){this.props.setAttributes({showDownloadButton:e})}},{key:"render",value:function(){var e=this,t=this.props,r=t.className,n=t.isSelected,c=t.attributes,o=t.setAttributes,a=t.noticeUI,i=t.media,l=c.id,s=c.fileName,u=c.href,b=c.textLinkHref,m=c.textLinkTarget,d=c.showDownloadButton,p=c.downloadButtonText,g=this.state,h=g.hasError,f=g.showCopyConfirmation,O=i&&i.link;if(!u||h)return Object(ve.createElement)(ge.MediaPlaceholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:Jo}),labels:{title:Object(Oe.__)("File"),instructions:Object(Oe.__)("Upload a file or pick one from your media library.")},onSelect:this.onSelectFile,notices:a,onError:this.onUploadError,accept:"*"});var v=_e()(r,{"is-transient":Object(Ze.isBlobURL)(u)});return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Yo,Object(Ge.a)({hrefs:{href:u,textLinkHref:b,attachmentPage:O}},{openInNewWindow:!!m,showDownloadButton:d,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.MediaReplaceFlow,{mediaId:l,mediaURL:u,accept:"*",onSelect:this.onSelectFile,onError:this.onUploadError})),Object(ve.createElement)(Te.Animate,{type:Object(Ze.isBlobURL)(u)?"loading":null},(function(t){var r=t.className;return Object(ve.createElement)("div",{className:_e()(v,r)},Object(ve.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(ve.createElement)("div",{className:"wp-block-file__textlink"},Object(ve.createElement)(ge.RichText,{tagName:"div",value:s,placeholder:Object(Oe.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:function(e){return o({fileName:e})}})),d&&Object(ve.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(ve.createElement)(ge.RichText,{tagName:"div",className:"wp-block-file__button",value:p,withoutInteractiveFormatting:!0,placeholder:Object(Oe.__)("Add text…"),onChange:function(e){return o({downloadButtonText:e})}}))),n&&Object(ve.createElement)(Te.ClipboardButton,{isSecondary:!0,text:u,className:"wp-block-file__copy-url-button",onCopy:e.confirmCopyURL,onFinishCopy:e.resetCopyConfirmation,disabled:Object(Ze.isBlobURL)(u)},f?Object(Oe.__)("Copied!"):Object(Oe.__)("Copy URL")))})))}}]),n}(ve.Component),ta=Object(Ke.compose)([Object(Ne.withSelect)((function(e,t){var r=e("core").getMedia,n=(0,e("core/block-editor").getSettings)().mediaUpload,c=t.attributes.id;return{media:void 0===c?void 0:r(c),mediaUpload:n}})),Te.withNotices])(ea);var ra={from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.forEach((function(e){var r=Object(Ze.createBlobURL)(e);t.push(Object(he.createBlock)("core/file",{href:r,fileName:e.name,textLinkHref:r}))})),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(he.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(he.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(he.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 r=(0,Object(Ne.select)("core").getMedia)(t);return!!r&&Object(fe.includes)(r.mime_type,"audio")},transform:function(e){return Object(he.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 r=(0,Object(Ne.select)("core").getMedia)(t);return!!r&&Object(fe.includes)(r.mime_type,"video")},transform:function(e){return Object(he.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 r=(0,Object(Ne.select)("core").getMedia)(t);return!!r&&Object(fe.includes)(r.mime_type,"image")},transform:function(e){return Object(he.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},na={name:"core/file",category:"common",attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"}},supports:{align:!0}},ca=na.name,oa={title:Object(Oe.__)("File"),description:Object(Oe.__)("Add a link to a downloadable file."),icon:Jo,keywords:[Object(Oe.__)("document"),Object(Oe.__)("pdf"),Object(Oe.__)("download")],transforms:ra,edit:ta,save:function(e){var t=e.attributes,r=t.href,n=t.fileName,c=t.textLinkHref,o=t.textLinkTarget,a=t.showDownloadButton,i=t.downloadButtonText;return r&&Object(ve.createElement)("div",null,!ge.RichText.isEmpty(n)&&Object(ve.createElement)("a",{href:c,target:o,rel:!!o&&"noreferrer noopener"},Object(ve.createElement)(ge.RichText.Content,{value:n})),a&&Object(ve.createElement)("a",{href:r,className:"wp-block-file__button",download:!0},Object(ve.createElement)(ge.RichText.Content,{value:i})))}},aa=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z"}));function ia(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var la=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(ia()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(Pr.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=this.props.styles;this.setState({styles:["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat(Object(me.a)(Object(ge.transformStyles)(e)))})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"switchToHTML",value:function(){this.setState({isPreview:!1})}},{key:"render",value:function(){var e=this,t=this.props,r=t.attributes,n=t.setAttributes,c=this.state,o=c.isPreview,a=c.styles;return Object(ve.createElement)("div",{className:"wp-block-html"},Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(Te.Button,{className:"components-tab-button",isPressed:!o,onClick:this.switchToHTML},Object(ve.createElement)("span",null,"HTML")),Object(ve.createElement)(Te.Button,{className:"components-tab-button",isPressed:o,onClick:this.switchToPreview},Object(ve.createElement)("span",null,Object(Oe.__)("Preview"))))),Object(ve.createElement)(Te.Disabled.Consumer,null,(function(t){return o||t?Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.SandBox,{html:r.content,styles:a}),!e.props.isSelected&&Object(ve.createElement)("div",{className:"block-library-html__preview-overlay"})):Object(ve.createElement)(ge.PlainText,{value:r.content,onChange:function(e){return n({content:e})},placeholder:Object(Oe.__)("Write HTML…"),"aria-label":Object(Oe.__)("HTML")})})))}}]),n}(ve.Component),sa=Object(Ne.withSelect)((function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}}))(la);var ua={from:[{type:"block",blocks:["core/code"],transform:function(e){var t=e.content;return Object(he.createBlock)("core/html",{content:t})}}]},ba={name:"core/html",category:"formatting",attributes:{content:{type:"string",source:"html"}},supports:{customClassName:!1,className:!1,html:!1}},ma=ba.name,da={title:Object(Oe.__)("Custom HTML"),description:Object(Oe.__)("Add custom HTML code and preview it as you edit."),icon:aa,keywords:[Object(Oe.__)("embed")],example:{attributes:{content:"<marquee>"+Object(Oe.__)("Welcome to the wonderful world of blocks…")+"</marquee>"}},edit:sa,save:function(e){var t=e.attributes;return Object(ve.createElement)(ve.RawHTML,null,t.content)},transforms:ua},pa=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M4 17h7V6H4v11zm9-10v1.5h7V7h-7zm0 5.5h7V11h-7v1.5zm0 4h7V15h-7v1.5z"})),ga=Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object(ve.createElement)(Te.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object(ve.createElement)(Te.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"}));function ha(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var fa=["image","video"];function Oa(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}function va(e){var t=e.isSelected,r=e.isStackedOnMobile,n=Object(pr.a)(e,["isSelected","isStackedOnMobile"]),c=Object(Ke.useViewportMatch)("small","<");return Object(ve.createElement)(Te.ResizableBox,Object(Ge.a)({showHandle:t&&(!c||!r)},n))}var ja=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(ha()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onUploadError=e.onUploadError.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.onSelectMedia,r=e.mediaUrl,n=e.mediaId;return Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.MediaReplaceFlow,{mediaId:n,mediaURL:r,allowedTypes:fa,accept:"image/*,video/*",onSelect:t}))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,r=e.mediaUrl,n=e.className,c=e.imageFill,o=e.focalPoint,a=c?Oa(r,o):{};return Object(ve.createElement)(ve.Fragment,null,this.renderToolbarEditButton(),Object(ve.createElement)("figure",{className:n,style:a},Object(ve.createElement)("img",{src:r,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,r=e.className;return Object(ve.createElement)(ve.Fragment,null,this.renderToolbarEditButton(),Object(ve.createElement)("figure",{className:r},Object(ve.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,r=e.className,n=e.noticeUI;return Object(ve.createElement)(ge.MediaPlaceholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:ga}),labels:{title:Object(Oe.__)("Media area")},className:r,onSelect:t,accept:"image/*,video/*",allowedTypes:fa,notices:n,onError:this.onUploadError})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,r=e.mediaUrl,n=e.mediaType,c=e.mediaWidth,o=e.commitWidthChange,a=e.onWidthChange,i=e.toggleSelection,l=e.isSelected,s=e.isStackedOnMobile;if(n&&r){var u={right:"left"===t,left:"right"===t},b=null;switch(n){case"image":b=this.renderImage();break;case"video":b=this.renderVideo()}return Object(ve.createElement)(va,{className:"editor-media-container__resizer",size:{width:c+"%"},minWidth:"10%",maxWidth:"100%",enable:u,onResizeStart:function(){i(!1)},onResize:function(e,t,r){a(parseInt(r.style.width))},onResizeStop:function(e,t,r){i(!0),o(parseInt(r.style.width))},axis:"x",isSelected:l,isStackedOnMobile:s},b)}return this.renderPlaceholder()}}]),n}(ve.Component),ya=Object(Ke.compose)([Object(Ne.withDispatch)((function(e){return{toggleSelection:e("core/block-editor").toggleSelection}})),Te.withNotices])(ja);function wa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wa(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ka=function(e){if(!e.customBackgroundColor)return e;var t={color:{background:e.customBackgroundColor}};return _a({},Object(fe.omit)(e,["customBackgroundColor"]),{style:t})},Ca={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!1}},Ea=[{attributes:_a({},Ca,{customBackgroundColor:{type:"string"},mediaLink:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure a",attribute:"target"},href:{type:"string",source:"attribute",selector:"figure a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure a",attribute:"class"},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}),migrate:ka,save:function(e){var t,r=e.attributes,n=r.backgroundColor,c=r.customBackgroundColor,o=r.isStackedOnMobile,a=r.mediaAlt,i=r.mediaPosition,l=r.mediaType,s=r.mediaUrl,u=r.mediaWidth,b=r.mediaId,m=r.verticalAlignment,d=r.imageFill,p=r.focalPoint,g=r.linkClass,h=r.href,f=r.linkTarget,O=r.rel,v=Object(fe.isEmpty)(O)?void 0:O,j=Object(ve.createElement)("img",{src:s,alt:a,className:b&&"image"===l?"wp-image-".concat(b):null});h&&(j=Object(ve.createElement)("a",{className:g,href:h,target:f,rel:v},j));var y,w={image:function(){return j},video:function(){return Object(ve.createElement)("video",{controls:!0,src:s})}},_=Object(ge.getColorClassName)("background-color",n),k=_e()((t={"has-media-on-the-right":"right"===i,"has-background":_||c},Object(de.a)(t,_,_),Object(de.a)(t,"is-stacked-on-mobile",o),Object(de.a)(t,"is-vertically-aligned-".concat(m),m),Object(de.a)(t,"is-image-fill",d),t)),C=d?Oa(s,p):{};50!==u&&(y="right"===i?"auto ".concat(u,"%"):"".concat(u,"% auto"));var E={backgroundColor:_?void 0:c,gridTemplateColumns:y};return Object(ve.createElement)("div",{className:k,style:E},Object(ve.createElement)("figure",{className:"wp-block-media-text__media",style:C},(w[l]||fe.noop)()),Object(ve.createElement)("div",{className:"wp-block-media-text__content"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}},{attributes:_a({},Ca,{customBackgroundColor:{type:"string"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}),migrate:ka,save:function(e){var t,r,n=e.attributes,c=n.backgroundColor,o=n.customBackgroundColor,a=n.isStackedOnMobile,i=n.mediaAlt,l=n.mediaPosition,s=n.mediaType,u=n.mediaUrl,b=n.mediaWidth,m=n.mediaId,d=n.verticalAlignment,p=n.imageFill,g=n.focalPoint,h={image:function(){return Object(ve.createElement)("img",{src:u,alt:i,className:m&&"image"===s?"wp-image-".concat(m):null})},video:function(){return Object(ve.createElement)("video",{controls:!0,src:u})}},f=Object(ge.getColorClassName)("background-color",c),O=_e()((t={"has-media-on-the-right":"right"===l},Object(de.a)(t,f,f),Object(de.a)(t,"is-stacked-on-mobile",a),Object(de.a)(t,"is-vertically-aligned-".concat(d),d),Object(de.a)(t,"is-image-fill",p),t)),v=p?Oa(u,g):{};50!==b&&(r="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var j={backgroundColor:f?void 0:o,gridTemplateColumns:r};return Object(ve.createElement)("div",{className:O,style:j},Object(ve.createElement)("figure",{className:"wp-block-media-text__media",style:v},(h[s]||fe.noop)()),Object(ve.createElement)("div",{className:"wp-block-media-text__content"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}},{attributes:_a({},Ca,{customBackgroundColor:{type:"string"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"}}),save:function(e){var t,r,n=e.attributes,c=n.backgroundColor,o=n.customBackgroundColor,a=n.isStackedOnMobile,i=n.mediaAlt,l=n.mediaPosition,s=n.mediaType,u=n.mediaUrl,b=n.mediaWidth,m={image:function(){return Object(ve.createElement)("img",{src:u,alt:i})},video:function(){return Object(ve.createElement)("video",{controls:!0,src:u})}},d=Object(ge.getColorClassName)("background-color",c),p=_e()((t={"has-media-on-the-right":"right"===l},Object(de.a)(t,d,d),Object(de.a)(t,"is-stacked-on-mobile",a),t));50!==b&&(r="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var g={backgroundColor:d?void 0:o,gridTemplateColumns:r};return Object(ve.createElement)("div",{className:p,style:g},Object(ve.createElement)("figure",{className:"wp-block-media-text__media"},(m[s]||fe.noop)()),Object(ve.createElement)("div",{className:"wp-block-media-text__content"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}}],xa=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M4 18h6V6H4v12zm9-10v1.5h7V8h-7zm0 7.5h7V14h-7v1.5z"})),Sa=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M14 6v12h6V6h-6zM4 9.5h7V8H4v1.5zm0 6h7V14H4v1.5z"}));function Pa(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Ba=[["core/paragraph",{fontSize:"large",placeholder:Object(Oe._x)("Content…","content placeholder")}]],Ta=function(e){return Math.max(15,Math.min(e,85))},Na=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Pa()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onSelectMedia=e.onSelectMedia.bind(Object(Pr.a)(e)),e.onWidthChange=e.onWidthChange.bind(Object(Pr.a)(e)),e.commitWidthChange=e.commitWidthChange.bind(Object(Pr.a)(e)),e.state={mediaWidth:null},e.onSetHref=e.onSetHref.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"onSelectMedia",value:function(e){var t,r,n=this.props.setAttributes,c=this.props.attributes,o=c.linkDestination,a=c.href;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(r=Object(fe.get)(e,["sizes","large","url"])||Object(fe.get)(e,["media_details","sizes","large","source_url"]));var i=a;"media"===o&&(i=e.url),"attachment"===o&&(i=e.link),n({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:r||e.url,mediaLink:e.link||void 0,href:i,focalPoint:void 0})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:Ta(e)})}},{key:"onSetHref",value:function(e){this.props.setAttributes(e)}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:Ta(e)}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props,t=e.attributes,r=e.isSelected,n=t.mediaAlt,c=t.mediaId,o=t.mediaPosition,a=t.mediaType,i=t.mediaUrl,l=t.mediaWidth,s=t.imageFill,u=t.focalPoint,b=t.isStackedOnMobile;return Object(ve.createElement)(ya,Object(Ge.a)({className:"wp-block-media-text__media",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:n,mediaId:c,mediaType:a,mediaUrl:i,mediaPosition:o,mediaWidth:l,imageFill:s,focalPoint:u,isSelected:r,isStackedOnMobile:b}))}},{key:"render",value:function(){var e,t=this.props,r=t.attributes,n=t.className,c=t.isSelected,o=t.setAttributes,a=t.image,i=r.isStackedOnMobile,l=r.mediaAlt,s=r.mediaPosition,u=r.mediaType,b=r.mediaWidth,m=r.verticalAlignment,d=r.mediaUrl,p=r.imageFill,g=r.focalPoint,h=r.rel,f=r.href,O=r.linkTarget,v=r.linkClass,j=r.linkDestination,y=this.state.mediaWidth,w=_e()(n,(e={"has-media-on-the-right":"right"===s,"is-selected":c,"is-stacked-on-mobile":i},Object(de.a)(e,"is-vertically-aligned-".concat(m),m),Object(de.a)(e,"is-image-fill",p),e)),_="".concat(y||b,"%"),k="right"===s?"1fr ".concat(_):"".concat(_," 1fr"),C={gridTemplateColumns:k,msGridColumns:k},E=[{icon:xa,title:Object(Oe.__)("Show media on left"),isActive:"left"===s,onClick:function(){return o({mediaPosition:"left"})}},{icon:Sa,title:Object(Oe.__)("Show media on right"),isActive:"right"===s,onClick:function(){return o({mediaPosition:"right"})}}],x=Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Media & Text settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Stack on mobile"),checked:i,onChange:function(){return o({isStackedOnMobile:!i})}}),"image"===u&&Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Crop image to fill entire column"),checked:p,onChange:function(){return o({imageFill:!p})}}),p&&Object(ve.createElement)(Te.FocalPointPicker,{label:Object(Oe.__)("Focal point picker"),url:d,value:g,onChange:function(e){return o({focalPoint:e})}}),"image"===u&&Object(ve.createElement)(Te.TextareaControl,{label:Object(Oe.__)("Alt text (alternative text)"),value:l,onChange:function(e){o({mediaAlt:e})},help:Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(Oe.__)("Describe the purpose of the image")),Object(Oe.__)("Leave empty if the image is purely decorative."))}));return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,x),Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,{controls:E}),Object(ve.createElement)(ge.BlockVerticalAlignmentToolbar,{onChange:function(e){o({verticalAlignment:e})},value:m}),"image"===u&&Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(ge.__experimentalImageURLInputUI,{url:f||"",onChangeUrl:this.onSetHref,linkDestination:j,mediaType:u,mediaUrl:a&&a.source_url,mediaLink:a&&a.link,linkTarget:O,linkClass:v,rel:h}))),Object(ve.createElement)("div",{className:w,style:C},this.renderMediaArea(),Object(ve.createElement)(ge.InnerBlocks,{template:Ba,templateInsertUpdatesSelection:!1})))}}]),n}(ve.Component),Ra=Object(Ke.compose)([Object(Ne.withSelect)((function(e,t){var r=e("core").getMedia,n=t.attributes.mediaId,c=t.isSelected;return{image:n&&c?r(n):null}}))])(Na);var za={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,r=e.url,n=e.id;return Object(he.createBlock)("core/media-text",{mediaAlt:t,mediaId:n,mediaUrl:r,mediaType:"image"})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,r=e.id;return Object(he.createBlock)("core/media-text",{mediaId:r,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,r=e.mediaId,n=e.mediaUrl;return Object(he.createBlock)("core/image",{alt:t,id:r,url:n})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,r=e.mediaUrl;return Object(he.createBlock)("core/video",{id:t,src:r})}}]},Ma={name:"core/media-text",category:"layout",attributes:{align:{type:"string",default:"wide"},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"},mediaLink:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure a",attribute:"target"},href:{type:"string",source:"attribute",selector:"figure a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure a",attribute:"class"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!0},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}},Ia=Ma.name,Aa={title:Object(Oe.__)("Media & Text"),description:Object(Oe.__)("Set media and words side-by-side for a richer layout."),icon:pa,keywords:[Object(Oe.__)("image"),Object(Oe.__)("video")],supports:{align:["wide","full"],html:!1,__experimentalColor:"web"===ve.Platform.OS&&{gradients:!0}},example:{attributes:{mediaType:"image",mediaUrl:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Oe.__)("The wren<br>Earns his living<br>Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(Oe.__)("— Kobayashi Issa (一茶)")}}]},transforms:za,edit:Ra,save:function(e){var t,r=e.attributes,n=r.isStackedOnMobile,c=r.mediaAlt,o=r.mediaPosition,a=r.mediaType,i=r.mediaUrl,l=r.mediaWidth,s=r.mediaId,u=r.verticalAlignment,b=r.imageFill,m=r.focalPoint,d=r.linkClass,p=r.href,g=r.linkTarget,h=r.rel,f=Object(fe.isEmpty)(h)?void 0:h,O=Object(ve.createElement)("img",{src:i,alt:c,className:s&&"image"===a?"wp-image-".concat(s):null});p&&(O=Object(ve.createElement)("a",{className:d,href:p,target:g,rel:f},O));var v,j={image:function(){return O},video:function(){return Object(ve.createElement)("video",{controls:!0,src:i})}},y=_e()((t={"has-media-on-the-right":"right"===o,"is-stacked-on-mobile":n},Object(de.a)(t,"is-vertically-aligned-".concat(u),u),Object(de.a)(t,"is-image-fill",b),t)),w=b?Oa(i,m):{};50!==l&&(v="right"===o?"auto ".concat(l,"%"):"".concat(l,"% auto"));var _={gridTemplateColumns:v};return Object(ve.createElement)("div",{className:y,style:_},Object(ve.createElement)("figure",{className:"wp-block-media-text__media",style:w},(j[a]||fe.noop)()),Object(ve.createElement)("div",{className:"wp-block-media-text__content"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))},deprecated:Ea},Ha=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"}));function Da(e){var t=e.clientId,r=e.__experimentalWithBlockNavigationSlots,n=Object(Ne.useSelect)((function(e){var r=e("core/block-editor"),n=r.getSelectedBlockClientId;return{block:(0,r.getBlock)(t),selectedBlockClientId:n()}}),[t]),c=n.block,o=n.selectedBlockClientId,a=Object(Ne.useDispatch)("core/block-editor").selectBlock;return Object(ve.createElement)(ge.__experimentalBlockNavigationTree,{blocks:[c],selectedBlockClientId:o,selectBlock:a,__experimentalWithBlockNavigationSlots:r,showNestedBlocks:!0,showAppender:!0,showBlockMovers:!0})}var La=Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},Object(ve.createElement)(Te.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));var Va=function(){return Object(ve.createElement)(Te.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(ve.createElement)(Te.Path,{d:"M7.434 5l3.18 9.16H8.538l-.692-2.184H4.628l-.705 2.184H2L5.18 5h2.254zm-1.13 1.904h-.115l-1.148 3.593H7.44L6.304 6.904zM14.348 7.006c1.853 0 2.9.876 2.9 2.374v4.78h-1.79v-.914h-.114c-.362.64-1.123 1.022-2.031 1.022-1.346 0-2.292-.826-2.292-2.108 0-1.27.972-2.006 2.71-2.107l1.696-.102V9.38c0-.584-.42-.914-1.18-.914-.667 0-1.112.228-1.264.647h-1.701c.12-1.295 1.307-2.107 3.066-2.107zm1.079 4.1l-1.416.09c-.793.056-1.18.342-1.18.844 0 .52.45.837 1.091.837.857 0 1.505-.545 1.505-1.256v-.515z"}))},Fa=function(e){var t=e.style,r=e.className;return Object(ve.createElement)("div",{className:"block-library-colors-selector__icon-container"},Object(ve.createElement)("div",{className:"".concat(r," block-library-colors-selector__state-selection"),style:t},Object(ve.createElement)(Va,null)))},Ua=function(e){var t,r,n,c=e.children,o=Object(pr.a)(e,["children"]);return Object(ve.createElement)(Te.Dropdown,{position:"bottom right",className:"block-library-colors-selector",contentClassName:"block-library-colors-selector__popover",renderToggle:(t=o,r=t.TextColor,n=t.BackgroundColor,function(e){var t=e.onToggle,c=e.isOpen;return Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(Te.Button,{className:"components-toolbar__control block-library-colors-selector__toggle",label:Object(Oe.__)("Open Colors Selector"),onClick:t,onKeyDown:function(e){c||e.keyCode!==Nr.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(ve.createElement)(n,null,Object(ve.createElement)(r,null,Object(ve.createElement)(Fa,null)))}))}),renderContent:function(){return c}})},Ga=Object(ve.createElement)(Te.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M11 16v-3h10v-2H11V8l-4 4 4 4zM5 4H3v16h2V4z"})),Wa=Object(ve.createElement)(Te.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M5 8v3H1v2h4v3l4-4-4-4zm14 8v-3h4v-2h-4V8l-4 4 4 4zM13 4h-2v16h2V4z"})),qa=Object(ve.createElement)(Te.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M13 8v3H3v2h10v3l4-4-4-4zm8-4h-2v16h2V4z"}));var Za=Object(Ke.compose)([Object(ge.withFontSizes)("fontSize"),Object(Ne.withSelect)((function(e,t){var r,n,c,o=t.clientId,a=e("core/block-editor").getBlocks(o),i=e("core/block-editor"),l=i.getClientIdsOfDescendants,s=i.hasSelectedInnerBlock,u=i.getSelectedBlockClientId,b={parent:0,order:"asc",orderby:"id"},m=["core","getEntityRecords",["postType","page",b]];return{isImmediateParentOfSelectedBlock:s(o,!1),selectedBlockHasDescendants:!!(null===(r=l([u()]))||void 0===r?void 0:r.length),hasExistingNavItems:!!a.length,pages:e("core").getEntityRecords("postType","page",b),isRequestingPages:(n=e("core/data")).isResolving.apply(n,m),hasResolvedPages:(c=e("core/data")).hasFinishedResolution.apply(c,m)}})),Object(Ne.withDispatch)((function(e,t){var r=t.clientId;return{updateNavItemBlocks:function(t){e("core/block-editor").replaceInnerBlocks(r,t)}}}))])((function(e){var t,r=e.selectedBlockHasDescendants,n=e.attributes,c=e.clientId,o=e.fontSize,a=e.hasExistingNavItems,i=e.hasResolvedPages,l=e.isImmediateParentOfSelectedBlock,s=e.isRequestingPages,u=e.isSelected,b=e.pages,m=e.setAttributes,d=e.setFontSize,p=e.updateNavItemBlocks,g=e.className,h=Object(ve.useRef)(),f=Object(Ne.useDispatch)("core/block-editor").selectBlock,O=Object(ge.__experimentalUseColors)([{name:"textColor",property:"color"},{name:"backgroundColor",className:"has-background"}],{contrastCheckers:[{backgroundColor:!0,textColor:!0,fontSize:o.size}],colorDetector:{targetRef:h},colorPanelProps:{initialOpen:!0}},[o.size]),v=O.TextColor,j=O.BackgroundColor,y=O.ColorPanel,_=function(e,t){var r=Object(ve.useState)(!1),n=Object(Be.a)(r,2),c=n[0],o=n[1];return{navigatorToolbarButton:Object(ve.createElement)(Te.Button,{className:"components-toolbar__control",label:Object(Oe.__)("Open block navigator"),onClick:function(){return o(!0)},icon:La}),navigatorModal:c&&Object(ve.createElement)(Te.Modal,{title:Object(Oe.__)("Block Navigator"),closeLabel:Object(Oe.__)("Close"),onRequestClose:function(){o(!1)}},Object(ve.createElement)(Da,{clientId:e,__experimentalWithBlockNavigationSlots:t}))}}(c,!0),k=_.navigatorToolbarButton,C=_.navigatorModal,E=Object(ve.useMemo)((function(){return b?b.map((function(e){var t=e.title,r=e.type,n=e.link,c=e.id;return Object(he.createBlock)("core/navigation-link",{type:r,id:c,url:n,label:t.rendered?Object(fe.escape)(t.rendered):Object(Oe.__)("(no title)"),opensInNewTab:!1})})):null}),[b]);function x(e){return function(){var t=n.itemsJustification===e?void 0:e;m({itemsJustification:t})}}var S=i&&b&&b.length,P={fontSize:o.size?o.size+"px":void 0};if(!a)return Object(ve.createElement)(ge.__experimentalBlock.div,null,Object(ve.createElement)(Te.Placeholder,{className:"wp-block-navigation-placeholder",icon:Ha,label:Object(Oe.__)("Navigation"),instructions:Object(Oe.__)("Create a Navigation from all existing pages, or create an empty one.")},Object(ve.createElement)("div",{ref:h,className:"wp-block-navigation-placeholder__buttons"},Object(ve.createElement)(Te.Button,{isPrimary:!0,className:"wp-block-navigation-placeholder__button",onClick:function(){p(E),f(c)},disabled:!S},Object(Oe.__)("Create from all top-level pages")),Object(ve.createElement)(Te.Button,{isLink:!0,className:"wp-block-navigation-placeholder__button",onClick:function(){var e=Object(he.createBlock)("core/navigation-link");p([e])}},Object(Oe.__)("Create empty")))));var B=_e()(g,(t={},Object(de.a)(t,"items-justified-".concat(n.itemsJustification),n.itemsJustification),Object(de.a)(t,o.class,o.class),Object(de.a)(t,"is-vertical","vertical"===n.orientation),t));return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.Toolbar,{icon:n.itemsJustification?w["justify".concat(Object(fe.upperFirst)(n.itemsJustification),"Icon")]:Ga,label:Object(Oe.__)("Change items justification"),isCollapsed:!0,controls:[{icon:Ga,title:Object(Oe.__)("Justify items left"),isActive:"left"===n.itemsJustification,onClick:x("left")},{icon:Wa,title:Object(Oe.__)("Justify items center"),isActive:"center"===n.itemsJustification,onClick:x("center")},{icon:qa,title:Object(Oe.__)("Justify items right"),isActive:"right"===n.itemsJustification,onClick:x("right")}]}),Object(ve.createElement)(Te.ToolbarGroup,null,k),Object(ve.createElement)(Ua,{TextColor:v,BackgroundColor:j},y)),C,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Navigation Structure")},Object(ve.createElement)(Da,{clientId:c,__experimentalWithBlockNavigationSlots:!0})),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Text settings")},Object(ve.createElement)(ge.FontSizePicker,{value:o.size,onChange:d}))),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Display settings")},Object(ve.createElement)(Te.ToggleControl,{checked:n.showSubmenuIcon,onChange:function(e){m({showSubmenuIcon:e})},label:Object(Oe.__)("Show submenu indicator icons")}))),Object(ve.createElement)(v,null,Object(ve.createElement)(j,null,Object(ve.createElement)(ge.__experimentalBlock.nav,{className:B,style:P},!a&&s&&Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.Spinner,null)," ",Object(Oe.__)("Loading Navigation…")," "),Object(ve.createElement)(ge.InnerBlocks,{ref:h,allowedBlocks:["core/navigation-link"],renderAppender:!!(l&&!r||u)&&ge.InnerBlocks.DefaultAppender,templateInsertUpdatesSelection:!1,__experimentalMoverDirection:n.orientation||"horizontal",__experimentalTagName:"ul",__experimentalAppenderTagName:"li",__experimentalPassedProps:{className:"wp-block-navigation__container"},__experimentalCaptureToolbars:!0,templateLock:!1})))))}));function Ka(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Qa=[{attributes:{className:{type:"string"},textColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean"}},isEligible:function(e){return e.rgbTextColor||e.rgbBackgroundColor},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0},migrate:function(e){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ka(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ka(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Object(fe.omit)(e,["rgbTextColor","rgbBackgroundColor"]),{customTextColor:e.textColor?void 0:e.rgbTextColor,customBackgroundColor:e.backgroundColor?void 0:e.rgbBackgroundColor})},save:function(){return Object(ve.createElement)(ge.InnerBlocks.Content,null)}}],$a={name:"core/navigation",category:"layout",attributes:{orientation:{type:"string"},className:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0}},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,lightBlockWrapper:!0}},Ja=$a.name,Ya={title:Object(Oe.__)("Navigation"),icon:Ha,description:Object(Oe.__)("Add a navigation block to your site."),keywords:[Object(Oe.__)("menu"),Object(Oe.__)("navigation"),Object(Oe.__)("links")],variations:[{name:"horizontal",isDefault:!0,title:Object(Oe.__)("Navigation (horizontal)"),description:Object(Oe.__)("Links shown in a row."),attributes:{orientation:"horizontal"}},{name:"vertical",title:Object(Oe.__)("Navigation (vertical)"),description:Object(Oe.__)("Links shown in a column."),attributes:{orientation:"vertical"}}],example:{innerBlocks:[{name:"core/navigation-link",attributes:{label:Object(Oe.__)("Home"),url:"https://make.wordpress.org/"}},{name:"core/navigation-link",attributes:{label:Object(Oe.__)("About"),url:"https://make.wordpress.org/"}},{name:"core/navigation-link",attributes:{label:Object(Oe.__)("Contact"),url:"https://make.wordpress.org/"}}]},styles:[{name:"light",label:Object(Oe.__)("Light"),isDefault:!0},{name:"dark",label:Object(Oe.__)("Dark")}],edit:Za,save:function(){return Object(ve.createElement)(ge.InnerBlocks.Content,null)},deprecated:Qa},Xa=Object(ve.createElement)(je.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M12.5 4C8.9 4 6 6.8 6 10.2c0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C19 6.8 16.1 4 12.5 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4zM12.5 9c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5 1.5-.7 1.5-1.5S13.3 9 12.5 9z"})),ei=r(23),ti=r.n(ei),ri=r(42),ni=r(30),ci=function(){return Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(ve.createElement)(Te.Path,{d:"M2 12c0 3.6 2.4 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.5 0-4.5-1.5-4.5-4s2-4.5 4.5-4.5h3.5V6H8c-3.6 0-6 2.4-6 6zm19.5-1h-8v1.5h8V11zm0 5h-8v1.5h8V16zm0-10h-8v1.5h8V6z"}))},oi=function(){return Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",transform:"rotate(90)"},Object(ve.createElement)(Te.Path,{d:"M8 5v14l11-7z"}),Object(ve.createElement)(Te.Path,{d:"M0 0h24v24H0z",fill:"none"}))};var ai=function(e,t,r){return r||(e&&e.length?Object(fe.get)(Object(fe.find)(e,{slug:t}),"color"):void 0)},ii=Object(Ke.compose)([Object(Ne.withSelect)((function(e,t){var r,n=e("core/block-editor"),c=n.getBlockAttributes,o=n.getClientIdsOfDescendants,a=n.hasSelectedInnerBlock,i=n.getBlockParentsByBlockName,l=n.getSelectedBlockClientId,s=n.getSettings,u=t.clientId,b=c(Object(fe.head)(i(u,"core/navigation"))),m=Object(fe.get)(s(),"colors",[]),d=!!o([u]).length,p=!!b.showSubmenuIcon&&d,g=a(u,!0),h=a(u,!1),f=!!(null===(r=o([l()]))||void 0===r?void 0:r.length),O=e("core").canUser("create","pages");return{isParentOfSelectedBlock:g,isImmediateParentOfSelectedBlock:h,hasDescendants:d,selectedBlockHasDescendants:f,showSubmenuIcon:p,textColor:b.textColor,backgroundColor:b.backgroundColor,userCanCreatePages:O,rgbTextColor:ai(m,b.textColor,b.customTextColor),rgbBackgroundColor:ai(m,b.backgroundColor,b.customBackgroundColor)}})),Object(Ne.withDispatch)((function(e,t,r){return{saveEntityRecord:e("core").saveEntityRecord,insertLinkBlock:function(){var n=t.clientId,c=e("core/block-editor").insertBlock,o=(0,r.select("core/block-editor").getClientIdsOfDescendants)([n]),a=o.length?o.length:0;c(Object(he.createBlock)("core/navigation-link"),a,n)}}}))])((function(e){var t,r=e.attributes,n=e.hasDescendants,c=e.isSelected,o=e.isImmediateParentOfSelectedBlock,a=e.isParentOfSelectedBlock,i=e.setAttributes,l=e.showSubmenuIcon,s=e.insertLinkBlock,u=e.textColor,b=e.backgroundColor,m=e.rgbTextColor,d=e.rgbBackgroundColor,p=e.saveEntityRecord,g=e.selectedBlockHasDescendants,h=e.userCanCreatePages,f=void 0!==h&&h,O=e.insertBlocksAfter,v=e.mergeBlocks,j=e.onReplace,y=r.label,w=r.opensInNewTab,_=r.url,k=r.nofollow,C=r.description,E={url:_,opensInNewTab:w},x=Object(ve.useState)(!1),S=Object(Be.a)(x,2),P=S[0],B=S[1],T=Object(Oe.__)("Add link…"),N=Object(ve.useRef)();function R(){return(R=Object(ri.a)(ti.a.mark((function e(t){var r,n;return ti.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="page",e.next=3,p("postType",r,{title:t,status:"publish"});case 3:return n=e.sent,e.abrupt("return",{id:n.id,type:r,title:n.title.rendered,url:n.link});case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(Object(ve.useEffect)((function(){_||B(!0)}),[]),Object(ve.useEffect)((function(){c||B(!1)}),[c]),Object(ve.useEffect)((function(){P&&_&&(Object(Qe.isURL)(Object(Qe.prependHTTP)(y))&&/^.+\.[a-z]+/.test(y)?function(){N.current.focus();var e=window.getSelection(),t=document.createRange();t.selectNodeContents(N.current),e.removeAllRanges(),e.addRange(t)}():Object(ni.placeCaretAtHorizontalEdge)(N.current,!0))}),[_]),Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(Te.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(de.a)({},Nr.rawShortcut.primary("k"),(function(){return B(!0)}))}),Object(ve.createElement)(Te.ToolbarButton,{name:"link",icon:En.a,title:Object(Oe.__)("Link"),shortcut:Nr.displayShortcut.primary("k"),onClick:function(){return B(!0)}}),Object(ve.createElement)(Te.ToolbarButton,{name:"submenu",icon:Object(ve.createElement)(ci,null),title:Object(Oe.__)("Add submenu"),onClick:s}))),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("SEO settings")},Object(ve.createElement)(Te.ToggleControl,{checked:k,onChange:function(e){i({nofollow:e})},label:Object(Oe.__)("Add nofollow to link"),help:Object(ve.createElement)(ve.Fragment,null,Object(Oe.__)("Don't let search engines follow this link."),Object(ve.createElement)(Te.ExternalLink,{className:"wp-block-navigation-link__nofollow-external-link",href:Object(Oe.__)("https://codex.wordpress.org/Nofollow")},Object(Oe.__)("What's this?")))})),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Link settings")},Object(ve.createElement)(Te.TextareaControl,{value:C||"",onChange:function(e){i({description:e})},label:Object(Oe.__)("Description"),help:Object(Oe.__)("The description will be displayed in the menu if the current theme supports it.")}))),Object(ve.createElement)(ge.__experimentalBlockNavigationEditor,{value:y,onChange:function(e){return i({label:e})}}),Object(ve.createElement)(ge.__experimentalBlock.li,{className:_e()((t={"is-editing":c||a,"is-selected":c,"has-link":!!_,"has-child":n,"has-text-color":m},Object(de.a)(t,"has-".concat(u,"-color"),!!u),Object(de.a)(t,"has-background",d),Object(de.a)(t,"has-".concat(b,"-background-color"),!!b),t)),style:{color:m,backgroundColor:d}},Object(ve.createElement)("div",{className:"wp-block-navigation-link__content"},Object(ve.createElement)(ge.RichText,{ref:N,identifier:"label",className:"wp-block-navigation-link__label",value:y,onChange:function(e){return i({label:e})},onMerge:v,onReplace:j,__unstableOnSplitAtEnd:function(){return O(Object(he.createBlock)("core/navigation-link"))},placeholder:T,keepPlaceholderOnFocus:!0,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough"]}),P&&Object(ve.createElement)(Te.Popover,{position:"bottom center",onClose:function(){return B(!1)}},Object(ve.createElement)(ge.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:E,showInitialSuggestions:!0,createSuggestion:f?function(e){return R.apply(this,arguments)}:void 0,onChange:function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.title,c=void 0===n?"":n,o=r.url,a=void 0===o?"":o,l=r.opensInNewTab,s=r.id;return i({url:encodeURI(a),label:(e=c.replace(/http(s?):\/\//gi,""),t=a.replace(/http(s?):\/\//gi,""),""!==c&&e!==t&&y!==c?Object(fe.escape)(c):y||Object(fe.escape)(t)),opensInNewTab:l,id:s})}}))),l&&Object(ve.createElement)("span",{className:"wp-block-navigation-link__submenu-icon"},Object(ve.createElement)(oi,null)),Object(ve.createElement)(ge.InnerBlocks,{allowedBlocks:["core/navigation-link"],renderAppender:!!(c&&n||o&&!g)&&ge.InnerBlocks.DefaultAppender,__experimentalTagName:"ul",__experimentalAppenderTagName:"li",__experimentalPassedProps:{className:_e()("wp-block-navigation__container",{"is-parent-of-selected-block":a})}}))))}));function li(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var si={name:"core/navigation-link",category:"layout",parent:["core/navigation"],attributes:{label:{type:"string"},nofollow:{type:"boolean",default:!1},type:{type:"string"},description:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"}},supports:{reusable:!1,html:!1,lightBlockWrapper:!0}},ui=si.name,bi={title:Object(Oe.__)("Navigation Link"),icon:Xa,description:Object(Oe.__)("Add a page, link, or another item to your navigation."),__experimentalLabel:function(e){return e.label},merge:function(e,t){var r=t.label,n=void 0===r?"":r;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?li(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):li(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{label:e.label+n})},edit:ii,save:function(){return Object(ve.createElement)(ge.InnerBlocks.Content,null)}},mi=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"}));function di(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var pi=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(di()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).setCommentsToShow=e.setCommentsToShow.bind(Object(Pr.a)(e)),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(Qt.a)(n,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var r=t.props.attributes[e];(0,t.props.setAttributes)(Object(de.a)({},e,!r))}}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.commentsToShow,r=e.displayAvatar,n=e.displayDate,c=e.displayExcerpt;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Latest comments settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display avatar"),checked:r,onChange:this.toggleDisplayAvatar}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display date"),checked:n,onChange:this.toggleDisplayDate}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display excerpt"),checked:c,onChange:this.toggleDisplayExcerpt}),Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Number of comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(ve.createElement)(Te.Disabled,null,Object(ve.createElement)(nn.a,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),n}(ve.Component),gi={name:"core/latest-comments",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},commentsToShow:{type:"number",default:5,minimum:1,maximum:100},displayAvatar:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayExcerpt:{type:"boolean",default:!0}},supports:{align:!0,html:!1}},hi=gi.name,fi={title:Object(Oe.__)("Latest Comments"),description:Object(Oe.__)("Display a list of your most recent comments."),icon:mi,keywords:[Object(Oe.__)("recent comments")],example:{},edit:pi},Oi=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 11h2V9H7v2zm0 4h2v-2H7v2zm3-4h7V9h-7v2zm0 4h7v-2h-7v2z"}));function vi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ji(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vi(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var yi=[{attributes:ji({},{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},categories:{type:"array",items:{type:"object"}},postsToShow:{type:"number",default:5},displayPostContent:{type:"boolean",default:!1},displayPostContentRadio:{type:"string",default:"excerpt"},excerptLength:{type:"number",default:55},displayPostDate:{type:"boolean",default:!1},postLayout:{type:"string",default:"list"},columns:{type:"number",default:3},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},displayFeaturedImage:{type:"boolean",default:!1},featuredImageAlign:{type:"string",enum:["left","center","right"]},featuredImageSizeSlug:{type:"string",default:"thumbnail"},featuredImageSizeWidth:{type:"number",default:null},featuredImageSizeHeight:{type:"number",default:null}},{categories:{type:"string"}}),supports:{align:!0,html:!1},migrate:function(e){return ji({},e,{categories:[{id:Number(e.categories)}]})},isEligible:function(e){var t=e.categories;return t&&"string"==typeof t},save:function(){return null}}],wi=r(38),_i=r.n(wi),ki=r(62),Ci=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"})),Ei=r(265);function xi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Si(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xi(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pi(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Bi={per_page:-1},Ti=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Pi()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).state={categoriesList:[]},e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=_i()({path:Object(Qe.addQueryArgs)("/wp/v2/categories",Bi)}).then((function(t){e.isStillMounted&&e.setState({categoriesList:t})})).catch((function(){e.isStillMounted&&e.setState({categoriesList:[]})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.setAttributes,n=e.imageSizeOptions,c=e.latestPosts,o=e.defaultImageWidth,a=e.defaultImageHeight,i=this.state.categoriesList,l=t.displayFeaturedImage,s=t.displayPostContentRadio,u=t.displayPostContent,b=t.displayPostDate,m=t.postLayout,d=t.columns,p=t.order,g=t.orderBy,h=t.categories,f=t.postsToShow,O=t.excerptLength,v=t.featuredImageAlign,j=t.featuredImageSizeSlug,y=t.featuredImageSizeWidth,w=t.featuredImageSizeHeight,_=i.reduce((function(e,t){return Si({},e,Object(de.a)({},t.name,t))}),{}),k=Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Post content settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Post content"),checked:u,onChange:function(e){return r({displayPostContent:e})}}),u&&Object(ve.createElement)(Te.RadioControl,{label:Object(Oe.__)("Show:"),selected:s,options:[{label:Object(Oe.__)("Excerpt"),value:"excerpt"},{label:Object(Oe.__)("Full post"),value:"full_post"}],onChange:function(e){return r({displayPostContentRadio:e})}}),u&&"excerpt"===s&&Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Max number of words in excerpt"),value:O,onChange:function(e){return r({excerptLength:e})},min:10,max:100})),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Post meta settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display post date"),checked:b,onChange:function(e){return r({displayPostDate:e})}})),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Featured image settings")},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display featured image"),checked:l,onChange:function(e){return r({displayFeaturedImage:e})}}),l&&Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.__experimentalImageSizeControl,{onChange:function(e){var t={};e.hasOwnProperty("width")&&(t.featuredImageSizeWidth=e.width),e.hasOwnProperty("height")&&(t.featuredImageSizeHeight=e.height),r(t)},slug:j,width:y,height:w,imageWidth:o,imageHeight:a,imageSizeOptions:n,onChangeImage:function(e){return r({featuredImageSizeSlug:e,featuredImageSizeWidth:void 0,featuredImageSizeHeight:void 0})}}),Object(ve.createElement)(Te.BaseControl,null,Object(ve.createElement)(Te.BaseControl.VisualLabel,null,Object(Oe.__)("Image alignment")),Object(ve.createElement)(ge.BlockAlignmentToolbar,{value:v,onChange:function(e){return r({featuredImageAlign:e})},controls:["left","center","right"],isCollapsed:!1})))),Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Sorting and filtering")},Object(ve.createElement)(Te.QueryControls,Object(Ge.a)({order:p,orderBy:g},{numberOfItems:f,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onNumberOfItemsChange:function(e){return r({postsToShow:e})},categorySuggestions:_,onCategoryChange:function(e){if(!e.some((function(e){return"string"==typeof e&&!_[e]}))){var t=e.map((function(e){return"string"==typeof e?_[e]:e}));if(Object(fe.includes)(t,null))return!1;r({categories:t})}},selectedCategories:h})),"grid"===m&&Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Columns"),value:d,onChange:function(e){return r({columns:e})},min:2,max:C?Math.min(6,c.length):6,required:!0}))),C=Array.isArray(c)&&c.length;if(!C)return Object(ve.createElement)(ve.Fragment,null,k,Object(ve.createElement)(Te.Placeholder,{icon:sc,label:Object(Oe.__)("Latest Posts")},Array.isArray(c)?Object(Oe.__)("No posts found."):Object(ve.createElement)(Te.Spinner,null)));var E=c.length>f?c.slice(0,f):c,x=[{icon:Ci,title:Object(Oe.__)("List view"),onClick:function(){return r({postLayout:"list"})},isActive:"list"===m},{icon:Ei.a,title:Object(Oe.__)("Grid view"),onClick:function(){return r({postLayout:"grid"})},isActive:"grid"===m}],S=Object(ki.__experimentalGetSettings)().formats.date;return Object(ve.createElement)(ve.Fragment,null,k,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,{controls:x})),Object(ve.createElement)("ul",{className:_e()(this.props.className,Object(de.a)({"wp-block-latest-posts__list":!0,"is-grid":"grid"===m,"has-dates":b},"columns-".concat(d),"grid"===m))},E.map((function(e,t){var r=Object(fe.invoke)(e,["title","rendered","trim"]),n=e.excerpt.rendered,c=document.createElement("div");c.innerHTML=n,n=c.textContent||c.innerText||"";var o=e.featuredImageSourceUrl,a=_e()(Object(de.a)({"wp-block-latest-posts__featured-image":!0},"align".concat(v),!!v)),i=O<n.trim().split(" ").length&&""===e.excerpt.raw?Object(ve.createElement)(ve.Fragment,null,n.trim().split(" ",O).join(" "),Object(Oe.__)(" … "),Object(ve.createElement)("a",{href:e.link,target:"_blank",rel:"noopener noreferrer"},Object(Oe.__)("Read more"))):n;return Object(ve.createElement)("li",{key:t},l&&Object(ve.createElement)("div",{className:a},o&&Object(ve.createElement)("img",{src:o,alt:"",style:{maxWidth:y,maxHeight:w}})),Object(ve.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},r?Object(ve.createElement)(ve.RawHTML,null,r):Object(Oe.__)("(no title)")),b&&e.date_gmt&&Object(ve.createElement)("time",{dateTime:Object(ki.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(ki.dateI18n)(S,e.date_gmt)),u&&"excerpt"===s&&Object(ve.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},i),u&&"full_post"===s&&Object(ve.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object(ve.createElement)(ve.RawHTML,{key:"html"},e.content.raw.trim())))}))))}}]),n}(ve.Component),Ni=Object(Ne.withSelect)((function(e,t){var r=t.attributes,n=r.featuredImageSizeSlug,c=r.postsToShow,o=r.order,a=r.orderBy,i=r.categories,l=e("core"),s=l.getEntityRecords,u=l.getMedia,b=(0,e("core/block-editor").getSettings)(),m=b.imageSizes,d=b.imageDimensions,p=i&&i.length>0?i.map((function(e){return e.id})):[],g=s("postType","post",Object(fe.pickBy)({categories:p,order:o,orderby:a,per_page:c},(function(e){return!Object(fe.isUndefined)(e)}))),h=m.filter((function(e){return"full"!==e.slug})).map((function(e){var t=e.name;return{value:e.slug,label:t}}));return{defaultImageWidth:Object(fe.get)(d,[n,"width"],0),defaultImageHeight:Object(fe.get)(d,[n,"height"],0),imageSizeOptions:h,latestPosts:Array.isArray(g)?g.map((function(e){if(e.featured_media){var t=u(e.featured_media),r=Object(fe.get)(t,["media_details","sizes",n,"source_url"],null);return r||(r=Object(fe.get)(t,"source_url",null)),Si({},e,{featuredImageSourceUrl:r})}return e})):g}}))(Ti),Ri={name:"core/latest-posts",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},categories:{type:"array",items:{type:"object"}},postsToShow:{type:"number",default:5},displayPostContent:{type:"boolean",default:!1},displayPostContentRadio:{type:"string",default:"excerpt"},excerptLength:{type:"number",default:55},displayPostDate:{type:"boolean",default:!1},postLayout:{type:"string",default:"list"},columns:{type:"number",default:3},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},displayFeaturedImage:{type:"boolean",default:!1},featuredImageAlign:{type:"string",enum:["left","center","right"]},featuredImageSizeSlug:{type:"string",default:"thumbnail"},featuredImageSizeWidth:{type:"number",default:null},featuredImageSizeHeight:{type:"number",default:null}},supports:{align:!0,html:!1}},zi=Ri.name,Mi={title:Object(Oe.__)("Latest Posts"),description:Object(Oe.__)("Display a list of your most recent posts."),icon:Oi,keywords:[Object(Oe.__)("recent posts")],example:{},edit:Ni,deprecated:yi},Ii=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M7 11h2v2H7v-2zm14-5v14l-2 2H5l-2-2V6l2-2h1V2h2v2h8V2h2v2h1l2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"})),Ai=r(255),Hi=r(49),Di=r.n(Hi);function Li(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return Vi(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vi(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,c,o=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,c=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw c}}}}function Vi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Fi(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Ui=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Fi()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).containerRef=Object(ve.createRef)(),e.formRef=Object(ve.createRef)(),e.widgetContentRef=Object(ve.createRef)(),e.idBaseInputRef=Object(ve.createRef)(),e.widgetNumberInputRef=Object(ve.createRef)(),e.triggerWidgetEvent=e.triggerWidgetEvent.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){this.triggerWidgetEvent("widget-added"),this.previousFormData=new window.FormData(this.formRef.current)}},{key:"shouldComponentUpdate",value:function(e){var t=!1;(e.idBase!==this.props.idBase&&this.idBaseInputRef.current&&(this.idBaseInputRef.current.value=e.idBase,t=!0),e.number!==this.props.number&&this.widgetNumberInputRef.current&&(this.widgetNumberInputRef.current.value=e.number),e.form!==this.props.form&&this.widgetContentRef.current)&&(this.widgetContentRef.current.innerHTML=e.form,t=!0);return t&&(this.triggerWidgetEvent("widget-updated"),this.previousFormData=new window.FormData(this.formRef.current)),!1}},{key:"render",value:function(){var e=this,t=this.props,r=t.id,n=t.idBase,c=t.number,o=t.form,a=t.isReferenceWidget;return Object(ve.createElement)("div",{className:"widget open",ref:this.containerRef},Object(ve.createElement)("div",{className:"widget-inside"},Object(ve.createElement)("form",{className:"form",ref:this.formRef,method:"post",onBlur:function(){e.shouldTriggerInstanceUpdate()&&(a&&e.containerRef.current&&window.wpWidgets.save(window.jQuery(e.containerRef.current)),e.props.onInstanceChange(e.retrieveUpdatedInstance()))}},Object(ve.createElement)("div",{ref:this.widgetContentRef,className:"widget-content",dangerouslySetInnerHTML:{__html:o}}),a&&Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)("input",{type:"hidden",name:"widget-id",className:"widget-id",value:r}),Object(ve.createElement)("input",{ref:this.idBaseInputRef,type:"hidden",name:"id_base",className:"id_base",value:n}),Object(ve.createElement)("input",{ref:this.widgetNumberInputRef,type:"hidden",name:"widget_number",className:"widget_number",value:c}),Object(ve.createElement)("input",{type:"hidden",name:"multi_number",className:"multi_number",value:""}),Object(ve.createElement)("input",{type:"hidden",name:"add_new",className:"add_new",value:""})))))}},{key:"shouldTriggerInstanceUpdate",value:function(){if(!this.formRef.current)return!1;if(!this.previousFormData)return!0;var e=new window.FormData(this.formRef.current),t=Array.from(e.keys()),r=Array.from(this.previousFormData.keys());if(t.length!==r.length)return!0;for(var n=0,c=t;n<c.length;n++){var o=c[n];if(!Di()(e.getAll(o),this.previousFormData.getAll(o)))return this.previousFormData=e,!0}return!1}},{key:"triggerWidgetEvent",value:function(e){window.jQuery(window.document).trigger(e,[window.jQuery(this.containerRef.current)])}},{key:"retrieveUpdatedInstance",value:function(){if(this.formRef.current){var e,t=this.formRef.current,r=new window.FormData(t),n={},c=Li(r.keys());try{for(c.s();!(e=c.n()).done;){var o=e.value;if(!Object(fe.includes)(["widget-id","id_base","widget_number","multi_number","add_new"],o)){var a=o.match(/[^\[]*\[[-\d]*\]\[([^\]]*)\]/),i=a&&a[1]?a[1]:o,l=r.getAll(o);l.length>1?n[i]=l:n[i]=l[0]}}}catch(e){c.e(e)}finally{c.f()}return n}}}]),n}(ve.Component);function Gi(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Wi=window,qi=Wi.XMLHttpRequest,Zi=Wi.FormData,Ki=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Gi()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).state={form:null},e.widgetNonce=null,e.instanceUpdating=null,e.onInstanceChange=e.onInstanceChange.bind(Object(Pr.a)(e)),e.requestWidgetUpdater=e.requestWidgetUpdater.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.trySetNonce(),this.requestWidgetUpdater(void 0,(function(t){e.props.onInstanceChange(null,!!t.form)}))}},{key:"componentDidUpdate",value:function(e){var t=this;this.widgetNonce||this.trySetNonce(),e.instance!==this.props.instance&&this.instanceUpdating!==this.props.instance&&this.requestWidgetUpdater(void 0,(function(e){t.props.onInstanceChange(null,!!e.form)})),this.instanceUpdating===this.props.instance&&(this.instanceUpdating=null)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t=this.props,r=t.instanceId,n=t.id,c=t.number,o=t.idBase,a=t.instance,i=t.isSelected,l=t.widgetName,s=this.state.form;if(!s)return null;var u=Object(fe.get)(a,["title"]),b=null;return i&&(u&&l?b="".concat(l,": ").concat(u):!u&&l?b=l:u&&!l&&(b=u)),Object(ve.createElement)(ve.Fragment,null,b&&Object(ve.createElement)("div",{className:"wp-block-legacy-widget__edit-widget-title"},b),Object(ve.createElement)("div",{className:"wp-block-legacy-widget__edit-container",style:{display:this.props.isVisible?"block":"none"}},Object(ve.createElement)(Ui,{isReferenceWidget:!!n,ref:function(t){e.widgetEditDomManagerRef=t},onInstanceChange:this.onInstanceChange,number:c||-1*r,id:n,idBase:o,form:s})))}},{key:"trySetNonce",value:function(){var e=document.getElementById("_wpnonce_widgets");e&&e.value&&(this.widgetNonce=e.value)}},{key:"onInstanceChange",value:function(e){var t=this;this.props.id?this.props.onInstanceChange(e,!0):this.requestWidgetUpdater(e,(function(e){t.instanceUpdating=e.instance,t.props.onInstanceChange(e.instance,!!e.form)}))}},{key:"requestWidgetUpdater",value:function(e,t){var r=this,n=this.props,c=n.id,o=n.idBase,a=n.instance,i=n.widgetClass,l=this.isStillMounted;if(c||i){if(c){var s=new qi,u=new Zi;return u.append("action","save-widget"),u.append("id_base",o),u.append("widget-id",c),u.append("widget-width","250"),u.append("widget-height","200"),u.append("savewidgets",this.widgetNonce),s.open("POST",window.ajaxurl),s.addEventListener("load",(function(){if(l){var e=s.responseText;r.setState({form:e}),t&&t({form:e})}})),void s.send(u)}i&&_i()({path:"/__experimental/widget-forms/".concat(i,"/"),data:{instance:a,instance_changes:e},method:"POST"}).then((function(e){l&&(r.setState({form:e.form}),t&&t(e))}))}}}]),n}(ve.Component),Qi=Object(Ke.withInstanceId)(Ki),$i=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"}));function Ji(e){var t,r=e.availableLegacyWidgets,n=e.currentWidget,c=e.hasPermissionsToManageWidgets,o=e.onChangeWidget,a=Object(ve.useMemo)((function(){return Object(fe.pickBy)(r,(function(e){return!e.isHidden}))}),[r]);return t=c?Object(fe.isEmpty)(a)?Object(Oe.__)("There are no widgets available."):Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Select a legacy widget to display:"),value:n||"none",onChange:o,options:[{value:"none",label:"Select widget"}].concat(Object(fe.map)(a,(function(e,t){return{value:t,label:e.name}})))}):Object(Oe.__)("You don't have permissions to use widgets on this site."),Object(ve.createElement)(Te.Placeholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:$i}),label:Object(Oe.__)("Legacy Widget")},t)}function Yi(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Xi=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Yi()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).state={hasEditForm:!0,isPreview:!1},e.switchToEdit=e.switchToEdit.bind(Object(Pr.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(Pr.a)(e)),e.changeWidget=e.changeWidget.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"render",value:function(){var e=this,t=this.props,r=t.attributes,n=t.availableLegacyWidgets,c=t.hasPermissionsToManageWidgets,o=t.isSelected,a=t.setAttributes,i=this.state,l=i.isPreview,s=i.hasEditForm,u=r.id,b=r.widgetClass,m=u&&n[u]||b&&n[b];if(!u&&!b)return Object(ve.createElement)(Ji,{availableLegacyWidgets:n,hasPermissionsToManageWidgets:c,onChangeWidget:function(e){var t=n[e].isReferenceWidget;a({instance:{},id:t?e:void 0,widgetClass:t?void 0:e})}});var d=m?Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:m.name},m.description)):null;return c?Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,null,m&&!m.isHidden&&Object(ve.createElement)(Te.Button,{onClick:this.changeWidget,label:Object(Oe.__)("Change widget"),icon:Ai.a}),s&&Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.Button,{className:"components-tab-button",isPressed:!l,onClick:this.switchToEdit},Object(ve.createElement)("span",null,Object(Oe.__)("Edit"))),Object(ve.createElement)(Te.Button,{className:"components-tab-button",isPressed:l,onClick:this.switchToPreview},Object(ve.createElement)("span",null,Object(Oe.__)("Preview")))))),d,s&&Object(ve.createElement)(Qi,{isSelected:o,isVisible:!l,id:u,idBase:r.idBase||r.id,number:r.number,widgetName:Object(fe.get)(m,["name"]),widgetClass:r.widgetClass,instance:r.instance,onInstanceChange:function(t,r){t&&e.props.setAttributes({instance:t}),r!==e.hasEditForm&&e.setState({hasEditForm:r})}}),(l||!s)&&this.renderWidgetPreview()):Object(ve.createElement)(ve.Fragment,null,d,this.renderWidgetPreview())}},{key:"changeWidget",value:function(){this.switchToEdit(),this.props.setAttributes({instance:{},id:void 0,widgetClass:void 0}),this.setState({hasEditForm:!0})}},{key:"switchToEdit",value:function(){this.setState({isPreview:!1})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"renderWidgetPreview",value:function(){var e=this.props.attributes;return Object(ve.createElement)(nn.a,{className:"wp-block-legacy-widget__preview",block:"core/legacy-widget",attributes:e})}}]),n}(ve.Component),el=Object(Ne.withSelect)((function(e){var t=e("core/block-editor").getSettings(),r=t.availableLegacyWidgets;return{hasPermissionsToManageWidgets:t.hasPermissionsToManageWidgets,availableLegacyWidgets:r}}))(Xi),tl={name:"core/legacy-widget",category:"widgets",attributes:{widgetClass:{type:"string"},id:{type:"string"},idBase:{type:"string"},number:{type:"number"},instance:{type:"object"}},supports:{html:!1,customClassName:!1}},rl=tl.name,nl={title:Object(Oe.__)("Legacy Widget (Experimental)"),description:Object(Oe.__)("Display a legacy widget."),icon:Ii,edit:el},cl=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M20 8.75H4V7.25H20V8.75ZM12.8889 15.75H4V14.25H12.8889V15.75ZM18 17C19.1046 17 20 16.1046 20 15C20 13.8954 19.1046 13 18 13C16.8954 13 16 13.8954 16 15C16 16.1046 16.8954 17 18 17Z"})),ol=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M4 7.2v1.5h16V7.2H4zm7.1 8.6H20v-1.5h-8.9v1.5zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})),al=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M20 8.75H4V7.25H20V8.75ZM12.8889 15.75H4V14.25H12.8889V15.75ZM20 13V12.3063L19.3419 12.5257L17.8419 13.0257L18.1581 13.9743L19 13.6937V17H20V13Z"})),il=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zM4 7.2v1.5h16V7.2H4zm.2 6.8l.8-.3V17h1v-4.7l-2.2.7.4 1z"})),ll=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z"})),sl=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z"})),ul=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z"})),bl=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z"})),ml=function(e){var t=e.setAttributes,r=e.reversed,n=e.start;return Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Ordered list settings")},Object(ve.createElement)(Te.TextControl,{label:Object(Oe.__)("Start value"),type:"number",onChange:function(e){var r=parseInt(e,10);t({start:isNaN(r)?void 0:r})},value:Number.isInteger(n)?n.toString(10):"",step:"1"}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Reverse list numbering"),checked:r||!1,onChange:function(e){t({reversed:e||void 0})}})))};function dl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pl(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function hl(e){var t=gl({},e.phrasingContentSchema,{ul:{},ol:{attributes:["type","start","reversed"]}});return["ul","ol"].forEach((function(e){t[e].children={li:{children:t}}})),t}var fl={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(he.createBlock)("core/list",{values:Object(gr.toHTMLString)({value:Object(gr.join)(e.map((function(t){var r=t.content,n=Object(gr.create)({html:r});return e.length>1?n:Object(gr.replace)(n,/\n/g,gr.__UNSTABLE_LINE_SEPARATOR)})),gr.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(he.createBlock)("core/list",{values:Object(gr.toHTMLString)({value:Object(gr.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:function(e){return{ol:hl(e).ol,ul:hl(e).ul}},transform:function(e){var t={ordered:"OL"===e.nodeName};if(t.ordered){var r=e.getAttribute("type");r&&(t.type=r),null!==e.getAttribute("reversed")&&(t.reversed=!0);var n=parseInt(e.getAttribute("start"),10);isNaN(n)||1===n&&!t.reversed||(t.start=n)}return Object(he.createBlock)("core/list",gl({},Object(he.getBlockAttributes)("core/list",e.outerHTML),{},t))}}].concat(Object(me.a)(["*","-"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(he.createBlock)("core/list",{values:"<li>".concat(e,"</li>")})}}}))),Object(me.a)(["1.","1)"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(he.createBlock)("core/list",{ordered:!0,values:"<li>".concat(e,"</li>")})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(gr.split)(Object(gr.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),gr.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object(he.createBlock)("core/paragraph",{content:Object(gr.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(he.createBlock)("core/quote",{value:Object(gr.toHTMLString)({value:Object(gr.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]};function Ol(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var vl={name:"core/list",category:"common",attributes:{ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:""},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"}},supports:{className:!1,__unstablePasteTextInline:!0,lightBlockWrapper:!0}},jl=vl.name,yl={title:Object(Oe.__)("List"),description:Object(Oe.__)("Create a bulleted or numbered list."),icon:Ci,keywords:[Object(Oe.__)("bullet list"),Object(Oe.__)("ordered list"),Object(Oe.__)("numbered list")],example:{attributes:{values:"<li>Alice.</li><li>The White Rabbit.</li><li>The Cheshire Cat.</li><li>The Mad Hatter.</li><li>The Queen of Hearts.</li>"}},transforms:fl,merge:function(e,t){var r=t.values;return r&&"<li></li>"!==r?function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ol(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ol(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{values:e.values+r}):e},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.mergeBlocks,c=e.onReplace,o=e.isSelected,a=t.ordered,i=t.values,l=t.type,s=t.reversed,u=t.start,b=a?"ol":"ul",m=Object(Ne.useSelect)((function(e){return!!e("core/block-editor").getSettings().isRTL}),[]);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.RichText,{identifier:"values",multiline:"li",__unstableMultilineRootTag:b,tagName:ge.__experimentalBlock[b],onChange:function(e){return r({values:e})},value:i,placeholder:Object(Oe.__)("Write list…"),onMerge:n,onSplit:function(e){return Object(he.createBlock)(jl,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dl(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{values:e}))},__unstableOnSplitMiddle:function(){return Object(he.createBlock)("core/paragraph")},onReplace:c,onRemove:function(){return c([])},start:u,reversed:s,type:l},(function(e){var t=e.value,n=e.onChange,c=e.onFocus;return Object(ve.createElement)(ve.Fragment,null,o&&Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.RichTextShortcut,{type:"primary",character:"[",onUse:function(){n(Object(gr.__unstableOutdentListItems)(t))}}),Object(ve.createElement)(ge.RichTextShortcut,{type:"primary",character:"]",onUse:function(){n(Object(gr.__unstableIndentListItems)(t,{type:b}))}}),Object(ve.createElement)(ge.RichTextShortcut,{type:"primary",character:"m",onUse:function(){n(Object(gr.__unstableIndentListItems)(t,{type:b}))}}),Object(ve.createElement)(ge.RichTextShortcut,{type:"primaryShift",character:"m",onUse:function(){n(Object(gr.__unstableOutdentListItems)(t))}})),Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,{controls:[{icon:m?cl:ol,title:Object(Oe.__)("Convert to unordered list"),isActive:Object(gr.__unstableIsActiveListType)(t,"ul",b),onClick:function(){n(Object(gr.__unstableChangeListType)(t,{type:"ul"})),c(),Object(gr.__unstableIsListRootSelected)(t)&&r({ordered:!1})}},{icon:m?al:il,title:Object(Oe.__)("Convert to ordered list"),isActive:Object(gr.__unstableIsActiveListType)(t,"ol",b),onClick:function(){n(Object(gr.__unstableChangeListType)(t,{type:"ol"})),c(),Object(gr.__unstableIsListRootSelected)(t)&&r({ordered:!0})}},{icon:m?ll:sl,title:Object(Oe.__)("Outdent list item"),shortcut:Object(Oe._x)("Backspace","keyboard key"),isDisabled:!Object(gr.__unstableCanOutdentListItems)(t),onClick:function(){n(Object(gr.__unstableOutdentListItems)(t)),c()}},{icon:m?ul:bl,title:Object(Oe.__)("Indent list item"),shortcut:Object(Oe._x)("Space","keyboard key"),isDisabled:!Object(gr.__unstableCanIndentListItems)(t),onClick:function(){n(Object(gr.__unstableIndentListItems)(t,{type:b})),c()}}]})))})),a&&Object(ve.createElement)(ml,{setAttributes:r,ordered:a,reversed:s,start:u}))},save:function(e){var t=e.attributes,r=t.ordered,n=t.values,c=t.type,o=t.reversed,a=t.start,i=r?"ol":"ul";return Object(ve.createElement)(ge.RichText.Content,{tagName:i,value:n,type:c,reversed:o,start:a,multiline:"li"})}};var wl=Object(Ne.withDispatch)((function(e,t){var r=t.clientId,n=t.attributes,c=e("core/block-editor").replaceBlock;return{convertToHTML:function(){c(r,Object(he.createBlock)("core/html",{content:n.originalUndelimitedContent}))}}}))((function(e){var t,r=e.attributes,n=e.convertToHTML,c=r.originalName,o=r.originalUndelimitedContent,a=!!o,i=Object(he.getBlockType)("core/html"),l=[];return a&&i?(t=Object(Oe.sprintf)(Object(Oe.__)('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.'),c),l.push(Object(ve.createElement)(Te.Button,{key:"convert",onClick:n,isLarge:!0,isPrimary:!0},Object(Oe.__)("Keep as HTML")))):t=Object(Oe.sprintf)(Object(Oe.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),c),Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.Warning,{actions:l},t),Object(ve.createElement)(ve.RawHTML,null,o))}));var _l={name:"core/missing",category:"common",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1}},kl=_l.name,Cl={name:kl,title:Object(Oe.__)("Unsupported"),description:Object(Oe.__)("Your site doesn’t include support for this block."),__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.originalName,n=r?Object(he.getBlockType)(r):void 0;return n?n.settings.title||r:""}},edit:wl,save:function(e){var t=e.attributes;return Object(ve.createElement)(ve.RawHTML,null,t.originalContent)}},El=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"}));function xl(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Sl=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(xl()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onChangeInput=e.onChangeInput.bind(Object(Pr.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(Pr.a)(e)),e.state={defaultText:Object(Oe.__)("Read more")},e}return Object(Qt.a)(n,[{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,r=this.props.insertBlocksAfter;t===Nr.ENTER&&r([Object(he.createBlock)(Object(he.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(Oe.__)("The excerpt is hidden."):Object(Oe.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,r=e.noTeaser,n=this.props.setAttributes,c=this.state.defaultText,o=void 0!==t?t:c,a={width:o.length+1.2+"em"};return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,null,Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Hide the excerpt on the full content page"),checked:!!r,onChange:function(){return n({noTeaser:!r})},help:this.getHideExcerptHelp}))),Object(ve.createElement)("div",{className:"wp-block-more"},Object(ve.createElement)("input",{type:"text",value:o,onChange:this.onChangeInput,onKeyDown:this.onKeyDown,style:a})))}}]),n}(ve.Component);var Pl={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,r=t.customText,n=t.noTeaser,c={};return r&&(c.customText=r),""===n&&(c.noTeaser=!0),Object(he.createBlock)("core/more",c)}}]},Bl={name:"core/more",category:"layout",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},supports:{customClassName:!1,className:!1,html:!1,multiple:!1}},Tl=Bl.name,Nl={title:Object(Oe._x)("More","block name"),description:Object(Oe.__)("Content before this block will be shown in the excerpt on your archives page."),icon:El,example:{},__experimentalLabel:function(e,t){if("accessibility"===t.context)return e.customText},transforms:Pl,edit:Sl,save:function(e){var t=e.attributes,r=t.customText,n=t.noTeaser,c=r?"\x3c!--more ".concat(r,"--\x3e"):"\x3c!--more--\x3e",o=n?"\x3c!--noteaser--\x3e":"";return Object(ve.createElement)(ve.RawHTML,null,Object(fe.compact)([c,o]).join("\n"))}},Rl=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M7.8 6c0-.7.6-1.2 1.2-1.2h6c.7 0 1.2.6 1.2 1.2v3h1.5V6c0-1.5-1.2-2.8-2.8-2.8H9C7.5 3.2 6.2 4.5 6.2 6v3h1.5V6zm8.4 11c0 .7-.6 1.2-1.2 1.2H9c-.7 0-1.2-.6-1.2-1.2v-3H6.2v3c0 1.5 1.2 2.8 2.8 2.8h6c1.5 0 2.8-1.2 2.8-2.8v-3h-1.5v3zM4 11v1h16v-1H4z"}));var zl={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(he.createBlock)("core/nextpage",{})}}]},Ml={name:"core/nextpage",category:"layout",parent:["core/post-content"],supports:{customClassName:!1,className:!1,html:!1}},Il=Ml.name,Al={title:Object(Oe.__)("Page Break"),description:Object(Oe.__)("Separate your content into a multi-page experience."),icon:Rl,keywords:[Object(Oe.__)("next page"),Object(Oe.__)("pagination")],example:{},transforms:zl,edit:function(){return Object(ve.createElement)("div",{className:"wp-block-nextpage"},Object(ve.createElement)("span",null,Object(Oe.__)("Page break")))},save:function(){return Object(ve.createElement)(ve.RawHTML,null,"\x3c!--nextpage--\x3e")}},Hl=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z"}));var Dl={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(he.createBlock)("core/preformatted",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:function(e){return{pre:{children:e.phrasingContentSchema}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(he.createBlock)("core/paragraph",e)}}]},Ll={name:"core/preformatted",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0}},supports:{lightBlockWrapper:!0}},Vl=Ll.name,Fl={title:Object(Oe.__)("Preformatted"),description:Object(Oe.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:Hl,example:{attributes:{content:Object(Oe.__)("EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;")}},transforms:Dl,edit:function(e){var t=e.attributes,r=e.mergeBlocks,n=e.setAttributes,c=e.className,o=e.style,a=t.content;return Object(ve.createElement)(ge.RichText,{tagName:ge.__experimentalBlock.pre,identifier:"content",preserveWhiteSpace:!0,value:a,onChange:function(e){n({content:e})},placeholder:Object(Oe.__)("Write preformatted text…"),className:c,style:o,onMerge:r})},save:function(e){var t=e.attributes.content;return Object(ve.createElement)(ge.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}},Ul=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z"})),Gl="is-style-".concat("solid-color");function Wl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ql(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wl(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Zl={value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}};function Kl(e){if(e){var t=e.match(/border-color:([^;]+)[;]?/);return t&&t[1]?t[1]:void 0}}var Ql=[{attributes:ql({},Zl,{figureStyle:{source:"attribute",selector:"figure",attribute:"style"}}),save:function(e){var t,r,n=e.attributes,c=n.mainColor,o=n.customMainColor,a=n.textColor,i=n.customTextColor,l=n.value,s=n.citation,u=n.className,b=n.figureStyle;if(Object(fe.includes)(u,Gl)){var m=Object(ge.getColorClassName)("background-color",c);t=_e()(Object(de.a)({"has-background":m||o},m,m)),r={backgroundColor:m?void 0:o}}else if(o)r={borderColor:o};else if(c){r={borderColor:Kl(b)}}var d=Object(ge.getColorClassName)("color",a),p=(a||i)&&_e()("has-text-color",Object(de.a)({},d,d)),g=d?void 0:{color:i};return Object(ve.createElement)("figure",{className:t,style:r},Object(ve.createElement)("blockquote",{className:p,style:g},Object(ve.createElement)(ge.RichText.Content,{value:l,multiline:!0}),!ge.RichText.isEmpty(s)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:s})))},migrate:function(e){var t=e.className,r=e.figureStyle,n=e.mainColor,c=Object(pr.a)(e,["className","figureStyle","mainColor"]);if(!Object(fe.includes)(t,Gl)&&n&&r){var o=Kl(r);if(o)return ql({},c,{className:t,customMainColor:o})}return ql({className:t,mainColor:n},c)}},{attributes:Zl,save:function(e){var t,r,n=e.attributes,c=n.mainColor,o=n.customMainColor,a=n.textColor,i=n.customTextColor,l=n.value,s=n.citation,u=n.className;if(Object(fe.includes)(u,Gl))(t=Object(ge.getColorClassName)("background-color",c))||(r={backgroundColor:o});else if(o)r={borderColor:o};else if(c){var b=Object(fe.get)(Object(Ne.select)("core/block-editor").getSettings(),["colors"],[]);r={borderColor:Object(ge.getColorObjectByAttributeValues)(b,c).color}}var m=Object(ge.getColorClassName)("color",a),d=a||i?_e()("has-text-color",Object(de.a)({},m,m)):void 0,p=m?void 0:{color:i};return Object(ve.createElement)("figure",{className:t,style:r},Object(ve.createElement)("blockquote",{className:d,style:p},Object(ve.createElement)(ge.RichText.Content,{value:l,multiline:!0}),!ge.RichText.isEmpty(s)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:s})))}},{attributes:ql({},Zl),save:function(e){var t=e.attributes,r=t.value,n=t.citation;return Object(ve.createElement)("blockquote",null,Object(ve.createElement)(ge.RichText.Content,{value:r,multiline:!0}),!ge.RichText.isEmpty(n)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:n}))}},{attributes:ql({},Zl,{citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,r=t.value,n=t.citation,c=t.align;return Object(ve.createElement)("blockquote",{className:"align".concat(c)},Object(ve.createElement)(ge.RichText.Content,{value:r,multiline:!0}),!ge.RichText.isEmpty(n)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"footer",value:n}))}}];function $l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Jl=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if($l()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(e){var t;return Object(Kt.a)(this,n),(t=r.call(this,e)).wasTextColorAutomaticallyComputed=!1,t.pullQuoteMainColorSetter=t.pullQuoteMainColorSetter.bind(Object(Pr.a)(t)),t.pullQuoteTextColorSetter=t.pullQuoteTextColorSetter.bind(Object(Pr.a)(t)),t}return Object(Qt.a)(n,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,r=t.colorUtils,n=t.textColor,c=t.setAttributes,o=t.setTextColor,a=t.setMainColor,i=t.className,l=Object(fe.includes)(i,Gl),s=!n.color||this.wasTextColorAutomaticallyComputed,u=l&&s&&e;l?a(e):c({customMainColor:e}),u&&(this.wasTextColorAutomaticallyComputed=!0,o(r.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.attributes,n=t.className,c=t.mainColor,o=t.setAttributes;r.mainColor&&!Object(fe.includes)(n,Gl)&&Object(fe.includes)(e.className,Gl)&&o({mainColor:void 0,customMainColor:c.color})}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.mainColor,n=e.textColor,c=e.setAttributes,o=e.isSelected,a=e.className,i=t.value,l=t.citation,s=Object(fe.includes)(a,Gl),u=s?{backgroundColor:r.color}:{borderColor:r.color},b=_e()(a,Object(de.a)({"has-background":s&&r.color},r.class,s&&r.class)),m={color:n.color},d=n.color&&_e()("has-text-color",Object(de.a)({},n.class,n.class));return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)("figure",{style:u,className:b},Object(ve.createElement)("blockquote",{style:m,className:d},Object(ve.createElement)(ge.RichText,{identifier:"value",multiline:!0,value:i,onChange:function(e){return c({value:e})},placeholder:Object(Oe.__)("Write quote…"),textAlign:"center"}),(!ge.RichText.isEmpty(l)||o)&&Object(ve.createElement)(ge.RichText,{identifier:"citation",value:l,placeholder:Object(Oe.__)("Write citation…"),onChange:function(e){return c({citation:e})},className:"wp-block-pullquote__citation",__unstableMobileNoFocusOnMount:!0,textAlign:"center"}))),"web"===ve.Platform.OS&&Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(ge.PanelColorSettings,{title:Object(Oe.__)("Color settings"),colorSettings:[{value:r.color,onChange:this.pullQuoteMainColorSetter,label:Object(Oe.__)("Main color")},{value:n.color,onChange:this.pullQuoteTextColorSetter,label:Object(Oe.__)("Text color")}]},s&&Object(ve.createElement)(ge.ContrastChecker,Object(Ge.a)({textColor:n.color,backgroundColor:r.color},{isLargeText:!1})))))}}]),n}(ve.Component),Yl=Object(ge.withColors)({mainColor:"background-color",textColor:"color"})(Jl);var Xl={name:"core/pullquote",category:"formatting",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{align:["left","right","wide","full"]}},es=Xl.name,ts={title:Object(Oe.__)("Pullquote"),description:Object(Oe.__)("Give special visual emphasis to a quote from your text."),icon:Ul,example:{attributes:{value:"<p>"+Object(Oe.__)("One of the hardest things to do in technology is disrupt yourself.")+"</p>",citation:Object(Oe.__)("Matt Mullenweg")}},styles:[{name:"default",label:Object(Oe._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(Oe.__)("Solid color")}],edit:Yl,save:function(e){var t,r,n=e.attributes,c=n.mainColor,o=n.customMainColor,a=n.textColor,i=n.customTextColor,l=n.value,s=n.citation,u=n.className;if(Object(fe.includes)(u,Gl)){var b=Object(ge.getColorClassName)("background-color",c);t=_e()(Object(de.a)({"has-background":b||o},b,b)),r={backgroundColor:b?void 0:o}}else o&&(r={borderColor:o});var m=Object(ge.getColorClassName)("color",a),d=(a||i)&&_e()("has-text-color",Object(de.a)({},m,m)),p=m?void 0:{color:i};return Object(ve.createElement)("figure",{className:t,style:r},Object(ve.createElement)("blockquote",{className:d,style:p},Object(ve.createElement)(ge.RichText.Content,{value:l,multiline:!0}),!ge.RichText.isEmpty(s)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"cite",value:s})))},deprecated:Ql};function rs(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var ns=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(rs()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).titleField=Object(ve.createRef)(),e.editButton=Object(ve.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(Pr.a)(e)),e.handleTitleChange=e.handleTitleChange.bind(Object(Pr.a)(e)),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{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===Nr.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,r=e.title,n=e.isSaving,c=e.isEditDisabled,o=e.onEdit,a=e.instanceId;return Object(ve.createElement)(ve.Fragment,null,!t&&!n&&Object(ve.createElement)("div",{className:"reusable-block-edit-panel"},Object(ve.createElement)("b",{className:"reusable-block-edit-panel__info"},r),Object(ve.createElement)(Te.Button,{ref:this.editButton,isSecondary:!0,className:"reusable-block-edit-panel__button",disabled:c,onClick:o},Object(Oe.__)("Edit"))),(t||n)&&Object(ve.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(ve.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(a),className:"reusable-block-edit-panel__label"},Object(Oe.__)("Name:")),Object(ve.createElement)("input",{ref:this.titleField,type:"text",disabled:n,className:"reusable-block-edit-panel__title",value:r,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(a)}),Object(ve.createElement)(Te.Button,{type:"submit",isSecondary:!0,isBusy:n,disabled:!r||n,className:"reusable-block-edit-panel__button"},Object(Oe.__)("Save"))))}}]),n}(ve.Component),cs=Object(Ke.withInstanceId)(ns);function os(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var as=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(os()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(e){var t,c=e.reusableBlock;return Object(Kt.a)(this,n),(t=r.apply(this,arguments)).startEditing=t.startEditing.bind(Object(Pr.a)(t)),t.stopEditing=t.stopEditing.bind(Object(Pr.a)(t)),t.setBlocks=t.setBlocks.bind(Object(Pr.a)(t)),t.setTitle=t.setTitle.bind(Object(Pr.a)(t)),t.save=t.save.bind(Object(Pr.a)(t)),t.state=c?{isEditing:c.isTemporary,title:c.title,blocks:Object(he.parse)(c.content)}:{isEditing:!1,title:null,blocks:[]},t}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"componentDidUpdate",value:function(e){e.reusableBlock!==this.props.reusableBlock&&null===this.state.title&&this.setState({title:this.props.reusableBlock.title,blocks:Object(he.parse)(this.props.reusableBlock.content)})}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,blocks:Object(he.parse)(e.content)})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,blocks:[]})}},{key:"setBlocks",value:function(e){this.setState({blocks:e})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.onChange,r=e.onSave,n=this.state,c=n.blocks;t({title:n.title,content:Object(he.serialize)(c)}),r(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,r=e.reusableBlock,n=e.isFetching,c=e.isSaving,o=e.canUpdateBlock,a=e.settings,i=this.state,l=i.isEditing,s=i.title,u=i.blocks;if(!r&&n)return Object(ve.createElement)(Te.Placeholder,null,Object(ve.createElement)(Te.Spinner,null));if(!r)return Object(ve.createElement)(Te.Placeholder,null,Object(Oe.__)("Block has been deleted or is unavailable."));var b=Object(ve.createElement)(ge.BlockEditorProvider,{settings:a,value:u,onChange:this.setBlocks,onInput:this.setBlocks},Object(ve.createElement)(ge.WritingFlow,null,Object(ve.createElement)(ge.BlockList,null)));return l||(b=Object(ve.createElement)(Te.Disabled,null,b)),Object(ve.createElement)("div",{className:"block-library-block__reusable-block-container"},(t||l)&&Object(ve.createElement)(cs,{isEditing:l,title:null!==s?s:r.title,isSaving:c&&!r.isTemporary,isEditDisabled:!o,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),b)}}]),n}(ve.Component),is=Object(Ke.compose)([Object(Ne.withSelect)((function(e,t){var r=e("core/editor"),n=r.__experimentalGetReusableBlock,c=r.__experimentalIsFetchingReusableBlock,o=r.__experimentalIsSavingReusableBlock,a=e("core").canUser,i=e("core/block-editor"),l=i.__experimentalGetParsedReusableBlock,s=i.getSettings,u=t.attributes.ref,b=n(u);return{reusableBlock:b,isFetching:c(u),isSaving:o(u),blocks:b?l(b.id):null,canUpdateBlock:!!b&&!b.isTemporary&&!!a("update","blocks",u),settings:s()}})),Object(Ne.withDispatch)((function(e,t){var r=e("core/editor"),n=r.__experimentalFetchReusableBlocks,c=r.__experimentalUpdateReusableBlock,o=r.__experimentalSaveReusableBlock,a=t.attributes.ref;return{fetchReusableBlock:Object(fe.partial)(n,a),onChange:Object(fe.partial)(c,a),onSave:Object(fe.partial)(o,a)}}))])(as),ls={name:"core/block",category:"reusable",attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1}},ss=ls.name,us={title:Object(Oe.__)("Reusable Block"),description:Object(Oe.__)("Create and save content to reuse across your site. Update the block, and the changes apply everywhere it’s used."),edit:is},bs=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"}));var ms={name:"core/rss",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},columns:{type:"number",default:2},blockLayout:{type:"string",default:"list"},feedURL:{type:"string",default:""},itemsToShow:{type:"number",default:5},displayExcerpt:{type:"boolean",default:!1},displayAuthor:{type:"boolean",default:!1},displayDate:{type:"boolean",default:!1},excerptLength:{type:"number",default:55}},supports:{align:!0,html:!1}},ds=ms.name,ps={title:Object(Oe.__)("RSS"),description:Object(Oe.__)("Display entries from any RSS or Atom feed."),icon:bs,keywords:[Object(Oe.__)("atom"),Object(Oe.__)("feed")],example:{attributes:{feedURL:"https://wordpress.org"}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=Object(ve.useState)(!t.feedURL),c=Object(Be.a)(n,2),o=c[0],a=c[1],i=t.blockLayout,l=t.columns,s=t.displayAuthor,u=t.displayDate,b=t.displayExcerpt,m=t.excerptLength,d=t.feedURL,p=t.itemsToShow;function g(e){return function(){var n=t[e];r(Object(de.a)({},e,!n))}}if(o)return Object(ve.createElement)(Te.Placeholder,{icon:bs,label:"RSS"},Object(ve.createElement)("form",{onSubmit:function(e){e.preventDefault(),d&&a(!1)},className:"wp-block-rss__placeholder-form"},Object(ve.createElement)(Te.TextControl,{placeholder:Object(Oe.__)("Enter URL here…"),value:d,onChange:function(e){return r({feedURL:e})},className:"wp-block-rss__placeholder-input"}),Object(ve.createElement)(Te.Button,{isPrimary:!0,type:"submit"},Object(Oe.__)("Use URL"))));var h=[{icon:Eo.a,title:Object(Oe.__)("Edit RSS URL"),onClick:function(){return a(!0)}},{icon:Ci,title:Object(Oe.__)("List view"),onClick:function(){return r({blockLayout:"list"})},isActive:"list"===i},{icon:Ei.a,title:Object(Oe.__)("Grid view"),onClick:function(){return r({blockLayout:"grid"})},isActive:"grid"===i}];return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,{controls:h})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("RSS settings")},Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Number of items"),value:p,onChange:function(e){return r({itemsToShow:e})},min:1,max:10,required:!0}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display author"),checked:s,onChange:g("displayAuthor")}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display date"),checked:u,onChange:g("displayDate")}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Display excerpt"),checked:b,onChange:g("displayExcerpt")}),b&&Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Max number of words in excerpt"),value:m,onChange:function(e){return r({excerptLength:e})},min:10,max:100,required:!0}),"grid"===i&&Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Columns"),value:l,onChange:function(e){return r({columns:e})},min:2,max:6,required:!0}))),Object(ve.createElement)(Te.Disabled,null,Object(ve.createElement)(nn.a,{block:"core/rss",attributes:t})))}},gs=r(259);var hs=[{name:"default",isDefault:!0,attributes:{buttonText:Object(Oe.__)("Search"),label:Object(Oe.__)("Search")}}],fs={name:"core/search",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},label:{type:"string"},placeholder:{type:"string",default:""},buttonText:{type:"string"}},supports:{align:!0,html:!1}},Os=fs.name,vs={title:Object(Oe.__)("Search"),description:Object(Oe.__)("Help visitors find your content."),icon:gs.a,keywords:[Object(Oe.__)("find")],example:{},variations:hs,edit:function(e){var t=e.className,r=e.attributes,n=e.setAttributes,c=r.label,o=r.placeholder,a=r.buttonText;return Object(ve.createElement)("div",{className:t},Object(ve.createElement)(ge.RichText,{className:"wp-block-search__label","aria-label":Object(Oe.__)("Label text"),placeholder:Object(Oe.__)("Add label…"),withoutInteractiveFormatting:!0,value:c,onChange:function(e){return n({label:e})}}),Object(ve.createElement)("input",{className:"wp-block-search__input","aria-label":Object(Oe.__)("Optional placeholder text"),placeholder:o?void 0:Object(Oe.__)("Optional placeholder…"),value:o,onChange:function(e){return n({placeholder:e.target.value})}}),Object(ve.createElement)(ge.RichText,{className:"wp-block-search__button","aria-label":Object(Oe.__)("Button text"),placeholder:Object(Oe.__)("Add button text…"),withoutInteractiveFormatting:!0,value:a,onChange:function(e){return n({buttonText:e})}}))}},js=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"}));function ys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ws(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ys(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var _s=function(e){if(e.tagName||(e=ws({},e,{tagName:"div"})),!e.customTextColor&&!e.customBackgroundColor)return e;var t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),ws({},Object(fe.omit)(e,["customTextColor","customBackgroundColor"]),{style:t})},ks=[{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:_s,save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,c=t.textColor,o=t.customTextColor,a=Object(ge.getColorClassName)("background-color",r),i=Object(ge.getColorClassName)("color",c),l=_e()(a,i,{"has-text-color":c||o,"has-background":r||n}),s={backgroundColor:a?void 0:n,color:i?void 0:o};return Object(ve.createElement)("div",{className:l,style:s},Object(ve.createElement)("div",{className:"wp-block-group__inner-container"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},migrate:_s,supports:{align:["wide","full"],anchor:!0,html:!1},save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,c=t.textColor,o=t.customTextColor,a=Object(ge.getColorClassName)("background-color",r),i=Object(ge.getColorClassName)("color",c),l=_e()(a,{"has-text-color":c||o,"has-background":r||n}),s={backgroundColor:a?void 0:n,color:i?void 0:o};return Object(ve.createElement)("div",{className:l,style:s},Object(ve.createElement)("div",{className:"wp-block-group__inner-container"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:_s,save:function(e){var t=e.attributes,r=t.backgroundColor,n=t.customBackgroundColor,c=Object(ge.getColorClassName)("background-color",r),o=_e()(c,{"has-background":r||n}),a={backgroundColor:c?void 0:n};return Object(ve.createElement)("div",{className:o,style:a},Object(ve.createElement)(ge.InnerBlocks.Content,null))}}];var Cs=function(e){var t=e.attributes,r=e.className,n=e.clientId,c=Object(Ne.useSelect)((function(e){var t=(0,e("core/block-editor").getBlock)(n);return!(!t||!t.innerBlocks.length)}),[n]),o=ge.__experimentalBlock[t.tagName];return Object(ve.createElement)(o,{className:r},Object(ve.createElement)(ge.InnerBlocks,{renderAppender:c?void 0:function(){return Object(ve.createElement)(ge.InnerBlocks.ButtonBlockAppender,null)},__experimentalTagName:"div",__experimentalPassedProps:{className:"wp-block-group__inner-container"}}))};var Es={name:"core/group",category:"layout",attributes:{tagName:{type:"string",default:"div"}}},xs=Es.name,Ss={title:Object(Oe.__)("Group"),icon:js,description:Object(Oe.__)("A block that groups other blocks."),keywords:[Object(Oe.__)("container"),Object(Oe.__)("wrapper"),Object(Oe.__)("row"),Object(Oe.__)("section")],example:{attributes:{style:{color:{text:"#000000",background:"#ffffff"}}},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(Oe.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(Oe.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(Oe.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(Oe.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(Oe.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(Oe.__)("Six.")}}]},supports:{align:["wide","full"],anchor:!0,html:!1,lightBlockWrapper:!0,__experimentalColor:"web"===ve.Platform.OS&&{gradients:!0}},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:function(e){if(1!==e.length||"core/group"!==e[0].name){var t=["wide","full"],r=e.reduce((function(e,r){var n=r.attributes.align;return t.indexOf(n)>t.indexOf(e)?n:e}),void 0),n=e.map((function(e){return Object(he.createBlock)(e.name,e.attributes,e.innerBlocks)}));return Object(he.createBlock)("core/group",{align:r},n)}}}]},edit:Cs,save:function(e){var t=e.attributes.tagName;return Object(ve.createElement)(t,null,Object(ve.createElement)("div",{className:"wp-block-group__inner-container"},Object(ve.createElement)(ge.InnerBlocks.Content,null)))},deprecated:ks},Ps=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"})),Bs=function(e){var t=e.color,r=e.setColor;return Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(ge.PanelColorSettings,{title:Object(Oe.__)("Color settings"),colorSettings:[{value:t.color,onChange:r,label:Object(Oe.__)("Color")}]}))};var Ts=Object(ge.withColors)("color",{textColor:"color"})((function(e){var t=e.color,r=e.setColor,n=e.className;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.HorizontalRule,{className:_e()(n,Object(de.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}}),Object(ve.createElement)(Bs,{color:t,setColor:r}))}));var Ns={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(he.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},Rs={name:"core/separator",category:"layout",attributes:{color:{type:"string"},customColor:{type:"string"}}},zs=Rs.name,Ms={title:Object(Oe.__)("Separator"),description:Object(Oe.__)("Create a break between ideas or sections with a horizontal separator."),icon:Ps,keywords:[Object(Oe.__)("horizontal-line"),"hr",Object(Oe.__)("divider")],example:{attributes:{customColor:"#065174",className:"is-style-wide"}},styles:[{name:"default",label:Object(Oe.__)("Default"),isDefault:!0},{name:"wide",label:Object(Oe.__)("Wide Line")},{name:"dots",label:Object(Oe.__)("Dots")}],transforms:Ns,edit:Ts,save:function(e){var t,r=e.attributes,n=r.color,c=r.customColor,o=Object(ge.getColorClassName)("background-color",n),a=Object(ge.getColorClassName)("color",n),i=_e()((t={"has-text-color has-background":n||c},Object(de.a)(t,o,o),Object(de.a)(t,a,a),t)),l={backgroundColor:o?void 0:c,color:a?void 0:c};return Object(ve.createElement)("hr",{className:i,style:l})}},Is=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"})),As=r(113);var Hs=r(92),Ds={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var r=t.content;return Object(Hs.removep)(Object(Hs.autop)(r))}}},priority:20}]},Ls={name:"core/shortcode",category:"widgets",attributes:{text:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,html:!1}},Vs=Ls.name,Fs={title:Object(Oe.__)("Shortcode"),description:Object(Oe.__)("Insert additional custom elements with a WordPress shortcode."),icon:Is,transforms:Ds,edit:function e(t){var r=t.attributes,n=t.setAttributes,c=Object(Ke.useInstanceId)(e),o="blocks-shortcode-input-".concat(c);return Object(ve.createElement)("div",{className:"wp-block-shortcode components-placeholder"},Object(ve.createElement)("label",{htmlFor:o,className:"components-placeholder__label"},Object(ve.createElement)(As.a,{icon:Is}),Object(Oe.__)("Shortcode")),Object(ve.createElement)(ge.PlainText,{className:"input-control",id:o,value:r.text,placeholder:Object(Oe.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))},save:function(e){var t=e.attributes;return Object(ve.createElement)(ve.RawHTML,null,t.text)}},Us=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M12.5 4.2v1.6h4.7L5.8 17.2V12H4.2v7.8H12v-1.6H6.8L18.2 6.8v4.7h1.6V4.2z"})),Gs=Object(Ke.compose)([Object(Ne.withDispatch)((function(e){var t=e("core/block-editor").toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}})),Ke.withInstanceId])((function(e){var t=e.attributes,r=e.isSelected,n=e.setAttributes,c=e.onResizeStart,o=e.onResizeStop,a=t.height,i=function(e){n({height:e})};return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.ResizableBox,{className:_e()("block-library-spacer__resize-container",{"is-selected":r}),size:{height:a},minHeight:20,enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:c,onResizeStop:function(e,t,r,n){o();var c=Math.min(parseInt(a+n.height,10),500);i(c)},showHandle:r}),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Spacer settings")},Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Height in pixels"),min:20,max:Math.max(500,a),value:a,onChange:i}))))}));var Ws={name:"core/spacer",category:"layout",attributes:{height:{type:"number",default:100}}},qs=Ws.name,Zs={title:Object(Oe.__)("Spacer"),description:Object(Oe.__)("Add white space between blocks and customize its height."),icon:Us,edit:Gs,save:function(e){var t=e.attributes;return Object(ve.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}},Ks=r(40),Qs=r.n(Ks);var $s={to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(he.createBlock)("core/paragraph",e)}}]},Js={name:"core/subhead",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}},supports:{inserter:!1,multiple:!1}},Ys=Js.name,Xs={title:Object(Oe.__)("Subheading (deprecated)"),description:Object(Oe.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(ve.createElement)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(Te.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),transforms:$s,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,c=t.align,o=t.content,a=t.placeholder;return Qs()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.AlignmentToolbar,{value:c,onChange:function(e){r({align:e})}})),Object(ve.createElement)(ge.RichText,{tagName:"p",value:o,onChange:function(e){r({content:e})},style:{textAlign:c},className:n,placeholder:a||Object(Oe.__)("Write subheading…")}))},save:function(e){var t=e.attributes,r=t.align,n=t.content;return Object(ve.createElement)(ge.RichText.Content,{tagName:"p",style:{textAlign:r},value:n})}},eu=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"})),tu=[{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,c=t.body,o=t.foot,a=t.backgroundColor;if(!n.length&&!c.length&&!o.length)return null;var i=Object(ge.getColorClassName)("background-color",a),l=_e()(i,{"has-fixed-layout":r,"has-background":!!i}),s=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(ve.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(ve.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,c=e.scope;return Object(ve.createElement)(ge.RichText.Content,{tagName:n,value:r,key:t,scope:"th"===n?c:void 0})})))})))};return Object(ve.createElement)("table",{className:l},Object(ve.createElement)(s,{type:"head",rows:n}),Object(ve.createElement)(s,{type:"body",rows:c}),Object(ve.createElement)(s,{type:"foot",rows:o}))}}],ru=r(256),nu=r(257),cu=r(258),ou=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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.84zM6.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"})),au=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"})),iu=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"})),lu=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"})),su=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"})),uu=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ve.createElement)(je.Path,{d:"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"})),bu=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"}));function mu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var du=["align"];function pu(e,t,r){if(!t)return e;var n=Object(fe.pick)(e,["head","body","foot"]),c=t.sectionName,o=t.rowIndex;return Object(fe.mapValues)(n,(function(e,n){return c&&c!==n?e:e.map((function(e,c){return o&&o!==c?e:{cells:e.cells.map((function(e,o){return function(e,t){if(!e||!t)return!1;switch(t.type){case"column":return"column"===t.type&&e.columnIndex===t.columnIndex;case"cell":return"cell"===t.type&&e.sectionName===t.sectionName&&e.columnIndex===t.columnIndex&&e.rowIndex===t.rowIndex}}({sectionName:n,columnIndex:o,rowIndex:c},t)?r(e):e}))}}))}))}function gu(e,t){var r=t.sectionName,n=t.rowIndex,c=t.columnCount,o=function(e){return Ou(e.head)?Ou(e.body)?Ou(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),a=void 0===c?Object(fe.get)(o,["cells","length"]):c;return a?Object(de.a)({},r,[].concat(Object(me.a)(e[r].slice(0,n)),[{cells:Object(fe.times)(a,(function(e){var t=Object(fe.get)(o,["cells",e],{});return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mu(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Object(fe.pick)(t,du),{content:"",tag:"head"===r?"th":"td"})}))}],Object(me.a)(e[r].slice(n)))):e}function hu(e,t){var r=t.columnIndex,n=Object(fe.pick)(e,["head","body","foot"]);return Object(fe.mapValues)(n,(function(e,t){return Ou(e)?e:e.map((function(e){return vu(e)||e.cells.length<r?e:{cells:[].concat(Object(me.a)(e.cells.slice(0,r)),[{content:"",tag:"head"===t?"th":"td"}],Object(me.a)(e.cells.slice(r)))}}))}))}function fu(e,t){return Ou(e[t])?gu(e,{sectionName:t,rowIndex:0,columnCount:Object(fe.get)(e,["body",0,"cells","length"],1)}):Object(de.a)({},t,[])}function Ou(e){return!e||!e.length||Object(fe.every)(e,vu)}function vu(e){return!(e.cells&&e.cells.length)}function ju(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ju(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ju(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function wu(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var _u=[{color:"#f3f4f5",name:"Subtle light gray",slug:"subtle-light-gray"},{color:"#e9fbe5",name:"Subtle pale green",slug:"subtle-pale-green"},{color:"#e7f5fe",name:"Subtle pale blue",slug:"subtle-pale-blue"},{color:"#fcf0ef",name:"Subtle pale pink",slug:"subtle-pale-pink"}],ku=[{icon:ru.a,title:Object(Oe.__)("Align Column Left"),align:"left"},{icon:nu.a,title:Object(Oe.__)("Align Column Center"),align:"center"},{icon:cu.a,title:Object(Oe.__)("Align Column Right"),align:"right"}],Cu=Object(ge.createCustomColorsHOC)(_u),Eu=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(wu()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).onCreateTable=e.onCreateTable.bind(Object(Pr.a)(e)),e.onChangeFixedLayout=e.onChangeFixedLayout.bind(Object(Pr.a)(e)),e.onChange=e.onChange.bind(Object(Pr.a)(e)),e.onChangeInitialColumnCount=e.onChangeInitialColumnCount.bind(Object(Pr.a)(e)),e.onChangeInitialRowCount=e.onChangeInitialRowCount.bind(Object(Pr.a)(e)),e.renderSection=e.renderSection.bind(Object(Pr.a)(e)),e.getTableControls=e.getTableControls.bind(Object(Pr.a)(e)),e.onInsertRow=e.onInsertRow.bind(Object(Pr.a)(e)),e.onInsertRowBefore=e.onInsertRowBefore.bind(Object(Pr.a)(e)),e.onInsertRowAfter=e.onInsertRowAfter.bind(Object(Pr.a)(e)),e.onDeleteRow=e.onDeleteRow.bind(Object(Pr.a)(e)),e.onInsertColumn=e.onInsertColumn.bind(Object(Pr.a)(e)),e.onInsertColumnBefore=e.onInsertColumnBefore.bind(Object(Pr.a)(e)),e.onInsertColumnAfter=e.onInsertColumnAfter.bind(Object(Pr.a)(e)),e.onDeleteColumn=e.onDeleteColumn.bind(Object(Pr.a)(e)),e.onToggleHeaderSection=e.onToggleHeaderSection.bind(Object(Pr.a)(e)),e.onToggleFooterSection=e.onToggleFooterSection.bind(Object(Pr.a)(e)),e.onChangeColumnAlignment=e.onChangeColumnAlignment.bind(Object(Pr.a)(e)),e.getCellAlignment=e.getCellAlignment.bind(Object(Pr.a)(e)),e.state={initialRowCount:2,initialColumnCount:2,selectedCell:null},e}return Object(Qt.a)(n,[{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,r,n,c=this.props.setAttributes,o=this.state,a=o.initialRowCount,i=o.initialColumnCount;a=parseInt(a,10)||2,i=parseInt(i,10)||2,c((r=(t={rowCount:a,columnCount:i}).rowCount,n=t.columnCount,{body:Object(fe.times)(r,(function(){return{cells:Object(fe.times)(n,(function(){return{content:"",tag:"td"}}))}}))}))}},{key:"onChangeFixedLayout",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({hasFixedLayout:!t.hasFixedLayout})}},{key:"onChange",value:function(e){var t=this.state.selectedCell;if(t){var r=this.props,n=r.attributes;(0,r.setAttributes)(pu(n,t,(function(t){return yu({},t,{content:e})})))}}},{key:"onChangeColumnAlignment",value:function(e){var t=this.state.selectedCell;if(t){var r={type:"column",columnIndex:t.columnIndex},n=this.props,c=n.attributes;(0,n.setAttributes)(pu(c,r,(function(t){return yu({},t,{align:e})})))}}},{key:"getCellAlignment",value:function(){var e=this.state.selectedCell;if(e){var t,r,n,c,o,a,i=this.props.attributes;return t=i,n="align",c=(r=e).sectionName,o=r.rowIndex,a=r.columnIndex,Object(fe.get)(t,[c,o,"cells",a,n])}}},{key:"onToggleHeaderSection",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)(fu(t,"head"))}},{key:"onToggleFooterSection",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)(fu(t,"foot"))}},{key:"onInsertRow",value:function(e){var t=this.state.selectedCell;if(t){var r=this.props,n=r.attributes,c=r.setAttributes,o=t.sectionName,a=t.rowIndex;this.setState({selectedCell:null}),c(gu(n,{sectionName:o,rowIndex:a+e}))}}},{key:"onInsertRowBefore",value:function(){this.onInsertRow(0)}},{key:"onInsertRowAfter",value:function(){this.onInsertRow(1)}},{key:"onDeleteRow",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,r=t.attributes,n=t.setAttributes,c=e.sectionName,o=e.rowIndex;this.setState({selectedCell:null}),n(function(e,t){var r=t.sectionName,n=t.rowIndex;return Object(de.a)({},r,e[r].filter((function(e,t){return t!==n})))}(r,{sectionName:c,rowIndex:o}))}}},{key:"onInsertColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var r=this.props,n=r.attributes,c=r.setAttributes,o=t.columnIndex;this.setState({selectedCell:null}),c(hu(n,{columnIndex:o+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,r=t.attributes,n=t.setAttributes,c=e.sectionName,o=e.columnIndex;this.setState({selectedCell:null}),n(function(e,t){var r=t.columnIndex,n=Object(fe.pick)(e,["head","body","foot"]);return Object(fe.mapValues)(n,(function(e){return Ou(e)?e:e.map((function(e){return{cells:e.cells.length>=r?e.cells.filter((function(e,t){return t!==r})):e.cells}})).filter((function(e){return e.cells.length}))}))}(r,{sectionName:c,columnIndex:o}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:yu({},e,{type:"cell"})})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:ou,title:Object(Oe.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:au,title:Object(Oe.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:iu,title:Object(Oe.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:lu,title:Object(Oe.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:su,title:Object(Oe.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:uu,title:Object(Oe.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,r=e.name,n=e.rows;if(Ou(n))return null;var c="t".concat(r);return Object(ve.createElement)(c,null,n.map((function(e,n){var c=e.cells;return Object(ve.createElement)("tr",{key:n},c.map((function(e,c){var o=e.content,a=e.tag,i=e.scope,l=e.align,s={sectionName:r,rowIndex:n,columnIndex:c},u=_e()(Object(de.a)({},"has-text-align-".concat(l),l),"wp-block-table__cell-content"),b="";return"head"===r?b=Object(Oe.__)("Header label"):"foot"===r&&(b=Object(Oe.__)("Footer label")),Object(ve.createElement)(ge.RichText,{tagName:a,key:c,className:u,scope:"th"===a?i:void 0,value:o,onChange:t.onChange,unstableOnFocus:t.createOnFocus(s),placeholder:b})})))})))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this,t=this.props,r=t.attributes,n=t.className,c=t.backgroundColor,o=t.setBackgroundColor,a=t.setAttributes,i=this.state,l=i.initialRowCount,s=i.initialColumnCount,u=r.hasFixedLayout,b=r.caption,m=r.head,d=r.body,p=r.foot,g=Ou(m)&&Ou(d)&&Ou(p),h=this.renderSection;if(g)return Object(ve.createElement)(Te.Placeholder,{label:Object(Oe.__)("Table"),icon:Object(ve.createElement)(ge.BlockIcon,{icon:eu,showColors:!0}),instructions:Object(Oe.__)("Insert a table for sharing data.")},Object(ve.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:this.onCreateTable},Object(ve.createElement)(Te.TextControl,{type:"number",label:Object(Oe.__)("Column Count"),value:s,onChange:this.onChangeInitialColumnCount,min:"1",className:"blocks-table__placeholder-input"}),Object(ve.createElement)(Te.TextControl,{type:"number",label:Object(Oe.__)("Row Count"),value:l,onChange:this.onChangeInitialRowCount,min:"1",className:"blocks-table__placeholder-input"}),Object(ve.createElement)(Te.Button,{className:"blocks-table__placeholder-button",isPrimary:!0,type:"submit"},Object(Oe.__)("Create Table"))));var f=_e()(c.class,{"has-fixed-layout":u,"has-background":!!c.color});return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Te.ToolbarGroup,null,Object(ve.createElement)(Te.DropdownMenu,{hasArrowIndicator:!0,icon:bu,label:Object(Oe.__)("Edit table"),controls:this.getTableControls()})),Object(ve.createElement)(ge.AlignmentToolbar,{label:Object(Oe.__)("Change column alignment"),alignmentControls:ku,value:this.getCellAlignment(),onChange:function(t){return e.onChangeColumnAlignment(t)},onHover:this.onHoverAlignment})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Table settings"),className:"blocks-table-settings"},Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Fixed width table cells"),checked:!!u,onChange:this.onChangeFixedLayout}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Header section"),checked:!(!m||!m.length),onChange:this.onToggleHeaderSection}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Footer section"),checked:!(!p||!p.length),onChange:this.onToggleFooterSection})),Object(ve.createElement)(ge.PanelColorSettings,{title:Object(Oe.__)("Color settings"),initialOpen:!1,colorSettings:[{value:c.color,onChange:o,label:Object(Oe.__)("Background color"),disableCustomColors:!0,colors:_u}]})),Object(ve.createElement)("figure",{className:n},Object(ve.createElement)("table",{className:f},Object(ve.createElement)(h,{name:"head",rows:m}),Object(ve.createElement)(h,{name:"body",rows:d}),Object(ve.createElement)(h,{name:"foot",rows:p})),Object(ve.createElement)(ge.RichText,{tagName:"figcaption",placeholder:Object(Oe.__)("Write caption…"),value:b,onChange:function(e){return a({caption:e})},unstableOnFocus:function(){return e.setState({selectedCell:null})}})))}}]),n}(ve.Component),xu=Cu("backgroundColor")(Eu);var Su=function(e){var t=e.phrasingContentSchema;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:t,attributes:["scope"]},td:{allowEmpty:!0,children:t}}}}},Pu={from:[{type:"raw",selector:"table",schema:function(e){return{table:{children:{thead:{allowEmpty:!0,children:Su(e)},tfoot:{allowEmpty:!0,children:Su(e)},tbody:{allowEmpty:!0,children:Su(e)}}}}}}]},Bu={name:"core/table",category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{align:!0}},Tu=Bu.name,Nu={title:Object(Oe.__)("Table"),description:Object(Oe.__)("Insert a table — perfect for sharing charts and data."),icon:eu,example:{attributes:{head:[{cells:[{content:Object(Oe.__)("Version"),tag:"th"},{content:Object(Oe.__)("Jazz Musician"),tag:"th"},{content:Object(Oe.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(Oe.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(Oe.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(Oe.__)("December 6, 2018"),tag:"td"}]}]}},styles:[{name:"regular",label:Object(Oe._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(Oe.__)("Stripes")}],transforms:Pu,edit:xu,save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,c=t.body,o=t.foot,a=t.backgroundColor,i=t.caption;if(!n.length&&!c.length&&!o.length)return null;var l=Object(ge.getColorClassName)("background-color",a),s=_e()(l,{"has-fixed-layout":r,"has-background":!!l}),u=!ge.RichText.isEmpty(i),b=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(ve.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(ve.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,c=e.scope,o=e.align,a=_e()(Object(de.a)({},"has-text-align-".concat(o),o));return Object(ve.createElement)(ge.RichText.Content,{className:a||void 0,"data-align":o,tagName:n,value:r,key:t,scope:"th"===n?c:void 0})})))})))};return Object(ve.createElement)("figure",null,Object(ve.createElement)("table",{className:""===s?void 0:s},Object(ve.createElement)(b,{type:"head",rows:n}),Object(ve.createElement)(b,{type:"body",rows:c}),Object(ve.createElement)(b,{type:"foot",rows:o})),u&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:i}))},deprecated:tu};var Ru={to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,r=e.columns,n=e.content,c=e.width;return Object(he.createBlock)("core/columns",{align:"wide"===c||"full"===c?c:void 0,className:t,columns:r},n.map((function(e){var t=e.children;return Object(he.createBlock)("core/column",{},[Object(he.createBlock)("core/paragraph",{content:t})])})))}}]},zu={name:"core/text-columns",icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},supports:{inserter:!1}},Mu=zu.name,Iu={title:Object(Oe.__)("Text Columns (deprecated)"),description:Object(Oe.__)("This block is deprecated. Please use the Columns block instead."),transforms:Ru,getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,c=t.width,o=t.content,a=t.columns;return Qs()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.BlockAlignmentToolbar,{value:c,onChange:function(e){return r({width:e})},controls:["center","wide","full"]})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,null,Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Columns"),value:a,onChange:function(e){return r({columns:e})},min:2,max:4,required:!0}))),Object(ve.createElement)("div",{className:"".concat(n," align").concat(c," columns-").concat(a)},Object(fe.times)(a,(function(e){return Object(ve.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(ve.createElement)(ge.RichText,{tagName:"p",value:Object(fe.get)(o,[e,"children"]),onChange:function(t){r({content:[].concat(Object(me.a)(o.slice(0,e)),[{children:t}],Object(me.a)(o.slice(e+1)))})},placeholder:Object(Oe.__)("New Column")}))}))))},save:function(e){var t=e.attributes,r=t.width,n=t.content,c=t.columns;return Object(ve.createElement)("div",{className:"align".concat(r," columns-").concat(c)},Object(fe.times)(c,(function(e){return Object(ve.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(ve.createElement)(ge.RichText.Content,{tagName:"p",value:Object(fe.get)(n,[e,"children"])}))})))}},Au=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})),Hu=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content;return Object(ve.createElement)(ge.RichText.Content,{tagName:"pre",style:{textAlign:r},value:n})}}];var Du={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(he.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(he.createBlock)("core/paragraph",e)}}]},Lu={name:"core/verse",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0},textAlign:{type:"string"}},supports:{lightBlockWrapper:!0}},Vu=Lu.name,Fu={title:Object(Oe.__)("Verse"),description:Object(Oe.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:Au,example:{attributes:{content:Object(Oe.__)("WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.")}},keywords:[Object(Oe.__)("poetry"),Object(Oe.__)("poem")],transforms:Du,deprecated:Hu,merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,c=e.mergeBlocks,o=t.textAlign,a=t.content;return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.AlignmentToolbar,{value:o,onChange:function(e){r({textAlign:e})}})),Object(ve.createElement)(ge.RichText,{tagName:ge.__experimentalBlock.pre,identifier:"content",preserveWhiteSpace:!0,value:a,onChange:function(e){r({content:e})},placeholder:Object(Oe.__)("Write…"),className:_e()(n,Object(de.a)({},"has-text-align-".concat(o),o)),onMerge:c,textAlign:o}))},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content,c=_e()(Object(de.a)({},"has-text-align-".concat(r),r));return Object(ve.createElement)(ge.RichText.Content,{tagName:"pre",className:c,value:n})}},Uu=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})),Gu=function(e){var t=e.setAttributes,r=e.attributes,n=r.autoplay,c=r.controls,o=r.loop,a=r.muted,i=r.playsInline,l=r.preload,s=function(e){return function(r){t(Object(de.a)({},e,r))}};return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Autoplay"),onChange:s("autoplay"),checked:n,help:function(e){return e?Object(Oe.__)("Note: Autoplaying videos may cause usability issues for some visitors."):null}}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Loop"),onChange:s("loop"),checked:o}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Muted"),onChange:s("muted"),checked:a}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Playback controls"),onChange:s("controls"),checked:c}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Play inline"),onChange:s("playsInline"),checked:i}),Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Preload"),value:l,onChange:function(e){return t({preload:e})},options:[{value:"auto",label:Object(Oe.__)("Auto")},{value:"metadata",label:Object(Oe.__)("Metadata")},{value:"none",label:Object(Oe.__)("None")}]}))};function Wu(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var qu=["video"],Zu=["image"],Ku=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(Wu()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).videoPlayer=Object(ve.createRef)(),e.posterImageButton=Object(ve.createRef)(),e.onSelectURL=e.onSelectURL.bind(Object(Pr.a)(e)),e.onSelectPoster=e.onSelectPoster.bind(Object(Pr.a)(e)),e.onRemovePoster=e.onRemovePoster.bind(Object(Pr.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,r=e.mediaUpload,n=e.noticeOperations,c=e.setAttributes,o=t.id,a=t.src,i=void 0===a?"":a;if(!o&&Object(Ze.isBlobURL)(i)){var l=Object(Ze.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(e){var t=Object(Be.a)(e,1)[0].url;c({src:t})},onError:function(e){n.createErrorNotice(e)},allowedTypes:qu})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"onSelectURL",value:function(e){var t=this.props,r=t.attributes,n=t.setAttributes;if(e!==r.src){var c=kt({attributes:{url:e}});if(void 0!==c)return void this.props.onReplace(c);n({src:e,id:void 0})}}},{key:"onSelectPoster",value:function(e){(0,this.props.setAttributes)({poster:e.url})}},{key:"onRemovePoster",value:function(){(0,this.props.setAttributes)({poster:""}),this.posterImageButton.current.focus()}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"render",value:function(){var e=this,t=this.props.attributes,r=t.id,n=t.caption,c=t.controls,o=t.poster,a=t.src,i=this.props,l=i.instanceId,s=i.isSelected,u=i.noticeUI,b=i.attributes,m=i.setAttributes,d=function(e){e&&e.url?m({src:e.url,id:e.id}):m({src:void 0,id:void 0})};if(!a)return Object(ve.createElement)(ge.__experimentalBlock.div,null,Object(ve.createElement)(ge.MediaPlaceholder,{icon:Object(ve.createElement)(ge.BlockIcon,{icon:Uu}),onSelect:d,onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:qu,value:this.props.attributes,notices:u,onError:this.onUploadError}));var p="video-block__poster-image-description-".concat(l);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(ge.MediaReplaceFlow,{mediaId:r,mediaURL:a,allowedTypes:qu,accept:"video/*",onSelect:d,onSelectURL:this.onSelectURL,onError:this.onUploadError})),Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Video settings")},Object(ve.createElement)(Gu,{setAttributes:m,attributes:b}),Object(ve.createElement)(ge.MediaUploadCheck,null,Object(ve.createElement)(Te.BaseControl,{className:"editor-video-poster-control"},Object(ve.createElement)(Te.BaseControl.VisualLabel,null,Object(Oe.__)("Poster image")),Object(ve.createElement)(ge.MediaUpload,{title:Object(Oe.__)("Select poster image"),onSelect:this.onSelectPoster,allowedTypes:Zu,render:function(t){var r=t.open;return Object(ve.createElement)(Te.Button,{isPrimary:!0,onClick:r,ref:e.posterImageButton,"aria-describedby":p},e.props.attributes.poster?Object(Oe.__)("Replace"):Object(Oe.__)("Select"))}}),Object(ve.createElement)("p",{id:p,hidden:!0},this.props.attributes.poster?Object(Oe.sprintf)(Object(Oe.__)("The current poster image url is %s"),this.props.attributes.poster):Object(Oe.__)("There is no poster image currently selected")),!!this.props.attributes.poster&&Object(ve.createElement)(Te.Button,{onClick:this.onRemovePoster,isTertiary:!0},Object(Oe.__)("Remove")))))),Object(ve.createElement)(ge.__experimentalBlock.figure,null,Object(ve.createElement)(Te.Disabled,null,Object(ve.createElement)("video",{controls:c,poster:o,src:a,ref:this.videoPlayer})),(!ge.RichText.isEmpty(n)||s)&&Object(ve.createElement)(ge.RichText,{tagName:"figcaption",placeholder:Object(Oe.__)("Write caption…"),value:n,onChange:function(e){return m({caption:e})},inlineToolbar:!0})))}}]),n}(ve.Component),Qu=Object(Ke.compose)([Object(Ne.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),Te.withNotices,Ke.withInstanceId])(Ku);var $u={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(he.createBlock)("core/video",{src:Object(Ze.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:function(e){var t=e.named,r=t.src,n=t.mp4,c=t.m4v,o=t.webm,a=t.ogv,i=t.flv;return r||n||c||o||a||i}},poster:{type:"string",shortcode:function(e){return e.named.poster}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},Ju={name:"core/video",category:"common",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},playsInline:{type:"boolean",source:"attribute",selector:"video",attribute:"playsinline"}},supports:{align:!0,lightBlockWrapper:!0}},Yu=Ju.name,Xu={title:Object(Oe.__)("Video"),description:Object(Oe.__)("Embed a video from your media library or upload a new one."),icon:Uu,keywords:[Object(Oe.__)("movie")],transforms:$u,edit:Qu,save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,c=t.controls,o=t.loop,a=t.muted,i=t.poster,l=t.preload,s=t.src,u=t.playsInline;return Object(ve.createElement)("figure",null,s&&Object(ve.createElement)("video",{autoPlay:r,controls:c,loop:o,muted:a,poster:i,preload:"metadata"!==l?l:void 0,src:s,playsInline:u}),!ge.RichText.isEmpty(n)&&Object(ve.createElement)(ge.RichText.Content,{tagName:"figcaption",value:n}))}},eb=Object(ve.createElement)(je.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M20.1 11.2l-6.7-6.7c-.1-.1-.3-.2-.5-.2H5c-.4-.1-.8.3-.8.7v7.8c0 .2.1.4.2.5l6.7 6.7c.2.2.5.4.7.5s.6.2.9.2c.3 0 .6-.1.9-.2.3-.1.5-.3.8-.5l5.6-5.6c.4-.4.7-1 .7-1.6.1-.6-.2-1.2-.6-1.6zM19 13.4L13.4 19c-.1.1-.2.1-.3.2-.2.1-.4.1-.6 0-.1 0-.2-.1-.3-.2l-6.5-6.5V5.8h6.8l6.5 6.5c.2.2.2.4.2.6 0 .1 0 .3-.2.5zM9 8c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1z"}));function tb(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var rb=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(tb()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(){var e;return Object(Kt.a)(this,n),(e=r.apply(this,arguments)).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(Pr.a)(e)),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(Pr.a)(e)),e}return Object(Qt.a)(n,[{key:"getTaxonomyOptions",value:function(){var e=Object(fe.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(Oe.__)("- Select -"),value:"",disabled:!0},r=Object(fe.map)(e,(function(e){return{value:e.slug,label:e.name}}));return[t].concat(Object(me.a)(r))}},{key:"setTaxonomy",value:function(e){(0,this.props.setAttributes)({taxonomy:e})}},{key:"toggleShowTagCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showTagCounts:!t.showTagCounts})}},{key:"render",value:function(){var e=this.props.attributes,t=e.taxonomy,r=e.showTagCounts,n=this.getTaxonomyOptions(),c=Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.__)("Tag Cloud settings")},Object(ve.createElement)(Te.SelectControl,{label:Object(Oe.__)("Taxonomy"),options:n,value:t,onChange:this.setTaxonomy}),Object(ve.createElement)(Te.ToggleControl,{label:Object(Oe.__)("Show post counts"),checked:r,onChange:this.toggleShowTagCounts})));return Object(ve.createElement)(ve.Fragment,null,c,Object(ve.createElement)(nn.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),n}(ve.Component),nb=Object(Ne.withSelect)((function(e){return{taxonomies:e("core").getTaxonomies()}}))(rb),cb={name:"core/tag-cloud",category:"widgets",attributes:{align:{type:"string",enum:["left","center","right","wide","full"]},className:{type:"string"},taxonomy:{type:"string",default:"post_tag"},showTagCounts:{type:"boolean",default:!1}},supports:{html:!1,align:!0}},ob=cb.name,ab={title:Object(Oe.__)("Tag Cloud"),description:Object(Oe.__)("A cloud of your most used tags."),icon:eb,example:{},edit:nb},ib=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z"}));function lb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function sb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lb(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ub(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var bb=window.wp;var mb=function(e){Object(Yt.a)(n,e);var t,r=(t=n,function(){var e,r=Object(Jt.a)(t);if(ub()){var n=Object(Jt.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object($t.a)(this,e)});function n(e){var t;return Object(Kt.a)(this,n),(t=r.call(this,e)).initialize=t.initialize.bind(Object(Pr.a)(t)),t.onSetup=t.onSetup.bind(Object(Pr.a)(t)),t.focus=t.focus.bind(Object(Pr.a)(t)),t}return Object(Qt.a)(n,[{key:"componentDidMount",value:function(){var e=window.wpEditorL10n.tinymce,t=e.baseURL,r=e.suffix;window.tinymce.EditorManager.overrideDefaults({base_url:t,suffix:r}),"complete"===document.readyState?this.initialize():window.addEventListener("DOMContentLoaded",this.initialize)}},{key:"componentWillUnmount",value:function(){window.addEventListener("DOMContentLoaded",this.initialize),bb.oldEditor.remove("editor-".concat(this.props.clientId))}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.clientId,n=t.attributes.content,c=window.tinymce.get("editor-".concat(r));e.attributes.content!==n&&c.setContent(n||"")}},{key:"initialize",value:function(){var e=this.props.clientId,t=window.wpEditorL10n.tinymce.settings;bb.oldEditor.initialize("editor-".concat(e),{tinymce:sb({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-".concat(e),setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t,r=this,n=this.props,c=n.attributes.content,o=n.setAttributes,a=this.ref;this.editor=e,c&&e.on("loadContent",(function(){return e.setContent(c)})),e.on("blur",(function(){return t=e.selection.getBookmark(2,!0),o({content:e.getContent()}),e.once("focus",(function(){t&&e.selection.moveToBookmark(t)})),!1})),e.on("mousedown touchstart",(function(){t=null})),e.on("keydown",(function(t){t.keyCode!==Nr.BACKSPACE&&t.keyCode!==Nr.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)||(r.props.onReplace([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===Nr.F10&&t.stopPropagation()})),e.addButton("kitchensink",{tooltip:Object(Oe._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(Oe.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",(function(){var e=r.editor.getBody();document.activeElement===e&&(e.blur(),r.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(ve.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(Oe.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(ve.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),n}(ve.Component);var db={name:"core/freeform",category:"formatting",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,reusable:!1}},pb=db.name,gb={title:Object(Oe._x)("Classic","block title"),description:Object(Oe.__)("Use the classic WordPress editor."),icon:ib,edit:mb,save:function(e){var t=e.attributes.content;return Object(ve.createElement)(ve.RawHTML,null,t)}},hb=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"})),fb=["core/social-link"],Ob=[["core/social-link",{service:"wordpress",url:"https://wordpress.org"}],["core/social-link",{service:"facebook"}],["core/social-link",{service:"twitter"}],["core/social-link",{service:"instagram"}],["core/social-link",{service:"linkedin"}],["core/social-link",{service:"youtube"}]],vb=function(){return Object(ve.createElement)(ge.InnerBlocks,{allowedBlocks:fb,templateLock:!1,template:Ob,__experimentalMoverDirection:"horizontal",__experimentalTagName:ge.__experimentalBlock.ul,__experimentalAppenderTagName:"li"})};var jb={name:"core/social-links",category:"widgets",supports:{align:["left","center","right"],lightBlockWrapper:!0}},yb=jb.name,wb={title:Object(Oe.__)("Social Icons"),description:Object(Oe.__)("Display icons linking to your social media profiles or websites."),keywords:[Object(Oe._x)("links","block keywords")],example:{innerBlocks:[{name:"core/social-link",attributes:{service:"wordpress",url:"https://wordpress.org"}},{name:"core/social-link",attributes:{service:"facebook",url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link",attributes:{service:"twitter",url:"https://twitter.com/WordPress"}}]},styles:[{name:"default",label:Object(Oe.__)("Default"),isDefault:!0},{name:"logos-only",label:Object(Oe.__)("Logos Only")},{name:"pill-shape",label:Object(Oe.__)("Pill Shape")}],icon:hb,edit:vb,save:function(e){var t=e.className;return Object(ve.createElement)("ul",{className:t},Object(ve.createElement)(ge.InnerBlocks.Content,null))}},_b=r(186),kb=function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M19.647,16.706a1.134,1.134,0,0,0-.343-.833l-2.549-2.549a1.134,1.134,0,0,0-.833-.343,1.168,1.168,0,0,0-.883.392l.233.226q.2.189.264.264a2.922,2.922,0,0,1,.184.233.986.986,0,0,1,.159.312,1.242,1.242,0,0,1,.043.337,1.172,1.172,0,0,1-1.176,1.176,1.237,1.237,0,0,1-.337-.043,1,1,0,0,1-.312-.159,2.76,2.76,0,0,1-.233-.184q-.073-.068-.264-.264l-.226-.233a1.19,1.19,0,0,0-.4.895,1.134,1.134,0,0,0,.343.833L15.837,19.3a1.13,1.13,0,0,0,.833.331,1.18,1.18,0,0,0,.833-.318l1.8-1.789a1.12,1.12,0,0,0,.343-.821Zm-8.615-8.64a1.134,1.134,0,0,0-.343-.833L8.163,4.7a1.134,1.134,0,0,0-.833-.343,1.184,1.184,0,0,0-.833.331L4.7,6.473a1.12,1.12,0,0,0-.343.821,1.134,1.134,0,0,0,.343.833l2.549,2.549a1.13,1.13,0,0,0,.833.331,1.184,1.184,0,0,0,.883-.38L8.728,10.4q-.2-.189-.264-.264A2.922,2.922,0,0,1,8.28,9.9a.986.986,0,0,1-.159-.312,1.242,1.242,0,0,1-.043-.337A1.172,1.172,0,0,1,9.254,8.079a1.237,1.237,0,0,1,.337.043,1,1,0,0,1,.312.159,2.761,2.761,0,0,1,.233.184q.073.068.264.264l.226.233a1.19,1.19,0,0,0,.4-.895ZM22,16.706a3.343,3.343,0,0,1-1.042,2.488l-1.8,1.789a3.536,3.536,0,0,1-4.988-.025l-2.525-2.537a3.384,3.384,0,0,1-1.017-2.488,3.448,3.448,0,0,1,1.078-2.561l-1.078-1.078a3.434,3.434,0,0,1-2.549,1.078,3.4,3.4,0,0,1-2.5-1.029L3.029,9.794A3.4,3.4,0,0,1,2,7.294,3.343,3.343,0,0,1,3.042,4.806l1.8-1.789A3.384,3.384,0,0,1,7.331,2a3.357,3.357,0,0,1,2.5,1.042l2.525,2.537a3.384,3.384,0,0,1,1.017,2.488,3.448,3.448,0,0,1-1.078,2.561l1.078,1.078a3.551,3.551,0,0,1,5.049-.049l2.549,2.549A3.4,3.4,0,0,1,22,16.706Z"}))},Cb=[{isDefault:!0,name:"wordpress",attributes:{service:"wordpress"},title:"WordPress",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z"}))}},{name:"fivehundredpx",attributes:{service:"fivehundredpx"},title:"500px",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z"}))}},{name:"amazon",attributes:{service:"amazon"},title:"Amazon",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z"}))}},{name:"bandcamp",attributes:{service:"bandcamp"},title:"Bandcamp",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289"}))}},{name:"behance",attributes:{service:"behance"},title:"Behance",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z"}))}},{name:"chain",attributes:{service:"chain"},title:"Link",icon:kb},{name:"codepen",attributes:{service:"codepen"},title:"CodePen",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z"}))}},{name:"deviantart",attributes:{service:"deviantart"},title:"DeviantArt",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z"}))}},{name:"dribbble",attributes:{service:"dribbble"},title:"Dribbble",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z"}))}},{name:"dropbox",attributes:{service:"dropbox"},title:"Dropbox",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z"}))}},{name:"etsy",attributes:{service:"etsy"},title:"Etsy",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z"}))}},{name:"facebook",attributes:{service:"facebook"},title:"Facebook",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"}))}},{name:"feed",attributes:{service:"feed"},title:"RSS Feed",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z"}))}},{name:"flickr",attributes:{service:"flickr"},title:"Flickr",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z"}))}},{name:"foursquare",attributes:{service:"foursquare"},title:"Foursquare",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z"}))}},{name:"goodreads",attributes:{service:"goodreads"},title:"Goodreads",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z"}))}},{name:"google",attributes:{service:"google"},title:"Google",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.8,3.85,1.48l2.84-2.76C16.99,2.99,14.73,2,12.03,2c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.77,0,9.6-4.06,9.6-9.77 c0-0.83-0.11-1.42-0.25-2.05H12.02z"}))}},{name:"github",attributes:{service:"github"},title:"GitHub",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"}))}},{name:"instagram",attributes:{service:"instagram"},title:"Instagram",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"}))}},{name:"lastfm",attributes:{service:"lastfm"},title:"Last.fm",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M10.5002,0 C4.7006,0 0,4.70109753 0,10.4998496 C0,16.2989526 4.7006,21 10.5002,21 C16.299,21 21,16.2989526 21,10.4998496 C21,4.70109753 16.299,0 10.5002,0 Z M14.69735,14.7204413 C13.3164,14.7151781 12.4346,14.0870017 11.83445,12.6859357 L11.6816001,12.3451305 L10.35405,9.31011397 C9.92709997,8.26875064 8.85260001,7.57120012 7.68010001,7.57120012 C6.06945001,7.57120012 4.75925001,8.88509738 4.75925001,10.5009524 C4.75925001,12.1164565 6.06945001,13.4303036 7.68010001,13.4303036 C8.77200001,13.4303036 9.76514999,12.827541 10.2719501,11.8567047 C10.2893,11.8235214 10.3239,11.8019673 10.36305,11.8038219 C10.4007,11.8053759 10.43535,11.8287847 10.4504,11.8631709 L10.98655,13.1045863 C11.0016,13.1389726 10.9956,13.17782 10.97225,13.2068931 C10.1605001,14.1995341 8.96020001,14.7683115 7.68010001,14.7683115 C5.33305,14.7683115 3.42340001,12.8535563 3.42340001,10.5009524 C3.42340001,8.14679459 5.33300001,6.23203946 7.68010001,6.23203946 C9.45720002,6.23203946 10.8909,7.19074535 11.6138,8.86359341 C11.6205501,8.88018505 12.3412,10.5707777 12.97445,12.0190621 C13.34865,12.8739575 13.64615,13.3959676 14.6288,13.4291508 C15.5663001,13.4612814 16.25375,12.9121534 16.25375,12.1484869 C16.25375,11.4691321 15.8320501,11.3003585 14.8803,10.98216 C13.2365,10.4397989 12.34495,9.88605929 12.34495,8.51817658 C12.34495,7.1809207 13.26665,6.31615054 14.692,6.31615054 C15.62875,6.31615054 16.3155,6.7286858 16.79215,7.5768142 C16.80495,7.60062396 16.8079001,7.62814302 16.8004001,7.65420843 C16.7929,7.68027384 16.7748,7.70212868 16.7507001,7.713808 L15.86145,8.16900031 C15.8178001,8.19200805 15.7643,8.17807308 15.73565,8.13847371 C15.43295,7.71345711 15.0956,7.52513451 14.6423,7.52513451 C14.05125,7.52513451 13.6220001,7.92899802 13.6220001,8.48649708 C13.6220001,9.17382194 14.1529001,9.34144259 15.0339,9.61923972 C15.14915,9.65578139 15.26955,9.69397731 15.39385,9.73432853 C16.7763,10.1865133 17.57675,10.7311301 17.57675,12.1836251 C17.57685,13.629654 16.3389,14.7204413 14.69735,14.7204413 Z"}))}},{name:"linkedin",attributes:{service:"linkedin"},title:"LinkedIn",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"}))}},{name:"mail",attributes:{service:"mail"},title:"Mail",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z"}))}},{name:"mastodon",attributes:{service:"mastodon"},title:"Mastodon",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z"}))}},{name:"meetup",attributes:{service:"meetup"},title:"Meetup",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z"}))}},{name:"medium",attributes:{service:"medium"},title:"Medium",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"}))}},{name:"pinterest",attributes:{service:"pinterest"},title:"Pinterest",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"}))}},{name:"pocket",attributes:{service:"pocket"},title:"Pocket",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z"}))}},{name:"reddit",attributes:{service:"reddit"},title:"Reddit",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M22,11.816c0-1.256-1.021-2.277-2.277-2.277c-0.593,0-1.122,0.24-1.526,0.614c-1.481-0.965-3.455-1.594-5.647-1.69 l1.171-3.702l3.18,0.748c0.008,1.028,0.846,1.862,1.876,1.862c1.035,0,1.877-0.842,1.877-1.878c0-1.035-0.842-1.877-1.877-1.877 c-0.769,0-1.431,0.466-1.72,1.13l-3.508-0.826c-0.203-0.047-0.399,0.067-0.46,0.261l-1.35,4.268 c-2.316,0.038-4.411,0.67-5.97,1.671C5.368,9.765,4.853,9.539,4.277,9.539C3.021,9.539,2,10.56,2,11.816 c0,0.814,0.433,1.523,1.078,1.925c-0.037,0.221-0.061,0.444-0.061,0.672c0,3.292,4.011,5.97,8.941,5.97s8.941-2.678,8.941-5.97 c0-0.214-0.02-0.424-0.053-0.632C21.533,13.39,22,12.661,22,11.816z M18.776,4.394c0.606,0,1.1,0.493,1.1,1.1s-0.493,1.1-1.1,1.1 s-1.1-0.494-1.1-1.1S18.169,4.394,18.776,4.394z M2.777,11.816c0-0.827,0.672-1.5,1.499-1.5c0.313,0,0.598,0.103,0.838,0.269 c-0.851,0.676-1.477,1.479-1.812,2.36C2.983,12.672,2.777,12.27,2.777,11.816z M11.959,19.606c-4.501,0-8.164-2.329-8.164-5.193 S7.457,9.22,11.959,9.22s8.164,2.329,8.164,5.193S16.46,19.606,11.959,19.606z M20.636,13.001c-0.326-0.89-0.948-1.701-1.797-2.384 c0.248-0.186,0.55-0.301,0.883-0.301c0.827,0,1.5,0.673,1.5,1.5C21.223,12.299,20.992,12.727,20.636,13.001z M8.996,14.704 c-0.76,0-1.397-0.616-1.397-1.376c0-0.76,0.637-1.397,1.397-1.397c0.76,0,1.376,0.637,1.376,1.397 C10.372,14.088,9.756,14.704,8.996,14.704z M16.401,13.328c0,0.76-0.616,1.376-1.376,1.376c-0.76,0-1.399-0.616-1.399-1.376 c0-0.76,0.639-1.397,1.399-1.397C15.785,11.931,16.401,12.568,16.401,13.328z M15.229,16.708c0.152,0.152,0.152,0.398,0,0.55 c-0.674,0.674-1.727,1.002-3.219,1.002c-0.004,0-0.007-0.002-0.011-0.002c-0.004,0-0.007,0.002-0.011,0.002 c-1.492,0-2.544-0.328-3.218-1.002c-0.152-0.152-0.152-0.398,0-0.55c0.152-0.152,0.399-0.151,0.55,0 c0.521,0.521,1.394,0.775,2.669,0.775c0.004,0,0.007,0.002,0.011,0.002c0.004,0,0.007-0.002,0.011-0.002 c1.275,0,2.148-0.253,2.669-0.775C14.831,16.556,15.078,16.556,15.229,16.708z"}))}},{name:"skype",attributes:{service:"skype"},title:"Skype",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"}))}},{name:"snapchat",attributes:{service:"snapchat"},title:"Snapchat",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z"}))}},{name:"soundcloud",attributes:{service:"soundcloud"},title:"SoundCloud",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M8.9,16.1L9,14L8.9,9.5c0-0.1,0-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.1L8.3,14l0.1,2.1 c0,0.1,0,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1C8.8,16.3,8.9,16.3,8.9,16.1z M11.4,15.9l0.1-1.8L11.4,9c0-0.1,0-0.2-0.1-0.2 c0,0-0.1,0-0.1,0s-0.1,0-0.1,0c-0.1,0-0.1,0.1-0.1,0.2l0,0.1l-0.1,5c0,0,0,0.7,0.1,2v0c0,0.1,0,0.1,0.1,0.1c0.1,0.1,0.1,0.1,0.2,0.1 c0.1,0,0.1,0,0.2-0.1c0.1,0,0.1-0.1,0.1-0.2L11.4,15.9z M2.4,12.9L2.5,14l-0.2,1.1c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0-0.1-0.1L2.1,14 l0.1-1.1C2.2,12.9,2.3,12.9,2.4,12.9C2.3,12.9,2.4,12.9,2.4,12.9z M3.1,12.2L3.3,14l-0.2,1.8c0,0.1,0,0.1-0.1,0.1 c-0.1,0-0.1,0-0.1-0.1L2.8,14L3,12.2C3,12.2,3,12.2,3.1,12.2C3.1,12.2,3.1,12.2,3.1,12.2z M3.9,11.9L4.1,14l-0.2,2.1 c0,0.1,0,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L3.5,14l0.2-2.1c0-0.1,0-0.1,0.1-0.1C3.9,11.8,3.9,11.8,3.9,11.9z M4.7,11.9L4.9,14 l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L4.3,14l0.2-2.2c0-0.1,0-0.1,0.1-0.1C4.7,11.7,4.7,11.8,4.7,11.9z M5.6,12 l0.2,2l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c0,0-0.1,0-0.1,0c0,0,0-0.1,0-0.1L5.1,14l0.2-2c0,0,0-0.1,0-0.1s0.1,0,0.1,0 C5.5,11.9,5.5,11.9,5.6,12L5.6,12z M6.4,10.7L6.6,14l-0.2,2.1c0,0,0,0.1,0,0.1c0,0-0.1,0-0.1,0c-0.1,0-0.1-0.1-0.2-0.2L5.9,14 l0.2-3.3c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0C6.4,10.7,6.4,10.7,6.4,10.7z M7.2,10l0.2,4.1l-0.2,2.1c0,0,0,0.1,0,0.1 c0,0-0.1,0-0.1,0c-0.1,0-0.2-0.1-0.2-0.2l-0.1-2.1L6.8,10c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0S7.2,9.9,7.2,10z M8,9.6L8.2,14 L8,16.1c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2L7.5,14l0.1-4.4c0-0.1,0-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1c0.1,0,0.1,0,0.1,0.1 C8,9.6,8,9.6,8,9.6z M11.4,16.1L11.4,16.1L11.4,16.1z M9.7,9.6L9.8,14l-0.1,2.1c0,0.1,0,0.1-0.1,0.2s-0.1,0.1-0.2,0.1 c-0.1,0-0.1,0-0.1-0.1s-0.1-0.1-0.1-0.2L9.2,14l0.1-4.4c0-0.1,0-0.1,0.1-0.2s0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S9.7,9.5,9.7,9.6 L9.7,9.6z M10.6,9.8l0.1,4.3l-0.1,2c0,0.1,0,0.1-0.1,0.2c0,0-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c0,0-0.1-0.1-0.1-0.2L10,14 l0.1-4.3c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S10.6,9.7,10.6,9.8z M12.4,14l-0.1,2c0,0.1,0,0.1-0.1,0.2 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2l-0.1-1l-0.1-1l0.1-5.5v0c0-0.1,0-0.2,0.1-0.2 c0.1,0,0.1-0.1,0.2-0.1c0,0,0.1,0,0.1,0c0.1,0,0.1,0.1,0.1,0.2L12.4,14z M22.1,13.9c0,0.7-0.2,1.3-0.7,1.7c-0.5,0.5-1.1,0.7-1.7,0.7 h-6.8c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2V8.2c0-0.1,0.1-0.2,0.2-0.3c0.5-0.2,1-0.3,1.6-0.3c1.1,0,2.1,0.4,2.9,1.1 c0.8,0.8,1.3,1.7,1.4,2.8c0.3-0.1,0.6-0.2,1-0.2c0.7,0,1.3,0.2,1.7,0.7C21.8,12.6,22.1,13.2,22.1,13.9L22.1,13.9z"}))}},{name:"spotify",attributes:{service:"spotify"},title:"Spotify",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"}))}},{name:"tumblr",attributes:{service:"tumblr"},title:"Tumblr",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z"}))}},{name:"twitch",attributes:{service:"twitch"},title:"Twitch",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"}))}},{name:"twitter",attributes:{service:"twitter"},title:"Twitter",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"}))}},{name:"vimeo",attributes:{service:"vimeo"},title:"Vimeo",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z"}))}},{name:"vk",attributes:{service:"vk"},title:"VK",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z"}))}},{name:"yelp",attributes:{service:"yelp"},title:"Yelp",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"}))}},{name:"youtube",attributes:{service:"youtube"},title:"YouTube",icon:function(){return Object(ve.createElement)(je.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ve.createElement)(je.Path,{d:"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"}))}}],Eb=function(e){var t,r,n=e.attributes,c=e.setAttributes,o=e.isSelected,a=n.url,i=n.service,l=n.label,s=Object(ve.useState)(!1),u=Object(Be.a)(s,2),b=u[0],m=u[1],d=_e()("wp-social-link","wp-social-link-"+i,{"wp-social-link__is-incomplete":!a}),p=(t=i,(r=Object(fe.find)(Cb,{name:t}))?r.icon:kb),g=function(e){var t=Object(fe.find)(Cb,{name:e});return t?t.title:Object(Oe.__)("Social Icon")}(i);return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.InspectorControls,null,Object(ve.createElement)(Te.PanelBody,{title:Object(Oe.sprintf)(Object(Oe.__)("%s label"),g),initialOpen:!1},Object(ve.createElement)(Te.PanelRow,null,Object(ve.createElement)(Te.TextControl,{label:Object(Oe.__)("Link label"),help:Object(Oe.__)("Briefly describe the link to help screen reader users."),value:l,onChange:function(e){return c({label:e})}})))),Object(ve.createElement)(ge.__experimentalBlock.li,{className:d},Object(ve.createElement)(Te.Button,{onClick:function(){return m(!0)}},Object(ve.createElement)(p,null),o&&b&&Object(ve.createElement)(ge.URLPopover,{onClose:function(){return m(!1)}},Object(ve.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:function(e){e.preventDefault(),m(!1)}},Object(ve.createElement)("div",{className:"block-editor-url-input"},Object(ve.createElement)(ge.URLInput,{value:a,onChange:function(e){return c({url:e})},placeholder:Object(Oe.__)("Enter address"),disableSuggestions:!0})),Object(ve.createElement)(Te.Button,{icon:_b.a,label:Object(Oe.__)("Apply"),type:"submit"}))))))},xb={name:"core/social-link",category:"widgets",parent:["core/social-links"],attributes:{url:{type:"string"},service:{type:"string"},label:{type:"string"}},supports:{reusable:!1,html:!1,lightBlockWrapper:!0}},Sb=xb.name,Pb={title:Object(Oe.__)("Social Icon"),icon:hb,edit:Eb,description:Object(Oe.__)("Display an icon linking to a social media profile or website."),variations:Cb};function Bb(){var e=Object(pe.useEntityBlockEditor)("root","widgetArea"),t=Object(Be.a)(e,3),r=t[0],n=t[1],c=t[2];return Object(ve.createElement)(ge.InnerBlocks,{value:r,onInput:n,onChange:c,templateLock:!1,renderAppender:ge.InnerBlocks.ButtonBlockAppender})}var Tb={name:"core/widget-area",category:"widgets",attributes:{id:{type:"string"},name:{type:"string"}},supports:{html:!1,inserter:!1,customClassName:!1}},Nb=Tb.name,Rb={title:Object(Oe.__)("Widget Area"),description:Object(Oe.__)("A widget area container."),__experimentalLabel:function(e){return e.name},edit:function(e){var t=e.clientId,r=e.className,n=e.attributes,c=n.id,o=n.name,a=Object(Ne.useSelect)((function(e){return e("core/block-editor").getBlockIndex(t)}),[t]);return Object(ve.createElement)(Te.Panel,{className:r},Object(ve.createElement)(Te.PanelBody,{title:o,initialOpen:0===a},Object(ve.createElement)(pe.EntityProvider,{kind:"root",type:"widgetArea",id:c},Object(ve.createElement)(Bb,null))))}};var zb={name:"core/site-title",category:"layout",attributes:{level:{type:"number",default:1}},supports:{html:!1,lightBlockWrapper:!0}},Mb=zb.name,Ib={title:Object(Oe.__)("Site Title"),icon:Xa,edit:function(){var e=Object(pe.useEntityProp)("root","site","title"),t=Object(Be.a)(e,2),r=t[0],n=t[1];return Object(ve.createElement)(ge.PlainText,{__experimentalVersion:2,tagName:ge.__experimentalBlock.h1,placeholder:Object(Oe.__)("Site Title"),value:r,onChange:n,disableLineBreaks:!0})}};function Ab(e,t,r){return Object(Ne.useSelect)((function(n){if(e)return n("core").getEntityRecord("postType","wp_template_part",e)&&e;if(t&&r){var c=n("core").getEntityRecords("postType","wp_template_part",{status:["publish","auto-draft"],slug:t,theme:r}),o=null==c?void 0:c.filter((function(e){return e.slug===t&&e.meta&&e.meta.theme===r})),a=(null==o?void 0:o.find((function(e){return"publish"===e.status})))||(null==o?void 0:o.find((function(e){return"auto-draft"===e.status})));return null==a?void 0:a.id}}),[e,t,r])}function Hb(){var e=Object(pe.useEntityBlockEditor)("postType","wp_template_part",{initialEdits:{status:"publish"}}),t=Object(Be.a)(e,3),r=t[0],n=t[1],c=t[2];return Object(ve.createElement)(ge.InnerBlocks,{value:r,onInput:n,onChange:c})}var Db=r(184);function Lb(){var e=Object(pe.useEntityBlockEditor)("postType","wp_template_part"),t=Object(Be.a)(e,1)[0];return Object(ve.createElement)("div",{className:"wp-block-template-part__placeholder-preview"},Object(ve.createElement)("div",{className:"wp-block-template-part__placeholder-preview-title"},Object(Oe.__)("Preview")),Object(ve.createElement)(ge.BlockPreview,{blocks:t,viewportWidth:1200}))}function Vb(e){var t=e.setAttributes,r=Object(ve.useState)(""),n=Object(Be.a)(r,2),c=n[0],o=n[1],a=Object(ve.useState)(""),i=Object(Be.a)(a,2),l=i[0],s=i[1],u=Object(ve.useState)(),b=Object(Be.a)(u,2),m=b[0],d=b[1],p=Ab(null,c,l),g=Object(Ne.useSelect)((function(e){if(p)return e("core").getEntityRecord("postType","wp_template_part",p)?Object(ve.createElement)(pe.EntityProvider,{kind:"postType",type:"wp_template_part",id:p},Object(ve.createElement)(Lb,null)):void 0}),[p]),h=Object(ve.useCallback)((function(e){o(e),d(Object(Qe.cleanForSlug)(e))}),[]),f=Object(Ne.useDispatch)("core").saveEntityRecord,O=Object(ve.useCallback)(Object(ri.a)(ti.a.mark((function e(){var r,n,o;return ti.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r={slug:c,theme:l},null==p){e.next=5;break}r.postId=p,e.next=16;break;case 5:return e.prev=5,n=Object(Qe.cleanForSlug)(c),e.next=9,f("postType","wp_template_part",{title:n,status:"publish",slug:n,meta:{theme:l}});case 9:o=e.sent,r.postId=o.id,e.next=16;break;case 13:e.prev=13,e.t0=e.catch(5),d(Object(Oe.__)("Error adding template."));case 16:t(r);case 17:case"end":return e.stop()}}),e,null,[[5,13]])}))),[p,c,l]);return Object(ve.createElement)(Te.Placeholder,{icon:Db.a,label:Object(Oe.__)("Template Part"),instructions:Object(Oe.__)("Choose a template part by slug and theme, or create a new one.")},Object(ve.createElement)("div",{className:"wp-block-template-part__placeholder-input-container"},Object(ve.createElement)(Te.TextControl,{label:Object(Oe.__)("Slug"),placeholder:Object(Oe.__)("header"),value:c,onChange:h,help:m,className:"wp-block-template-part__placeholder-input"}),Object(ve.createElement)(Te.TextControl,{label:Object(Oe.__)("Theme"),placeholder:Object(Oe.__)("twentytwenty"),value:l,onChange:s,className:"wp-block-template-part__placeholder-input"})),g,Object(ve.createElement)(Te.Button,{isPrimary:!0,disabled:!c||!l,onClick:O},p?Object(Oe.__)("Choose"):Object(Oe.__)("Create")))}var Fb={name:"core/template-part",category:"layout",attributes:{postId:{type:"number"},slug:{type:"string"},theme:{type:"string"}},supports:{html:!1}},Ub=Fb.name,Gb={title:Object(Oe.__)("Template Part"),__experimentalLabel:function(e){var t=e.slug;return Object(fe.startCase)(t)},edit:function(e){var t=e.attributes,r=t.postId,n=t.slug,c=t.theme,o=e.setAttributes,a=Object(ve.useRef)(r),i=Object(ve.useRef)(n),l=Object(ve.useRef)(c),s=Ab(r,n,c);return Object(ve.useEffect)((function(){void 0!==a.current&&null!==a.current||null==s||o({postId:s})}),[s]),s?Object(ve.createElement)(pe.EntityProvider,{kind:"postType",type:"wp_template_part",id:s},Object(ve.createElement)(Hb,null)):i.current||l.current?null:Object(ve.createElement)(Vb,{setAttributes:o})}};function Wb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wb(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Zb(e){var t=e.query,r=e.setQuery,n=Object(Ne.useSelect)((function(e){var t=e("core").getEntityRecords("taxonomy","category");return qb({categories:t},null==t?void 0:t.reduce((function(e,t){return{categoriesMapById:qb({},e.categoriesMapById,Object(de.a)({},t.id,t)),categoriesMapByName:qb({},e.categoriesMapByName,Object(de.a)({},t.name,t))}}),{categoriesMapById:{},categoriesMapByName:{}}))}),[]),c=n.categories,o=n.categoriesMapById,a=n.categoriesMapByName;return Object(ve.createElement)(Te.Toolbar,null,Object(ve.createElement)(Te.Dropdown,{renderToggle:function(e){var t=e.onToggle;return Object(ve.createElement)(Te.ToolbarButton,{icon:Oi,label:Object(Oe.__)("Query"),onClick:t})},renderContent:function(){return Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Posts per Page"),min:1,allowReset:!0,value:t.perPage,onChange:function(e){return r({perPage:null!=e?e:-1})}}),Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Number of Pages"),min:1,allowReset:!0,value:t.pages,onChange:function(e){return r({pages:null!=e?e:-1})}}),Object(ve.createElement)(Te.RangeControl,{label:Object(Oe.__)("Offset"),min:0,allowReset:!0,value:t.offset,onChange:function(e){return r({offset:null!=e?e:0})}}),c&&Object(ve.createElement)(Te.FormTokenField,{label:Object(Oe.__)("Categories"),value:t.categoryIds.map((function(e){return{id:e,value:o[e].name}})),suggestions:c.map((function(e){return e.name})),onChange:function(e){var t=e.map((function(e){var t;return null===(t=a[e])||void 0===t?void 0:t.id}));t.includes(void 0)||r({categoryIds:t})}}))}}))}function Kb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Qb=Object(ve.createContext)();function $b(e){var t=e.children,r=Object(ve.useState)({page:1}),n=Object(Be.a)(r,2),c=n[0],o=n[1];return Object(ve.createElement)(Qb.Provider,{value:Object(ve.useMemo)((function(){return[c,function(e){return o((function(t){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Kb(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{},e)}))}]}),[c])},t)}function Jb(){return Object(ve.useContext)(Qb)}function Yb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Yb(Object(r),!0).forEach((function(t){Object(de.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var em=[["core/query-loop"],["core/query-pagination"]];var tm={name:"core/query",category:"layout",attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:3,pages:1,offset:0,categoryIds:[]}}},providesContext:{queryId:"queryId",query:"query"},supports:{html:!1}},rm=tm.name,nm={title:Object(Oe.__)("Query"),edit:function e(t){var r=t.attributes,n=r.queryId,c=r.query,o=t.setAttributes,a=Object(Ke.useInstanceId)(e);return Object(ve.useEffect)((function(){n||o({queryId:a})}),[n,a]),Object(ve.createElement)(ve.Fragment,null,Object(ve.createElement)(ge.BlockControls,null,Object(ve.createElement)(Zb,{query:c,setQuery:function(e){return o({query:Xb({},c,{},e)})}})),Object(ve.createElement)($b,null,Object(ve.createElement)(ge.InnerBlocks,{template:em})))},save:function(){return Object(ve.createElement)(ge.InnerBlocks.Content,null)}},cm=Object(ve.createElement)(je.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ve.createElement)(je.Path,{d:"M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"})),om=[["core/post-title"],["core/post-content"]];var am={name:"core/query-loop",category:"layout",context:["queryId","query","queryContext"],supports:{reusable:!1,html:!1}},im=am.name,lm={title:Object(Oe.__)("Query Loop"),icon:cm,edit:function(e){var t=e.clientId,r=e.context,n=r.query,c=n.perPage,o=n.offset,a=n.categoryIds,i=r.queryContext,l=Jb()||i,s=Object(Be.a)(l,1)[0].page,u=Object(ve.useState)(),b=Object(Be.a)(u,2),m=b[0],d=b[1],p=Object(Ne.useSelect)((function(e){var r={offset:c?c*(s-1)+o:0,categories:a};return c&&(r.per_page=c),{posts:e("core").getEntityRecords("postType","post",r),blocks:e("core/block-editor").getBlocks(t)}}),[c,s,o,a,t]),g=p.posts,h=p.blocks,f=Object(ve.useMemo)((function(){return null==g?void 0:g.map((function(e){return{postType:e.type,postId:e.id}}))}),[g]);return f?f.map((function(e){return Object(ve.createElement)(ge.BlockContextProvider,{key:e.postId,value:e},e===(m||f[0])?Object(ve.createElement)(ge.InnerBlocks,{template:om}):Object(ve.createElement)(ge.BlockPreview,{blocks:h,__experimentalLive:!0,__experimentalOnClick:function(){return d(e)}}))})):null},save:function(){return Object(ve.createElement)(ge.InnerBlocks.Content,null)}};var sm={name:"core/query-pagination",category:"layout",context:["queryId","query","queryContext"],supports:{reusable:!1,html:!1}},um=sm.name,bm={title:Object(Oe.__)("Query Pagination"),edit:function(e){var t,r,n=e.context,c=n.query.pages,o=void 0===c?1:c,a=n.queryContext,i=Jb()||a,l=Object(Be.a)(i,2),s=l[0].page,u=l[1];return s>1&&(t=Object(ve.createElement)(Te.Button,{isPrimary:!0,icon:Rr,onClick:function(){return u({page:s-1})}},Object(Oe.__)("Previous"))),s<o&&(r=Object(ve.createElement)(Te.Button,{isPrimary:!0,icon:zr,onClick:function(){return u({page:s+1})}},Object(Oe.__)("Next"))),t||r?Object(ve.createElement)(Te.ButtonGroup,null,t,r):Object(Oe.__)("No pages to paginate.")}},mm=Object(ve.createElement)(je.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M5 4v3h5.5v12h3V7H19V4H5z"}));var dm={name:"core/post-title",category:"layout",context:["postId","postType"],supports:{html:!1}},pm=dm.name,gm={title:Object(Oe.__)("Post Title"),icon:mm,edit:function(e){var t=e.context,r=t.postType,n=t.postId,c=Object(Ne.useSelect)((function(e){return e("core").getEditedEntityRecord("postType",r,n)}),[r,n]);return c?Object(ve.createElement)("h2",null,c.title):null}},hm=Object(ve.createElement)(je.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ve.createElement)(je.Path,{d:"M3 15h18v-2H3v2zm0 4h18v-2H3v2zm0-8h18V9H3v2zm0-6v2h18V5H3z"}));function fm(e){var t=e.postType,r=e.postId,n=Object(pe.useEntityBlockEditor)("postType",t,{id:r}),c=Object(Be.a)(n,3),o=c[0],a=c[1],i=c[2];return Object(ve.createElement)(ge.InnerBlocks,{value:o,onInput:a,onChange:i})}var Om={name:"core/post-content",category:"layout",context:["postId","postType"],supports:{html:!1}},vm=Om.name,jm={title:Object(Oe.__)("Post Content"),icon:hm,edit:function(e){var t=e.context,r=t.postId,n=t.postType;return r&&n?Object(ve.createElement)(f