Gutenberg - Version 2.9.2

Version Description

Download this release

Release Info

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

Code changes from version 2.9.1 to 2.9.2

README.md CHANGED
@@ -52,7 +52,7 @@ Gutenberg is a big change, and there will be ways to ensure that existing functi
52
 
53
  ## Get involved
54
 
55
- We’re calling this editor project "Gutenberg" because it's a big undertaking. We are working on it every day in GitHub, and we'd love your help building it. You’re also welcome to give feedback, the easiest is to join us in <a href="https://make.wordpress.org/chat/">our Slack channel</a>, `#core-editor`.
56
 
57
  ## Contributors
58
 
52
 
53
  ## Get involved
54
 
55
+ We’re calling this editor project "Gutenberg" because it's a big undertaking. We are working on it every day in GitHub, and we'd love your help building it. You’re also welcome to give feedback, the easiest is to join us in <a href="https://make.wordpress.org/chat/">our Slack channel</a>, `#core-editor`. A weekly meeting is held in the Slack channel on Wednesdays at 13:00 UTC.
56
 
57
  ## Contributors
58
 
build/core-blocks/style-rtl.css CHANGED
@@ -1 +1 @@
1
- .wp-block-embed figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.editor-block-list__block[data-type="core/embed"][data-align=left] .editor-block-list__block-edit,.editor-block-list__block[data-type="core/embed"][data-align=right] .editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:318px;width:100%}.has-pale-pink-background-color{background-color:#f78da7}.has-vivid-red-background-color{background-color:#cf2e2e}.has-luminous-vivid-orange-background-color{background-color:#ff6900}.has-luminous-vivid-amber-background-color{background-color:#fcb900}.has-light-green-cyan-background-color{background-color:#7bdcb5}.has-vivid-green-cyan-background-color{background-color:#00d084}.has-pale-cyan-blue-background-color{background-color:#8ed1fc}.has-vivid-cyan-blue-background-color{background-color:#0693e3}.has-very-light-gray-background-color{background-color:#eee}.has-cyan-bluish-gray-background-color{background-color:#abb8c3}.has-very-dark-gray-background-color{background-color:#313131}.has-pale-pink-color{color:#f78da7}.has-vivid-red-color{color:#cf2e2e}.has-luminous-vivid-orange-color{color:#ff6900}.has-luminous-vivid-amber-color{color:#fcb900}.has-light-green-cyan-color{color:#7bdcb5}.has-vivid-green-cyan-color{color:#00d084}.has-pale-cyan-blue-color{color:#8ed1fc}.has-vivid-cyan-blue-color{color:#0693e3}.has-very-light-gray-color{color:#eee}.has-cyan-bluish-gray-color{color:#abb8c3}.has-very-dark-gray-color{color:#313131}.wp-block-image{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.wp-block-image figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.wp-block-image.aligncenter{display:block;margin-right:auto;margin-left:auto;text-align:center}.wp-block-image.is-resized{width:-webkit-min-content;width:-moz-min-content;width:min-content;display:-ms-inline-grid;-ms-grid-columns:min-content}.wp-block-image.is-resized figcaption{-ms-grid-row:2}.wp-block-image.is-resized img{max-width:none}.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;margin-top:1em;position:relative;font-size:13px;font-style:normal}.wp-block-quote.is-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer{font-size:19px;text-align:left}.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0 -8px}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:8px;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%;display:flex;align-items:flex-end}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{padding:40px 10px 5px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 60%,transparent);position:absolute;width:100%;max-height:100%;overflow:auto}.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{flex:1;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.wp-block-gallery.is-cropped .blocks-gallery-image _:-ms-lang(x),.wp-block-gallery.is-cropped .blocks-gallery-image figure,.wp-block-gallery.is-cropped .blocks-gallery-item _:-ms-lang(x),.wp-block-gallery.is-cropped .blocks-gallery-item figure{height:auto;width:auto}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc(100% / 2 - 16px)}.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:calc(100% / 1 - 16px)}@media (min-width:600px){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(100% / 3 - 16px)}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(100% / 4 - 16px)}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(100% / 5 - 16px)}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(100% / 6 - 16px)}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(100% / 7 - 16px)}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(100% / 8 - 16px)}}.wp-block-gallery.alignleft,.wp-block-gallery.alignright,[data-align=left] .wp-block-gallery,[data-align=right] .wp-block-gallery{max-width:318px;width:100%}.wp-block-audio figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.wp-block-button{margin-bottom:1.5em}.wp-block-button .wp-block-button__link{border:none;border-radius:23px;box-shadow:none;cursor:pointer;display:inline-block;font-size:18px;line-height:24px;margin:0;padding:11px 24px;text-align:center;text-decoration:none;white-space:normal;word-break:break-all}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:left}.wp-block-button__link:not(.has-background),.wp-block-button__link:not(.has-background):active,.wp-block-button__link:not(.has-background):focus,.wp-block-button__link:not(.has-background):hover{background-color:#32373c}.wp-block-button__link:not(.has-text-color),.wp-block-button__link:not(.has-text-color):active,.wp-block-button__link:not(.has-text-color):focus,.wp-block-button__link:not(.has-text-color):hover{color:#fff}.wp-block-categories.alignleft{margin-left:2em}.wp-block-categories.alignright{margin-right:2em}.wp-block-columns{display:grid;grid-auto-flow:dense}.wp-block-columns.has-2-columns{grid-auto-columns:50%}.wp-block-columns.has-3-columns{grid-auto-columns:33.33333%}.wp-block-columns.has-4-columns{grid-auto-columns:25%}.wp-block-columns.has-5-columns{grid-auto-columns:20%}.wp-block-columns.has-6-columns{grid-auto-columns:16.66667%}.wp-block-columns .layout-column-1{grid-column:1}.wp-block-columns .layout-column-2{grid-column:2}.wp-block-columns .layout-column-3{grid-column:3}.wp-block-columns .layout-column-4{grid-column:4}.wp-block-columns .layout-column-5{grid-column:5}.wp-block-columns .layout-column-6{grid-column:6}.wp-block-cover-image{position:relative;background-size:cover;min-height:430px;width:100%;margin:0 0 1.5em;display:flex;justify-content:center;align-items:center}.wp-block-cover-image.has-left-content{justify-content:flex-start}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover-image.has-left-content h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover-image.has-right-content h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image h2{color:#fff;font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:636px;padding:14px;text-align:center}.wp-block-cover-image .wp-block-cover-image-text a,.wp-block-cover-image .wp-block-cover-image-text a:active,.wp-block-cover-image .wp-block-cover-image-text a:focus,.wp-block-cover-image .wp-block-cover-image-text a:hover,.wp-block-cover-image h2 a,.wp-block-cover-image h2 a:active,.wp-block-cover-image h2 a:focus,.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image.has-parallax{background-attachment:fixed}.wp-block-cover-image.has-background-dim:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5)}.wp-block-cover-image.has-background-dim.has-background-dim-10:before{background-color:rgba(0,0,0,.1)}.wp-block-cover-image.has-background-dim.has-background-dim-20:before{background-color:rgba(0,0,0,.2)}.wp-block-cover-image.has-background-dim.has-background-dim-30:before{background-color:rgba(0,0,0,.3)}.wp-block-cover-image.has-background-dim.has-background-dim-40:before{background-color:rgba(0,0,0,.4)}.wp-block-cover-image.has-background-dim.has-background-dim-50:before{background-color:rgba(0,0,0,.5)}.wp-block-cover-image.has-background-dim.has-background-dim-60:before{background-color:rgba(0,0,0,.6)}.wp-block-cover-image.has-background-dim.has-background-dim-70:before{background-color:rgba(0,0,0,.7)}.wp-block-cover-image.has-background-dim.has-background-dim-80:before{background-color:rgba(0,0,0,.8)}.wp-block-cover-image.has-background-dim.has-background-dim-90:before{background-color:rgba(0,0,0,.9)}.wp-block-cover-image.has-background-dim.has-background-dim-100:before{background-color:#000}.wp-block-cover-image.components-placeholder{height:inherit}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover-image{max-width:318px;width:100%}p.is-small-text{font-size:14px}p.is-regular-text{font-size:16px}p.is-large-text{font-size:36px}p.is-larger-text{font-size:48px}p.has-drop-cap:not(:focus):first-letter{float:right;font-size:4.1em;line-height:.7;font-weight:600;margin:.07em 0 0 .23em;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}.wp-block-latest-posts.alignleft{margin-left:2em}.wp-block-latest-posts.alignright{margin-right:2em}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-latest-posts.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;color:#40464d;padding:3em 0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:400px}.wp-block-pullquote.alignleft>p,.wp-block-pullquote.alignright>p{font-size:20px}.wp-block-pullquote>p{font-size:24px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;position:relative;text-transform:uppercase;font-size:13px}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;max-width:100px;margin:1.65em auto}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto;display:block;border-collapse:collapse;width:100%}.wp-block-table tbody{width:100%;display:table;min-width:240px}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid currentColor}.wp-block-table.has-fixed-layout tbody{table-layout:fixed}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{box-sizing:border-box;margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}.wp-block-video{margin:0}.wp-block-video figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.wp-block-video.aligncenter{text-align:center}.shared-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0 -14px;padding:10px 14px;position:relative;top:14px}.shared-block-edit-panel .shared-block-edit-panel__spinner{margin:0 5px}.shared-block-edit-panel .shared-block-edit-panel__info{margin-left:auto}.shared-block-edit-panel .shared-block-edit-panel__label{margin-left:10px;white-space:nowrap;font-weight:600}.shared-block-edit-panel .shared-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:5px 0 10px}.wp-core-ui .shared-block-edit-panel .shared-block-edit-panel__button{margin:0 0 0 5px}@media (min-width:960px){.shared-block-edit-panel{flex-wrap:nowrap}.shared-block-edit-panel .shared-block-edit-panel__title{margin:0}.wp-core-ui .shared-block-edit-panel .shared-block-edit-panel__button{margin:0 5px 0 0}}.shared-block-indicator{background:#fff;border-right:1px dashed #e2e4e7;color:#555d66;border-top:1px dashed #e2e4e7;bottom:-14px;height:30px;padding:5px;position:absolute;left:-14px;width:30px}
1
+ .wp-block-embed figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.editor-block-list__block[data-type="core/embed"][data-align=left] .editor-block-list__block-edit,.editor-block-list__block[data-type="core/embed"][data-align=right] .editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:318px;width:100%}.has-pale-pink-background-color{background-color:#f78da7}.has-vivid-red-background-color{background-color:#cf2e2e}.has-luminous-vivid-orange-background-color{background-color:#ff6900}.has-luminous-vivid-amber-background-color{background-color:#fcb900}.has-light-green-cyan-background-color{background-color:#7bdcb5}.has-vivid-green-cyan-background-color{background-color:#00d084}.has-pale-cyan-blue-background-color{background-color:#8ed1fc}.has-vivid-cyan-blue-background-color{background-color:#0693e3}.has-very-light-gray-background-color{background-color:#eee}.has-cyan-bluish-gray-background-color{background-color:#abb8c3}.has-very-dark-gray-background-color{background-color:#313131}.has-pale-pink-color{color:#f78da7}.has-vivid-red-color{color:#cf2e2e}.has-luminous-vivid-orange-color{color:#ff6900}.has-luminous-vivid-amber-color{color:#fcb900}.has-light-green-cyan-color{color:#7bdcb5}.has-vivid-green-cyan-color{color:#00d084}.has-pale-cyan-blue-color{color:#8ed1fc}.has-vivid-cyan-blue-color{color:#0693e3}.has-very-light-gray-color{color:#eee}.has-cyan-bluish-gray-color{color:#abb8c3}.has-very-dark-gray-color{color:#313131}.wp-block-image{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.wp-block-image figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.wp-block-image.aligncenter{display:block;margin-right:auto;margin-left:auto;text-align:center}.wp-block-image.is-resized{width:-webkit-min-content;width:-moz-min-content;width:min-content;display:-ms-inline-grid;-ms-grid-columns:min-content}.wp-block-image.is-resized figcaption{-ms-grid-row:2}.wp-block-image.is-resized img{max-width:none}.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;margin-top:1em;position:relative;font-size:13px;font-style:normal}.wp-block-quote.is-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer{font-size:19px;text-align:left}.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0 -8px}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:8px;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%;display:flex;align-items:flex-end}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{padding:40px 10px 5px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 60%,transparent);position:absolute;width:100%;max-height:100%;overflow:auto}.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{flex:1;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.wp-block-gallery.is-cropped .blocks-gallery-image _:-ms-lang(x),.wp-block-gallery.is-cropped .blocks-gallery-image figure,.wp-block-gallery.is-cropped .blocks-gallery-item _:-ms-lang(x),.wp-block-gallery.is-cropped .blocks-gallery-item figure{height:auto;width:auto}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc(100% / 2 - 16px)}.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:calc(100% / 1 - 16px)}@media (min-width:600px){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(100% / 3 - 16px)}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(100% / 4 - 16px)}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(100% / 5 - 16px)}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(100% / 6 - 16px)}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(100% / 7 - 16px)}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(100% / 8 - 16px)}}.wp-block-gallery.alignleft,.wp-block-gallery.alignright,[data-align=left] .wp-block-gallery,[data-align=right] .wp-block-gallery{max-width:318px;width:100%}.wp-block-audio figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.wp-block-button{margin-bottom:1.5em}.wp-block-button .wp-block-button__link{border:none;border-radius:23px;box-shadow:none;cursor:pointer;display:inline-block;font-size:18px;line-height:24px;margin:0;padding:11px 24px;text-align:center;text-decoration:none;white-space:normal;word-break:break-all}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:left}.wp-block-button__link:not(.has-background),.wp-block-button__link:not(.has-background):active,.wp-block-button__link:not(.has-background):focus,.wp-block-button__link:not(.has-background):hover{background-color:#32373c}.wp-block-button__link:not(.has-text-color),.wp-block-button__link:not(.has-text-color):active,.wp-block-button__link:not(.has-text-color):focus,.wp-block-button__link:not(.has-text-color):hover{color:#fff}.wp-block-categories.alignleft{margin-left:2em}.wp-block-categories.alignright{margin-right:2em}.wp-block-columns{display:grid;grid-auto-flow:dense}.wp-block-columns.has-2-columns{grid-auto-columns:50%}.wp-block-columns.has-3-columns{grid-auto-columns:33.33333%}.wp-block-columns.has-4-columns{grid-auto-columns:25%}.wp-block-columns.has-5-columns{grid-auto-columns:20%}.wp-block-columns.has-6-columns{grid-auto-columns:16.66667%}.wp-block-columns .layout-column-1{grid-column:1}.wp-block-columns .layout-column-2{grid-column:2}.wp-block-columns .layout-column-3{grid-column:3}.wp-block-columns .layout-column-4{grid-column:4}.wp-block-columns .layout-column-5{grid-column:5}.wp-block-columns .layout-column-6{grid-column:6}.wp-block-cover-image{position:relative;background-size:cover;background-position:50%;min-height:430px;width:100%;margin:0 0 1.5em;display:flex;justify-content:center;align-items:center}.wp-block-cover-image.has-left-content{justify-content:flex-start}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover-image.has-left-content h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover-image.has-right-content h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image h2{color:#fff;font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:636px;padding:14px;text-align:center}.wp-block-cover-image .wp-block-cover-image-text a,.wp-block-cover-image .wp-block-cover-image-text a:active,.wp-block-cover-image .wp-block-cover-image-text a:focus,.wp-block-cover-image .wp-block-cover-image-text a:hover,.wp-block-cover-image h2 a,.wp-block-cover-image h2 a:active,.wp-block-cover-image h2 a:focus,.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image.has-parallax{background-attachment:fixed}.wp-block-cover-image.has-background-dim:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5)}.wp-block-cover-image.has-background-dim.has-background-dim-10:before{background-color:rgba(0,0,0,.1)}.wp-block-cover-image.has-background-dim.has-background-dim-20:before{background-color:rgba(0,0,0,.2)}.wp-block-cover-image.has-background-dim.has-background-dim-30:before{background-color:rgba(0,0,0,.3)}.wp-block-cover-image.has-background-dim.has-background-dim-40:before{background-color:rgba(0,0,0,.4)}.wp-block-cover-image.has-background-dim.has-background-dim-50:before{background-color:rgba(0,0,0,.5)}.wp-block-cover-image.has-background-dim.has-background-dim-60:before{background-color:rgba(0,0,0,.6)}.wp-block-cover-image.has-background-dim.has-background-dim-70:before{background-color:rgba(0,0,0,.7)}.wp-block-cover-image.has-background-dim.has-background-dim-80:before{background-color:rgba(0,0,0,.8)}.wp-block-cover-image.has-background-dim.has-background-dim-90:before{background-color:rgba(0,0,0,.9)}.wp-block-cover-image.has-background-dim.has-background-dim-100:before{background-color:#000}.wp-block-cover-image.components-placeholder{height:inherit}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover-image{max-width:318px;width:100%}p.is-small-text{font-size:14px}p.is-regular-text{font-size:16px}p.is-large-text{font-size:36px}p.is-larger-text{font-size:48px}p.has-drop-cap:not(:focus):first-letter{float:right;font-size:4.1em;line-height:.7;font-weight:600;margin:.07em 0 0 .23em;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}.wp-block-latest-posts.alignleft{margin-left:2em}.wp-block-latest-posts.alignright{margin-right:2em}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-latest-posts.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;color:#40464d;padding:3em 0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:400px}.wp-block-pullquote.alignleft>p,.wp-block-pullquote.alignright>p{font-size:20px}.wp-block-pullquote>p{font-size:24px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;position:relative;text-transform:uppercase;font-size:13px}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;max-width:100px;margin:1.65em auto}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto;display:block;border-collapse:collapse;width:100%}.wp-block-table tbody{width:100%;display:table;min-width:240px}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid currentColor}.wp-block-table.has-fixed-layout tbody{table-layout:fixed}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{box-sizing:border-box;margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}.wp-block-video{margin:0}.wp-block-video figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.wp-block-video.aligncenter{text-align:center}.shared-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0 -14px;padding:10px 14px;position:relative;top:14px}.shared-block-edit-panel .shared-block-edit-panel__spinner{margin:0 5px}.shared-block-edit-panel .shared-block-edit-panel__info{margin-left:auto}.shared-block-edit-panel .shared-block-edit-panel__label{margin-left:10px;white-space:nowrap;font-weight:600}.shared-block-edit-panel .shared-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:5px 0 10px}.wp-core-ui .shared-block-edit-panel .shared-block-edit-panel__button{margin:0 0 0 5px}@media (min-width:960px){.shared-block-edit-panel{flex-wrap:nowrap}.shared-block-edit-panel .shared-block-edit-panel__title{margin:0}.wp-core-ui .shared-block-edit-panel .shared-block-edit-panel__button{margin:0 5px 0 0}}.shared-block-indicator{background:#fff;border-right:1px dashed #e2e4e7;color:#555d66;border-top:1px dashed #e2e4e7;bottom:-14px;height:30px;padding:5px;position:absolute;left:-14px;width:30px}
build/core-blocks/style.css CHANGED
@@ -1 +1 @@
1
- .wp-block-embed figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.editor-block-list__block[data-type="core/embed"][data-align=left] .editor-block-list__block-edit,.editor-block-list__block[data-type="core/embed"][data-align=right] .editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:318px;width:100%}.has-pale-pink-background-color{background-color:#f78da7}.has-vivid-red-background-color{background-color:#cf2e2e}.has-luminous-vivid-orange-background-color{background-color:#ff6900}.has-luminous-vivid-amber-background-color{background-color:#fcb900}.has-light-green-cyan-background-color{background-color:#7bdcb5}.has-vivid-green-cyan-background-color{background-color:#00d084}.has-pale-cyan-blue-background-color{background-color:#8ed1fc}.has-vivid-cyan-blue-background-color{background-color:#0693e3}.has-very-light-gray-background-color{background-color:#eee}.has-cyan-bluish-gray-background-color{background-color:#abb8c3}.has-very-dark-gray-background-color{background-color:#313131}.has-pale-pink-color{color:#f78da7}.has-vivid-red-color{color:#cf2e2e}.has-luminous-vivid-orange-color{color:#ff6900}.has-luminous-vivid-amber-color{color:#fcb900}.has-light-green-cyan-color{color:#7bdcb5}.has-vivid-green-cyan-color{color:#00d084}.has-pale-cyan-blue-color{color:#8ed1fc}.has-vivid-cyan-blue-color{color:#0693e3}.has-very-light-gray-color{color:#eee}.has-cyan-bluish-gray-color{color:#abb8c3}.has-very-dark-gray-color{color:#313131}.wp-block-image{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.wp-block-image figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.wp-block-image.aligncenter{display:block;margin-left:auto;margin-right:auto;text-align:center}.wp-block-image.is-resized{width:-webkit-min-content;width:-moz-min-content;width:min-content;display:-ms-inline-grid;-ms-grid-columns:min-content}.wp-block-image.is-resized figcaption{-ms-grid-row:2}.wp-block-image.is-resized img{max-width:none}.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;margin-top:1em;position:relative;font-size:13px;font-style:normal}.wp-block-quote.is-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer{font-size:19px;text-align:right}.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0 -8px}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:8px;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%;display:flex;align-items:flex-end}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{padding:40px 10px 5px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 60%,transparent);position:absolute;width:100%;max-height:100%;overflow:auto}.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{flex:1;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.wp-block-gallery.is-cropped .blocks-gallery-image _:-ms-lang(x),.wp-block-gallery.is-cropped .blocks-gallery-image figure,.wp-block-gallery.is-cropped .blocks-gallery-item _:-ms-lang(x),.wp-block-gallery.is-cropped .blocks-gallery-item figure{height:auto;width:auto}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc(100% / 2 - 16px)}.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:calc(100% / 1 - 16px)}@media (min-width:600px){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(100% / 3 - 16px)}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(100% / 4 - 16px)}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(100% / 5 - 16px)}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(100% / 6 - 16px)}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(100% / 7 - 16px)}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(100% / 8 - 16px)}}.wp-block-gallery.alignleft,.wp-block-gallery.alignright,[data-align=left] .wp-block-gallery,[data-align=right] .wp-block-gallery{max-width:318px;width:100%}.wp-block-audio figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.wp-block-button{margin-bottom:1.5em}.wp-block-button .wp-block-button__link{border:none;border-radius:23px;box-shadow:none;cursor:pointer;display:inline-block;font-size:18px;line-height:24px;margin:0;padding:11px 24px;text-align:center;text-decoration:none;white-space:normal;word-break:break-all}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link:not(.has-background),.wp-block-button__link:not(.has-background):active,.wp-block-button__link:not(.has-background):focus,.wp-block-button__link:not(.has-background):hover{background-color:#32373c}.wp-block-button__link:not(.has-text-color),.wp-block-button__link:not(.has-text-color):active,.wp-block-button__link:not(.has-text-color):focus,.wp-block-button__link:not(.has-text-color):hover{color:#fff}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:grid;grid-auto-flow:dense}.wp-block-columns.has-2-columns{grid-auto-columns:50%}.wp-block-columns.has-3-columns{grid-auto-columns:33.33333%}.wp-block-columns.has-4-columns{grid-auto-columns:25%}.wp-block-columns.has-5-columns{grid-auto-columns:20%}.wp-block-columns.has-6-columns{grid-auto-columns:16.66667%}.wp-block-columns .layout-column-1{grid-column:1}.wp-block-columns .layout-column-2{grid-column:2}.wp-block-columns .layout-column-3{grid-column:3}.wp-block-columns .layout-column-4{grid-column:4}.wp-block-columns .layout-column-5{grid-column:5}.wp-block-columns .layout-column-6{grid-column:6}.wp-block-cover-image{position:relative;background-size:cover;min-height:430px;width:100%;margin:0 0 1.5em;display:flex;justify-content:center;align-items:center}.wp-block-cover-image.has-left-content{justify-content:flex-start}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover-image.has-left-content h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover-image.has-right-content h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image h2{color:#fff;font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:636px;padding:14px;text-align:center}.wp-block-cover-image .wp-block-cover-image-text a,.wp-block-cover-image .wp-block-cover-image-text a:active,.wp-block-cover-image .wp-block-cover-image-text a:focus,.wp-block-cover-image .wp-block-cover-image-text a:hover,.wp-block-cover-image h2 a,.wp-block-cover-image h2 a:active,.wp-block-cover-image h2 a:focus,.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image.has-parallax{background-attachment:fixed}.wp-block-cover-image.has-background-dim:before{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.5)}.wp-block-cover-image.has-background-dim.has-background-dim-10:before{background-color:rgba(0,0,0,.1)}.wp-block-cover-image.has-background-dim.has-background-dim-20:before{background-color:rgba(0,0,0,.2)}.wp-block-cover-image.has-background-dim.has-background-dim-30:before{background-color:rgba(0,0,0,.3)}.wp-block-cover-image.has-background-dim.has-background-dim-40:before{background-color:rgba(0,0,0,.4)}.wp-block-cover-image.has-background-dim.has-background-dim-50:before{background-color:rgba(0,0,0,.5)}.wp-block-cover-image.has-background-dim.has-background-dim-60:before{background-color:rgba(0,0,0,.6)}.wp-block-cover-image.has-background-dim.has-background-dim-70:before{background-color:rgba(0,0,0,.7)}.wp-block-cover-image.has-background-dim.has-background-dim-80:before{background-color:rgba(0,0,0,.8)}.wp-block-cover-image.has-background-dim.has-background-dim-90:before{background-color:rgba(0,0,0,.9)}.wp-block-cover-image.has-background-dim.has-background-dim-100:before{background-color:#000}.wp-block-cover-image.components-placeholder{height:inherit}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover-image{max-width:318px;width:100%}p.is-small-text{font-size:14px}p.is-regular-text{font-size:16px}p.is-large-text{font-size:36px}p.is-larger-text{font-size:48px}p.has-drop-cap:not(:focus):first-letter{float:left;font-size:4.1em;line-height:.7;font-weight:600;margin:.07em .23em 0 0;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-latest-posts.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;color:#40464d;padding:3em 0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:400px}.wp-block-pullquote.alignleft>p,.wp-block-pullquote.alignright>p{font-size:20px}.wp-block-pullquote>p{font-size:24px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;position:relative;text-transform:uppercase;font-size:13px}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;max-width:100px;margin:1.65em auto}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto;display:block;border-collapse:collapse;width:100%}.wp-block-table tbody{width:100%;display:table;min-width:240px}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid currentColor}.wp-block-table.has-fixed-layout tbody{table-layout:fixed}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{box-sizing:border-box;margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}.wp-block-video{margin:0}.wp-block-video figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.wp-block-video.aligncenter{text-align:center}.shared-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0 -14px;padding:10px 14px;position:relative;top:14px}.shared-block-edit-panel .shared-block-edit-panel__spinner{margin:0 5px}.shared-block-edit-panel .shared-block-edit-panel__info{margin-right:auto}.shared-block-edit-panel .shared-block-edit-panel__label{margin-right:10px;white-space:nowrap;font-weight:600}.shared-block-edit-panel .shared-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:5px 0 10px}.wp-core-ui .shared-block-edit-panel .shared-block-edit-panel__button{margin:0 5px 0 0}@media (min-width:960px){.shared-block-edit-panel{flex-wrap:nowrap}.shared-block-edit-panel .shared-block-edit-panel__title{margin:0}.wp-core-ui .shared-block-edit-panel .shared-block-edit-panel__button{margin:0 0 0 5px}}.shared-block-indicator{background:#fff;border-left:1px dashed #e2e4e7;color:#555d66;border-top:1px dashed #e2e4e7;bottom:-14px;height:30px;padding:5px;position:absolute;right:-14px;width:30px}
1
+ .wp-block-embed figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.editor-block-list__block[data-type="core/embed"][data-align=left] .editor-block-list__block-edit,.editor-block-list__block[data-type="core/embed"][data-align=right] .editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:318px;width:100%}.has-pale-pink-background-color{background-color:#f78da7}.has-vivid-red-background-color{background-color:#cf2e2e}.has-luminous-vivid-orange-background-color{background-color:#ff6900}.has-luminous-vivid-amber-background-color{background-color:#fcb900}.has-light-green-cyan-background-color{background-color:#7bdcb5}.has-vivid-green-cyan-background-color{background-color:#00d084}.has-pale-cyan-blue-background-color{background-color:#8ed1fc}.has-vivid-cyan-blue-background-color{background-color:#0693e3}.has-very-light-gray-background-color{background-color:#eee}.has-cyan-bluish-gray-background-color{background-color:#abb8c3}.has-very-dark-gray-background-color{background-color:#313131}.has-pale-pink-color{color:#f78da7}.has-vivid-red-color{color:#cf2e2e}.has-luminous-vivid-orange-color{color:#ff6900}.has-luminous-vivid-amber-color{color:#fcb900}.has-light-green-cyan-color{color:#7bdcb5}.has-vivid-green-cyan-color{color:#00d084}.has-pale-cyan-blue-color{color:#8ed1fc}.has-vivid-cyan-blue-color{color:#0693e3}.has-very-light-gray-color{color:#eee}.has-cyan-bluish-gray-color{color:#abb8c3}.has-very-dark-gray-color{color:#313131}.wp-block-image{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.wp-block-image figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.wp-block-image.aligncenter{display:block;margin-left:auto;margin-right:auto;text-align:center}.wp-block-image.is-resized{width:-webkit-min-content;width:-moz-min-content;width:min-content;display:-ms-inline-grid;-ms-grid-columns:min-content}.wp-block-image.is-resized figcaption{-ms-grid-row:2}.wp-block-image.is-resized img{max-width:none}.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;margin-top:1em;position:relative;font-size:13px;font-style:normal}.wp-block-quote.is-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer{font-size:19px;text-align:right}.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0 -8px}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:8px;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%;display:flex;align-items:flex-end}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{padding:40px 10px 5px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 60%,transparent);position:absolute;width:100%;max-height:100%;overflow:auto}.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{flex:1;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.wp-block-gallery.is-cropped .blocks-gallery-image _:-ms-lang(x),.wp-block-gallery.is-cropped .blocks-gallery-image figure,.wp-block-gallery.is-cropped .blocks-gallery-item _:-ms-lang(x),.wp-block-gallery.is-cropped .blocks-gallery-item figure{height:auto;width:auto}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc(100% / 2 - 16px)}.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:calc(100% / 1 - 16px)}@media (min-width:600px){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(100% / 3 - 16px)}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(100% / 4 - 16px)}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(100% / 5 - 16px)}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(100% / 6 - 16px)}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(100% / 7 - 16px)}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(100% / 8 - 16px)}}.wp-block-gallery.alignleft,.wp-block-gallery.alignright,[data-align=left] .wp-block-gallery,[data-align=right] .wp-block-gallery{max-width:318px;width:100%}.wp-block-audio figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.wp-block-button{margin-bottom:1.5em}.wp-block-button .wp-block-button__link{border:none;border-radius:23px;box-shadow:none;cursor:pointer;display:inline-block;font-size:18px;line-height:24px;margin:0;padding:11px 24px;text-align:center;text-decoration:none;white-space:normal;word-break:break-all}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link:not(.has-background),.wp-block-button__link:not(.has-background):active,.wp-block-button__link:not(.has-background):focus,.wp-block-button__link:not(.has-background):hover{background-color:#32373c}.wp-block-button__link:not(.has-text-color),.wp-block-button__link:not(.has-text-color):active,.wp-block-button__link:not(.has-text-color):focus,.wp-block-button__link:not(.has-text-color):hover{color:#fff}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:grid;grid-auto-flow:dense}.wp-block-columns.has-2-columns{grid-auto-columns:50%}.wp-block-columns.has-3-columns{grid-auto-columns:33.33333%}.wp-block-columns.has-4-columns{grid-auto-columns:25%}.wp-block-columns.has-5-columns{grid-auto-columns:20%}.wp-block-columns.has-6-columns{grid-auto-columns:16.66667%}.wp-block-columns .layout-column-1{grid-column:1}.wp-block-columns .layout-column-2{grid-column:2}.wp-block-columns .layout-column-3{grid-column:3}.wp-block-columns .layout-column-4{grid-column:4}.wp-block-columns .layout-column-5{grid-column:5}.wp-block-columns .layout-column-6{grid-column:6}.wp-block-cover-image{position:relative;background-size:cover;background-position:50%;min-height:430px;width:100%;margin:0 0 1.5em;display:flex;justify-content:center;align-items:center}.wp-block-cover-image.has-left-content{justify-content:flex-start}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover-image.has-left-content h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover-image.has-right-content h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover-image h2{color:#fff;font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:636px;padding:14px;text-align:center}.wp-block-cover-image .wp-block-cover-image-text a,.wp-block-cover-image .wp-block-cover-image-text a:active,.wp-block-cover-image .wp-block-cover-image-text a:focus,.wp-block-cover-image .wp-block-cover-image-text a:hover,.wp-block-cover-image h2 a,.wp-block-cover-image h2 a:active,.wp-block-cover-image h2 a:focus,.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image.has-parallax{background-attachment:fixed}.wp-block-cover-image.has-background-dim:before{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.5)}.wp-block-cover-image.has-background-dim.has-background-dim-10:before{background-color:rgba(0,0,0,.1)}.wp-block-cover-image.has-background-dim.has-background-dim-20:before{background-color:rgba(0,0,0,.2)}.wp-block-cover-image.has-background-dim.has-background-dim-30:before{background-color:rgba(0,0,0,.3)}.wp-block-cover-image.has-background-dim.has-background-dim-40:before{background-color:rgba(0,0,0,.4)}.wp-block-cover-image.has-background-dim.has-background-dim-50:before{background-color:rgba(0,0,0,.5)}.wp-block-cover-image.has-background-dim.has-background-dim-60:before{background-color:rgba(0,0,0,.6)}.wp-block-cover-image.has-background-dim.has-background-dim-70:before{background-color:rgba(0,0,0,.7)}.wp-block-cover-image.has-background-dim.has-background-dim-80:before{background-color:rgba(0,0,0,.8)}.wp-block-cover-image.has-background-dim.has-background-dim-90:before{background-color:rgba(0,0,0,.9)}.wp-block-cover-image.has-background-dim.has-background-dim-100:before{background-color:#000}.wp-block-cover-image.components-placeholder{height:inherit}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover-image{max-width:318px;width:100%}p.is-small-text{font-size:14px}p.is-regular-text{font-size:16px}p.is-large-text{font-size:36px}p.is-larger-text{font-size:48px}p.has-drop-cap:not(:focus):first-letter{float:left;font-size:4.1em;line-height:.7;font-weight:600;margin:.07em .23em 0 0;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-latest-posts.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;color:#40464d;padding:3em 0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:400px}.wp-block-pullquote.alignleft>p,.wp-block-pullquote.alignright>p{font-size:20px}.wp-block-pullquote>p{font-size:24px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;position:relative;text-transform:uppercase;font-size:13px}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;max-width:100px;margin:1.65em auto}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto;display:block;border-collapse:collapse;width:100%}.wp-block-table tbody{width:100%;display:table;min-width:240px}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid currentColor}.wp-block-table.has-fixed-layout tbody{table-layout:fixed}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{box-sizing:border-box;margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}.wp-block-video{margin:0}.wp-block-video figcaption{margin-top:.5em;color:#6c7781;text-align:center;font-size:13px}.wp-block-video.aligncenter{text-align:center}.shared-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0 -14px;padding:10px 14px;position:relative;top:14px}.shared-block-edit-panel .shared-block-edit-panel__spinner{margin:0 5px}.shared-block-edit-panel .shared-block-edit-panel__info{margin-right:auto}.shared-block-edit-panel .shared-block-edit-panel__label{margin-right:10px;white-space:nowrap;font-weight:600}.shared-block-edit-panel .shared-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:5px 0 10px}.wp-core-ui .shared-block-edit-panel .shared-block-edit-panel__button{margin:0 5px 0 0}@media (min-width:960px){.shared-block-edit-panel{flex-wrap:nowrap}.shared-block-edit-panel .shared-block-edit-panel__title{margin:0}.wp-core-ui .shared-block-edit-panel .shared-block-edit-panel__button{margin:0 0 0 5px}}.shared-block-indicator{background:#fff;border-left:1px dashed #e2e4e7;color:#555d66;border-top:1px dashed #e2e4e7;bottom:-14px;height:30px;padding:5px;position:absolute;right:-14px;width:30px}
build/edit-post/style-rtl.css CHANGED
@@ -1 +1 @@
1
- .edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}@keyframes animate_fade{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes move_background{0%{background-position:100% 0}to{background-position:28px 0}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes slide_in_right{to{transform:translateX(0)}}body.gutenberg-editor-page,html{background:#fff}body.gutenberg-editor-page #wpcontent{padding-right:0}body.gutenberg-editor-page #wpbody-content{padding-bottom:0}body.gutenberg-editor-page #wpbody-content>div:not(.gutenberg):not(#screen-meta),body.gutenberg-editor-page #wpfooter{display:none}body.gutenberg-editor-page .a11y-speak-region{right:-1px;top:-1px}body.gutenberg-editor-page ul#adminmenu>li.current>a.current:after,body.gutenberg-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}.gutenberg *{box-sizing:border-box}.gutenberg select{font-size:13px;color:#555d66}@media (min-width:600px){.gutenberg__editor{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.gutenberg__editor{min-height:calc(100vh - 32px)}}.gutenberg__editor img{max-width:100%;height:auto}.gutenberg__editor iframe{width:100%}.gutenberg__editor .components-navigate-regions{height:100%}.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-block-list__block .input-control,.editor-block-list__block input[type=checkbox],.editor-block-list__block input[type=color],.editor-block-list__block input[type=date],.editor-block-list__block input[type=datetime-local],.editor-block-list__block input[type=datetime],.editor-block-list__block input[type=email],.editor-block-list__block input[type=month],.editor-block-list__block input[type=number],.editor-block-list__block input[type=password],.editor-block-list__block input[type=radio],.editor-block-list__block input[type=search],.editor-block-list__block input[type=tel],.editor-block-list__block input[type=text],.editor-block-list__block input[type=time],.editor-block-list__block input[type=url],.editor-block-list__block input[type=week],.editor-block-list__block select,.editor-block-list__block textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{border:1px solid #ccd0d4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 8px;outline-offset:-1px;box-shadow:0 0 0 transparent;transition:box-shadow .05s linear}.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.editor-block-list__block .input-control:focus,.editor-block-list__block input[type=checkbox]:focus,.editor-block-list__block input[type=color]:focus,.editor-block-list__block input[type=date]:focus,.editor-block-list__block input[type=datetime-local]:focus,.editor-block-list__block input[type=datetime]:focus,.editor-block-list__block input[type=email]:focus,.editor-block-list__block input[type=month]:focus,.editor-block-list__block input[type=number]:focus,.editor-block-list__block input[type=password]:focus,.editor-block-list__block input[type=radio]:focus,.editor-block-list__block input[type=search]:focus,.editor-block-list__block input[type=tel]:focus,.editor-block-list__block input[type=text]:focus,.editor-block-list__block input[type=time]:focus,.editor-block-list__block input[type=url]:focus,.editor-block-list__block input[type=week]:focus,.editor-block-list__block select:focus,.editor-block-list__block textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;outline:1px solid #008dbe;box-shadow:0 0 0 2px #bfe7f3}.edit-post-sidebar select,.editor-block-list__block select,.editor-post-publish-panel select{padding:2px}.edit-post-sidebar select:focus,.editor-block-list__block select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.editor-block-list__block input::-webkit-input-placeholder,.editor-block-list__block textarea::-webkit-input-placeholder,.editor-post-title input::-webkit-input-placeholder,.editor-post-title textarea::-webkit-input-placeholder{color:rgba(25,30,35,.5)}.editor-block-list__block input::-moz-placeholder,.editor-block-list__block textarea::-moz-placeholder,.editor-post-title input::-moz-placeholder,.editor-post-title textarea::-moz-placeholder{color:rgba(25,30,35,.5)}.editor-block-list__block input:-ms-input-placeholder,.editor-block-list__block textarea:-ms-input-placeholder,.editor-post-title input:-ms-input-placeholder,.editor-post-title textarea:-ms-input-placeholder{color:rgba(25,30,35,.5)}.editor-block-list__block input:-moz-placeholder,.editor-block-list__block textarea:-moz-placeholder,.editor-post-title input:-moz-placeholder,.editor-post-title textarea:-moz-placeholder{color:rgba(25,30,35,.5)}.is-dark-theme .editor-block-list__block input::-webkit-input-placeholder,.is-dark-theme .editor-block-list__block textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-title input::-webkit-input-placeholder,.is-dark-theme .editor-post-title textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-block-list__block input::-moz-placeholder,.is-dark-theme .editor-block-list__block textarea::-moz-placeholder,.is-dark-theme .editor-post-title input::-moz-placeholder,.is-dark-theme .editor-post-title textarea::-moz-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-block-list__block input:-ms-input-placeholder,.is-dark-theme .editor-block-list__block textarea:-ms-input-placeholder,.is-dark-theme .editor-post-title input:-ms-input-placeholder,.is-dark-theme .editor-post-title textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-block-list__block input:-moz-placeholder,.is-dark-theme .editor-block-list__block textarea:-moz-placeholder,.is-dark-theme .editor-post-title input:-moz-placeholder,.is-dark-theme .editor-post-title textarea:-moz-placeholder{color:hsla(0,0%,100%,.65)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.edit-post-sidebar{position:fixed;z-index:100000;top:0;left:0;bottom:0;width:280px;border-right:1px solid #e2e4e7;background:#edeff0;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}}.edit-post-sidebar>.components-panel{border-right:none;border-left:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:inherit;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;right:0;left:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;right:auto;left:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-left:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-left:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-right:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-header{height:56px;padding:10px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;z-index:30;left:0;top:0;position:-webkit-sticky;position:sticky}@media (min-width:600px){.edit-post-header{position:fixed;padding:10px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}}.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:none}@media (min-width:600px){.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:inline-block}}.edit-post-header{right:0}@media (min-width:782px){.edit-post-header{right:160px}}@media (min-width:782px){.auto-fold .edit-post-header{right:36px}}@media (min-width:960px){.auto-fold .edit-post-header{right:160px}}.folded .edit-post-header{right:0}@media (min-width:782px){.folded .edit-post-header{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-right:-18px}}.edit-post-header__settings{display:inline-flex;align-items:center}.edit-post-header .components-button{border-radius:4px}.edit-post-header .components-button.is-toggled{color:#fff}.edit-post-header .components-button.is-toggled:before{content:"";border-radius:4px;position:absolute;z-index:-1;background:#555d66;top:1px;left:1px;bottom:1px;right:1px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff;color:#fff;background:#555d66}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;padding:0 5px 2px;font-size:13px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 12px 0 3px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 3px 0 12px}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body{padding-top:72px}}.edit-post-text-editor{padding-right:20px;padding-left:20px}@media (min-width:960px){.edit-post-text-editor{padding-right:calc(50% - 380px);padding-left:calc(50% - 380px)}}.edit-post-text-editor .edit-post-post-text-editor__toolbar{width:100%;max-width:760px;margin:0 auto}.edit-post-text-editor .editor-post-title div{border:1px solid #e2e4e7}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-visual-editor{position:relative;padding:50px 0}.edit-post-visual-editor,.edit-post-visual-editor p{font-family:Noto Serif,serif;font-size:16px;line-height:1.8}.edit-post-visual-editor ol,.edit-post-visual-editor ul{margin:0;padding:0}.edit-post-visual-editor ul:not(.wp-block-gallery){list-style-type:disc}.edit-post-visual-editor ol{list-style-type:decimal}.edit-post-visual-editor .button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .editor-writing-flow__click-redirect{height:50px;width:100%;max-width:636px;margin:-4px auto -50px}.edit-post-visual-editor .editor-block-list__block{margin-right:auto;margin-left:auto;max-width:636px}@media (min-width:600px){.edit-post-visual-editor .editor-block-list__block .editor-block-list__block-edit{margin-right:-36px;margin-left:-36px}.edit-post-visual-editor .editor-block-list__block[data-align=full]>.editor-block-contextual-toolbar,.edit-post-visual-editor .editor-block-list__block[data-align=wide]>.editor-block-contextual-toolbar{max-width:638px;margin-right:auto;margin-left:auto}}.edit-post-visual-editor .editor-block-list__block[data-align=wide]{max-width:1100px}.edit-post-visual-editor .editor-block-list__block[data-align=full]{max-width:none}.edit-post-visual-editor .editor-block-list__block:not(.is-selected) .editor-block-list__block-edit{box-shadow:0 0 0 0 #fff,0 0 0 0 #191e23;transition:box-shadow .1s .05s}.edit-post-visual-editor .editor-block-list__block:not(.is-selected):focus .editor-block-list__block-edit{box-shadow:0 0 0 1px #fff,0 0 0 3px #191e23}.edit-post-visual-editor .editor-post-title{margin-right:auto;margin-left:auto;max-width:708px}.edit-post-visual-editor .editor-post-title .editor-post-permalink{right:14px;left:14px;color:#191e23}@media (min-width:600px){.edit-post-visual-editor .editor-post-title{padding:5px 35px}.edit-post-visual-editor .editor-post-title .editor-post-permalink{right:36px;left:36px}}.edit-post-visual-editor .editor-default-block-appender{max-width:636px;margin-right:auto;margin-left:auto;position:relative}.edit-post-visual-editor .editor-default-block-appender[data-root-uid=""] .editor-default-block-appender__content:hover{outline:1px solid transparent}@media (min-width:600px){.edit-post-visual-editor .editor-default-block-appender .editor-default-block-appender__content{padding:0 14px}}.edit-post-visual-editor .editor-block-list__layout>.editor-block-list__insertion-point{max-width:636px;position:relative}.edit-post-block-sidebar__panel .components-panel__body{border:none;margin:0 -16px}.edit-post-block-sidebar__panel .components-panel__body .components-base-control{margin:0 0 1em}.edit-post-block-sidebar__panel .components-panel__body .components-panel__body-toggle{color:#555d66}.edit-post-block-sidebar__panel .components-panel__body:first-child{border-top:1px solid #e2e4e7;margin-top:16px}.edit-post-block-sidebar__panel .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:8px;border-top:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;border-radius:0;cursor:pointer;height:50px;padding:3px 15px;margin-right:0;font-weight:400;color:#191e23;outline-offset:-1px}.edit-post-sidebar__panel-tab.is-active{padding-bottom:0;border-bottom:3px solid #00a0d2;font-weight:600}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #d1864a}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #e34e46}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #a7b656}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #c2a68c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #82b4cb}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #00a0d2}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline:1px solid #6c7781;box-shadow:none}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-left:8px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-left:8px}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-right:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-right:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative}.edit-post-layout .components-notice-list{position:-webkit-sticky;position:sticky;top:56px;left:0;color:#191e23}@media (min-width:600px){.edit-post-layout .components-notice-list{position:fixed;top:inherit}}.edit-post-layout .components-notice-list .notice{margin:0 0 5px;padding:6px 12px;min-height:50px}.edit-post-layout .components-notice-list .notice .notice-dismiss{margin:5px}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout.has-fixed-toolbar .edit-post-layout__content{padding-top:36px}@media (min-width:600px){.edit-post-layout.has-fixed-toolbar{padding-top:93px}.edit-post-layout.has-fixed-toolbar .edit-post-layout__content{padding-top:0}}@media (min-width:960px){.edit-post-layout.has-fixed-toolbar{padding-top:56px}}.components-notice-list{right:0}@media (min-width:782px){.components-notice-list{right:160px}}@media (min-width:782px){.auto-fold .components-notice-list{right:36px}}@media (min-width:960px){.auto-fold .components-notice-list{right:160px}}.folded .components-notice-list{right:0}@media (min-width:782px){.folded .components-notice-list{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .components-notice-list{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .components-notice-list{margin-right:-18px}}.components-notice-list{left:0}.edit-post-layout.is-sidebar-opened .components-notice-list{left:280px}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content{position:relative;display:flex;min-height:100%;flex-direction:column;padding-bottom:50vh;overflow-y:auto;-webkit-overflow-scrolling:touch}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0}}.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{top:32px;right:auto;width:280px;border-right:1px solid #e2e4e7;transform:translateX(-100%);animation:slide_in_right .1s forwards}}.edit-post-layout .editor-post-publish-panel__header-publish-button{margin-left:52px}.edit-post-post-trash{margin-right:auto!important;text-decoration:underline}.edit-post-post-trash .dashicon{display:inline-block;vertical-align:middle;margin:-3px 10px 0 -4px}.edit-post-post-schedule{width:100%;position:relative}.wp-core-ui .edit-post-post-schedule__toggle.button-link{text-align:left}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.editor-post-author__select{margin:-5px 0}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area *{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-meta-boxes-panel{border:0;display:none}.is-sidebar-opened .edit-post-meta-boxes-panel{display:block}.edit-post-meta-boxes-panel .edit-post-meta-boxes-panel__toggle .components-panel__header{position:inherit}.edit-post-meta-boxes-panel__body{display:none}.edit-post-meta-boxes-panel__body.is-opened{display:block}.edit-post-meta-boxes-panel__toggle{display:block;padding:0;width:100%}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(-90deg)}.edit-post-more-menu__content .components-menu-group:not(:last-child),.edit-post-more-menu__content>div:not(:last-child) .components-menu-group{border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar .editor-block-switcher .components-toolbar{border:none}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;right:0;left:0;background:#fff;border-bottom:1px solid #e2e4e7;min-height:37px}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;left:280px}}@media (min-width:960px){.edit-post-header-toolbar__block-toolbar{padding-right:10px;position:static;right:auto;left:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{left:auto}}.edit-post-header-toolbar .table-of-contents{display:none}.is-sidebar-opened .edit-post-header-toolbar .table-of-contents{left:296px}@media (min-width:600px){.edit-post-header-toolbar .table-of-contents{display:block}}.edit-post-pinned-plugins{display:flex}.edit-post-pinned-plugins .components-icon-button{margin-right:4px}
1
+ .edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}@keyframes animate_fade{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes move_background{0%{background-position:100% 0}to{background-position:28px 0}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes slide_in_right{to{transform:translateX(0)}}body.gutenberg-editor-page,html{background:#fff}body.gutenberg-editor-page #wpcontent{padding-right:0}body.gutenberg-editor-page #wpbody-content{padding-bottom:0}body.gutenberg-editor-page #wpbody-content>div:not(.gutenberg):not(#screen-meta),body.gutenberg-editor-page #wpfooter{display:none}body.gutenberg-editor-page .a11y-speak-region{right:-1px;top:-1px}body.gutenberg-editor-page ul#adminmenu>li.current>a.current:after,body.gutenberg-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}.gutenberg *{box-sizing:border-box}.gutenberg select{font-size:13px;color:#555d66}@media (min-width:600px){.gutenberg__editor{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.gutenberg__editor{min-height:calc(100vh - 32px)}}.gutenberg__editor img{max-width:100%;height:auto}.gutenberg__editor iframe{width:100%}.gutenberg__editor .components-navigate-regions{height:100%}.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-block-list__block .input-control,.editor-block-list__block input[type=checkbox],.editor-block-list__block input[type=color],.editor-block-list__block input[type=date],.editor-block-list__block input[type=datetime-local],.editor-block-list__block input[type=datetime],.editor-block-list__block input[type=email],.editor-block-list__block input[type=month],.editor-block-list__block input[type=number],.editor-block-list__block input[type=password],.editor-block-list__block input[type=radio],.editor-block-list__block input[type=search],.editor-block-list__block input[type=tel],.editor-block-list__block input[type=text],.editor-block-list__block input[type=time],.editor-block-list__block input[type=url],.editor-block-list__block input[type=week],.editor-block-list__block select,.editor-block-list__block textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{border:1px solid #ccd0d4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 8px;outline-offset:-1px;box-shadow:0 0 0 transparent;transition:box-shadow .05s linear}.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.editor-block-list__block .input-control:focus,.editor-block-list__block input[type=checkbox]:focus,.editor-block-list__block input[type=color]:focus,.editor-block-list__block input[type=date]:focus,.editor-block-list__block input[type=datetime-local]:focus,.editor-block-list__block input[type=datetime]:focus,.editor-block-list__block input[type=email]:focus,.editor-block-list__block input[type=month]:focus,.editor-block-list__block input[type=number]:focus,.editor-block-list__block input[type=password]:focus,.editor-block-list__block input[type=radio]:focus,.editor-block-list__block input[type=search]:focus,.editor-block-list__block input[type=tel]:focus,.editor-block-list__block input[type=text]:focus,.editor-block-list__block input[type=time]:focus,.editor-block-list__block input[type=url]:focus,.editor-block-list__block input[type=week]:focus,.editor-block-list__block select:focus,.editor-block-list__block textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;outline:1px solid #008dbe;box-shadow:0 0 0 2px #bfe7f3}.edit-post-sidebar select,.editor-block-list__block select,.editor-post-publish-panel select{padding:2px}.edit-post-sidebar select:focus,.editor-block-list__block select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.editor-block-list__block input::-webkit-input-placeholder,.editor-block-list__block textarea::-webkit-input-placeholder,.editor-post-title input::-webkit-input-placeholder,.editor-post-title textarea::-webkit-input-placeholder{color:rgba(25,30,35,.5)}.editor-block-list__block input::-moz-placeholder,.editor-block-list__block textarea::-moz-placeholder,.editor-post-title input::-moz-placeholder,.editor-post-title textarea::-moz-placeholder{color:rgba(25,30,35,.5)}.editor-block-list__block input:-ms-input-placeholder,.editor-block-list__block textarea:-ms-input-placeholder,.editor-post-title input:-ms-input-placeholder,.editor-post-title textarea:-ms-input-placeholder{color:rgba(25,30,35,.5)}.editor-block-list__block input:-moz-placeholder,.editor-block-list__block textarea:-moz-placeholder,.editor-post-title input:-moz-placeholder,.editor-post-title textarea:-moz-placeholder{color:rgba(25,30,35,.5)}.is-dark-theme .editor-block-list__block input::-webkit-input-placeholder,.is-dark-theme .editor-block-list__block textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-title input::-webkit-input-placeholder,.is-dark-theme .editor-post-title textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-block-list__block input::-moz-placeholder,.is-dark-theme .editor-block-list__block textarea::-moz-placeholder,.is-dark-theme .editor-post-title input::-moz-placeholder,.is-dark-theme .editor-post-title textarea::-moz-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-block-list__block input:-ms-input-placeholder,.is-dark-theme .editor-block-list__block textarea:-ms-input-placeholder,.is-dark-theme .editor-post-title input:-ms-input-placeholder,.is-dark-theme .editor-post-title textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-block-list__block input:-moz-placeholder,.is-dark-theme .editor-block-list__block textarea:-moz-placeholder,.is-dark-theme .editor-post-title input:-moz-placeholder,.is-dark-theme .editor-post-title textarea:-moz-placeholder{color:hsla(0,0%,100%,.65)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.edit-post-sidebar{position:fixed;z-index:100000;top:0;left:0;bottom:0;width:280px;border-right:1px solid #e2e4e7;background:#edeff0;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}}.edit-post-sidebar>.components-panel{border-right:none;border-left:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:inherit;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;right:0;left:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;right:auto;left:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-left:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-left:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-right:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-header{height:56px;padding:10px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;z-index:30;left:0;top:0;position:-webkit-sticky;position:sticky}@media (min-width:600px){.edit-post-header{position:fixed;padding:10px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}}.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:none}@media (min-width:600px){.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:inline-block}}.edit-post-header{right:0}@media (min-width:782px){.edit-post-header{right:160px}}@media (min-width:782px){.auto-fold .edit-post-header{right:36px}}@media (min-width:960px){.auto-fold .edit-post-header{right:160px}}.folded .edit-post-header{right:0}@media (min-width:782px){.folded .edit-post-header{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-right:-18px}}.edit-post-header__settings{display:inline-flex;align-items:center}.edit-post-header .components-button{border-radius:4px}.edit-post-header .components-button.is-toggled{color:#fff}.edit-post-header .components-button.is-toggled:before{content:"";border-radius:4px;position:absolute;z-index:-1;background:#555d66;top:1px;left:1px;bottom:1px;right:1px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff;color:#fff;background:#555d66}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;padding:0 5px 2px;font-size:13px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 12px 0 3px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 3px 0 12px}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body{padding-top:72px}}.edit-post-text-editor{padding-right:20px;padding-left:20px}@media (min-width:960px){.edit-post-text-editor{padding-right:calc(50% - 380px);padding-left:calc(50% - 380px)}}.edit-post-text-editor .edit-post-post-text-editor__toolbar{width:100%;max-width:760px;margin:0 auto}.edit-post-text-editor .editor-post-title div{border:1px solid #e2e4e7}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-visual-editor{position:relative;padding:50px 0}.edit-post-visual-editor,.edit-post-visual-editor p{font-family:Noto Serif,serif;font-size:16px;line-height:1.8}.edit-post-visual-editor ol,.edit-post-visual-editor ul{margin:0;padding:0}.edit-post-visual-editor ul:not(.wp-block-gallery){list-style-type:disc}.edit-post-visual-editor ol{list-style-type:decimal}.edit-post-visual-editor .button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .editor-writing-flow__click-redirect{height:50px;width:100%;max-width:636px;margin:-4px auto -50px}.edit-post-visual-editor .editor-block-list__block{margin-right:auto;margin-left:auto;max-width:636px}@media (min-width:600px){.edit-post-visual-editor .editor-block-list__block .editor-block-list__block-edit{margin-right:-36px;margin-left:-36px}.edit-post-visual-editor .editor-block-list__block[data-align=full]>.editor-block-contextual-toolbar,.edit-post-visual-editor .editor-block-list__block[data-align=wide]>.editor-block-contextual-toolbar{max-width:638px;margin-right:auto;margin-left:auto}}.edit-post-visual-editor .editor-block-list__block[data-align=wide]{max-width:1100px}.edit-post-visual-editor .editor-block-list__block[data-align=full]{max-width:none}.edit-post-visual-editor .editor-post-title{margin-right:auto;margin-left:auto;max-width:636px}@media (min-width:600px){.edit-post-visual-editor .editor-post-title>div{margin-right:-36px;margin-left:-36px}}.edit-post-visual-editor .editor-block-list__block:not(.is-selected) .editor-block-list__block-edit{box-shadow:0 0 0 0 #fff,0 0 0 0 #191e23;transition:box-shadow .1s .05s}.edit-post-visual-editor .editor-block-list__block:not(.is-selected):focus .editor-block-list__block-edit{box-shadow:0 0 0 1px #fff,0 0 0 3px #191e23}.edit-post-visual-editor .editor-default-block-appender{max-width:636px;margin-right:auto;margin-left:auto;position:relative}.edit-post-visual-editor .editor-default-block-appender[data-root-uid=""] .editor-default-block-appender__content:hover{outline:1px solid transparent}@media (min-width:600px){.edit-post-visual-editor .editor-default-block-appender .editor-default-block-appender__content{padding:0 14px}}.edit-post-visual-editor .editor-block-list__layout>.editor-block-list__insertion-point{max-width:636px;position:relative}.edit-post-block-sidebar__panel .components-panel__body{border:none;margin:0 -16px}.edit-post-block-sidebar__panel .components-panel__body .components-base-control{margin:0 0 1em}.edit-post-block-sidebar__panel .components-panel__body .components-panel__body-toggle{color:#555d66}.edit-post-block-sidebar__panel .components-panel__body:first-child{border-top:1px solid #e2e4e7;margin-top:16px}.edit-post-block-sidebar__panel .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:8px;border-top:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;border-radius:0;cursor:pointer;height:50px;padding:3px 15px;margin-right:0;font-weight:400;color:#191e23;outline-offset:-1px}.edit-post-sidebar__panel-tab.is-active{padding-bottom:0;border-bottom:3px solid #00a0d2;font-weight:600}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #d1864a}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #e34e46}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #a7b656}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #c2a68c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #82b4cb}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #00a0d2}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline:1px solid #6c7781;box-shadow:none}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-left:8px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-left:8px}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-right:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-right:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative}.edit-post-layout .components-notice-list{position:-webkit-sticky;position:sticky;top:56px;left:0;color:#191e23}@media (min-width:600px){.edit-post-layout .components-notice-list{position:fixed;top:inherit}}.edit-post-layout .components-notice-list .notice{margin:0 0 5px;padding:6px 12px;min-height:50px}.edit-post-layout .components-notice-list .notice .notice-dismiss{margin:5px}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout.has-fixed-toolbar .edit-post-layout__content{padding-top:36px}@media (min-width:600px){.edit-post-layout.has-fixed-toolbar{padding-top:93px}.edit-post-layout.has-fixed-toolbar .edit-post-layout__content{padding-top:0}}@media (min-width:960px){.edit-post-layout.has-fixed-toolbar{padding-top:56px}}.components-notice-list{right:0}@media (min-width:782px){.components-notice-list{right:160px}}@media (min-width:782px){.auto-fold .components-notice-list{right:36px}}@media (min-width:960px){.auto-fold .components-notice-list{right:160px}}.folded .components-notice-list{right:0}@media (min-width:782px){.folded .components-notice-list{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .components-notice-list{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .components-notice-list{margin-right:-18px}}.components-notice-list{left:0}.edit-post-layout.is-sidebar-opened .components-notice-list{left:280px}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content{position:relative;display:flex;min-height:100%;flex-direction:column;padding-bottom:50vh;overflow-y:auto;-webkit-overflow-scrolling:touch}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0}}.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{top:32px;right:auto;width:280px;border-right:1px solid #e2e4e7;transform:translateX(-100%);animation:slide_in_right .1s forwards}}.edit-post-layout .editor-post-publish-panel__header-publish-button{margin-left:52px}.edit-post-post-trash{margin-right:auto!important;text-decoration:underline}.edit-post-post-trash .dashicon{display:inline-block;vertical-align:middle;margin:-3px 10px 0 -4px}.edit-post-post-schedule{width:100%;position:relative}.wp-core-ui .edit-post-post-schedule__toggle.button-link{text-align:left}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.editor-post-author__select{margin:-5px 0}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area *{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-meta-boxes-panel{border:0;display:none}.is-sidebar-opened .edit-post-meta-boxes-panel{display:block}.edit-post-meta-boxes-panel .edit-post-meta-boxes-panel__toggle .components-panel__header{position:inherit}.edit-post-meta-boxes-panel__body{display:none}.edit-post-meta-boxes-panel__body.is-opened{display:block}.edit-post-meta-boxes-panel__toggle{display:block;padding:0;width:100%}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(-90deg)}.edit-post-more-menu__content .components-menu-group:not(:last-child),.edit-post-more-menu__content>div:not(:last-child) .components-menu-group{border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar .editor-block-switcher .components-toolbar{border:none}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;right:0;left:0;background:#fff;border-bottom:1px solid #e2e4e7;min-height:37px}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;left:280px}}@media (min-width:960px){.edit-post-header-toolbar__block-toolbar{padding-right:10px;position:static;right:auto;left:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{left:auto}}.edit-post-header-toolbar .table-of-contents{display:none}.is-sidebar-opened .edit-post-header-toolbar .table-of-contents{left:296px}@media (min-width:600px){.edit-post-header-toolbar .table-of-contents{display:block}}.edit-post-pinned-plugins{display:flex}.edit-post-pinned-plugins .components-icon-button{margin-right:4px}
build/edit-post/style.css CHANGED
@@ -1 +1 @@
1
- .edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}@keyframes animate_fade{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes move_background{0%{background-position:0 0}to{background-position:28px 0}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes slide_in_right{to{transform:translateX(0)}}body.gutenberg-editor-page,html{background:#fff}body.gutenberg-editor-page #wpcontent{padding-left:0}body.gutenberg-editor-page #wpbody-content{padding-bottom:0}body.gutenberg-editor-page #wpbody-content>div:not(.gutenberg):not(#screen-meta),body.gutenberg-editor-page #wpfooter{display:none}body.gutenberg-editor-page .a11y-speak-region{left:-1px;top:-1px}body.gutenberg-editor-page ul#adminmenu>li.current>a.current:after,body.gutenberg-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}.gutenberg *{box-sizing:border-box}.gutenberg select{font-size:13px;color:#555d66}@media (min-width:600px){.gutenberg__editor{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.gutenberg__editor{min-height:calc(100vh - 32px)}}.gutenberg__editor img{max-width:100%;height:auto}.gutenberg__editor iframe{width:100%}.gutenberg__editor .components-navigate-regions{height:100%}.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-block-list__block .input-control,.editor-block-list__block input[type=checkbox],.editor-block-list__block input[type=color],.editor-block-list__block input[type=date],.editor-block-list__block input[type=datetime-local],.editor-block-list__block input[type=datetime],.editor-block-list__block input[type=email],.editor-block-list__block input[type=month],.editor-block-list__block input[type=number],.editor-block-list__block input[type=password],.editor-block-list__block input[type=radio],.editor-block-list__block input[type=search],.editor-block-list__block input[type=tel],.editor-block-list__block input[type=text],.editor-block-list__block input[type=time],.editor-block-list__block input[type=url],.editor-block-list__block input[type=week],.editor-block-list__block select,.editor-block-list__block textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{border:1px solid #ccd0d4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 8px;outline-offset:-1px;box-shadow:0 0 0 transparent;transition:box-shadow .05s linear}.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.editor-block-list__block .input-control:focus,.editor-block-list__block input[type=checkbox]:focus,.editor-block-list__block input[type=color]:focus,.editor-block-list__block input[type=date]:focus,.editor-block-list__block input[type=datetime-local]:focus,.editor-block-list__block input[type=datetime]:focus,.editor-block-list__block input[type=email]:focus,.editor-block-list__block input[type=month]:focus,.editor-block-list__block input[type=number]:focus,.editor-block-list__block input[type=password]:focus,.editor-block-list__block input[type=radio]:focus,.editor-block-list__block input[type=search]:focus,.editor-block-list__block input[type=tel]:focus,.editor-block-list__block input[type=text]:focus,.editor-block-list__block input[type=time]:focus,.editor-block-list__block input[type=url]:focus,.editor-block-list__block input[type=week]:focus,.editor-block-list__block select:focus,.editor-block-list__block textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;outline:1px solid #008dbe;box-shadow:0 0 0 2px #bfe7f3}.edit-post-sidebar select,.editor-block-list__block select,.editor-post-publish-panel select{padding:2px}.edit-post-sidebar select:focus,.editor-block-list__block select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.editor-block-list__block input::-webkit-input-placeholder,.editor-block-list__block textarea::-webkit-input-placeholder,.editor-post-title input::-webkit-input-placeholder,.editor-post-title textarea::-webkit-input-placeholder{color:rgba(25,30,35,.5)}.editor-block-list__block input::-moz-placeholder,.editor-block-list__block textarea::-moz-placeholder,.editor-post-title input::-moz-placeholder,.editor-post-title textarea::-moz-placeholder{color:rgba(25,30,35,.5)}.editor-block-list__block input:-ms-input-placeholder,.editor-block-list__block textarea:-ms-input-placeholder,.editor-post-title input:-ms-input-placeholder,.editor-post-title textarea:-ms-input-placeholder{color:rgba(25,30,35,.5)}.editor-block-list__block input:-moz-placeholder,.editor-block-list__block textarea:-moz-placeholder,.editor-post-title input:-moz-placeholder,.editor-post-title textarea:-moz-placeholder{color:rgba(25,30,35,.5)}.is-dark-theme .editor-block-list__block input::-webkit-input-placeholder,.is-dark-theme .editor-block-list__block textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-title input::-webkit-input-placeholder,.is-dark-theme .editor-post-title textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-block-list__block input::-moz-placeholder,.is-dark-theme .editor-block-list__block textarea::-moz-placeholder,.is-dark-theme .editor-post-title input::-moz-placeholder,.is-dark-theme .editor-post-title textarea::-moz-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-block-list__block input:-ms-input-placeholder,.is-dark-theme .editor-block-list__block textarea:-ms-input-placeholder,.is-dark-theme .editor-post-title input:-ms-input-placeholder,.is-dark-theme .editor-post-title textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-block-list__block input:-moz-placeholder,.is-dark-theme .editor-block-list__block textarea:-moz-placeholder,.is-dark-theme .editor-post-title input:-moz-placeholder,.is-dark-theme .editor-post-title textarea:-moz-placeholder{color:hsla(0,0%,100%,.65)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.edit-post-sidebar{position:fixed;z-index:100000;top:0;right:0;bottom:0;width:280px;border-left:1px solid #e2e4e7;background:#edeff0;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}}.edit-post-sidebar>.components-panel{border-left:none;border-right:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:inherit;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;left:0;right:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;left:auto;right:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-right:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-right:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-left:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-header{height:56px;padding:10px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;z-index:30;right:0;top:0;position:-webkit-sticky;position:sticky}@media (min-width:600px){.edit-post-header{position:fixed;padding:10px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}}.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:none}@media (min-width:600px){.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:inline-block}}.edit-post-header{left:0}@media (min-width:782px){.edit-post-header{left:160px}}@media (min-width:782px){.auto-fold .edit-post-header{left:36px}}@media (min-width:960px){.auto-fold .edit-post-header{left:160px}}.folded .edit-post-header{left:0}@media (min-width:782px){.folded .edit-post-header{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-left:-18px}}.edit-post-header__settings{display:inline-flex;align-items:center}.edit-post-header .components-button{border-radius:4px}.edit-post-header .components-button.is-toggled{color:#fff}.edit-post-header .components-button.is-toggled:before{content:"";border-radius:4px;position:absolute;z-index:-1;background:#555d66;top:1px;right:1px;bottom:1px;left:1px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff;color:#fff;background:#555d66}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;padding:0 5px 2px;font-size:13px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 3px 0 12px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 12px 0 3px}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body{padding-top:72px}}.edit-post-text-editor{padding-left:20px;padding-right:20px}@media (min-width:960px){.edit-post-text-editor{padding-left:calc(50% - 380px);padding-right:calc(50% - 380px)}}.edit-post-text-editor .edit-post-post-text-editor__toolbar{width:100%;max-width:760px;margin:0 auto}.edit-post-text-editor .editor-post-title div{border:1px solid #e2e4e7}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-visual-editor{position:relative;padding:50px 0}.edit-post-visual-editor,.edit-post-visual-editor p{font-family:Noto Serif,serif;font-size:16px;line-height:1.8}.edit-post-visual-editor ol,.edit-post-visual-editor ul{margin:0;padding:0}.edit-post-visual-editor ul:not(.wp-block-gallery){list-style-type:disc}.edit-post-visual-editor ol{list-style-type:decimal}.edit-post-visual-editor .button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .editor-writing-flow__click-redirect{height:50px;width:100%;max-width:636px;margin:-4px auto -50px}.edit-post-visual-editor .editor-block-list__block{margin-left:auto;margin-right:auto;max-width:636px}@media (min-width:600px){.edit-post-visual-editor .editor-block-list__block .editor-block-list__block-edit{margin-left:-36px;margin-right:-36px}.edit-post-visual-editor .editor-block-list__block[data-align=full]>.editor-block-contextual-toolbar,.edit-post-visual-editor .editor-block-list__block[data-align=wide]>.editor-block-contextual-toolbar{max-width:638px;margin-left:auto;margin-right:auto}}.edit-post-visual-editor .editor-block-list__block[data-align=wide]{max-width:1100px}.edit-post-visual-editor .editor-block-list__block[data-align=full]{max-width:none}.edit-post-visual-editor .editor-block-list__block:not(.is-selected) .editor-block-list__block-edit{box-shadow:0 0 0 0 #fff,0 0 0 0 #191e23;transition:box-shadow .1s .05s}.edit-post-visual-editor .editor-block-list__block:not(.is-selected):focus .editor-block-list__block-edit{box-shadow:0 0 0 1px #fff,0 0 0 3px #191e23}.edit-post-visual-editor .editor-post-title{margin-left:auto;margin-right:auto;max-width:708px}.edit-post-visual-editor .editor-post-title .editor-post-permalink{left:14px;right:14px;color:#191e23}@media (min-width:600px){.edit-post-visual-editor .editor-post-title{padding:5px 35px}.edit-post-visual-editor .editor-post-title .editor-post-permalink{left:36px;right:36px}}.edit-post-visual-editor .editor-default-block-appender{max-width:636px;margin-left:auto;margin-right:auto;position:relative}.edit-post-visual-editor .editor-default-block-appender[data-root-uid=""] .editor-default-block-appender__content:hover{outline:1px solid transparent}@media (min-width:600px){.edit-post-visual-editor .editor-default-block-appender .editor-default-block-appender__content{padding:0 14px}}.edit-post-visual-editor .editor-block-list__layout>.editor-block-list__insertion-point{max-width:636px;position:relative}.edit-post-block-sidebar__panel .components-panel__body{border:none;margin:0 -16px}.edit-post-block-sidebar__panel .components-panel__body .components-base-control{margin:0 0 1em}.edit-post-block-sidebar__panel .components-panel__body .components-panel__body-toggle{color:#555d66}.edit-post-block-sidebar__panel .components-panel__body:first-child{border-top:1px solid #e2e4e7;margin-top:16px}.edit-post-block-sidebar__panel .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:8px;border-top:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;border-radius:0;cursor:pointer;height:50px;padding:3px 15px;margin-left:0;font-weight:400;color:#191e23;outline-offset:-1px}.edit-post-sidebar__panel-tab.is-active{padding-bottom:0;border-bottom:3px solid #00a0d2;font-weight:600}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #d1864a}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #e34e46}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #a7b656}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #c2a68c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #82b4cb}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #00a0d2}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline:1px solid #6c7781;box-shadow:none}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-right:8px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-right:8px}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-left:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-left:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative}.edit-post-layout .components-notice-list{position:-webkit-sticky;position:sticky;top:56px;right:0;color:#191e23}@media (min-width:600px){.edit-post-layout .components-notice-list{position:fixed;top:inherit}}.edit-post-layout .components-notice-list .notice{margin:0 0 5px;padding:6px 12px;min-height:50px}.edit-post-layout .components-notice-list .notice .notice-dismiss{margin:5px}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout.has-fixed-toolbar .edit-post-layout__content{padding-top:36px}@media (min-width:600px){.edit-post-layout.has-fixed-toolbar{padding-top:93px}.edit-post-layout.has-fixed-toolbar .edit-post-layout__content{padding-top:0}}@media (min-width:960px){.edit-post-layout.has-fixed-toolbar{padding-top:56px}}.components-notice-list{left:0}@media (min-width:782px){.components-notice-list{left:160px}}@media (min-width:782px){.auto-fold .components-notice-list{left:36px}}@media (min-width:960px){.auto-fold .components-notice-list{left:160px}}.folded .components-notice-list{left:0}@media (min-width:782px){.folded .components-notice-list{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .components-notice-list{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .components-notice-list{margin-left:-18px}}.components-notice-list{right:0}.edit-post-layout.is-sidebar-opened .components-notice-list{right:280px}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content{position:relative;display:flex;min-height:100%;flex-direction:column;padding-bottom:50vh;overflow-y:auto;-webkit-overflow-scrolling:touch}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0}}.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{top:32px;left:auto;width:280px;border-left:1px solid #e2e4e7;transform:translateX(100%);animation:slide_in_right .1s forwards}}.edit-post-layout .editor-post-publish-panel__header-publish-button{margin-right:52px}.edit-post-post-trash{margin-left:auto!important;text-decoration:underline}.edit-post-post-trash .dashicon{display:inline-block;vertical-align:middle;margin:-3px -4px 0 10px}.edit-post-post-schedule{width:100%;position:relative}.wp-core-ui .edit-post-post-schedule__toggle.button-link{text-align:right}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.editor-post-author__select{margin:-5px 0}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area *{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-meta-boxes-panel{border:0;display:none}.is-sidebar-opened .edit-post-meta-boxes-panel{display:block}.edit-post-meta-boxes-panel .edit-post-meta-boxes-panel__toggle .components-panel__header{position:inherit}.edit-post-meta-boxes-panel__body{display:none}.edit-post-meta-boxes-panel__body.is-opened{display:block}.edit-post-meta-boxes-panel__toggle{display:block;padding:0;width:100%}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(90deg)}.edit-post-more-menu__content .components-menu-group:not(:last-child),.edit-post-more-menu__content>div:not(:last-child) .components-menu-group{border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar .editor-block-switcher .components-toolbar{border:none}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;left:0;right:0;background:#fff;border-bottom:1px solid #e2e4e7;min-height:37px}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;right:280px}}@media (min-width:960px){.edit-post-header-toolbar__block-toolbar{padding-left:10px;position:static;left:auto;right:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{right:auto}}.edit-post-header-toolbar .table-of-contents{display:none}.is-sidebar-opened .edit-post-header-toolbar .table-of-contents{right:296px}@media (min-width:600px){.edit-post-header-toolbar .table-of-contents{display:block}}.edit-post-pinned-plugins{display:flex}.edit-post-pinned-plugins .components-icon-button{margin-left:4px}
1
+ .edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}@keyframes animate_fade{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes move_background{0%{background-position:0 0}to{background-position:28px 0}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes slide_in_right{to{transform:translateX(0)}}body.gutenberg-editor-page,html{background:#fff}body.gutenberg-editor-page #wpcontent{padding-left:0}body.gutenberg-editor-page #wpbody-content{padding-bottom:0}body.gutenberg-editor-page #wpbody-content>div:not(.gutenberg):not(#screen-meta),body.gutenberg-editor-page #wpfooter{display:none}body.gutenberg-editor-page .a11y-speak-region{left:-1px;top:-1px}body.gutenberg-editor-page ul#adminmenu>li.current>a.current:after,body.gutenberg-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}.gutenberg *{box-sizing:border-box}.gutenberg select{font-size:13px;color:#555d66}@media (min-width:600px){.gutenberg__editor{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.gutenberg__editor{min-height:calc(100vh - 32px)}}.gutenberg__editor img{max-width:100%;height:auto}.gutenberg__editor iframe{width:100%}.gutenberg__editor .components-navigate-regions{height:100%}.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.editor-block-list__block .input-control,.editor-block-list__block input[type=checkbox],.editor-block-list__block input[type=color],.editor-block-list__block input[type=date],.editor-block-list__block input[type=datetime-local],.editor-block-list__block input[type=datetime],.editor-block-list__block input[type=email],.editor-block-list__block input[type=month],.editor-block-list__block input[type=number],.editor-block-list__block input[type=password],.editor-block-list__block input[type=radio],.editor-block-list__block input[type=search],.editor-block-list__block input[type=tel],.editor-block-list__block input[type=text],.editor-block-list__block input[type=time],.editor-block-list__block input[type=url],.editor-block-list__block input[type=week],.editor-block-list__block select,.editor-block-list__block textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{border:1px solid #ccd0d4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 8px;outline-offset:-1px;box-shadow:0 0 0 transparent;transition:box-shadow .05s linear}.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.editor-block-list__block .input-control:focus,.editor-block-list__block input[type=checkbox]:focus,.editor-block-list__block input[type=color]:focus,.editor-block-list__block input[type=date]:focus,.editor-block-list__block input[type=datetime-local]:focus,.editor-block-list__block input[type=datetime]:focus,.editor-block-list__block input[type=email]:focus,.editor-block-list__block input[type=month]:focus,.editor-block-list__block input[type=number]:focus,.editor-block-list__block input[type=password]:focus,.editor-block-list__block input[type=radio]:focus,.editor-block-list__block input[type=search]:focus,.editor-block-list__block input[type=tel]:focus,.editor-block-list__block input[type=text]:focus,.editor-block-list__block input[type=time]:focus,.editor-block-list__block input[type=url]:focus,.editor-block-list__block input[type=week]:focus,.editor-block-list__block select:focus,.editor-block-list__block textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;outline:1px solid #008dbe;box-shadow:0 0 0 2px #bfe7f3}.edit-post-sidebar select,.editor-block-list__block select,.editor-post-publish-panel select{padding:2px}.edit-post-sidebar select:focus,.editor-block-list__block select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.editor-block-list__block input::-webkit-input-placeholder,.editor-block-list__block textarea::-webkit-input-placeholder,.editor-post-title input::-webkit-input-placeholder,.editor-post-title textarea::-webkit-input-placeholder{color:rgba(25,30,35,.5)}.editor-block-list__block input::-moz-placeholder,.editor-block-list__block textarea::-moz-placeholder,.editor-post-title input::-moz-placeholder,.editor-post-title textarea::-moz-placeholder{color:rgba(25,30,35,.5)}.editor-block-list__block input:-ms-input-placeholder,.editor-block-list__block textarea:-ms-input-placeholder,.editor-post-title input:-ms-input-placeholder,.editor-post-title textarea:-ms-input-placeholder{color:rgba(25,30,35,.5)}.editor-block-list__block input:-moz-placeholder,.editor-block-list__block textarea:-moz-placeholder,.editor-post-title input:-moz-placeholder,.editor-post-title textarea:-moz-placeholder{color:rgba(25,30,35,.5)}.is-dark-theme .editor-block-list__block input::-webkit-input-placeholder,.is-dark-theme .editor-block-list__block textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-title input::-webkit-input-placeholder,.is-dark-theme .editor-post-title textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-block-list__block input::-moz-placeholder,.is-dark-theme .editor-block-list__block textarea::-moz-placeholder,.is-dark-theme .editor-post-title input::-moz-placeholder,.is-dark-theme .editor-post-title textarea::-moz-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-block-list__block input:-ms-input-placeholder,.is-dark-theme .editor-block-list__block textarea:-ms-input-placeholder,.is-dark-theme .editor-post-title input:-ms-input-placeholder,.is-dark-theme .editor-post-title textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-block-list__block input:-moz-placeholder,.is-dark-theme .editor-block-list__block textarea:-moz-placeholder,.is-dark-theme .editor-post-title input:-moz-placeholder,.is-dark-theme .editor-post-title textarea:-moz-placeholder{color:hsla(0,0%,100%,.65)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.edit-post-sidebar{position:fixed;z-index:100000;top:0;right:0;bottom:0;width:280px;border-left:1px solid #e2e4e7;background:#edeff0;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}}.edit-post-sidebar>.components-panel{border-left:none;border-right:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:inherit;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;left:0;right:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;left:auto;right:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-right:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-right:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-left:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-header{height:56px;padding:10px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;z-index:30;right:0;top:0;position:-webkit-sticky;position:sticky}@media (min-width:600px){.edit-post-header{position:fixed;padding:10px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}}.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:none}@media (min-width:600px){.edit-post-header .editor-post-switch-to-draft+.editor-post-preview{display:inline-block}}.edit-post-header{left:0}@media (min-width:782px){.edit-post-header{left:160px}}@media (min-width:782px){.auto-fold .edit-post-header{left:36px}}@media (min-width:960px){.auto-fold .edit-post-header{left:160px}}.folded .edit-post-header{left:0}@media (min-width:782px){.folded .edit-post-header{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-left:-18px}}.edit-post-header__settings{display:inline-flex;align-items:center}.edit-post-header .components-button{border-radius:4px}.edit-post-header .components-button.is-toggled{color:#fff}.edit-post-header .components-button.is-toggled:before{content:"";border-radius:4px;position:absolute;z-index:-1;background:#555d66;top:1px;right:1px;bottom:1px;left:1px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff;color:#fff;background:#555d66}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;padding:0 5px 2px;font-size:13px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 3px 0 12px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 12px 0 3px}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body{padding-top:72px}}.edit-post-text-editor{padding-left:20px;padding-right:20px}@media (min-width:960px){.edit-post-text-editor{padding-left:calc(50% - 380px);padding-right:calc(50% - 380px)}}.edit-post-text-editor .edit-post-post-text-editor__toolbar{width:100%;max-width:760px;margin:0 auto}.edit-post-text-editor .editor-post-title div{border:1px solid #e2e4e7}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-visual-editor{position:relative;padding:50px 0}.edit-post-visual-editor,.edit-post-visual-editor p{font-family:Noto Serif,serif;font-size:16px;line-height:1.8}.edit-post-visual-editor ol,.edit-post-visual-editor ul{margin:0;padding:0}.edit-post-visual-editor ul:not(.wp-block-gallery){list-style-type:disc}.edit-post-visual-editor ol{list-style-type:decimal}.edit-post-visual-editor .button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .editor-writing-flow__click-redirect{height:50px;width:100%;max-width:636px;margin:-4px auto -50px}.edit-post-visual-editor .editor-block-list__block{margin-left:auto;margin-right:auto;max-width:636px}@media (min-width:600px){.edit-post-visual-editor .editor-block-list__block .editor-block-list__block-edit{margin-left:-36px;margin-right:-36px}.edit-post-visual-editor .editor-block-list__block[data-align=full]>.editor-block-contextual-toolbar,.edit-post-visual-editor .editor-block-list__block[data-align=wide]>.editor-block-contextual-toolbar{max-width:638px;margin-left:auto;margin-right:auto}}.edit-post-visual-editor .editor-block-list__block[data-align=wide]{max-width:1100px}.edit-post-visual-editor .editor-block-list__block[data-align=full]{max-width:none}.edit-post-visual-editor .editor-post-title{margin-left:auto;margin-right:auto;max-width:636px}@media (min-width:600px){.edit-post-visual-editor .editor-post-title>div{margin-left:-36px;margin-right:-36px}}.edit-post-visual-editor .editor-block-list__block:not(.is-selected) .editor-block-list__block-edit{box-shadow:0 0 0 0 #fff,0 0 0 0 #191e23;transition:box-shadow .1s .05s}.edit-post-visual-editor .editor-block-list__block:not(.is-selected):focus .editor-block-list__block-edit{box-shadow:0 0 0 1px #fff,0 0 0 3px #191e23}.edit-post-visual-editor .editor-default-block-appender{max-width:636px;margin-left:auto;margin-right:auto;position:relative}.edit-post-visual-editor .editor-default-block-appender[data-root-uid=""] .editor-default-block-appender__content:hover{outline:1px solid transparent}@media (min-width:600px){.edit-post-visual-editor .editor-default-block-appender .editor-default-block-appender__content{padding:0 14px}}.edit-post-visual-editor .editor-block-list__layout>.editor-block-list__insertion-point{max-width:636px;position:relative}.edit-post-block-sidebar__panel .components-panel__body{border:none;margin:0 -16px}.edit-post-block-sidebar__panel .components-panel__body .components-base-control{margin:0 0 1em}.edit-post-block-sidebar__panel .components-panel__body .components-panel__body-toggle{color:#555d66}.edit-post-block-sidebar__panel .components-panel__body:first-child{border-top:1px solid #e2e4e7;margin-top:16px}.edit-post-block-sidebar__panel .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:8px;border-top:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;border-radius:0;cursor:pointer;height:50px;padding:3px 15px;margin-left:0;font-weight:400;color:#191e23;outline-offset:-1px}.edit-post-sidebar__panel-tab.is-active{padding-bottom:0;border-bottom:3px solid #00a0d2;font-weight:600}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #d1864a}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #e34e46}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #a7b656}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #c2a68c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #82b4cb}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{border-bottom:3px solid #00a0d2}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline:1px solid #6c7781;box-shadow:none}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-right:8px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-right:8px}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-left:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-left:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative}.edit-post-layout .components-notice-list{position:-webkit-sticky;position:sticky;top:56px;right:0;color:#191e23}@media (min-width:600px){.edit-post-layout .components-notice-list{position:fixed;top:inherit}}.edit-post-layout .components-notice-list .notice{margin:0 0 5px;padding:6px 12px;min-height:50px}.edit-post-layout .components-notice-list .notice .notice-dismiss{margin:5px}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout.has-fixed-toolbar .edit-post-layout__content{padding-top:36px}@media (min-width:600px){.edit-post-layout.has-fixed-toolbar{padding-top:93px}.edit-post-layout.has-fixed-toolbar .edit-post-layout__content{padding-top:0}}@media (min-width:960px){.edit-post-layout.has-fixed-toolbar{padding-top:56px}}.components-notice-list{left:0}@media (min-width:782px){.components-notice-list{left:160px}}@media (min-width:782px){.auto-fold .components-notice-list{left:36px}}@media (min-width:960px){.auto-fold .components-notice-list{left:160px}}.folded .components-notice-list{left:0}@media (min-width:782px){.folded .components-notice-list{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .components-notice-list{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .components-notice-list{margin-left:-18px}}.components-notice-list{right:0}.edit-post-layout.is-sidebar-opened .components-notice-list{right:280px}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content{position:relative;display:flex;min-height:100%;flex-direction:column;padding-bottom:50vh;overflow-y:auto;-webkit-overflow-scrolling:touch}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0}}.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{top:32px;left:auto;width:280px;border-left:1px solid #e2e4e7;transform:translateX(100%);animation:slide_in_right .1s forwards}}.edit-post-layout .editor-post-publish-panel__header-publish-button{margin-right:52px}.edit-post-post-trash{margin-left:auto!important;text-decoration:underline}.edit-post-post-trash .dashicon{display:inline-block;vertical-align:middle;margin:-3px -4px 0 10px}.edit-post-post-schedule{width:100%;position:relative}.wp-core-ui .edit-post-post-schedule__toggle.button-link{text-align:right}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.editor-post-author__select{margin:-5px 0}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area *{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-meta-boxes-panel{border:0;display:none}.is-sidebar-opened .edit-post-meta-boxes-panel{display:block}.edit-post-meta-boxes-panel .edit-post-meta-boxes-panel__toggle .components-panel__header{position:inherit}.edit-post-meta-boxes-panel__body{display:none}.edit-post-meta-boxes-panel__body.is-opened{display:block}.edit-post-meta-boxes-panel__toggle{display:block;padding:0;width:100%}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(90deg)}.edit-post-more-menu__content .components-menu-group:not(:last-child),.edit-post-more-menu__content>div:not(:last-child) .components-menu-group{border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar .editor-block-switcher .components-toolbar{border:none}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;left:0;right:0;background:#fff;border-bottom:1px solid #e2e4e7;min-height:37px}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;right:280px}}@media (min-width:960px){.edit-post-header-toolbar__block-toolbar{padding-left:10px;position:static;left:auto;right:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{right:auto}}.edit-post-header-toolbar .table-of-contents{display:none}.is-sidebar-opened .edit-post-header-toolbar .table-of-contents{right:296px}@media (min-width:600px){.edit-post-header-toolbar .table-of-contents{display:block}}.edit-post-pinned-plugins{display:flex}.edit-post-pinned-plugins .components-icon-button{margin-left:4px}
build/editor/index.js CHANGED
@@ -9,7 +9,7 @@ this.wp=this.wp||{},this.wp.editor=function(e){var t={};function n(r){if(t[r])re
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */
12
- !function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}void 0!==e&&e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(48)("wks"),o=n(38),i=n(18).Symbol,s="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))}).store=r},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(61),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},function(e,t){!function(){e.exports=this.wp.utils}()},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(85),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){var r=n(18),o=n(15),i=n(36),s=n(29),a=function(e,t,n){var c,l,u,d=e&a.F,p=e&a.G,f=e&a.S,h=e&a.P,m=e&a.B,v=e&a.W,b=p?o:o[t]||(o[t]={}),g=b.prototype,y=p?r:f?r[t]:(r[t]||{}).prototype;for(c in p&&(n=t),n)(l=!d&&y&&void 0!==y[c])&&c in b||(u=l?y[c]:n[c],b[c]=p&&"function"!=typeof y[c]?n[c]:m&&l?i(u,r):v&&y[c]==u?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(u):h&&"function"==typeof u?i(Function.call,u):u,h&&((b.virtual||(b.virtual={}))[c]=u,e&a.R&&g&&!g[c]&&s(g,c,u)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,e.exports=a},function(e,t,n){var r=n(25),o=n(64),i=n(52),s=Object.defineProperty;t.f=n(24)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(31)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(26);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(23),o=n(34);e.exports=n(24)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(60),o=n(44);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){!function(){e.exports=this.wp.dom}()},function(e,t){e.exports={}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t,n){var r=n(57);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(63),o=n(47);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(44);e.exports=function(e){return Object(r(e))}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(48)("keys"),o=n(38);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(23).f,o=n(28),i=n(17)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(146)),o=i(n(116));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,i=!1,s=void 0;try{for(var a,c=(0,o.default)(e);!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,s=e}finally{try{!r&&c.return&&c.return()}finally{if(i)throw s}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(18),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t,n){"use strict";var r=n(88)(!0);n(67)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){e.exports=!0},,function(e,t,n){var r=n(26);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(26),o=n(18).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},,function(e,t,n){var r=n(41),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(25),o=n(82),i=n(47),s=n(43)("IE_PROTO"),a=function(){},c=function(){var e,t=n(53)("iframe"),r=i.length;for(t.style.display="none",n(74).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=r(e),n=new a,a.prototype=null,n[s]=e):n=c(),void 0===t?n:o(n,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},,function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(39);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){e.exports={default:n(115),__esModule:!0}},function(e,t,n){n(100);for(var r=n(18),o=n(29),i=n(33),s=n(17)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var l=a[c],u=r[l],d=u&&u.prototype;d&&!d[s]&&o(d,s,l),i[l]=i.Array}},function(e,t,n){var r=n(28),o=n(30),i=n(77)(!1),s=n(43)("IE_PROTO");e.exports=function(e,t){var n,a=o(e),c=0,l=[];for(n in a)n!=s&&r(a,n)&&l.push(n);for(;t.length>c;)r(a,n=t[c++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){e.exports=!n(24)&&!n(31)(function(){return 7!=Object.defineProperty(n(53)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(18),o=n(15),i=n(50),s=n(66),a=n(23).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:s.f(e)})}},function(e,t,n){t.f=n(17)},function(e,t,n){"use strict";var r=n(50),o=n(22),i=n(71),s=n(29),a=n(28),c=n(33),l=n(87),u=n(45),d=n(72),p=n(17)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,m,v,b,g){l(n,t,m);var y,k,_,O=function(e){if(!f&&e in j)return j[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",S="values"==v,E=!1,j=e.prototype,C=j[p]||j["@@iterator"]||v&&j[v],T=!f&&C||O(v),P=v?S?O("entries"):T:void 0,B="Array"==t&&j.entries||C;if(B&&(_=d(B.call(new e)))!==Object.prototype&&_.next&&(u(_,w,!0),r||a(_,p)||s(_,p,h)),S&&C&&"values"!==C.name&&(E=!0,T=function(){return C.call(this)}),r&&!g||!f&&!E&&j[p]||s(j,p,T),c[t]=T,c[w]=h,v)if(y={values:S?T:O("values"),keys:b?T:O("keys"),entries:P},g)for(k in y)k in j||i(j,k,y[k]);else o(o.P+o.F*(f||E),t,y);return y}},function(e,t,n){var r=n(39),o=n(17)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";t.__esModule=!0;var r=s(n(104)),o=s(n(93)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function s(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){var r=n(68),o=n(17)("iterator"),i=n(33);e.exports=n(15).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){e.exports=n(29)},function(e,t,n){var r=n(28),o=n(40),i=n(43)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){e.exports={default:n(157),__esModule:!0}},function(e,t,n){var r=n(18).document;e.exports=r&&r.documentElement},function(e,t,n){e.exports={default:n(92),__esModule:!0}},function(e,t,n){var r=n(41),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(30),o=n(55),i=n(76);e.exports=function(e){return function(t,n,s){var a,c=r(t),l=o(c.length),u=i(s,l);if(e&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(63),o=n(47).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(42),o=n(34),i=n(30),s=n(52),a=n(28),c=n(64),l=Object.getOwnPropertyDescriptor;t.f=n(24)?l:function(e,t){if(e=i(e),t=s(t,!0),c)try{return l(e,t)}catch(e){}if(a(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(33),o=n(17)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(25);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(23),o=n(25),i=n(37);e.exports=n(24)?Object.defineProperties:function(e,t){o(e);for(var n,s=i(t),a=s.length,c=0;a>c;)r.f(e,n=s[c++],t[n]);return e}},,function(e,t){},function(e,t,n){e.exports={default:n(98),__esModule:!0}},function(e,t,n){var r=n(17)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(56),o=n(34),i=n(45),s={};n(29)(s,n(17)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(s,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(41),o=n(44);e.exports=function(e){return function(t,n){var i,s,a=String(o(t)),c=r(n),l=a.length;return c<0||c>=l?e?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===l||(s=a.charCodeAt(c+1))<56320||s>57343?e?a.charAt(c):i:e?a.slice(c,c+2):s-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r,o;function i(e){return[e]}function s(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,t.a=function(e,t){var n,c;function l(){n=o?new WeakMap:s()}function u(){var n,r,o,i,s,l=arguments.length;for(i=new Array(l),o=0;o<l;o++)i[o]=arguments[o];for(s=t.apply(null,i),(n=c(s)).isUniqueByDependants||(n.lastDependants&&!a(s,n.lastDependants,0)&&n.clear(),n.lastDependants=s),r=n.head;r;){if(a(r.args,i,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,i)},i[0]=null,r.args=i,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=i),c=o?function(e){var t,o,i,a,c,l=n,u=!0;for(t=0;t<e.length;t++){if(o=e[t],!(c=o)||"object"!=typeof c){u=!1;break}l.has(o)?l=l.get(o):(i=new WeakMap,l.set(o,i),l=i)}return l.has(r)||((a=s()).isUniqueByDependants=u,l.set(r,a)),l.get(r)}:function(){return n},u.getDependants=t,u.clear=l,l(),u}},function(e,t,n){"use strict";var r=n(37),o=n(59),i=n(42),s=n(40),a=n(60),c=Object.assign;e.exports=!c||n(31)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r})?function(e,t){for(var n=s(e),c=arguments.length,l=1,u=o.f,d=i.f;c>l;)for(var p,f=a(arguments[l++]),h=u?r(f).concat(u(f)):r(f),m=h.length,v=0;m>v;)d.call(f,p=h[v++])&&(n[p]=f[p]);return n}:c},function(e,t,n){var r=n(22);r(r.S+r.F,"Object",{assign:n(90)})},function(e,t,n){n(91),e.exports=n(15).Object.assign},function(e,t,n){e.exports={default:n(112),__esModule:!0}},function(e,t,n){var r=n(38)("meta"),o=n(26),i=n(28),s=n(23).f,a=0,c=Object.isExtensible||function(){return!0},l=!n(31)(function(){return c(Object.preventExtensions({}))}),u=function(e){s(e,r,{value:{i:"O"+ ++a,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!c(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!c(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return l&&d.NEED&&c(e)&&!i(e,r)&&u(e),e}}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(57);e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}(e)}},function(e,t,n){var r=n(22);r(r.S+r.F*!n(24),"Object",{defineProperty:n(23).f})},function(e,t,n){n(97);var r=n(15).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(99),o=n(95),i=n(33),s=n(30);e.exports=n(67)(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){e.exports={default:n(106),__esModule:!0}},function(e,t,n){var r=n(39);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(22),o=n(15),i=n(31);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],s={};s[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",s)}},function(e,t,n){e.exports={default:n(123),__esModule:!0}},function(e,t,n){var r=n(22);r(r.S,"Object",{create:n(56)})},function(e,t,n){n(105);var r=n(15).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(65)("observable")},function(e,t,n){n(65)("asyncIterator")},function(e,t,n){var r=n(30),o=n(78).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return s.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(37),o=n(59),i=n(42);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var s,a=n(e),c=i.f,l=0;a.length>l;)c.call(e,s=a[l++])&&t.push(s);return t}},function(e,t,n){"use strict";var r=n(18),o=n(28),i=n(24),s=n(22),a=n(71),c=n(94).KEY,l=n(31),u=n(48),d=n(45),p=n(38),f=n(17),h=n(66),m=n(65),v=n(110),b=n(102),g=n(25),y=n(26),k=n(30),_=n(52),O=n(34),w=n(56),S=n(109),E=n(79),j=n(23),C=n(37),T=E.f,P=j.f,B=S.f,x=r.Symbol,I=r.JSON,D=I&&I.stringify,A=f("_hidden"),N=f("toPrimitive"),R={}.propertyIsEnumerable,L=u("symbol-registry"),U=u("symbols"),M=u("op-symbols"),F=Object.prototype,H="function"==typeof x,V=r.QObject,K=!V||!V.prototype||!V.prototype.findChild,W=i&&l(function(){return 7!=w(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=T(F,t);r&&delete F[t],P(e,t,n),r&&e!==F&&P(F,t,r)}:P,z=function(e){var t=U[e]=w(x.prototype);return t._k=e,t},q=H&&"symbol"==typeof x.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof x},G=function(e,t,n){return e===F&&G(M,t,n),g(e),t=_(t,!0),g(n),o(U,t)?(n.enumerable?(o(e,A)&&e[A][t]&&(e[A][t]=!1),n=w(n,{enumerable:O(0,!1)})):(o(e,A)||P(e,A,O(1,{})),e[A][t]=!0),W(e,t,n)):P(e,t,n)},Y=function(e,t){g(e);for(var n,r=v(t=k(t)),o=0,i=r.length;i>o;)G(e,n=r[o++],t[n]);return e},X=function(e){var t=R.call(this,e=_(e,!0));return!(this===F&&o(U,e)&&!o(M,e))&&(!(t||!o(this,e)||!o(U,e)||o(this,A)&&this[A][e])||t)},$=function(e,t){if(e=k(e),t=_(t,!0),e!==F||!o(U,t)||o(M,t)){var n=T(e,t);return!n||!o(U,t)||o(e,A)&&e[A][t]||(n.enumerable=!0),n}},J=function(e){for(var t,n=B(k(e)),r=[],i=0;n.length>i;)o(U,t=n[i++])||t==A||t==c||r.push(t);return r},Q=function(e){for(var t,n=e===F,r=B(n?M:k(e)),i=[],s=0;r.length>s;)!o(U,t=r[s++])||n&&!o(F,t)||i.push(U[t]);return i};H||(a((x=function(){if(this instanceof x)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(M,n),o(this,A)&&o(this[A],e)&&(this[A][e]=!1),W(this,e,O(1,n))};return i&&K&&W(F,e,{configurable:!0,set:t}),z(e)}).prototype,"toString",function(){return this._k}),E.f=$,j.f=G,n(78).f=S.f=J,n(42).f=X,n(59).f=Q,i&&!n(50)&&a(F,"propertyIsEnumerable",X,!0),h.f=function(e){return z(f(e))}),s(s.G+s.W+s.F*!H,{Symbol:x});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Z.length>ee;)f(Z[ee++]);for(var te=C(f.store),ne=0;te.length>ne;)m(te[ne++]);s(s.S+s.F*!H,"Symbol",{for:function(e){return o(L,e+="")?L[e]:L[e]=x(e)},keyFor:function(e){if(!q(e))throw TypeError(e+" is not a symbol!");for(var t in L)if(L[t]===e)return t},useSetter:function(){K=!0},useSimple:function(){K=!1}}),s(s.S+s.F*!H,"Object",{create:function(e,t){return void 0===t?w(e):Y(w(e),t)},defineProperty:G,defineProperties:Y,getOwnPropertyDescriptor:$,getOwnPropertyNames:J,getOwnPropertySymbols:Q}),I&&s(s.S+s.F*(!H||l(function(){var e=x();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(y(t)||void 0!==e)&&!q(e))return b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!q(t))return t}),r[1]=t,D.apply(I,r)}}),x.prototype[N]||n(29)(x.prototype,N,x.prototype.valueOf),d(x,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){n(111),n(84),n(108),n(107),e.exports=n(15).Symbol},function(e,t,n){"use strict";var r=n(23),o=n(34);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(36),o=n(22),i=n(40),s=n(81),a=n(80),c=n(55),l=n(113),u=n(70);o(o.S+o.F*!n(86)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,p=i(e),f="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,b=0,g=u(p);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==g||f==Array&&a(g))for(n=new f(t=c(p.length));t>b;b++)l(n,b,v?m(p[b],b):p[b]);else for(d=g.call(p),n=new f;!(o=d.next()).done;b++)l(n,b,v?s(d,m,[o.value,b],!0):o.value);return n.length=b,n}})},function(e,t,n){n(49),n(114),e.exports=n(15).Array.from},function(e,t,n){e.exports={default:n(136),__esModule:!0}},function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function s(){var t,s,a=r,c=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(s=0;s<c;s++)if(a.args[s]!==arguments[s]){a=a.next;continue e}return a!==r&&(a===o&&(o=a.prev),a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=r,a.prev=null,r.prev=a,r=a),a.val}a=a.next}for(t=new Array(c),s=0;s<c;s++)t[s]=arguments[s];return a={args:t,val:e.apply(null,t)},r?(r.prev=a,a.next=r):o=a,i===n?(o=o.prev).next=null:i++,r=a,a.val}return t&&t.maxSize&&(n=t.maxSize),s.clear=function(){r=null,o=null,i=0},s}},,function(e,t,n){var r=n(26),o=n(25),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(36)(Function.call,n(79).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var r=n(22);r(r.S,"Object",{setPrototypeOf:n(119).set})},function(e,t,n){n(120),e.exports=n(15).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(121),__esModule:!0}},function(e,t,n){n(49),n(62),e.exports=n(66).f("iterator")},function(e,t,n){var r=n(40),o=n(72);n(103)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){n(124),e.exports=n(15).Object.getPrototypeOf},,function(e,t,n){var r=n(25),o=n(26),i=n(96);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,o,i,s=n(36),a=n(155),c=n(74),l=n(53),u=n(18),d=u.process,p=u.setImmediate,f=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,v=0,b={},g=function(){var e=+this;if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},y=function(e){g.call(e.data)};p&&f||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++v]=function(){a("function"==typeof e?e:Function(e),t)},r(v),v},f=function(e){delete b[e]},"process"==n(39)(d)?r=function(e){d.nextTick(s(g,e,1))}:m&&m.now?r=function(e){m.now(s(g,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=y,r=s(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",y,!1)):r="onreadystatechange"in l("script")?function(e){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),g.call(e)}}:function(e){setTimeout(s(g,e,1),0)}),e.exports={set:p,clear:f}},function(e,t,n){var r=n(25),o=n(57),i=n(17)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||void 0==(n=r(s)[i])?t:o(n)}},function(e,t,n){var r=n(36),o=n(81),i=n(80),s=n(25),a=n(55),c=n(70),l={},u={};(t=e.exports=function(e,t,n,d,p){var f,h,m,v,b=p?function(){return e}:c(e),g=r(n,d,t?2:1),y=0;if("function"!=typeof b)throw TypeError(e+" is not iterable!");if(i(b)){for(f=a(e.length);f>y;y++)if((v=t?g(s(h=e[y])[0],h[1]):g(e[y]))===l||v===u)return v}else for(m=b.call(e);!(h=m.next()).done;)if((v=o(m,g,h.value,t))===l||v===u)return v}).BREAK=l,t.RETURN=u},function(e,t){!function(){e.exports=this.wp.viewport}()},,,function(e,t,n){var r=n(25),o=n(70);e.exports=n(15).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){n(62),n(49),e.exports=n(135)},,function(e,t,n){var r=n(29);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.decode=t.parse=n(206),t.encode=t.stringify=n(205)},,function(e,t,n){"use strict";var r=n(18),o=n(15),i=n(23),s=n(24),a=n(17)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];s&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(68),o=n(17)("iterator"),i=n(33);e.exports=n(15).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},function(e,t,n){n(62),n(49),e.exports=n(144)},function(e,t,n){e.exports={default:n(145),__esModule:!0}},,function(e,t){!function(){e.exports=this.wp.date}()},,,,function(e,t,n){"use strict";var r=n(22),o=n(96),i=n(128);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(22),o=n(15),i=n(18),s=n(130),a=n(127);r(r.P+r.R,"Promise",{finally:function(e){var t=s(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return a(t,e()).then(function(){return n})}:e,n?function(n){return a(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){var r=n(18),o=n(129).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n(39)(s);e.exports=function(){var e,t,n,l=function(){var r,o;for(c&&(r=s.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(l)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var u=a.resolve();n=function(){u.then(l)}}else n=function(){o.call(r,l)};else{var d=!0,p=document.createTextNode("");new i(l).observe(p,{characterData:!0}),n=function(){p.data=d=!d}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){"use strict";var r,o,i,s,a=n(50),c=n(18),l=n(36),u=n(68),d=n(22),p=n(26),f=n(57),h=n(139),m=n(131),v=n(130),b=n(129).set,g=n(154)(),y=n(96),k=n(128),_=n(127),O=c.TypeError,w=c.process,S=c.Promise,E="process"==u(w),j=function(){},C=o=y.f,T=!!function(){try{var e=S.resolve(1),t=(e.constructor={})[n(17)("species")]=function(e){e(j,j)};return(E||"function"==typeof PromiseRejectionEvent)&&e.then(j)instanceof t}catch(e){}}(),P=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},B=function(e,t){if(!e._n){e._n=!0;var n=e._c;g(function(){for(var r=e._v,o=1==e._s,i=0,s=function(t){var n,i,s=o?t.ok:t.fail,a=t.resolve,c=t.reject,l=t.domain;try{s?(o||(2==e._h&&D(e),e._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&l.exit()),n===t.promise?c(O("Promise-chain cycle")):(i=P(n))?i.call(n,a,c):a(n)):c(r)}catch(e){c(e)}};n.length>i;)s(n[i++]);e._c=[],e._n=!1,t&&!e._h&&x(e)})}},x=function(e){b.call(c,function(){var t,n,r,o=e._v,i=I(e);if(i&&(t=k(function(){E?w.emit("unhandledRejection",o,e):(n=c.onunhandledrejection)?n({promise:e,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=E||I(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},I=function(e){return 1!==e._h&&0===(e._a||e._c).length},D=function(e){b.call(c,function(){var t;E?w.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},A=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),B(t,!0))},N=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw O("Promise can't be resolved itself");(t=P(e))?g(function(){var r={_w:n,_d:!1};try{t.call(e,l(N,r,1),l(A,r,1))}catch(e){A.call(r,e)}}):(n._v=e,n._s=1,B(n,!1))}catch(e){A.call({_w:n,_d:!1},e)}}};T||(S=function(e){h(this,S,"Promise","_h"),f(e),r.call(this);try{e(l(N,this,1),l(A,this,1))}catch(e){A.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(138)(S.prototype,{then:function(e,t){var n=C(v(this,S));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=E?w.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&B(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=l(N,e,1),this.reject=l(A,e,1)},y.f=C=function(e){return e===S||e===s?new i(e):o(e)}),d(d.G+d.W+d.F*!T,{Promise:S}),n(45)(S,"Promise"),n(143)("Promise"),s=n(15).Promise,d(d.S+d.F*!T,"Promise",{reject:function(e){var t=C(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(a||!T),"Promise",{resolve:function(e){return _(a&&this===s?S:this,e)}}),d(d.S+d.F*!(T&&n(86)(function(e){S.all(e).catch(j)})),"Promise",{all:function(e){var t=this,n=C(t),r=n.resolve,o=n.reject,i=k(function(){var n=[],i=0,s=1;m(e,!1,function(e){var a=i++,c=!1;n.push(void 0),s++,t.resolve(e).then(function(e){c||(c=!0,n[a]=e,--s||r(n))},o)}),--s||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=C(t),r=n.reject,o=k(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){n(84),n(49),n(62),n(156),n(153),n(152),e.exports=n(15).Promise},function(e,t){!function(){e.exports=this.tinymce}()},function(e,t,n){e.exports={default:n(233),__esModule:!0}},,function(e,t,n){e.exports=n(328)},,,function(e,t){!function(){e.exports=this.wp.a11y}()},,function(e,t,n){e.exports={default:n(187),__esModule:!0}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e){return decodeURIComponent(e.replace(/\+/g," "))}t.stringify=function(e,t){t=t||"";var n=[];for(var o in"string"!=typeof t&&(t="?"),e)r.call(e,o)&&n.push(encodeURIComponent(o)+"="+encodeURIComponent(e[o]));return n.length?t+n.join("&"):""},t.parse=function(e){for(var t,n=/([^=?&]+)=?([^&]*)/g,r={};t=n.exec(e);r[o(t[1])]=o(t[2]));return r}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(332);t.default=r.default},,function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){var n;"function"!=typeof(n=window.Element.prototype).matches&&(n.matches=n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)++n;return Boolean(t[n])}),"function"!=typeof n.closest&&(n.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})},function(e,t,n){var r=n(37),o=n(30),i=n(42).f;e.exports=function(e){return function(t){for(var n,s=o(t),a=r(s),c=a.length,l=0,u=[];c>l;)i.call(s,n=a[l++])&&u.push(e?[n,s[n]]:s[n]);return u}}},function(e,t,n){"use strict";e.exports=n(210)},,,function(e,t,n){"use strict";var r=n(208),o=n(207);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=y(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var s=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),d=["%","/","?",";","#"].concat(u),p=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n(141);function y(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),a=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(a);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(a);if(y=y.trim(),!n&&1===e.split("#").length){var k=c.exec(y);if(k)return this.path=y,this.href=y,this.pathname=k[1],k[2]?(this.search=k[2],this.query=t?g.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=s.exec(y);if(_){var O=(_=_[0]).toLowerCase();this.protocol=O,y=y.substr(_.length)}if(n||_||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var w="//"===y.substr(0,2);!w||_&&v[_]||(y=y.substr(2),this.slashes=!0)}if(!v[_]&&(w||_&&!b[_])){for(var S,E,j=-1,C=0;C<p.length;C++){-1!==(T=y.indexOf(p[C]))&&(-1===j||T<j)&&(j=T)}-1!==(E=-1===j?y.lastIndexOf("@"):y.lastIndexOf("@",j))&&(S=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(S)),j=-1;for(C=0;C<d.length;C++){var T;-1!==(T=y.indexOf(d[C]))&&(-1===j||T<j)&&(j=T)}-1===j&&(j=y.length),this.host=y.slice(0,j),y=y.slice(j),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var B=this.hostname.split(/\./),x=(C=0,B.length);C<x;C++){var I=B[C];if(I&&!I.match(f)){for(var D="",A=0,N=I.length;A<N;A++)I.charCodeAt(A)>127?D+="x":D+=I[A];if(!D.match(f)){var R=B.slice(0,C),L=B.slice(C+1),U=I.match(h);U&&(R.push(U[1]),L.unshift(U[2])),L.length&&(y="/"+L.join(".")+y),this.hostname=R.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=r.toASCII(this.hostname));var M=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+M,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!m[O])for(C=0,x=u.length;C<x;C++){var H=u[C];if(-1!==y.indexOf(H)){var V=encodeURIComponent(H);V===H&&(V=escape(H)),y=y.split(H).join(V)}}var K=y.indexOf("#");-1!==K&&(this.hash=y.substr(K),y=y.slice(0,K));var W=y.indexOf("?");if(-1!==W?(this.search=y.substr(W),this.query=y.substr(W+1),t&&(this.query=g.parse(this.query)),y=y.slice(0,W)):t&&(this.search="",this.query={}),y&&(this.pathname=y),b[O]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){M=this.pathname||"";var z=this.search||"";this.path=M+z}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,s="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(s=g.stringify(this.query));var a=this.search||s&&"?"+s||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+i+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(a=a.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),s=0;s<r.length;s++){var a=r[s];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),l=0;l<c.length;l++){var u=c[l];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var d=Object.keys(e),p=0;p<d.length;p++){var f=d[p];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||v[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var m=n.pathname||"",g=n.search||"";n.path=m+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),k=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=k||y||n.host&&e.pathname,O=_,w=n.pathname&&n.pathname.split("/")||[],S=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(S&&(n.hostname="",n.port=null,n.host&&(""===w[0]?w[0]=n.host:w.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),_=_&&(""===h[0]||""===w[0])),k)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,w=h;else if(h.length)w||(w=[]),w.pop(),w=w.concat(h),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(S)n.hostname=n.host=w.shift(),(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=w.slice(-1)[0],j=(n.host||e.host||w.length>1)&&("."===E||".."===E)||""===E,C=0,T=w.length;T>=0;T--)"."===(E=w[T])?w.splice(T,1):".."===E?(w.splice(T,1),C++):C&&(w.splice(T,1),C--);if(!_&&!O)for(;C--;C)w.unshift("..");!_||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),j&&"/"!==w.join("/").substr(-1)&&w.push("");var P,B=""===w[0]||w[0]&&"/"===w[0].charAt(0);S&&(n.hostname=n.host=B?"":w.length?w.shift():"",(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift()));return(_=_||n.host&&w.length)&&!B&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(19),i=(r=o)&&r.__esModule?r:{default:r};t.attributeListToReact=a,t.nodeListToReact=l,t.nodeToReact=u;var s=[].concat(["accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","challenge","charSet","checked","cite","classID","className","colSpan","cols","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","encType","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","height","hidden","high","href","hrefLang","htmlFor","httpEquiv","icon","id","inputMode","integrity","is","keyParams","keyType","kind","label","lang","list","loop","low","manifest","marginHeight","marginWidth","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","nonce","open","optimum","pattern","placeholder","poster","preload","profile","radioGroup","readOnly","rel","required","reversed","role","rowSpan","rows","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","style","summary","tabIndex","target","title","type","useMap","value","width","wmode","wrap"],["autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave"],["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlSpace","y","y1","y2","yChannelSelector","z","zoomAndPan"]).reduce(function(e,t){var n=t.toLowerCase();return t!==n&&(e[n]=t),e},{});function a(e){return[].concat((0,i.default)(e)).reduce(function(e,t){var n=t.name,r=t.value,o=s[n.replace(/[-:]/,"")]||n;return"style"===o&&(r=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(";").reduce(function(e,t){var n,r=t.split(":"),o=(n=r[0]||"",n.toLowerCase().replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})).trim(),i=(r[1]||"").trim();return o&&i&&(e[o]=i),e},{})}(r)),e[o]=r,e},{})}s.class="className";var c=0;function l(e,t){return[].concat((0,i.default)(e)).reduce(function(e,n){n._domReactKey||(n._domReactKey="_domReact"+String(c++));var r=u(n,t);return Array.isArray(r)?e.push.apply(e,(0,i.default)(r)):e.push(r),e},[])}function u(e,t){if(!e)return null;if(3===e.nodeType)return e.nodeValue;if(1!==e.nodeType)return null;var n=e.nodeName.toLowerCase(),r={},o=[];return e.hasAttributes()&&(r=a(e.attributes)),e._domReactKey&&(r.key=e._domReactKey),e.hasChildNodes()&&(o=l(e.childNodes,t)),t.apply(void 0,[n,r].concat((0,i.default)(o)))}},function(e,t,n){var r=n(235),o=n(234);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[i+a]=s[a];return t||o(s)}},,function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,s,a,c){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,i,s,a,c],d=0;(l=new Error(t.replace(/%s/g,function(){return u[d++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){e.exports=n(212)()},,,,function(e,t,n){var r=n(22),o=n(172)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){n(186),e.exports=n(15).Object.values},function(e,t,n){e.exports=function(){"use strict";return function(e){var t={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(t,e),function(e){return function(n){return function(r){var o,i,s=t[r.type],a=n(r);if(s)for(o=0;o<s.length;o++)(i=s[o](r,e))&&e.dispatch(i);return a}}}}}()},,,,,,,,,,,,,,function(e,t,n){var r;!function(o){var i=/^\s+/,s=/\s+$/,a=0,c=o.round,l=o.min,u=o.max,d=o.random;function p(e,t){if(e=e||"",t=t||{},e instanceof p)return e;if(!(this instanceof p))return new p(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,c=null,d=!1,p=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(s,"").toLowerCase();var t,n=!1;if(B[e])e=B[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=K.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=K.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=K.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=K.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=K.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=K.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=K.hex8.exec(e))return{r:N(t[1]),g:N(t[2]),b:N(t[3]),a:M(t[4]),format:n?"name":"hex8"};if(t=K.hex6.exec(e))return{r:N(t[1]),g:N(t[2]),b:N(t[3]),format:n?"name":"hex"};if(t=K.hex4.exec(e))return{r:N(t[1]+""+t[1]),g:N(t[2]+""+t[2]),b:N(t[3]+""+t[3]),a:M(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=K.hex3.exec(e))return{r:N(t[1]+""+t[1]),g:N(t[2]+""+t[2]),b:N(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(f=e.r,h=e.g,m=e.b,t={r:255*D(f,255),g:255*D(h,255),b:255*D(m,255)},d=!0,p="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(r=L(e.s),a=L(e.v),t=function(e,t,n){e=6*D(e,360),t=D(t,100),n=D(n,100);var r=o.floor(e),i=e-r,s=n*(1-t),a=n*(1-i*t),c=n*(1-(1-i)*t),l=r%6;return{r:255*[n,a,s,s,c,n][l],g:255*[c,n,n,a,s,s][l],b:255*[s,s,c,n,n,a][l]}}(e.h,r,a),d=!0,p="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(r=L(e.s),c=L(e.l),t=function(e,t,n){var r,o,i;function s(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=D(e,360),t=D(t,100),n=D(n,100),0===t)r=o=i=n;else{var a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;r=s(c,a,e+1/3),o=s(c,a,e),i=s(c,a,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,c),d=!0,p="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,h,m;return n=I(n),{ok:d,format:e.format||p,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=a++}function f(e,t,n){e=D(e,255),t=D(t,255),n=D(n,255);var r,o,i=u(e,t,n),s=l(e,t,n),a=(i+s)/2;if(i==s)r=o=0;else{var c=i-s;switch(o=a>.5?c/(2-i-s):c/(i+s),i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,l:a}}function h(e,t,n){e=D(e,255),t=D(t,255),n=D(n,255);var r,o,i=u(e,t,n),s=l(e,t,n),a=i,c=i-s;if(o=0===i?0:c/i,i==s)r=0;else{switch(i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,v:a}}function m(e,t,n,r){var o=[R(c(e).toString(16)),R(c(t).toString(16)),R(c(n).toString(16))];return r&&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[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function v(e,t,n,r){return[R(U(r)),R(c(e).toString(16)),R(c(t).toString(16)),R(c(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.s-=t/100,n.s=A(n.s),p(n)}function g(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.s+=t/100,n.s=A(n.s),p(n)}function y(e){return p(e).desaturate(100)}function k(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.l+=t/100,n.l=A(n.l),p(n)}function _(e,t){t=0===t?0:t||10;var n=p(e).toRgb();return n.r=u(0,l(255,n.r-c(-t/100*255))),n.g=u(0,l(255,n.g-c(-t/100*255))),n.b=u(0,l(255,n.b-c(-t/100*255))),p(n)}function O(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.l-=t/100,n.l=A(n.l),p(n)}function w(e,t){var n=p(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,p(n)}function S(e){var t=p(e).toHsl();return t.h=(t.h+180)%360,p(t)}function E(e){var t=p(e).toHsl(),n=t.h;return[p(e),p({h:(n+120)%360,s:t.s,l:t.l}),p({h:(n+240)%360,s:t.s,l:t.l})]}function j(e){var t=p(e).toHsl(),n=t.h;return[p(e),p({h:(n+90)%360,s:t.s,l:t.l}),p({h:(n+180)%360,s:t.s,l:t.l}),p({h:(n+270)%360,s:t.s,l:t.l})]}function C(e){var t=p(e).toHsl(),n=t.h;return[p(e),p({h:(n+72)%360,s:t.s,l:t.l}),p({h:(n+216)%360,s:t.s,l:t.l})]}function T(e,t,n){t=t||6,n=n||30;var r=p(e).toHsl(),o=360/n,i=[p(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(p(r));return i}function P(e,t){t=t||6;for(var n=p(e).toHsv(),r=n.h,o=n.s,i=n.v,s=[],a=1/t;t--;)s.push(p({h:r,s:o,v:i})),i=(i+a)%1;return s}p.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return m(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[R(c(e).toString(16)),R(c(t).toString(16)),R(c(n).toString(16)),R(U(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*D(this._r,255))+"%",g:c(100*D(this._g,255))+"%",b:c(100*D(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*D(this._r,255))+"%, "+c(100*D(this._g,255))+"%, "+c(100*D(this._b,255))+"%)":"rgba("+c(100*D(this._r,255))+"%, "+c(100*D(this._g,255))+"%, "+c(100*D(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[m(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=p(e);n="#"+v(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return p(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(O,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(T,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(j,arguments)}},p.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:L(e[r]));e=n}return p(e,t)},p.equals=function(e,t){return!(!e||!t)&&p(e).toRgbString()==p(t).toRgbString()},p.random=function(){return p.fromRatio({r:d(),g:d(),b:d()})},p.mix=function(e,t,n){n=0===n?0:n||50;var r=p(e).toRgb(),o=p(t).toRgb(),i=n/100;return p({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},p.readability=function(e,t){var n=p(e),r=p(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},p.isReadable=function(e,t,n){var r,o,i=p.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},p.mostReadable=function(e,t,n){var r,o,i,s,a=null,c=0;o=(n=n||{}).includeFallbackColors,i=n.level,s=n.size;for(var l=0;l<t.length;l++)(r=p.readability(e,t[l]))>c&&(c=r,a=p(t[l]));return p.isReadable(e,a,{level:i,size:s})||!o?a:(n.includeFallbackColors=!1,p.mostReadable(e,["#fff","#000"],n))};var B=p.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},x=p.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(B);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function D(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function A(e){return l(1,u(0,e))}function N(e){return parseInt(e,16)}function R(e){return 1==e.length?"0"+e:""+e}function L(e){return e<=1&&(e=100*e+"%"),e}function U(e){return o.round(255*parseFloat(e)).toString(16)}function M(e){return N(e)/255}var F,H,V,K=(H="[\\s|\\(]+("+(F="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",V="[\\s|\\(]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",{CSS_UNIT:new RegExp(F),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+V),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(e){return!!K.CSS_UNIT.exec(e)}void 0!==e&&e.exports?e.exports=p:void 0===(r=function(){return p}.call(t,n,t,e))||(e.exports=r)}(Math)},,,function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(s(e),function(s){var a=encodeURIComponent(r(s))+n;return o(e[s])?i(e[s],function(e){return a+encodeURIComponent(r(e))}).join(t):a+encodeURIComponent(r(e[s]))}).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var s=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var l=e.length;c>0&&l>c&&(l=c);for(var u=0;u<l;++u){var d,p,f,h,m=e[u].replace(a,"%20"),v=m.indexOf(n);v>=0?(d=m.substr(0,v),p=m.substr(v+1)):(d=m,p=""),f=decodeURIComponent(d),h=decodeURIComponent(p),r(s,f)?o(s[f])?s[f].push(h):s[f]=[s[f],h]:s[f]=h}return s};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){"object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType;var s="object"==typeof r&&r;s.global!==s&&s.window!==s&&s.self;var a,c=2147483647,l=36,u=1,d=26,p=38,f=700,h=72,m=128,v="-",b=/^xn--/,g=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=l-u,O=Math.floor,w=String.fromCharCode;function S(e){throw new RangeError(k[e])}function E(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function j(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+E((e=e.replace(y,".")).split("."),t).join(".")}function C(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function T(e){return E(e,function(e){var t="";return e>65535&&(t+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function P(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function B(e,t,n){var r=0;for(e=n?O(e/f):e>>1,e+=O(e/t);e>_*d>>1;r+=l)e=O(e/_);return O(r+(_+1)*e/(e+p))}function x(e){var t,n,r,o,i,s,a,p,f,b,g,y=[],k=e.length,_=0,w=m,E=h;for((n=e.lastIndexOf(v))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&S("not-basic"),y.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<k;){for(i=_,s=1,a=l;o>=k&&S("invalid-input"),((p=(g=e.charCodeAt(o++))-48<10?g-22:g-65<26?g-65:g-97<26?g-97:l)>=l||p>O((c-_)/s))&&S("overflow"),_+=p*s,!(p<(f=a<=E?u:a>=E+d?d:a-E));a+=l)s>O(c/(b=l-f))&&S("overflow"),s*=b;E=B(_-i,t=y.length+1,0==i),O(_/t)>c-w&&S("overflow"),w+=O(_/t),_%=t,y.splice(_++,0,w)}return T(y)}function I(e){var t,n,r,o,i,s,a,p,f,b,g,y,k,_,E,j=[];for(y=(e=C(e)).length,t=m,n=0,i=h,s=0;s<y;++s)(g=e[s])<128&&j.push(w(g));for(r=o=j.length,o&&j.push(v);r<y;){for(a=c,s=0;s<y;++s)(g=e[s])>=t&&g<a&&(a=g);for(a-t>O((c-n)/(k=r+1))&&S("overflow"),n+=(a-t)*k,t=a,s=0;s<y;++s)if((g=e[s])<t&&++n>c&&S("overflow"),g==t){for(p=n,f=l;!(p<(b=f<=i?u:f>=i+d?d:f-i));f+=l)E=p-b,_=l-b,j.push(w(P(b+E%_,0))),p=O(E/_);j.push(w(P(p,0))),i=B(n,k,r==o),n=0,++r}++n,++t}return j.join("")}a={version:"1.4.1",ucs2:{decode:C,encode:T},decode:x,encode:I,toASCII:function(e){return j(e,function(e){return g.test(e)?"xn--"+I(e):e})},toUnicode:function(e){return j(e,function(e){return b.test(e)?x(e.slice(4).toLowerCase()):e})}},void 0===(o=function(){return a}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(170)(e),n(140))},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function s(e){return i(e)}function a(e){return i(e,!0)}function c(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,s=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=s.clientLeft||i.clientLeft||0,top:r-=s.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=s(r),t.top+=a(r),t}var l=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="currentStyle",p="runtimeStyle",f="left",h="px";var m=void 0;function v(e,t){for(var n=0;n<e.length;n++)t(e[n])}function b(e){return"border-box"===m(e,"boxSizing")}"undefined"!=typeof window&&(m=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e[d]&&e[d][t];if(l.test(n)&&!u.test(t)){var r=e.style,o=r[f],i=e[p][f];e[p][f]=e[d][f],r[f]="fontSize"===t?"1em":n||0,n=r.pixelLeft+h,r[f]=o,e[p][f]=i}return""===n?"auto":n});var g=["margin","border","padding"],y=-1,k=2,_=1;function O(e,t,n){var r=0,o=void 0,i=void 0,s=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(s=0;s<n.length;s++){var a=void 0;a="border"===o?o+n[s]+"Width":o+n[s],r+=parseFloat(m(e,a))||0}return r}function w(e){return null!=e&&e==e.window}var S={};function E(e,t,n){if(w(e))return"width"===t?S.viewportWidth(e):S.viewportHeight(e);if(9===e.nodeType)return"width"===t?S.docWidth(e):S.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(m(e),b(e)),s=0;(null==o||o<=0)&&(o=void 0,(null==(s=m(e,t))||Number(s)<0)&&(s=e.style[t]||0),s=parseFloat(s)||0),void 0===n&&(n=i?_:y);var a=void 0!==o||i,c=o||s;if(n===y)return a?c-O(e,["border","padding"],r):s;if(a){var l=n===k?-O(e,["border"],r):O(e,["margin"],r);return c+(n===_?0:l)}return s+O(e,g.slice(n),r)}v(["Width","Height"],function(e){S["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],S["viewport"+e](n))},S["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}});var j={position:"absolute",visibility:"hidden",display:"block"};function C(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=E.apply(void 0,n):function(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}(e,j,function(){t=E.apply(void 0,n)}),t}function T(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):m(e,t);for(var i in t)t.hasOwnProperty(i)&&T(e,i,t[i])}v(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);S["outer"+t]=function(t,n){return t&&C(t,e,n?0:_)};var n="width"===e?["Left","Right"]:["Top","Bottom"];S[e]=function(t,r){if(void 0===r)return t&&C(t,e,y);if(t){m(t);return b(t)&&(r+=O(t,["padding","border"],n)),T(t,e,r)}}}),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return c(e);!function(e,t){"static"===T(e,"position")&&(e.style.position="relative");var n=c(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(T(e,i))||0,r[i]=o+t[i]-n[i]);T(e,r)}(e,t)},isWindow:w,each:v,css:T,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(w(e)){if(void 0===t)return s(e);window.scrollTo(t,a(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(w(e)){if(void 0===t)return a(e);window.scrollTo(s(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},S)},function(e,t,n){"use strict";var r=n(209);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,s=n.alignWithTop,a=n.alignWithLeft,c=n.offsetTop||0,l=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var p=r.isWindow(t),f=r.offset(e),h=r.outerHeight(e),m=r.outerWidth(e),v=void 0,b=void 0,g=void 0,y=void 0,k=void 0,_=void 0,O=void 0,w=void 0,S=void 0,E=void 0;p?(O=t,E=r.height(O),S=r.width(O),w={left:r.scrollLeft(O),top:r.scrollTop(O)},k={left:f.left-w.left-l,top:f.top-w.top-c},_={left:f.left+m-(w.left+S)+d,top:f.top+h-(w.top+E)+u},y=w):(v=r.offset(t),b=t.clientHeight,g=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},k={left:f.left-(v.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-l,top:f.top-(v.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-c},_={left:f.left+m-(v.left+g+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:f.top+h-(v.top+b+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),k.top<0||_.top>0?!0===s?r.scrollTop(t,y.top+k.top):!1===s?r.scrollTop(t,y.top+_.top):k.top<0?r.scrollTop(t,y.top+k.top):r.scrollTop(t,y.top+_.top):i||((s=void 0===s||!!s)?r.scrollTop(t,y.top+k.top):r.scrollTop(t,y.top+_.top)),o&&(k.left<0||_.left>0?!0===a?r.scrollLeft(t,y.left+k.left):!1===a?r.scrollLeft(t,y.left+_.left):k.left<0?r.scrollLeft(t,y.left+k.left):r.scrollLeft(t,y.left+_.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,y.left+k.left):r.scrollLeft(t,y.left+_.left)))}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(181),o=n(180),i=n(211);e.exports=function(){function e(e,t,n,r,s,a){a!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(40),o=n(37);n(103)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){n(232),e.exports=n(15).Object.keys},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]}},function(e,t,n){(function(t){var n,r=t.crypto||t.msCrypto;if(r&&r.getRandomValues){var o=new Uint8Array(16);n=function(){return r.getRandomValues(o),o}}if(!n){var i=new Array(16);n=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}e.exports=n}).call(this,n(140))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return Array.isArray(n)?n.filter(Boolean).map(t):e(n)}}}},,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r={};n.d(r,"POST_UPDATE_TRANSACTION_ID",function(){return xi}),n.d(r,"hasEditorUndo",function(){return Ai}),n.d(r,"hasEditorRedo",function(){return Ni}),n.d(r,"isEditedPostNew",function(){return Ri}),n.d(r,"isEditedPostDirty",function(){return Li}),n.d(r,"isCleanNewPost",function(){return Ui}),n.d(r,"getCurrentPost",function(){return Mi}),n.d(r,"getCurrentPostType",function(){return Fi}),n.d(r,"getCurrentPostId",function(){return Hi}),n.d(r,"getCurrentPostRevisionsCount",function(){return Vi}),n.d(r,"getCurrentPostLastRevisionId",function(){return Ki}),n.d(r,"getPostEdits",function(){return Wi}),n.d(r,"getEditedPostAttribute",function(){return zi}),n.d(r,"getEditedPostVisibility",function(){return qi}),n.d(r,"isCurrentPostPending",function(){return Gi}),n.d(r,"isCurrentPostPublished",function(){return Yi}),n.d(r,"isCurrentPostScheduled",function(){return Xi}),n.d(r,"isEditedPostPublishable",function(){return $i}),n.d(r,"isEditedPostSaveable",function(){return Ji}),n.d(r,"isEditedPostEmpty",function(){return Qi}),n.d(r,"isEditedPostBeingScheduled",function(){return Zi}),n.d(r,"getDocumentTitle",function(){return es}),n.d(r,"getEditedPostExcerpt",function(){return ts}),n.d(r,"getEditedPostPreviewLink",function(){return ns}),n.d(r,"getBlockDependantsCacheBust",function(){return rs}),n.d(r,"getBlockName",function(){return os}),n.d(r,"getBlock",function(){return is}),n.d(r,"getBlocks",function(){return ss}),n.d(r,"getGlobalBlockCount",function(){return as}),n.d(r,"getBlocksByUID",function(){return cs}),n.d(r,"getBlockCount",function(){return ls}),n.d(r,"getBlockSelectionStart",function(){return us}),n.d(r,"getBlockSelectionEnd",function(){return ds}),n.d(r,"getSelectedBlockCount",function(){return ps}),n.d(r,"hasSelectedBlock",function(){return fs}),n.d(r,"getSelectedBlockUID",function(){return hs}),n.d(r,"getSelectedBlock",function(){return ms}),n.d(r,"getBlockRootUID",function(){return vs}),n.d(r,"getAdjacentBlockUid",function(){return bs}),n.d(r,"getPreviousBlockUid",function(){return gs}),n.d(r,"getNextBlockUid",function(){return ys}),n.d(r,"getSelectedBlocksInitialCaretPosition",function(){return ks}),n.d(r,"getMultiSelectedBlockUids",function(){return _s}),n.d(r,"getMultiSelectedBlocks",function(){return Os}),n.d(r,"getFirstMultiSelectedBlockUid",function(){return ws}),n.d(r,"getLastMultiSelectedBlockUid",function(){return Ss}),n.d(r,"isFirstMultiSelectedBlock",function(){return Es}),n.d(r,"isBlockMultiSelected",function(){return js}),n.d(r,"getMultiSelectedBlocksStartUid",function(){return Cs}),n.d(r,"getMultiSelectedBlocksEndUid",function(){return Ts}),n.d(r,"getBlockOrder",function(){return Ps}),n.d(r,"getBlockIndex",function(){return Bs}),n.d(r,"isBlockSelected",function(){return xs}),n.d(r,"isBlockWithinSelection",function(){return Is}),n.d(r,"hasMultiSelection",function(){return Ds}),n.d(r,"isMultiSelecting",function(){return As}),n.d(r,"isSelectionEnabled",function(){return Ns}),n.d(r,"getBlockMode",function(){return Rs}),n.d(r,"isTyping",function(){return Ls}),n.d(r,"getBlockInsertionPoint",function(){return Us}),n.d(r,"isBlockInsertionPointVisible",function(){return Ms}),n.d(r,"isValidTemplate",function(){return Fs}),n.d(r,"getTemplate",function(){return Hs}),n.d(r,"getTemplateLock",function(){return Vs}),n.d(r,"isSavingPost",function(){return Ks}),n.d(r,"didPostSaveRequestSucceed",function(){return Ws}),n.d(r,"didPostSaveRequestFail",function(){return zs}),n.d(r,"getSuggestedPostFormat",function(){return qs}),n.d(r,"getEditedPostContent",function(){return Gs}),n.d(r,"getNotices",function(){return Ys}),n.d(r,"getInserterItems",function(){return Js}),n.d(r,"getFrecentInserterItems",function(){return Zs}),n.d(r,"getSharedBlock",function(){return ea}),n.d(r,"isSavingSharedBlock",function(){return ta}),n.d(r,"isFetchingSharedBlock",function(){return na}),n.d(r,"getSharedBlocks",function(){return ra}),n.d(r,"getStateBeforeOptimisticTransaction",function(){return oa}),n.d(r,"isPublishingPost",function(){return ia}),n.d(r,"getProvisionalBlockUID",function(){return sa}),n.d(r,"isPermalinkEditable",function(){return aa}),n.d(r,"getPermalink",function(){return ca}),n.d(r,"getPermalinkParts",function(){return la}),n.d(r,"inSomeHistory",function(){return ua}),n.d(r,"getBlockListSettings",function(){return da}),n.d(r,"getSupportedBlocks",function(){return pa}),n.d(r,"getEditorSettings",function(){return fa});var o={};n.d(o,"setupEditor",function(){return cc}),n.d(o,"resetPost",function(){return lc}),n.d(o,"setupEditorState",function(){return uc}),n.d(o,"resetBlocks",function(){return dc}),n.d(o,"receiveBlocks",function(){return pc}),n.d(o,"updateBlockAttributes",function(){return fc}),n.d(o,"updateBlock",function(){return hc}),n.d(o,"selectBlock",function(){return mc}),n.d(o,"startMultiSelect",function(){return vc}),n.d(o,"stopMultiSelect",function(){return bc}),n.d(o,"multiSelect",function(){return gc}),n.d(o,"clearSelectedBlock",function(){return yc}),n.d(o,"toggleSelection",function(){return kc}),n.d(o,"replaceBlocks",function(){return _c}),n.d(o,"replaceBlock",function(){return Oc}),n.d(o,"moveBlocksDown",function(){return Sc}),n.d(o,"moveBlocksUp",function(){return Ec}),n.d(o,"moveBlockToPosition",function(){return jc}),n.d(o,"insertBlock",function(){return Cc}),n.d(o,"insertBlocks",function(){return Tc}),n.d(o,"showInsertionPoint",function(){return Pc}),n.d(o,"hideInsertionPoint",function(){return Bc}),n.d(o,"setTemplateValidity",function(){return xc}),n.d(o,"checkTemplateValidity",function(){return Ic}),n.d(o,"synchronizeTemplate",function(){return Dc}),n.d(o,"editPost",function(){return Ac}),n.d(o,"savePost",function(){return Nc}),n.d(o,"refreshPost",function(){return Rc}),n.d(o,"trashPost",function(){return Lc}),n.d(o,"mergeBlocks",function(){return Uc}),n.d(o,"autosave",function(){return Mc}),n.d(o,"redo",function(){return Fc}),n.d(o,"undo",function(){return Hc}),n.d(o,"createUndoLevel",function(){return Vc}),n.d(o,"removeBlocks",function(){return Kc}),n.d(o,"removeBlock",function(){return Wc}),n.d(o,"toggleBlockMode",function(){return zc}),n.d(o,"startTyping",function(){return qc}),n.d(o,"stopTyping",function(){return Gc}),n.d(o,"createNotice",function(){return Yc}),n.d(o,"removeNotice",function(){return Xc}),n.d(o,"createSuccessNotice",function(){return $c}),n.d(o,"createInfoNotice",function(){return Jc}),n.d(o,"createErrorNotice",function(){return Qc}),n.d(o,"createWarningNotice",function(){return Zc}),n.d(o,"fetchSharedBlocks",function(){return el}),n.d(o,"receiveSharedBlocks",function(){return tl}),n.d(o,"saveSharedBlock",function(){return nl}),n.d(o,"deleteSharedBlock",function(){return rl}),n.d(o,"updateSharedBlockTitle",function(){return ol}),n.d(o,"convertBlockToStatic",function(){return il}),n.d(o,"convertBlockToShared",function(){return sl}),n.d(o,"insertDefaultBlock",function(){return al}),n.d(o,"updateBlockListSettings",function(){return cl}),n.d(o,"updateEditorSettings",function(){return ll});var i=n(11),s=n.n(i),a=n(8),c=n.n(a),l=n(7),u=n.n(l),d=n(10),p=n.n(d),f=n(9),h=n.n(f),m=n(0),v=n(2),b=n(20),g=n(4),y=n(5),k=n.n(y),_=n(35),O=n(3),w=Object(v.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:m.noop}),S=w.Consumer,E=w.Provider,j=function(e){return Object(v.createHigherOrderComponent)(function(t){return function(n){return wp.element.createElement(S,null,function(r){return wp.element.createElement(t,k()({},n,e(r,n)))})}},"withBlockEditContext")},C=Object(v.createHigherOrderComponent)(function(e){return function(t){return wp.element.createElement(S,null,function(n){return n.isSelected&&wp.element.createElement(e,t)})}},"ifBlockEditSelected"),T=[];var P=Object(v.compose)([j(function(e){return{blockName:e.name}}),function(e){return function(t){function n(){c()(this,n);var e=p()(this,(n.__proto__||s()(n)).call(this));return e.state={completers:T},e.saveParentRef=e.saveParentRef.bind(e),e.onFocus=e.onFocus.bind(e),e}return h()(n,t),u()(n,[{key:"componentDidUpdate",value:function(){this.parentNode.contains(document.activeElement)&&this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"onFocus",value:function(){this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"hasStaleCompleters",value:function(){return!("lastFilteredCompletersProp"in this.state)||this.state.lastFilteredCompletersProp!==this.props.completers}},{key:"updateCompletersState",value:function(){var e=this.props,t=e.blockName,n=e.completers,r=n;Object(_.hasFilter)("blocks.Autocomplete.completers")&&(n=Object(_.applyFilters)("blocks.Autocomplete.completers",n&&n.map(m.clone),t)),this.setState({lastFilteredCompletersProp:r,completers:n||T})}},{key:"saveParentRef",value:function(e){this.parentNode=e}},{key:"render",value:function(){var t=this.state.completers,n=k()({},this.props,{completers:t});return wp.element.createElement("div",{onFocus:this.onFocus,ref:this.saveParentRef},wp.element.createElement(e,k()({onFocus:this.onFocus},n)))}}]),n}(v.Component)}])(O.Autocomplete),B=(n(603),n(19)),x=n.n(B),I=n(73),D=n.n(I),A=n(13);function N(e){var t=e.icon;return"string"==typeof t?wp.element.createElement(O.Dashicon,{icon:t}):"function"==typeof t?t.prototype instanceof v.Component?Object(v.createElement)(t):t():t||null}function R(e){return Object(m.filter)(e,function(e){return Object(A.hasBlockSupport)(e,"inserter",!0)})}function L(e){return Object(m.sortBy)(e,function(e){return"common"!==e.category})}var U={name:"blocks",className:"editor-autocompleters__block",triggerPrefix:"/",options:Object(m.once)(function(){return D.a.resolve(Object(m.flow)(R,L)(Object(A.getBlockTypes)()))}),getOptionKeywords:function(e){var t=e.title,n=e.keywords,r=void 0===n?[]:n;return[].concat(x()(r),[t])},getOptionLabel:function(e){var t=e.icon,n=e.title;return[wp.element.createElement(N,{key:"icon",icon:t}),n]},allowContext:function(e,t){return!(/\S/.test(e.toString())||/\S/.test(t.toString()))},getOptionCompletion:function(e){return{action:"replace",value:Object(A.createBlock)(e.name)}}},M={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options:function(e){var t="";return e&&(t="?search="+encodeURIComponent(e)),wp.apiRequest({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:function(e){return[e.slug,e.name]},getOptionLabel:function(e){return[wp.element.createElement("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}),wp.element.createElement("span",{key:"name",className:"editor-autocompleters__user-name"},e.name),wp.element.createElement("span",{key:"slug",className:"editor-autocompleters__user-slug"},e.slug)]},allowNode:function(){return!0},getOptionCompletion:function(e){return"@"+e.slug}},F=n(1),H=[{icon:"editor-alignleft",title:Object(F.__)("Align left"),align:"left"},{icon:"editor-aligncenter",title:Object(F.__)("Align center"),align:"center"},{icon:"editor-alignright",title:Object(F.__)("Align right"),align:"right"}];function V(e){var t=e.value,n=e.onChange;return wp.element.createElement(O.Toolbar,{controls:H.map(function(e){var r=e.align,o=t===r;return k()({},e,{isActive:o,onClick:function(e){return function(){return n(t===e?void 0:e)}}(r)})})})}var K={left:{icon:"align-left",title:Object(F.__)("Align left")},center:{icon:"align-center",title:Object(F.__)("Align center")},right:{icon:"align-right",title:Object(F.__)("Align right")},wide:{icon:"align-wide",title:Object(F.__)("Wide width")},full:{icon:"align-full-width",title:Object(F.__)("Full width")}},W=["left","center","right","wide","full"],z=["wide","full"];var q=Object(g.withSelect)(function(e){return{wideControlsEnabled:e("core/editor").getEditorSettings().alignWide}})(function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?W:r,i=e.wideControlsEnabled,s=void 0!==i&&i?o:o.filter(function(e){return-1===z.indexOf(e)});return wp.element.createElement(O.Toolbar,{controls:s.map(function(e){return k()({},K[e],{isActive:t===e,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r})})}),G=Object(O.createSlotFill)("BlockControls"),Y=G.Fill,X=G.Slot,$=C(function(e){var t=e.controls,n=e.children;return wp.element.createElement(Y,null,wp.element.createElement(O.Toolbar,{controls:t}),n)});$.Slot=X;var J=$,Q=n(16),Z=n.n(Q),ee=Object(O.withFilters)("blocks.BlockEdit")(function(e){var t=e.attributes,n=void 0===t?{}:t,r=e.name,o=Object(A.getBlockType)(r);if(!o)return null;var i=Object(A.hasBlockSupport)(o,"className",!0)?Object(A.getBlockDefaultClassName)(r):null,s=Z()(i,n.className),a=o.edit||o.save;return wp.element.createElement(a,k()({},e,{className:s}))}),te=function(e){function t(e){c()(this,t);var n=p()(this,(t.__proto__||s()(t)).call(this,e));return n.setFocusedElement=n.setFocusedElement.bind(n),n.state={focusedElement:null,setFocusedElement:n.setFocusedElement},n}return h()(t,e),u()(t,[{key:"getChildContext",value:function(){var e=this.props,t=e.id,n=e.user;return{BlockList:(0,e.createInnerBlockList)(t),canUserUseUnfilteredHTML:Object(m.get)(n.data,["capabilities","unfiltered_html"],!1)}}},{key:"setFocusedElement",value:function(e){this.setState(function(t){return t.focusedElement===e?null:{focusedElement:e}})}},{key:"render",value:function(){return wp.element.createElement(E,{value:this.state},wp.element.createElement(ee,this.props))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.name,r=e.isSelected;return n===t.name&&r===t.isSelected?null:k()({},t,{name:n,isSelected:r})}}]),t}(v.Component);te.childContextTypes={BlockList:m.noop,canUserUseUnfilteredHTML:m.noop};var ne=Object(v.compose)([Object(g.withSelect)(function(e){return{postType:e("core/editor").getEditedPostAttribute("type")}}),Object(O.withAPIData)(function(e){return{user:"/wp/v2/users/me?post_type="+e.postType+"&context=edit"}}),Object(O.withContext)("createInnerBlockList")()])(te),re=Object(O.createSlotFill)("BlockFormatControls"),oe=re.Fill,ie=re.Slot,se=C(oe);se.Slot=ie;var ae=se,ce=Object(v.createHigherOrderComponent)(Object(g.withSelect)(function(e){var t=e("core/editor").getEditorSettings(),n=t.colors,r=t.disableCustomColors;return{colors:n,disableCustomColors:r,hasColorsToChoose:!Object(m.isEmpty)(n)||!r}}),"withColorContext"),le=ce(O.ColorPalette),ue=n(21),de=n.n(ue),pe=function(e,t){var n=Object(m.find)(e,{color:t});return n?n.name:void 0};function fe(e,t){if(e&&t)return"has-"+Object(m.kebabCase)(t)+"-"+e}var he=n(117),me=n.n(he),ve=[],be=function(e){return Object(v.createHigherOrderComponent)(Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor").getEditorSettings();return{colors:Object(m.get)(t,["colors"],ve)}}),function(t){return function(n){function r(){c()(this,r);var e=p()(this,(r.__proto__||s()(r)).apply(this,arguments));return e.memoizedGetColor=me()(e.memoizedGetColor,{maxSize:1}),e.memoizedSetColor=me()(e.memoizedSetColor,{maxSize:1}),e}return h()(r,n),u()(r,[{key:"memoizedGetColor",value:function(e){return me()(function(t,n,r){return{name:t,class:fe(r,t),value:function(e,t,n){if(t){var r=Object(m.find)(e,{name:t});return r&&r.color}if(n)return n}(e,t,n)}})}},{key:"memoizedSetColor",value:function(e,t){return me()(function(n,r){return function(e,t,n,r){return function(o){var i,s=Object(m.find)(e,{color:o});r((i={},de()(i,t,s&&s.name?s.name:void 0),de()(i,n,s&&s.name?void 0:o),i))}}(t,n,r,e)})}},{key:"render",value:function(){return wp.element.createElement(t,k()({},this.props,{colors:void 0},e(this.memoizedGetColor(this.props.colors),this.memoizedSetColor(this.props.setAttributes,this.props.colors),this.props)))}}]),r}(v.Component)}]),"withColors")},ge=n(202),ye=n.n(ge);n(602);var ke=function(e){var t=e.backgroundColor,n=e.textColor,r=e.isLargeText,o=e.fallbackBackgroundColor,i=e.fallbackTextColor;if(!t&&!o||!n&&!i)return null;var s=ye()(t||o),a=ye()(n||i);if(1!==s.getAlpha()||1!==a.getAlpha()||ye.a.isReadable(s,a,{level:"AA",size:r?"large":"small"}))return null;var c=s.getBrightness()<a.getBrightness()?Object(F.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(F.__)("This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.");return wp.element.createElement("div",{className:"editor-contrast-checker"},wp.element.createElement(O.Notice,{status:"warning",isDismissible:!1},c))},_e=n(46),Oe=n.n(_e);function we(e,t,n){var r=Object(g.select)("core/editor").getCurrentPostId();Object(b.mediaUpload)(e,t,n,{post:r})}var Se=Object(O.withFilters)("blocks.MediaUpload")(function(){return null});function Ee(e){var t=e.className,n=e.icon,r=e.label,o=e.onSelectImage,i=e.multiple,s=void 0!==i&&i,a=s?o:function(e){var t=Oe()(e,1)[0];return o(t)};return wp.element.createElement(O.Placeholder,{className:t,instructions:s?Object(F.__)("Drag images here or add from media library"):Object(F.__)("Drag image here or add from media library"),icon:n,label:r},wp.element.createElement(O.DropZone,{onFilesDrop:function(e){return we(e,a,"image")},onHTMLDrop:function(e){return a(Object(m.map)(Object(A.rawHandler)({HTML:e,mode:"BLOCKS"}).filter(function(e){return"core/image"===e.name}),"attributes"))}}),wp.element.createElement(O.FormFileUpload,{multiple:s,isLarge:!0,className:"wp-block-image__upload-button",onChange:function(e){return we(e.target.files,a,"image")},accept:"image/*"},Object(F.__)("Upload")),wp.element.createElement(Se,{gallery:s,multiple:s,onSelect:o,type:"image",render:function(e){var t=e.open;return wp.element.createElement(O.Button,{isLarge:!0,onClick:t},Object(F.__)("Media Library"))}}))}function je(e){var t=e.BlockList,n=e.layouts,r=e.allowedBlocks,o=e.template;return wp.element.createElement(t,{layouts:n,allowedBlocks:r,template:o})}(je=Object(O.withContext)("BlockList")()(je)).Content=function(e){var t=e.BlockContent;return wp.element.createElement(t,null)},je.Content=Object(O.withContext)("BlockContent")()(je.Content);var Ce=je,Te=Object(O.createSlotFill)("InspectorAdvancedControls"),Pe=Te.Fill,Be=Te.Slot,xe=C(Pe);xe.Slot=Be;var Ie=xe,De=Object(O.createSlotFill)("InspectorControls"),Ae=De.Fill,Ne=De.Slot,Re=C(Ae);Re.Slot=Ne;var Le=Re,Ue=n(27),Me=n.n(Ue);var Fe=Object(v.compose)([ce,Object(O.ifCondition)(function(e){return e.hasColorsToChoose})])(function(e){var t=e.colors,n=e.title,r=e.colorValue,o=e.initialOpen,i=Me()(e,["colors","title","colorValue","initialOpen"]),s=pe(t,r);return wp.element.createElement(O.PanelColor,{title:n,colorName:s,colorValue:r,initialOpen:o},wp.element.createElement(le,k()({value:r},Object(m.omit)(i,["disableCustomColors"]))))}),He=n(168),Ve=n.n(He);n(601);var Ke=function(e){var t=e.onChange,n=e.className,r=Me()(e,["onChange","className"]);return wp.element.createElement(Ve.a,k()({className:Z()("editor-plain-text",n),onChange:function(e){return t(e.target.value)}},r))},We=n(61),ze=n.n(We),qe=(n(171),n(32)),Ge=(n(600),n(176)),Ye=n(141),Xe=/^(mailto:)?[a-z0-9._%+-]+@[a-z0-9][a-z0-9.-]*\.[a-z]{2,63}$/i,$e=/^(?:[a-z]+:|#|\?|\.|\/)/i;function Je(e,t){var n=Object(Ge.parse)(e,!0),r=k()({},n.query,t);return delete n.search,Object(Ge.format)(k()({},n,{query:r}))}n(599);var Qe=n(173),Ze=n.n(Qe),et=n(167),tt=b.keycodes.UP,nt=b.keycodes.DOWN,rt=b.keycodes.ENTER,ot=function(e){return e.stopPropagation()},it=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onChange=e.onChange.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.bindListNode=e.bindListNode.bind(e),e.updateSuggestions=Object(m.throttle)(e.updateSuggestions.bind(e),200),e.suggestionNodes=[],e.state={posts:[],showSuggestions:!1,selectedSuggestion:null},e}return h()(t,e),u()(t,[{key:"bindListNode",value:function(e){this.listNode=e}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this;this.suggestionsRequest&&this.suggestionsRequest.abort(),e.length<2||/^https?:/.test(e)?this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1}):(this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0}),this.suggestionsRequest=wp.apiRequest({path:"/wp/v2/posts?"+Object(et.stringify)({search:e,per_page:20,orderby:"relevance"})}),this.suggestionsRequest.then(function(e){t.setState({posts:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(F.sprintf)(Object(F._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(Object(F.__)("No results."),"assertive")},function(e){"abort"!==e.statusText&&t.setState({loading:!1})}))}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.posts,i=t.loading;if(n&&o.length&&!i)switch(e.keyCode){case tt:e.stopPropagation(),e.preventDefault();var s=r?r-1:o.length-1;this.setState({selectedSuggestion:s});break;case nt:e.stopPropagation(),e.preventDefault();var a=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:a});break;case rt:if(this.state.selectedSuggestion){e.stopPropagation();var c=this.state.posts[this.state.selectedSuggestion];this.selectLink(c.link)}}}},{key:"selectLink",value:function(e){this.props.onChange(e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"componentWillUnmount",value:function(){this.suggestionsRequest&&this.suggestionsRequest.abort()}},{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,Ze()(this.suggestionNodes[r],this.listNode,{onlyScrollIfNeeded:!0}),setTimeout(function(){e.scrollingIntoView=!1},100))}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=void 0===n?"":n,o=t.autoFocus,i=void 0===o||o,s=t.instanceId,a=this.state,c=a.showSuggestions,l=a.posts,u=a.selectedSuggestion,d=a.loading;return wp.element.createElement("div",{className:"editor-url-input"},wp.element.createElement("input",{autoFocus:i,type:"text","aria-label":Object(F.__)("URL"),required:!0,value:r,onChange:this.onChange,onInput:ot,placeholder:Object(F.__)("Paste URL or type"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":c,"aria-autocomplete":"list","aria-owns":"editor-url-input-suggestions-"+s,"aria-activedescendant":null!==u?"editor-url-input-suggestion-"+s+"-"+u:void 0}),d&&wp.element.createElement(O.Spinner,null),c&&!!l.length&&wp.element.createElement("div",{id:"editor-url-input-suggestions-"+s,tabIndex:"-1",className:"editor-url-input__suggestions",ref:this.bindListNode,role:"listbox"},l.map(function(t,n){return wp.element.createElement("button",{key:t.id,role:"option",tabIndex:"-1",id:"editor-url-input-suggestion-"+s+"-"+n,ref:e.bindSuggestionNode(n),className:Z()("editor-url-input__suggestion",{"is-selected":n===u}),onClick:function(){return e.selectLink(t.link)},"aria-selected":n===u},Object(b.decodeEntities)(t.title.rendered)||Object(F.__)("(no title)"))})))}}]),t}(v.Component),st=Object(O.withSpokenMessages)(Object(O.withInstanceId)(it));function at(e,t){return Je(e,t)}var ct=b.keycodes.ESCAPE,lt=b.keycodes.LEFT,ut=b.keycodes.RIGHT,dt=b.keycodes.UP,pt=b.keycodes.DOWN,ft=b.keycodes.BACKSPACE,ht=b.keycodes.ENTER,mt=b.keycodes.displayShortcut,vt=[{icon:"editor-bold",title:Object(F.__)("Bold"),shortcut:mt.primary("b"),format:"bold"},{icon:"editor-italic",title:Object(F.__)("Italic"),shortcut:mt.primary("i"),format:"italic"},{icon:"editor-strikethrough",title:Object(F.__)("Strikethrough"),shortcut:mt.access("d"),format:"strikethrough"},{icon:"admin-links",title:Object(F.__)("Link"),shortcut:mt.primary("k"),format:"link"}],bt=["bold","italic","strikethrough","link"],gt=function(e){return e.stopPropagation()},yt=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={settingsVisible:!1,opensInNewWindow:!1,linkValue:""},e.addLink=e.addLink.bind(e),e.editLink=e.editLink.bind(e),e.dropLink=e.dropLink.bind(e),e.submitLink=e.submitLink.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.onChangeLinkValue=e.onChangeLinkValue.bind(e),e.toggleLinkSettingsVisibility=e.toggleLinkSettingsVisibility.bind(e),e.setLinkTarget=e.setLinkTarget.bind(e),e}return h()(t,e),u()(t,[{key:"onKeyDown",value:function(e){if(e.keyCode===ct){var t=this.props.formats.link;t&&t.isAdding&&(e.stopPropagation(),t.value?this.props.onChange({link:k()({},t,{isAdding:!1})}):this.dropLink())}[lt,pt,ut,dt,ft,ht].indexOf(e.keyCode)>-1&&gt(e)}},{key:"componentWillReceiveProps",value:function(e){this.props.selectedNodeId!==e.selectedNodeId&&this.setState({settingsVisible:!1,opensInNewWindow:!!e.formats.link&&!!e.formats.link.target,linkValue:""})}},{key:"onChangeLinkValue",value:function(e){this.setState({linkValue:e})}},{key:"toggleFormat",value:function(e){var t=this;return function(){t.props.onChange(de()({},e,!t.props.formats[e]))}}},{key:"toggleLinkSettingsVisibility",value:function(){this.setState(function(e){return{settingsVisible:!e.settingsVisible}})}},{key:"setLinkTarget",value:function(e){this.setState({opensInNewWindow:e}),this.props.formats.link&&this.props.onChange({link:{value:this.props.formats.link.value,target:e?"_blank":null,rel:e?"noreferrer noopener":null}})}},{key:"addLink",value:function(){this.setState({linkValue:""}),this.props.onChange({link:{isAdding:!0}})}},{key:"dropLink",value:function(){this.props.onChange({link:void 0}),this.setState({linkValue:""})}},{key:"editLink",value:function(e){e.preventDefault(),this.props.onChange({link:k()({},this.props.formats.link,{isAdding:!0})}),this.setState({linkValue:this.props.formats.link.value})}},{key:"submitLink",value:function(e){e.preventDefault();var t,n=(t=this.state.linkValue,$e.test(t)||Xe.test(t)?t:"http://"+t);this.props.onChange({link:{isAdding:!1,target:this.state.opensInNewWindow?"_blank":null,rel:this.state.opensInNewWindow?"noreferrer noopener":null,value:n}}),this.setState({linkValue:n}),this.props.formats.link.value||this.props.speak(Object(F.__)("Link added."),"assertive")}},{key:"isFormatActive",value:function(e){return this.props.formats[e]&&this.props.formats[e].isActive}},{key:"render",value:function(){var e,t,n=this,r=this.props,o=r.formats,i=r.focusPosition,s=r.enabledControls,a=void 0===s?bt:s,c=r.customControls,l=void 0===c?[]:c,u=this.state,d=u.linkValue,p=u.settingsVisible,f=u.opensInNewWindow,h=o.link&&o.link.isAdding,m=vt.concat(l).filter(function(e){return-1!==a.indexOf(e.format)}).map(function(e){if("link"===e.format){var t=n.isFormatActive("link"),r=t||h;return k()({},e,{icon:t?"editor-unlink":"admin-links",title:t?Object(F.__)("Unlink"):Object(F.__)("Link"),onClick:r?n.dropLink:n.addLink,isActive:r})}return k()({},e,{onClick:n.toggleFormat(e.format),isActive:n.isFormatActive(e.format)})}),v=p&&wp.element.createElement("div",{className:"editor-format-toolbar__link-modal-line editor-format-toolbar__link-settings"},wp.element.createElement(O.ToggleControl,{label:Object(F.__)("Open in new window"),checked:f,onChange:this.setLinkTarget}));return wp.element.createElement("div",{className:"editor-format-toolbar"},wp.element.createElement(O.Toolbar,{controls:m}),(h||o.link)&&wp.element.createElement(O.Fill,{name:"RichText.Siblings"},wp.element.createElement("div",{className:"editor-format-toolbar__link-container",style:k()({},i)},h&&wp.element.createElement("form",{className:"editor-format-toolbar__link-modal",onKeyPress:gt,onKeyDown:this.onKeyDown,onSubmit:this.submitLink},wp.element.createElement("div",{className:"editor-format-toolbar__link-modal-line"},wp.element.createElement(st,{value:d,onChange:this.onChangeLinkValue}),wp.element.createElement(O.IconButton,{icon:"editor-break",label:Object(F.__)("Apply"),type:"submit"}),wp.element.createElement(O.IconButton,{className:"editor-format-toolbar__link-settings-toggle",icon:"ellipsis",label:Object(F.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":p})),v),o.link&&!h&&wp.element.createElement("div",{className:"editor-format-toolbar__link-modal",onKeyPress:gt},wp.element.createElement("div",{className:"editor-format-toolbar__link-modal-line"},wp.element.createElement("a",{className:"editor-format-toolbar__link-value",href:o.link.value,target:"_blank"},o.link.value&&(e=decodeURI(o.link.value),(t=e.replace(new RegExp("^https?://(www.)?"),"")).match("^[^/]+/$")?t.replace("/",""):t)),wp.element.createElement(O.IconButton,{icon:"edit",label:Object(F.__)("Edit"),onClick:this.editLink}),wp.element.createElement(O.IconButton,{className:"editor-format-toolbar__link-settings-toggle",icon:"ellipsis",label:Object(F.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":p})),v))))}}]),t}(v.Component),kt=Object(O.withSpokenMessages)(yt),_t=n(75),Ot=n.n(_t),wt=n(158),St=n.n(wt),Et=function(e){return Object(m.pickBy)(e,function(e,t){return n=t,Object(m.startsWith)(n,"aria-")&&!Object(m.isNil)(e);var n})},jt=n(177);function Ct(e,t){switch(t){case"string":return e||"";default:return function(e){return Object(v.renderToString)(e)}(e)}}function Tt(e,t){if("all"===t["data-mce-bogus"])return null;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.hasOwnProperty("data-mce-bogus")?r:v.createElement.apply(void 0,[e,Object(m.omitBy)(t,function(e,t){return 0===t.indexOf("data-mce-")})].concat(r))}function Pt(e,t,n){switch(t){case"string":return function(e,t){var n=document.implementation.createHTMLDocument("");return ze()(e).forEach(function(e){n.body.appendChild(e)}),t?t.serializer.serialize(n.body):n.body.innerHTML}(e,n);default:return function(e){return Object(jt.nodeListToReact)(e||[],Tt)}(e)}}var Bt=function(e){function t(){return c()(this,t),p()(this,(t.__proto__||s()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.initialize()}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"configureIsPlaceholderVisible",value:function(e){var t=String(!!e);this.editorNode.getAttribute("data-is-placeholder-visible")!==t&&this.editorNode.setAttribute("data-is-placeholder-visible",t)}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.configureIsPlaceholderVisible(e.isPlaceholderVisible),Object(m.isEqual)(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),Ot()(this.editorNode.style,e.style)),Object(m.isEqual)(this.props.className,e.className)||(this.editorNode.className=Z()(e.className,"editor-rich-text__tinymce"));var n=function(e,t){var n=Object(m.keys)(Et(e)),r=Object(m.keys)(Et(t));return{removedKeys:Object(m.difference)(n,r),updatedKeys:r.filter(function(n){return!Object(m.isEqual)(e[n],t[n])})}}(this.props,e),r=n.removedKeys,o=n.updatedKeys;r.forEach(function(e){return t.editorNode.removeAttribute(e)}),o.forEach(function(n){return t.editorNode.setAttribute(n,e[n])})}},{key:"componentWillUnmount",value:function(){this.editor&&(this.editor.container=document.createDocumentFragment(),this.editor.destroy(),delete this.editor)}},{key:"initialize",value:function(){var e=this,t=this.props.getSettings({theme:!1,inline:!0,toolbar:!1,browser_spellcheck:!0,entity_encoding:"raw",convert_urls:!1,inline_boundaries_selector:"a[href],code,b,i,strong,em,del,ins,sup,sub",plugins:[],formats:{strikethrough:{inline:"del"}}});t.plugins.push("paste"),St.a.init(k()({},t,{target:this.editorNode,setup:function(t){e.editor=t,e.props.onSetup(t)}}))}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.tagName,o=void 0===r?"div":r,i=n.style,s=n.defaultValue,a=n.className,c=n.isPlaceholderVisible,l=n.format,u=Et(this.props);return-1===["ul","ol","table"].indexOf(o)&&(u.role="textbox"),Object(v.createElement)(o,k()({},u,(e={className:Z()(a,"editor-rich-text__tinymce"),contentEditable:!0},de()(e,"data-is-placeholder-visible",c),de()(e,"ref",function(e){return t.editorNode=e}),de()(e,"style",i),de()(e,"suppressContentEditableWarning",!0),de()(e,"dangerouslySetInnerHTML",{__html:Ct(s,l)}),e)))}}]),t}(v.Component),xt=b.keycodes.ESCAPE,It=b.keycodes.ENTER,Dt=b.keycodes.SPACE,At=b.keycodes.BACKSPACE,Nt=function(e){var t=this.getContent.bind(this),n=this.props,r=n.setTimeout,o=n.onReplace,i=St.a.util.VK,s=e.settings.wptextpattern||{},a=Object(m.groupBy)(Object(m.filter)(Object(A.getBlockTransforms)("from"),{type:"pattern"}),"trigger"),c=a.enter,l=a.undefined,u=s.inline||[{delimiter:"`",format:"code"}],d=void 0;function p(){var t=e.selection.getRng(),n=t.startContainer,o=t.startOffset;if(n&&3===n.nodeType&&n.data.length&&o){var i=n.data.slice(0,o),s=n.data.charAt(o-1),a=u.reduce(function(e,t){if(e.result)return e;if(s!==t.delimiter.slice(-1))return e;var n=Object(m.escapeRegExp)(t.delimiter),r=new RegExp("(.*)"+n+".+"+n+"$"),a=i.match(r);if(!a)return e;var c=a[1].length,l=o-t.delimiter.length,u=i.charAt(c-1),d=i.charAt(c+t.delimiter.length),p=t.delimiter.charAt(0);if(c&&/\S/.test(u)&&(/\s/.test(d)||u===p))return e;var f=new RegExp("^[\\s"+Object(m.escapeRegExp)(p)+"]+$"),h=i.slice(c,l);return f.test(h)?e:{start:c,pattern:t}},{}),c=a.start,l=a.pattern;if(l){var p=l.delimiter,f=l.format,h=e.formatter.get(f);h&&h[0].inline&&(e.undoManager.add(),e.undoManager.transact(function(){n.insertData(o,"\ufeff");var t=n.splitText(c),i=t.splitText(o-c);t.deleteData(0,p.length),t.deleteData(t.data.length-p.length,p.length),e.formatter.apply(f,{},t),e.selection.setCursorLocation(i,1),r(function(){d="space",e.once("selectionchange",function(){if(i){var e=i.data.indexOf("\ufeff");-1!==e&&i.deleteData(e,e+1)}})})}))}}}e.on("selectionchange",function(){d=null}),e.on("keydown",function(n){var s=n.keyCode;(d&&s===xt||"space"===d&&s===At)&&(e.undoManager.undo(),n.preventDefault(),n.stopImmediatePropagation()),i.metaKeyPressed(n)||(s===It?function(n){if(!o)return;e.getBody().normalize();var r=t();if(!r.length)return;var i=Object(A.findTransform)(c,function(e){var t=e.regExp;return t.test(r[0])});if(!i)return;var s=i.transform({content:r});o([s]),n.preventDefault(),n.stopImmediatePropagation()}(n):s===Dt?r(function(){return function(n){if(!o)return;e.getBody().normalize();var r=t();if(!r.length)return;var i=r[0],s=Object(A.findTransform)(n,function(e){return e.regExp.test(i)});if(!s)return;var a=i.match(s.regExp),c=e.selection.getRng(),l=a[0].length,u=i.slice(l);if(c.startOffset!==l)return;var d=s.transform({content:[u].concat(x()(Object(m.drop)(r))),match:a});o([d])}(l)}):s>47&&!(s>=91&&s<=93)&&r(p))},!0)},Rt=["Focus","Blur","FocusIn","FocusOut","Click","DblClick","MouseDown","MouseUp","MouseMove","MouseOver","BeforePaste","Paste","Cut","Copy","SelectionChange","MouseOut","MouseEnter","MouseLeave","Wheel","KeyDown","KeyPress","KeyUp","Input","ContextMenu","DragStart","DragEnd","DragOver","DragGesture","DragDrop","Drop","Drag","Submit","CompositionStart","CompositionEnd","CompositionUpdate","TouchStart","TouchMove","TouchEnd"],Lt=b.keycodes.BACKSPACE,Ut=b.keycodes.DELETE,Mt=b.keycodes.ENTER,Ft=b.keycodes.rawShortcut;function Ht(e){return""===e.nodeValue||function(e){return"\ufeff"===("A"===e.nodeName?e.innerText:e.textContent)}(e)}function Vt(e){return Object(m.reject)(e,Ht)}var Kt=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onInit=e.onInit.bind(e),e.getSettings=e.getSettings.bind(e),e.onSetup=e.onSetup.bind(e),e.onChange=e.onChange.bind(e),e.onNewBlock=e.onNewBlock.bind(e),e.onNodeChange=e.onNodeChange.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.onKeyUp=e.onKeyUp.bind(e),e.changeFormats=e.changeFormats.bind(e),e.onPropagateUndo=e.onPropagateUndo.bind(e),e.onPastePreProcess=e.onPastePreProcess.bind(e),e.onPaste=e.onPaste.bind(e),e.onCreateUndoLevel=e.onCreateUndoLevel.bind(e),e.setFocusedElement=e.setFocusedElement.bind(e),e.state={formats:{},selectedNodeId:0},e.containerRef=Object(v.createRef)(),e}return h()(t,e),u()(t,[{key:"getSettings",value:function(e){return(this.props.getSettings||m.identity)(k()({},e,{forced_root_block:this.props.multiline||!1,custom_undo_redo_levels:1}))}},{key:"onSetup",value:function(e){var t=this;this.editor=e,Rt.forEach(function(n){t.props.hasOwnProperty("on"+n)&&(Object(b.deprecated)("Raw TinyMCE event handlers for RichText",{version:"3.0",alternative:"Documented props, ancestor event handler, or onSetup access to the internal editor instance event hub",plugin:"gutenberg"}),e.on(n,t.proxyPropHandler(n)))}),e.on("init",this.onInit),e.on("NewBlock",this.onNewBlock),e.on("nodechange",this.onNodeChange),e.on("keydown",this.onKeyDown),e.on("keyup",this.onKeyUp),e.on("BeforeExecCommand",this.onPropagateUndo),e.on("PastePreProcess",this.onPastePreProcess,!0),e.on("paste",this.onPaste,!0),e.on("input",this.onChange),e.on("change",this.onCreateUndoLevel),Nt.apply(this,[e]),this.props.onSetup&&this.props.onSetup(e)}},{key:"setFocusedElement",value:function(){this.props.setFocusedElement&&this.props.setFocusedElement(this.props.instanceId)}},{key:"proxyPropHandler",value:function(e){var t=this;return function(n){"function"==typeof t.props["on"+e]&&t.props["on"+e](n)}}},{key:"onInit",value:function(){var e=this;this.registerCustomFormatters(),this.editor.shortcuts.add(Ft.primary("k"),"",function(){return e.changeFormats({link:{isAdding:!0}})}),this.editor.shortcuts.add(Ft.access("a"),"",function(){return e.changeFormats({link:{isAdding:!0}})}),this.editor.shortcuts.add(Ft.access("s"),"",function(){return e.changeFormats({link:void 0})}),this.editor.shortcuts.add(Ft.access("d"),"",function(){return e.changeFormats({strikethrough:!e.state.formats.strikethrough})}),this.editor.shortcuts.add(Ft.access("x"),"",function(){return e.changeFormats({code:!e.state.formats.code})}),this.editor.shortcuts.add(Ft.primary("z"),"","Undo"),this.editor.shortcuts.add(Ft.primaryShift("z"),"","Redo"),this.editor.shortcuts.remove("meta+y","","Redo")}},{key:"adaptFormatter",value:function(e){switch(e.type){case"inline-style":return{inline:"span",styles:k()({},e.style)}}}},{key:"registerCustomFormatters",value:function(){var e=this;Object(m.forEach)(this.props.formatters,function(t){e.editor.formatter.register(t.format,e.adaptFormatter(t))})}},{key:"onPropagateUndo",value:function(e){var t=this.context,n=t.onUndo,r=t.onRedo,o=e.command;"Undo"===o&&n&&(Object(m.defer)(n),e.preventDefault()),"Redo"===o&&r&&(Object(m.defer)(r),e.preventDefault())}},{key:"onPaste",value:function(e){var t=this,n=e.clipboardData||e.dataTransfer||this.editor.getDoc().dataTransfer||{getData:function(){return""}},r=n.items,o=void 0===r?[]:r,i=n.files,s=void 0===i?[]:i,a=n.types,c=void 0===a?[]:a,l=Object(m.find)([].concat(x()(o),x()(s)),function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}),u=n.getData("text/plain"),d=n.getData("text/html");if(l&&!d){var p=l.getAsFile?l.getAsFile():l,f=Object(A.rawHandler)({HTML:'<img src="'+Object(b.createBlobURL)(p)+'">',mode:"BLOCKS",tagName:this.props.tagName}),h=this.props.onReplace&&this.isEmpty();window.console.log("Received item:\n\n",p),h?this.props.setTimeout(function(){return t.props.onReplace(f)}):this.props.onSplit&&this.props.setTimeout(function(){return t.splitContent(f)}),e.preventDefault()}this.pastedPlainText=u,this.isPlainTextPaste=1===c.length&&"text/plain"===c[0]}},{key:"onPastePreProcess",value:function(e){var t=this.isPlainTextPaste?"":e.content;if(e.preventDefault(),window.console.log("Received HTML:\n\n",t),window.console.log("Received plain text:\n\n",this.pastedPlainText),!this.editor.selection.isCollapsed()){var n=/^(?:https?:)?\/\/\S+$/i,r=e.content.replace(/<[^>]+>/g,"").trim(),o=this.editor.selection.getContent().replace(/<[^>]+>/g,"").trim();if(n.test(r)&&!n.test(o))return this.editor.execCommand("mceInsertLink",!1,{href:this.editor.dom.decode(r)}),void window.console.log("Created link:\n\n",r)}var i=this.props.onReplace&&this.isEmpty(),s="INLINE";i?s="BLOCKS":this.props.onSplit&&(s="AUTO");var a=Object(A.rawHandler)({HTML:t,plainText:this.pastedPlainText,mode:s,tagName:this.props.tagName,canUserUseUnfilteredHTML:this.context.canUserUseUnfilteredHTML});if("string"==typeof a)this.editor.insertContent(a);else if(this.props.onSplit){if(!a.length)return;i?this.props.onReplace(a):this.splitContent(a,{paste:!0})}}},{key:"onChange",value:function(){this.savedContent=this.getContent(),this.props.onChange(this.savedContent)}},{key:"onCreateUndoLevel",value:function(e){e&&null===e.lastLevel||(e&&e.originalEvent&&"blur"===e.originalEvent.type||this.onChange(),this.context.onCreateUndoLevel())}},{key:"getFocusPosition",value:function(e){var t=this.containerRef.current.getBoundingClientRect(),n=10,r=0;return{top:e.top-t.top+e.height+n,left:e.left-t.left+e.width/2+r}}},{key:"onKeyDown",value:function(e){var t=this.editor.dom,n=this.editor.getBody();if(e.keyCode===Lt&&Object(qe.isHorizontalEdge)(n,!0)||e.keyCode===Ut&&Object(qe.isHorizontalEdge)(n,!1)){if(!this.props.onMerge&&!this.props.onRemove)return;this.onCreateUndoLevel();var r=e.keyCode===Ut;this.props.onMerge&&this.props.onMerge(r),this.props.onRemove&&this.isEmpty()&&this.props.onRemove(r),e.preventDefault(),e.stopImmediatePropagation()}if(e.keyCode===Mt)if(this.props.multiline){if(!this.props.onSplit)return;var o=this.editor.selection.getNode();if(o.parentNode!==n)return;if(!t.isEmpty(o))return;e.preventDefault(),this.onCreateUndoLevel();var i=ze()(n.childNodes),s=t.nodeIndex(o),a=i.slice(0,s),c=i.slice(s+1),l=this.props.format,u=Pt(a,l,this.editor),d=Pt(c,l,this.editor);this.restoreContentAndSplit(u,d)}else e.preventDefault(),this.onCreateUndoLevel(),e.shiftKey||!this.props.onSplit?this.editor.execCommand("InsertLineBreak",!1,e):this.splitContent()}},{key:"onKeyUp",value:function(e){var t=e.keyCode;t===Lt&&this.onChange(),this.props.isViewportSmall&&t!==Lt&&t!==Mt&&this.scrollToRect(Object(qe.getRectangleFromRange)(this.editor.selection.getRng()))}},{key:"scrollToRect",value:function(e){var t=e.top,n=Object(qe.getScrollContainer)(this.editor.getBody());if(n){var r=t-100;Math.abs(r)>10&&n.scrollTo(n.scrollLeft,n.scrollTop+r)}}},{key:"splitContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.props.onSplit){var n=this.editor.dom,r=this.editor.getBody(),o=n.createRng(),i=n.createRng(),s=this.editor.selection.getRng();if(r.childNodes.length){o.setStart(r,0),o.setEnd(s.startContainer,s.startOffset),i.setStart(s.endContainer,s.endOffset),i.setEnd(r,n.nodeIndex(r.lastChild)+1);var a=o.extractContents(),c=i.extractContents(),l=this.props.format,u=Pt(Vt(a.childNodes),l,this.editor),d=Pt(Vt(c.childNodes),l,this.editor);t.paste&&(u=this.isEmpty(u)?null:u,d=this.isEmpty(d)?null:d),this.restoreContentAndSplit(u,d,e)}else t.paste?this.restoreContentAndSplit(null,null,e):this.restoreContentAndSplit([],[],e)}}},{key:"onNewBlock",value:function(){if("p"===this.props.multiline&&this.props.onSplit){for(var e=ze()(this.editor.getBody().childNodes),t=this.editor.selection.getStart();-1===e.indexOf(t)&&t.parentNode;)t=t.parentNode;var n=e.indexOf(t);if(-1!==n){var r=e.slice(0,n),o=Object(m.last)(r);if(!(!o||r.length<2||o.textContent)){var i=r.slice(0,r.length-1),s=e.slice(n).reduce(function(e,t){return e.length||t.textContent?(e.push(t),e):e},[]);this.setContent(this.props.value);var a=this.props.format;this.restoreContentAndSplit(Pt(i,a,this.editor),Pt(s,a,this.editor))}}}}},{key:"onNodeChange",value:function(e){var t=e.parents;if(document.activeElement===this.editor.getBody()){var n=this.props.formattingControls,r=this.editor.formatter.matchAll(n).reduce(function(e,n){return e[n]=k()({isActive:!0},function(e,t){switch(e){case"link":var n=Object(m.find)(t,function(e){return"a"===e.nodeName.toLowerCase()});return n?{value:n.getAttribute("href")||"",target:n.getAttribute("target")||"",node:n}:{};default:return{}}}(n,t)),e},{}),o=void 0,i=Object(m.find)(t,function(e){return"A"===e.tagName});o=i?i.getBoundingClientRect():Object(qe.getRectangleFromRange)(this.editor.selection.getRng());var s=this.getFocusPosition(o);this.setState({formats:r,focusPosition:s,selectedNodeId:this.state.selectedNodeId+1}),this.props.isViewportSmall&&this.scrollToRect(o)}}},{key:"updateContent",value:function(){var e=this;this.editor.undoManager.ignore(function(){var t=e.editor.selection.getBookmark(2,!0);e.savedContent=e.props.value,e.setContent(e.savedContent),e.editor.selection.moveToBookmark(t)})}},{key:"setContent",value:function(e){var t=this.props.format;this.editor.setContent(Ct(e,t))}},{key:"getContent",value:function(){switch(this.props.format){case"string":return this.editor.getContent();default:return this.editor.dom.isEmpty(this.editor.getBody())?[]:Pt(this.editor.getBody().childNodes||[],"element",this.editor)}}},{key:"componentDidUpdate",value:function(e){!this.editor||this.props.tagName!==e.tagName||this.props.value===e.value||this.props.value===this.savedContent||Object(m.isEqual)(this.props.value,e.value)||Object(m.isEqual)(this.props.value,this.savedContent)||this.updateContent()}},{key:"componentWillReceiveProps",value:function(e){0}},{key:"isEmpty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.value;return!e||!e.length}},{key:"isFormatActive",value:function(e){return this.state.formats[e]&&this.state.formats[e].isActive}},{key:"removeFormat",value:function(e){this.editor.focus(),this.editor.formatter.remove(e)}},{key:"applyFormat",value:function(e,t,n){this.editor.focus(),this.editor.formatter.apply(e,t,n)}},{key:"changeFormats",value:function(e){var t=this;Object(m.forEach)(e,function(e,n){if("link"===n)if(void 0!==e){if(e.isAdding)return;var r=t.editor.dom.getParent(t.editor.selection.getNode(),"a");r||t.removeFormat("link");var o=e.value,i=Me()(e,["value"]);t.applyFormat("link",k()({href:o},i),r)}else t.editor.execCommand("Unlink");else{var s=t.isFormatActive(n);s&&!e?t.removeFormat(n):!s&&e&&t.applyFormat(n)}}),this.setState(function(t){return{formats:Object(m.merge)({},t.formats,e)}})}},{key:"restoreContentAndSplit",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.updateContent(),(n=this.props).onSplit.apply(n,[e,t].concat(x()(r)))}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,r=void 0===n?"div":n,o=t.style,i=t.value,s=t.wrapperClassName,a=t.className,c=t.inlineToolbar,l=void 0!==c&&c,u=t.formattingControls,d=t.placeholder,p=t.multiline,f=t.keepPlaceholderOnFocus,h=void 0!==f&&f,m=t.isSelected,b=t.formatters,g=t.autocompleters,y=t.format,_=k()({},Et(this.props),{"aria-multiline":!!p}),w=["editor",r].join(),S=d&&(!m||h)&&this.isEmpty(),E=Z()(s,"editor-rich-text"),j=wp.element.createElement(kt,{selectedNodeId:this.state.selectedNodeId,focusPosition:this.state.focusPosition,formats:this.state.formats,onChange:this.changeFormats,enabledControls:u,customControls:b});return wp.element.createElement("div",{className:E,ref:this.containerRef,onFocus:this.setFocusedElement},m&&!l&&wp.element.createElement(ae,null,j),m&&l&&wp.element.createElement("div",{className:"editor-rich-text__inline-toolbar"},j),wp.element.createElement(P,{onReplace:this.props.onReplace,completers:g},function(t){var n=t.isExpanded,s=t.listBoxId,c=t.activeId;return wp.element.createElement(v.Fragment,null,wp.element.createElement(Bt,k()({tagName:r,getSettings:e.getSettings,onSetup:e.onSetup,style:o,defaultValue:i,format:y,isPlaceholderVisible:S,"aria-label":d,"aria-autocomplete":"list","aria-expanded":n,"aria-owns":s,"aria-activedescendant":c},_,{className:a,key:w})),S&&wp.element.createElement(r,{className:Z()("editor-rich-text__tinymce",a),style:o},p?wp.element.createElement(p,null,d):d),m&&wp.element.createElement(O.Slot,{name:"RichText.Siblings"}))}))}}]),t}(v.Component);Kt.contextTypes={onUndo:m.noop,onRedo:m.noop,canUserUseUnfilteredHTML:m.noop,onCreateUndoLevel:m.noop},Kt.defaultProps={formattingControls:["bold","italic","strikethrough","link","code"],formatters:[],format:"element"};var Wt=Object(v.compose)([O.withInstanceId,j(function(e,t){return!1===t.isSelected?{}:!0===t.isSelected?{isSelected:e.isSelected}:{isSelected:e.isSelected&&e.focusedElement===t.instanceId,setFocusedElement:e.setFocusedElement}}),Object(g.withSelect)(function(e){var t=(e("core/viewport")||{}).isViewportMatch;return{isViewportSmall:(void 0===t?m.identity:t)("< small")}}),O.withSafeTimeout])(Kt);Wt.Content=function(e){var t=e.value,n=e.format,r=void 0===n?"element":n,o=e.tagName,i=Me()(e,["value","format","tagName"]),s=void 0;switch(r){case"string":s=wp.element.createElement(v.RawHTML,null,t);break;default:s=t}return o?wp.element.createElement(o,i,s):s};var zt=Wt,qt=n(159),Gt=n.n(qt),Yt=function(e){function t(){return c()(this,t),p()(this,(t.__proto__||s()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"getChildContext",value:function(){return Object(m.pick)(this.props,Gt()(this.constructor.childContextTypes))}},{key:"render",value:function(){return this.props.children}}]),t}(v.Component);Yt.childContextTypes={onUndo:m.noop,onRedo:m.noop,onCreateUndoLevel:m.noop};var Xt=Yt,$t=(n(598),function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.toggle=e.toggle.bind(e),e.submitLink=e.submitLink.bind(e),e.state={expanded:!1},e}return h()(t,e),u()(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded,o=t?Object(F.__)("Edit Link"):Object(F.__)("Insert Link");return wp.element.createElement("div",{className:"editor-url-input__button"},wp.element.createElement(O.IconButton,{icon:"admin-links",label:o,onClick:this.toggle,className:Z()("components-toolbar__control",{"is-active":t})}),r&&wp.element.createElement("form",{className:"editor-format-toolbar__link-modal",onSubmit:this.submitLink},wp.element.createElement("div",{className:"editor-format-toolbar__link-modal-line"},wp.element.createElement(O.IconButton,{className:"editor-url-input__back",icon:"arrow-left-alt",label:Object(F.__)("Close"),onClick:this.toggle}),wp.element.createElement(st,{value:t||"",onChange:n,"data-test":"UrlInput"}),wp.element.createElement(O.IconButton,{icon:"editor-break",label:Object(F.__)("Submit"),type:"submit"}))))}}]),t}(v.Component)),Jt=function(e){function t(){return c()(this,t),p()(this,(t.__proto__||s()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDirty,r=t.isSaveable;e.isDirty===n&&e.isSaveable===r||this.toggleTimer(n&&r)}},{key:"componentWillUnmount",value:function(){this.toggleTimer(!1)}},{key:"toggleTimer",value:function(e){var t=this;clearTimeout(this.pendingSave),e&&(this.pendingSave=setTimeout(function(){return t.props.autosave()},1e4))}},{key:"render",value:function(){return null}}]),t}(v.Component),Qt=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isEditedPostDirty,r=t.isEditedPostSaveable;return{isDirty:n(),isSaveable:r()}}),Object(g.withDispatch)(function(e){return{autosave:e("core/editor").autosave}})])(Jt);n(597);var Zt=Object(g.withSelect)(function(e,t){return{name:(0,e("core/editor").getBlockName)(t.uid)}})(function(e){var t=e.name;if(!t)return null;var n=Object(A.getBlockType)(t);return n?n.title:null}),en=function(e){var t=e.children,n=e.isValid,r=e.level,o=e.onClick,i=e.path,s=void 0===i?[]:i;return wp.element.createElement("li",{className:Z()("document-outline__item","is-"+r.toLowerCase(),{"is-invalid":!n})},wp.element.createElement("button",{className:"document-outline__button",onClick:o},wp.element.createElement("span",{className:"document-outline__emdash","aria-hidden":"true"}),s.map(function(e,t){var n=e.uid;return wp.element.createElement("strong",{key:t,className:"document-outline__level"},wp.element.createElement(Zt,{uid:n}))}),wp.element.createElement("strong",{className:"document-outline__level"},r),wp.element.createElement("span",{className:"document-outline__item-content"},t),wp.element.createElement("span",{className:"screen-reader-text"},Object(F.__)("(Click to focus this heading)"))))},tn=wp.element.createElement("em",null,Object(F.__)("(Empty heading)")),nn=[wp.element.createElement("br",{key:"incorrect-break"}),wp.element.createElement("em",{key:"incorrect-message"},Object(F.__)("(Incorrect heading level)"))],rn=[wp.element.createElement("br",{key:"incorrect-break-h1"}),wp.element.createElement("em",{key:"incorrect-message-h1"},Object(F.__)("(Your theme may already use a H1 for the post title)"))],on=[wp.element.createElement("br",{key:"incorrect-break-multiple-h1"}),wp.element.createElement("em",{key:"incorrect-message-multiple-h1"},Object(F.__)("(Multiple H1 headings are not recommended)"))],sn=function(e){return!e.attributes.content||0===e.attributes.content.length},an=Object(v.compose)(Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getBlocks,o=(0,e("core").getPostType)(n("type"));return{title:n("title"),blocks:r(),isTitleSupported:Object(m.get)(o,["supports","title"],!1)}}),Object(g.withDispatch)(function(e){return{onSelect:e("core/editor").selectBlock}}))(function(e){var t=e.blocks,n=void 0===t?[]:t,r=e.title,o=e.onSelect,i=e.isTitleSupported,s=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(m.flatMap)(t,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===t.name?k()({},t,{path:n,level:function(e){switch(e.attributes.nodeName){case"h1":case"H1":return 1;case"h2":case"H2":return 2;case"h3":case"H3":return 3;case"h4":case"H4":return 4;case"h5":case"H5":return 5;case"h6":case"H6":return 6}}(t),isEmpty:sn(t)}):e(t.innerBlocks,[].concat(x()(n),[t]))})}(n);if(s.length<1)return null;var a=1,c=i&&r,l=Object(m.countBy)(s,"level")[1]>1;return wp.element.createElement("div",{className:"document-outline"},wp.element.createElement("ul",null,c&&wp.element.createElement(en,{level:"Title",isValid:!0,onClick:function(){var e=document.querySelector(".editor-post-title__input");e&&e.focus()}},r),s.map(function(e,t){var n=e.level>a+1,r=!(e.isEmpty||n||!e.level||1===e.level&&(l||c));return a=e.level,wp.element.createElement(en,{key:t,level:"H"+e.level,isValid:r,onClick:function(){return t=e.uid,o(t);var t},path:e.path},e.isEmpty?tn:e.attributes.content,n&&nn,1===e.level&&l&&on,c&&1===e.level&&!l&&rn)})))});var cn=Object(g.withSelect)(function(e){return{blocks:e("core/editor").getBlocks()}})(function(e){var t=e.blocks,n=e.children;return Object(m.filter)(t,function(e){return"core/heading"===e.name}).length<1?null:n}),ln=function(e){function t(e){c()(this,t);var n=p()(this,(t.__proto__||s()(t)).call(this,e));return n.originalDocumentTitle=document.title,n}return h()(t,e),u()(t,[{key:"setDocumentTitle",value:function(e){document.title=e+" | "+this.originalDocumentTitle}},{key:"componentDidMount",value:function(){this.setDocumentTitle(this.props.title)}},{key:"componentWillReceiveProps",value:function(e){e.title!==this.props.title&&this.setDocumentTitle(e.title)}},{key:"componentWillUnmount",value:function(){document.title=this.originalDocumentTitle}},{key:"render",value:function(){return null}}]),t}(n(14).Component),un=Object(g.withSelect)(function(e){return{title:e("core/editor").getDocumentTitle()}})(ln),dn=b.keycodes.rawShortcut,pn=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.selectAll=e.selectAll.bind(e),e.undoOrRedo=e.undoOrRedo.bind(e),e.save=e.save.bind(e),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(e),e.clearMultiSelection=e.clearMultiSelection.bind(e),e}return h()(t,e),u()(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.uids,r=t.onMultiSelect;e.preventDefault(),r(Object(m.first)(n),Object(m.last)(n))}},{key:"undoOrRedo",value:function(e){var t=this.props,n=t.onRedo,r=t.onUndo;e.shiftKey?n():r(),e.preventDefault()}},{key:"save",value:function(e){e.preventDefault(),this.props.onSave()}},{key:"deleteSelectedBlocks",value:function(e){var t=this.props,n=t.multiSelectedBlockUids,r=t.onRemove,o=t.isLocked;n.length&&(e.preventDefault(),o||r(n))}},{key:"clearMultiSelection",value:function(){var e=this.props,t=e.hasMultiSelection,n=e.clearSelectedBlock;t&&n()}},{key:"render",value:function(){var e;return wp.element.createElement(v.Fragment,null,wp.element.createElement(O.KeyboardShortcuts,{shortcuts:(e={},de()(e,dn.primary("a"),this.selectAll),de()(e,dn.primary("z"),this.undoOrRedo),de()(e,dn.primaryShift("z"),this.undoOrRedo),de()(e,"backspace",this.deleteSelectedBlocks),de()(e,"del",this.deleteSelectedBlocks),de()(e,"escape",this.clearMultiSelection),e)}),wp.element.createElement(O.KeyboardShortcuts,{bindGlobal:!0,shortcuts:de()({},dn.primary("s"),this.save)}))}}]),t}(v.Component),fn=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getBlockOrder,r=t.getMultiSelectedBlockUids,o=t.hasMultiSelection,i=(0,t.getEditorSettings)().templateLock;return{uids:n(),multiSelectedBlockUids:r(),hasMultiSelection:o(),isLocked:!!i}}),Object(g.withDispatch)(function(e){var t=e("core/editor");return{clearSelectedBlock:t.clearSelectedBlock,onMultiSelect:t.multiSelect,onRedo:t.redo,onUndo:t.undo,onRemove:t.removeBlocks,onSave:t.autosave}})])(pn),hn=b.keycodes.displayShortcut;var mn=Object(v.compose)([Object(g.withSelect)(function(e){return{hasRedo:e("core/editor").hasEditorRedo()}}),Object(g.withDispatch)(function(e){return{redo:function(){return e("core/editor").redo()}}})])(function(e){var t=e.hasRedo,n=e.redo;return wp.element.createElement(O.IconButton,{icon:"redo",label:Object(F.__)("Redo"),shortcut:hn.primaryShift("z"),disabled:!t,onClick:n,className:"editor-history__undo"})}),vn=b.keycodes.displayShortcut;var bn=Object(v.compose)([Object(g.withSelect)(function(e){return{hasUndo:e("core/editor").hasEditorUndo()}}),Object(g.withDispatch)(function(e){return{undo:function(){return e("core/editor").undo()}}})])(function(e){var t=e.hasUndo,n=e.undo;return wp.element.createElement(O.IconButton,{icon:"undo",label:Object(F.__)("Undo"),shortcut:vn.primary("z"),disabled:!t,onClick:n,className:"editor-history__undo"})});n(596);var gn=Object(v.compose)([Object(g.withSelect)(function(e){return{isValid:e("core/editor").isValidTemplate()}}),Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.setTemplateValidity;return{resetTemplateValidity:function(){return n(!0)},synchronizeTemplate:t.synchronizeTemplate}})])(function(e){var t=e.isValid,n=Me()(e,["isValid"]);return t?null:wp.element.createElement(O.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning"},wp.element.createElement("p",null,Object(F.__)("The content of your post doesn't match the template assigned to your post type.")),wp.element.createElement("div",null,wp.element.createElement(O.Button,{className:"button",onClick:n.resetTemplateValidity},Object(F.__)("Keep it as is")),wp.element.createElement(O.Button,{onClick:function(){window.confirm(Object(F.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()},isPrimary:!0},Object(F.__)("Reset the template"))))});var yn=Object(v.compose)([Object(g.withSelect)(function(e){return{notices:e("core/editor").getNotices()}}),Object(g.withDispatch)(function(e){return{onRemove:e("core/editor").removeNotice}})])(function(e){return wp.element.createElement(O.NoticeList,e,wp.element.createElement(gn,null))});var kn=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditorSettings,o=e("core").getPostType,i=r().availableTemplates;return{postType:o(n("type")),availableTemplates:i}})(function(e){var t=e.availableTemplates,n=e.postType,r=e.children;return!Object(m.get)(n,["supports","page-attributes"],!1)&&Object(m.isEmpty)(t)?null:r});var _n=Object(g.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute;return{postType:(0,e("core").getPostType)(t("type"))}})(function(e){var t=e.postType,n=e.children,r=e.supportKeys;return Object(m.some)(Object(m.castArray)(r),function(e){return Object(m.get)(t,["supports",e],!1)})?n:null});function On(e){var t=e.onUpdateOrder,n=e.instanceId,r=e.order,o="editor-page-attributes__order-"+n;return wp.element.createElement(v.Fragment,null,wp.element.createElement("label",{htmlFor:o},Object(F.__)("Order")),wp.element.createElement("input",{type:"text",value:r||0,onChange:function(e){var n=Number(e.target.value);n>=0&&t(n)},id:o,size:6}))}var wn=Object(v.compose)([Object(g.withSelect)(function(e){return{order:e("core/editor").getEditedPostAttribute("menu_order")}}),Object(g.withDispatch)(function(e){return{onUpdateOrder:function(t){e("core/editor").editPost({menu_order:t})}}}),O.withInstanceId])(function(e){return wp.element.createElement(_n,{supportKeys:"page-attributes"},wp.element.createElement(On,e))});var Sn=Object(g.withSelect)(function(e){var t=e("core").getPostType,n=e("core/editor"),r=n.getCurrentPostId,o=n.getEditedPostAttribute,i=o("type");return{postId:r(),parent:o("parent"),postType:t(i),postTypeSlug:i}}),En=Object(g.withDispatch)(function(e){var t=e("core/editor").editPost;return{onUpdateParent:function(e){t({parent:e||0})}}}),jn=Object(O.withAPIData)(function(e,t){var n=t.type,r=e.postTypeSlug,o=e.postId,i=Object(m.get)(e,["postType","hierarchical"],!1),s=Object(et.stringify)({context:"edit",per_page:-1,exclude:o,parent_exclude:o,_fields:["id","parent","title"],orderby:"menu_order",order:"asc"});return i?{items:"/wp/v2/"+n(r)+"?"+s}:{}}),Cn=Object(v.compose)([Sn,En,jn])(function(e){var t=e.parent,n=e.postType,r=e.items,o=e.onUpdateParent,i=Object(m.get)(n,["hierarchical"],!1),s=Object(m.get)(n,["labels","parent_item_colon"]),a=Object(m.get)(r,["data"],[]);if(!i||!s||!a.length)return null;var c=Object(b.buildTermsTree)(a.map(function(e){return{id:e.id,parent:e.parent,name:e.title.raw?e.title.raw:"#"+e.id+" ("+Object(F.__)("no title")+")"}}));return wp.element.createElement(O.TreeSelect,{label:s,noOptionLabel:"("+Object(F.__)("no parent")+")",tree:c,selectedId:t,onChange:o})});n(595);var Tn=Object(v.compose)(Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=(0,t.getEditorSettings)().availableTemplates;return{selectedTemplate:n("template"),availableTemplates:r}}),Object(g.withDispatch)(function(e){return{onUpdate:function(t){e("core/editor").editPost({template:t||""})}}}),O.withInstanceId)(function(e){var t=e.availableTemplates,n=e.selectedTemplate,r=e.instanceId,o=e.onUpdate;if(Object(m.isEmpty)(t))return null;var i="template-selector-"+r,s=function(e){return o(e.target.value)};return wp.element.createElement("div",{className:"editor-page-attributes__template"},wp.element.createElement("label",{htmlFor:i},Object(F.__)("Template:")),wp.element.createElement("select",{id:i,value:n,onBlur:s,onChange:s},Object(m.map)(k()({"":Object(F.__)("Default template")},t),function(e,t){return wp.element.createElement("option",{key:t,value:t},e)})))});var Pn=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{hasAssignAuthorAction:Object(m.get)(t,["_links","wp:action-assign-author"],!1),postType:e("core/editor").getCurrentPostType(),authors:e("core").getAuthors()}}),O.withInstanceId])(function(e){var t=e.hasAssignAuthorAction,n=e.authors,r=e.children;return!t||n.length<2?null:wp.element.createElement(_n,{supportKeys:"author"},r)}),Bn=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.setAuthorId=e.setAuthorId.bind(e),e}return h()(t,e),u()(t,[{key:"setAuthorId",value:function(e){var t=this.props.onUpdateAuthor,n=e.target.value;t(Number(n))}},{key:"render",value:function(){var e=this.props,t=e.postAuthor,n=e.instanceId,r=e.authors,o="post-author-selector-"+n;return wp.element.createElement(Pn,null,wp.element.createElement("label",{htmlFor:o},Object(F.__)("Author")),wp.element.createElement("select",{id:o,value:t,onChange:this.setAuthorId,className:"editor-post-author__select"},r.map(function(e){return wp.element.createElement("option",{key:e.id,value:e.id},e.name)})))}}]),t}(v.Component),xn=Object(v.compose)([Object(g.withSelect)(function(e){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors()}}),Object(g.withDispatch)(function(e){return{onUpdateAuthor:function(t){e("core/editor").editPost({author:t})}}}),O.withInstanceId])(Bn);var In=Object(v.compose)([Object(g.withSelect)(function(e){return{commentStatus:e("core/editor").getEditedPostAttribute("comment_status")}}),Object(g.withDispatch)(function(e){return{editPost:e("core/editor").editPost}}),O.withInstanceId])(function(e){var t=e.commentStatus,n=void 0===t?"open":t,r=e.instanceId,o=Me()(e,["commentStatus","instanceId"]),i="allow-comments-toggle-"+r;return[wp.element.createElement("label",{key:"label",htmlFor:i},Object(F.__)("Allow Comments")),wp.element.createElement(O.FormToggle,{key:"toggle",checked:"open"===n,onChange:function(){return o.editPost({comment_status:"open"===n?"closed":"open"})},id:i})]});n(594);var Dn=Object(v.compose)([Object(g.withSelect)(function(e){return{excerpt:e("core/editor").getEditedPostExcerpt()}}),Object(g.withDispatch)(function(e){return{onUpdateExcerpt:function(t){e("core/editor").editPost({excerpt:t})}}})])(function(e){var t=e.excerpt,n=e.onUpdateExcerpt;return wp.element.createElement("div",{className:"editor-post-excerpt"},wp.element.createElement(O.TextareaControl,{label:Object(F.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:function(e){return n(e)},value:t}),wp.element.createElement(O.ExternalLink,{href:"https://codex.wordpress.org/Excerpt"},Object(F.__)("Learn more about manual excerpts")))});var An=function(e){return wp.element.createElement(_n,k()({},e,{supportKeys:"excerpt"}))};n(593);var Nn=Object(g.withSelect)(function(e){return{themeSupports:(0,e("core").getThemeSupports)()}})(function(e){var t=e.themeSupports,n=e.children,r=e.supportKeys;return Object(m.some)(Object(m.castArray)(r),function(e){return Object(m.get)(t,[e],!1)})?n:null});var Rn=function(e){return wp.element.createElement(Nn,{supportKeys:"post-thumbnails"},wp.element.createElement(_n,k()({},e,{supportKeys:"thumbnail"})))},Ln=Object(F.__)("Set featured image"),Un=Object(F.__)("Remove featured image");var Mn=Object(g.withSelect)(function(e){var t=e("core"),n=t.getMedia,r=t.getPostType,o=e("core/editor").getEditedPostAttribute,i=o("featured_media");return{media:i?n(i):null,postType:r(o("type")),featuredImageId:i}}),Fn=Object(g.withDispatch)(function(e){var t=e("core/editor").editPost;return{onUpdateImage:function(e){t({featured_media:e.id})},onRemoveImage:function(){t({featured_media:0})}}}),Hn=Object(v.compose)(Mn,Fn)(function(e){var t=e.featuredImageId,n=e.onUpdateImage,r=e.onRemoveImage,o=e.media,i=e.postType,s=Object(m.get)(i,["labels"],{});return wp.element.createElement(Rn,null,wp.element.createElement("div",{className:"editor-post-featured-image"},!!t&&wp.element.createElement(Se,{title:s.set_featured_image,onSelect:n,type:"image",modalClass:"editor-post-featured-image__media-modal",render:function(e){var t=e.open;return wp.element.createElement(O.Button,{className:"button-link editor-post-featured-image__preview",onClick:t},o&&wp.element.createElement(O.ResponsiveWrapper,{naturalWidth:o.media_details.width,naturalHeight:o.media_details.height},wp.element.createElement("img",{src:o.source_url,alt:Object(F.__)("Featured image")})),!o&&wp.element.createElement(O.Spinner,null))}}),!!t&&o&&!o.isLoading&&wp.element.createElement("p",{className:"editor-post-featured-image__howto"},Object(F.__)("Click the image to edit or update")),!t&&wp.element.createElement(Se,{title:s.set_featured_image||Ln,onSelect:n,type:"image",modalClass:"editor-post-featured-image__media-modal",render:function(e){var t=e.open;return wp.element.createElement(O.Button,{className:"editor-post-featured-image__toggle button-link",onClick:t},s.set_featured_image||Ln)}}),!!t&&wp.element.createElement(O.Button,{className:"editor-post-featured-image__toggle button-link",onClick:r},s.remove_featured_image||Un)))});n(592);var Vn=Object(g.withSelect)(function(e){return{disablePostFormats:e("core/editor").getEditorSettings()}})(function(e){var t=e.disablePostFormats,n=Me()(e,["disablePostFormats"]);return!t&&wp.element.createElement(_n,k()({},n,{supportKeys:"post-formats"}))}),Kn=[{id:"aside",caption:Object(F.__)("Aside")},{id:"gallery",caption:Object(F.__)("Gallery")},{id:"link",caption:Object(F.__)("Link")},{id:"image",caption:Object(F.__)("Image")},{id:"quote",caption:Object(F.__)("Quote")},{id:"standard",caption:Object(F.__)("Standard")},{id:"status",caption:Object(F.__)("Status")},{id:"video",caption:Object(F.__)("Video")},{id:"audio",caption:Object(F.__)("Audio")},{id:"chat",caption:Object(F.__)("Chat")}];var Wn=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getSuggestedPostFormat,o=n("format"),i=e("core").getThemeSupports();return{postFormat:o,supportedFormats:Object(m.union)([o],Object(m.get)(i,["formats"],[])),suggestedFormat:r()}}),Object(g.withDispatch)(function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}}),O.withInstanceId])(function(e){var t=e.onUpdatePostFormat,n=e.postFormat,r=void 0===n?"standard":n,o=e.supportedFormats,i=e.suggestedFormat,s="post-format-selector-"+e.instanceId,a=Kn.filter(function(e){return Object(m.includes)(o,e.id)}),c=Object(m.find)(a,function(e){return e.id===i});return wp.element.createElement(Vn,null,wp.element.createElement("div",{className:"editor-post-format"},wp.element.createElement("div",{className:"editor-post-format__content"},wp.element.createElement("label",{htmlFor:s},Object(F.__)("Post Format")),wp.element.createElement("select",{value:r,onChange:function(e){return t(e.target.value)},id:s},a.map(function(e){return wp.element.createElement("option",{key:e.id,value:e.id},e.caption)}))),c&&c.id!==r&&wp.element.createElement("div",{className:"editor-post-format__suggestion"},Object(F.__)("Suggestion:")," ",wp.element.createElement("button",{className:"button-link",onClick:function(){return t(c.id)}},c.caption))))});n(591);var zn=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPostLastRevisionId,r=t.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}})(function(e){var t=e.lastRevisionId,n=e.revisionsCount,r=e.children;return!t||n<2?null:wp.element.createElement(_n,{supportKeys:"revisions"},r)});var qn=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPostLastRevisionId,r=t.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}})(function(e){var t=e.lastRevisionId,n=e.revisionsCount;return wp.element.createElement(zn,null,wp.element.createElement(O.IconButton,{href:at("revision.php",{revision:t,gutenberg:!0}),className:"editor-post-last-revision__title",icon:"backup"},Object(F.sprintf)(Object(F._n)("%d Revision","%d Revisions",n),n)))});var Gn=Object(v.compose)(Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isCurrentPostPublished,r=t.getCurrentPostType,o=t.getCurrentPost;return{hasPublishAction:Object(m.get)(o(),["_links","wp:action-publish"],!1),isPublished:n(),postType:r()}}))(function(e){var t=e.hasPublishAction,n=e.isPublished,r=e.children;return n||!t?null:r});var Yn=Object(v.compose)(Object(g.withSelect)(function(e){return{status:e("core/editor").getEditedPostAttribute("status")}}),Object(g.withDispatch)(function(e){return{onUpdateStatus:function(t){e("core/editor").editPost({status:t})}}}),O.withInstanceId)(function(e){var t=e.instanceId,n=e.status,r=e.onUpdateStatus,o="pending-toggle-"+t;return wp.element.createElement(Gn,null,wp.element.createElement("label",{htmlFor:o},Object(F.__)("Pending Review")),wp.element.createElement(O.FormToggle,{id:o,checked:"pending"===n,onChange:function(){r("pending"===n?"draft":"pending")}}))});var Xn=Object(v.compose)([Object(g.withSelect)(function(e){return{pingStatus:e("core/editor").getEditedPostAttribute("ping_status")}}),Object(g.withDispatch)(function(e){return{editPost:e("core/editor").editPost}}),O.withInstanceId])(function(e){var t=e.pingStatus,n=void 0===t?"open":t,r=e.instanceId,o=Me()(e,["pingStatus","instanceId"]),i="allow-pingbacks-toggle-"+r;return[wp.element.createElement("label",{key:"label",htmlFor:i},Object(F.__)("Allow Pingbacks & Trackbacks")),wp.element.createElement(O.FormToggle,{key:"toggle",checked:"open"===n,onChange:function(){return o.editPost({ping_status:"open"===n?"closed":"open"})},id:i})]}),$n=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.saveForPreview=e.saveForPreview.bind(e),e.state={isAwaitingSave:!1},e}return h()(t,e),u()(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.modified,n=e.link;this.state.isAwaitingSave&&t!==this.props.modified&&this.previewWindow&&(this.previewWindow.location=n,this.setState({isAwaitingSave:!1}))}},{key:"getWindowTarget",value:function(){return"wp-preview-"+this.props.postId}},{key:"saveForPreview",value:function(e){var t=this,n=this.props,r=n.isDirty,o=n.isNew;if(r||o){this.props.autosave(),this.setState({isAwaitingSave:!0}),e.preventDefault(),this.previewWindow=window.open("about:blank",this.getWindowTarget()),this.previewWindow.onbeforeunload=function(){return delete t.previewWindow};this.previewWindow.document.write('\n\t\t\t<div>\n\t\t\t\t<p>Please wait&hellip;</p>\n\t\t\t\t<p>Generating preview.</p>\n\t\t\t</div>\n\t\t\t<style>\n\t\t\t\tbody {\n\t\t\t\t\tmargin: 0;\n\t\t\t\t}\n\t\t\t\tdiv {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tflex-direction: column;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\tjustify-content: center;\n\t\t\t\t\theight: 100vh;\n\t\t\t\t\twidth: 100vw;\n\t\t\t\t}\n\t\t\t\tp {\n\t\t\t\t\ttext-align: center;\n\t\t\t\t\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;\n\t\t\t\t}\n\t\t\t</style>'),this.previewWindow.document.close()}}},{key:"render",value:function(){var e=this.props,t=e.link,n=e.isSaveable;return wp.element.createElement(O.Button,{className:"editor-post-preview",isLarge:!0,href:t,onClick:this.saveForPreview,target:this.getWindowTarget(),disabled:!n},Object(F._x)("Preview","imperative verb"))}}]),t}(v.Component),Jn=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPostId,r=t.getEditedPostPreviewLink,o=t.getEditedPostAttribute,i=t.isEditedPostDirty,s=t.isEditedPostNew,a=t.isEditedPostSaveable,c=(0,e("core").getPostType)(o("type"));return{postId:n(),link:r(),isDirty:i(),isNew:s(),isSaveable:a(),isViewable:Object(m.get)(c,["viewable"],!1),modified:o("modified")}}),Object(g.withDispatch)(function(e){return{autosave:e("core/editor").autosave}}),Object(O.ifCondition)(function(e){return e.isViewable})])($n);var Qn=Object(v.compose)([Object(g.withSelect)(function(e,t){var n=t.forceIsSaving,r=e("core/editor"),o=r.isCurrentPostPublished,i=r.isEditedPostBeingScheduled,s=r.isSavingPost,a=r.isPublishingPost,c=r.getCurrentPost,l=r.getCurrentPostType;return{isPublished:o(),isBeingScheduled:i(),isSaving:n||s(),isPublishing:a(),hasPublishAction:Object(m.get)(c(),["_links","wp:action-publish"],!1),postType:l()}})])(function(e){var t=e.isPublished,n=e.isBeingScheduled,r=e.isSaving,o=e.isPublishing,i=e.hasPublishAction;return o?Object(F.__)("Publishing…"):t&&r?Object(F.__)("Updating…"):n&&r?Object(F.__)("Scheduling…"):i?t?Object(F.__)("Update"):n?Object(F.__)("Schedule"):Object(F.__)("Publish"):Object(F.__)("Submit for Review")});var Zn=Object(v.compose)([Object(g.withSelect)(function(e,t){var n=t.forceIsSaving,r=t.forceIsDirty,o=e("core/editor"),i=o.isSavingPost,s=o.isEditedPostBeingScheduled,a=o.getEditedPostVisibility,c=o.isEditedPostSaveable,l=o.isEditedPostPublishable,u=o.getCurrentPost,d=o.getCurrentPostType;return{isSaving:n||i(),isBeingScheduled:s(),visibility:a(),isSaveable:c(),isPublishable:r||l(),hasPublishAction:Object(m.get)(u(),["_links","wp:action-publish"],!1),postType:d()}}),Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost;return{onStatusChange:function(e){return n({status:e})},onSave:t.savePost}})])(function(e){var t=e.isSaving,n=e.onStatusChange,r=e.onSave,o=e.isBeingScheduled,i=e.visibility,s=e.isPublishable,a=e.isSaveable,c=e.hasPublishAction,l=e.onSubmit,u=void 0===l?m.noop:l,d=e.forceIsSaving,p=!t&&s&&a,f=void 0;return f=c?o?"future":"private"===i?"private":"publish":"pending",wp.element.createElement(O.Button,{className:"editor-post-publish-button",isPrimary:!0,isLarge:!0,onClick:function(){u(),n(f),r()},disabled:!p,isBusy:t},wp.element.createElement(Qn,{forceIsSaving:d}))}),er=(n(590),[{value:"public",label:Object(F.__)("Public"),info:Object(F.__)("Visible to everyone.")},{value:"private",label:Object(F.__)("Private"),info:Object(F.__)("Only visible to site admins and editors.")},{value:"password",label:Object(F.__)("Password Protected"),info:Object(F.__)("Protected with a password you choose. Only those with the password can view this post.")}]),tr=function(e){function t(e){c()(this,t);var n=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return n.setPublic=n.setPublic.bind(n),n.setPrivate=n.setPrivate.bind(n),n.setPasswordProtected=n.setPasswordProtected.bind(n),n.updatePassword=n.updatePassword.bind(n),n.state={hasPassword:!!e.password},n}return h()(t,e),u()(t,[{key:"setPublic",value:function(){var e=this.props,t=e.visibility,n=e.onUpdateVisibility,r=e.status;n("private"===t?"draft":r),this.setState({hasPassword:!1})}},{key:"setPrivate",value:function(){if(window.confirm(Object(F.__)("Would you like to privately publish this post now?"))){var e=this.props,t=e.onUpdateVisibility,n=e.onSave;t("private"),this.setState({hasPassword:!1}),n()}}},{key:"setPasswordProtected",value:function(){var e=this.props,t=e.visibility,n=e.onUpdateVisibility,r=e.status,o=e.password;n("private"===t?"draft":r,o||""),this.setState({hasPassword:!0})}},{key:"updatePassword",value:function(e){var t=this.props,n=t.status;(0,t.onUpdateVisibility)(n,e.target.value)}},{key:"render",value:function(){var e=this.props,t=e.visibility,n=e.password,r=e.instanceId,o={public:{onSelect:this.setPublic,checked:"public"===t&&!this.state.hasPassword},private:{onSelect:this.setPrivate,checked:"private"===t},password:{onSelect:this.setPasswordProtected,checked:this.state.hasPassword}};return[wp.element.createElement("fieldset",{key:"visibility-selector"},wp.element.createElement("legend",{className:"editor-post-visibility__dialog-legend"},Object(F.__)("Post Visibility")),er.map(function(e){var t=e.value,n=e.label,i=e.info;return wp.element.createElement("div",{key:t,className:"editor-post-visibility__choice"},wp.element.createElement("input",{type:"radio",name:"editor-post-visibility__setting-"+r,value:t,onChange:o[t].onSelect,checked:o[t].checked,id:"editor-post-"+t+"-"+r,"aria-describedby":"editor-post-"+t+"-"+r+"-description",className:"editor-post-visibility__dialog-radio"}),wp.element.createElement("label",{htmlFor:"editor-post-"+t+"-"+r,className:"editor-post-visibility__dialog-label"},n),wp.element.createElement("p",{id:"editor-post-"+t+"-"+r+"-description",className:"editor-post-visibility__dialog-info"},i))})),this.state.hasPassword&&wp.element.createElement("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},wp.element.createElement("label",{htmlFor:"editor-post-visibility__dialog-password-input-"+r,className:"screen-reader-text"},Object(F.__)("Create password")),wp.element.createElement("input",{className:"editor-post-visibility__dialog-password-input",id:"editor-post-visibility__dialog-password-input-"+r,type:"text",onChange:this.updatePassword,value:n,placeholder:Object(F.__)("Use a secure password")}))]}}]),t}(v.Component),nr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditedPostVisibility;return{status:n("status"),visibility:r(),password:n("password")}}),Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.savePost,r=t.editPost;return{onSave:n,onUpdateVisibility:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;r({status:e,password:t})}}}),O.withInstanceId])(tr);var rr=Object(g.withSelect)(function(e){return{visibility:e("core/editor").getEditedPostVisibility()}})(function(e){var t=e.visibility;return Object(m.find)(er,{value:t}).label}),or=n(148);var ir=Object(v.compose)([Object(g.withSelect)(function(e){return{date:e("core/editor").getEditedPostAttribute("date")}}),Object(g.withDispatch)(function(e){return{onUpdateDate:function(t){e("core/editor").editPost({date:t})}}})])(function(e){var t=e.date,n=e.onUpdateDate,r=Object(or.getSettings)(),o=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return wp.element.createElement(O.DateTimePicker,{key:"date-time-picker",currentDate:t,onChange:n,locale:r.l10n.locale,is12Hour:o})});var sr=Object(g.withSelect)(function(e){return{date:e("core/editor").getEditedPostAttribute("date")}})(function(e){var t=e.date,n=Object(or.getSettings)();return t?Object(or.dateI18n)(n.formats.datetime,t):Object(F.__)("Immediately")});var ar=function(){return wp.element.createElement("div",{className:"editor-post-publish-panel__prepublish"},wp.element.createElement("div",null,wp.element.createElement("strong",null,Object(F.__)("Are you ready to publish?"))),wp.element.createElement("p",null,Object(F.__)("Here, you can do a last-minute check up of your settings below, before you publish.")),wp.element.createElement(O.PanelBody,{initialOpen:!1,title:[Object(F.__)("Visibility: "),wp.element.createElement("span",{className:"editor-post-publish-panel__link",key:"label"},wp.element.createElement(rr,null))]},wp.element.createElement(nr,null)),wp.element.createElement(O.PanelBody,{initialOpen:!1,title:[Object(F.__)("Publish: "),wp.element.createElement("span",{className:"editor-post-publish-panel__link",key:"label"},wp.element.createElement(sr,null))]},wp.element.createElement(ir,null)))},cr=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={showCopyConfirmation:!1},e.onCopy=e.onCopy.bind(e),e.onSelectInput=e.onSelectInput.bind(e),e}return h()(t,e),u()(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.dismissCopyConfirmation)}},{key:"onCopy",value:function(){var e=this;this.setState({showCopyConfirmation:!0}),clearTimeout(this.dismissCopyConfirmation),this.dismissCopyConfirmation=setTimeout(function(){e.setState({showCopyConfirmation:!1})},4e3)}},{key:"onSelectInput",value:function(e){e.target.select()}},{key:"render",value:function(){var e=this.props,t=e.isScheduled,n=e.post,r=e.postType,o=Object(m.get)(r,["labels","view_item"]),i=t?wp.element.createElement(v.Fragment,null,Object(F.__)("is now scheduled. It will go live on")," ",wp.element.createElement(sr,null),"."):Object(F.__)("is now live."),s=t?Object(F.__)("The post address will be:"):Object(F.__)("What's next?");return wp.element.createElement("div",{className:"post-publish-panel__postpublish"},wp.element.createElement(O.PanelBody,{className:"post-publish-panel__postpublish-header"},wp.element.createElement("a",{href:n.link},n.title||Object(F.__)("(no title)"))," ",i),wp.element.createElement(O.PanelBody,null,wp.element.createElement("div",null,wp.element.createElement("strong",null,s)),wp.element.createElement("input",{className:"post-publish-panel__postpublish-link-input",readOnly:!0,value:n.link,onFocus:this.onSelectInput,type:"text"}),wp.element.createElement("div",{className:"post-publish-panel__postpublish-buttons"},!t&&wp.element.createElement(O.Button,{className:"button",href:n.link},o),wp.element.createElement(O.ClipboardButton,{className:"button",text:n.link,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(F.__)("Copied!"):Object(F.__)("Copy Link")))))}}]),t}(v.Component),lr=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getCurrentPost,o=t.isCurrentPostScheduled,i=e("core").getPostType;return{post:r(),postType:i(n("type")),isScheduled:o()}})(cr),ur=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onSubmit=e.onSubmit.bind(e),e.state={loading:!1,submitted:!1},e}return h()(t,e),u()(t,[{key:"componentWillReceiveProps",value:function(e){this.state.submitted||e.isSaving||!e.isPublished&&!e.isScheduled||this.setState({submitted:!0,loading:!1})}},{key:"componentDidUpdate",value:function(e){e.isPublished&&!this.props.isSaving&&this.props.isDirty&&this.props.onClose()}},{key:"onSubmit",value:function(){var e=this.props,t=e.onClose;e.hasPublishAction?this.setState({loading:!0}):t()}},{key:"render",value:function(){var e=this.props,t=e.isScheduled,n=e.onClose,r=e.forceIsDirty,o=e.forceIsSaving,i=this.state,s=i.loading,a=i.submitted;return wp.element.createElement("div",{className:"editor-post-publish-panel"},wp.element.createElement("div",{className:"editor-post-publish-panel__header"},!a&&wp.element.createElement("div",{className:"editor-post-publish-panel__header-publish-button"},wp.element.createElement(Zn,{onSubmit:this.onSubmit,forceIsDirty:r,forceIsSaving:o})),a&&wp.element.createElement("div",{className:"editor-post-publish-panel__header-published"},t?Object(F.__)("Scheduled"):Object(F.__)("Published")),wp.element.createElement(O.IconButton,{onClick:n,icon:"no-alt",label:Object(F.__)("Close Publish Panel")})),wp.element.createElement("div",{className:"editor-post-publish-panel__content"},!s&&!a&&wp.element.createElement(ar,null),s&&!a&&wp.element.createElement(O.Spinner,null),a&&wp.element.createElement(lr,null)))}}]),t}(v.Component),dr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType,o=t.isCurrentPostPublished,i=t.isCurrentPostScheduled,s=t.isSavingPost,a=t.isEditedPostDirty;return{postType:r(),hasPublishAction:Object(m.get)(n(),["_links","wp:action-publish"],!1),isPublished:o(),isScheduled:i(),isSaving:s(),isDirty:a()}})])(ur);var pr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isSavingPost,r=t.isEditedPostSaveable,o=t.isEditedPostPublishable,i=t.isCurrentPostPending,s=t.isCurrentPostPublished,a=t.isEditedPostBeingScheduled,c=t.isCurrentPostScheduled,l=t.getCurrentPost,u=t.getCurrentPostType;return{hasPublishAction:Object(m.get)(l(),["_links","wp:action-publish"],!1),isSaving:n(),isSaveable:r(),isPublishable:o(),isPending:i(),isPublished:s(),isScheduled:c(),isBeingScheduled:a(),postType:u()}})])(function(e){var t=e.hasPublishAction,n=e.isSaving,r=e.isPublishable,o=e.isSaveable,i=e.isPublished,s=e.isBeingScheduled,a=e.isPending,c=e.isScheduled,l=e.onToggle,u=e.isOpen,d=e.forceIsDirty,p=e.forceIsSaving,f=!n&&!p&&r&&o||i;return i||c&&s||a&&!t?wp.element.createElement(Zn,{forceIsDirty:d,forceIsSaving:p}):wp.element.createElement(O.Button,{className:"editor-post-publish-panel__toggle",isPrimary:!0,onClick:l,"aria-expanded":u,disabled:!f,isBusy:n&&i},s?Object(F.__)("Schedule…"):Object(F.__)("Publish…"))});n(589);var fr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isSavingPost,r=t.isCurrentPostPublished;return{isSaving:n(),isPublished:r()}}),Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost,r=t.savePost;return{onClick:function(){n({status:"draft"}),r()}}})])(function(e){var t=e.isSaving,n=e.isPublished,r=e.onClick;return n?wp.element.createElement(O.Button,{className:"editor-post-switch-to-draft",isLarge:!0,onClick:function(){window.confirm(Object(F.__)("Are you sure you want to unpublish this post?"))&&r()},disabled:t},Object(F.__)("Switch to Draft")):null}),hr=b.keycodes.displayShortcut,mr=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={forceSavedMessage:!1},e}return h()(t,e),u()(t,[{key:"componentDidUpdate",value:function(e){var t=this;e.isSaving&&!this.props.isSaving&&(this.setState({forceSavedMessage:!0}),this.props.setTimeout(function(){t.setState({forceSavedMessage:!1})},1e3))}},{key:"render",value:function(){var e=this.props,t=e.isNew,n=e.isPublished,r=e.isDirty,o=e.isSaving,i=e.isSaveable,s=e.onSave,a=this.state.forceSavedMessage;return o?wp.element.createElement("span",{className:"editor-post-saved-state is-saving"},wp.element.createElement(O.Dashicon,{icon:"cloud"}),Object(F.__)("Saving")):n?wp.element.createElement(fr,null):i?a||!t&&!r?wp.element.createElement("span",{className:"editor-post-saved-state is-saved"},wp.element.createElement(O.Dashicon,{icon:"saved"}),Object(F.__)("Saved")):wp.element.createElement(O.IconButton,{className:"editor-post-save-draft",onClick:s,icon:"cloud-upload",shortcut:hr.primary("s")},Object(F.__)("Save Draft")):null}}]),t}(v.Component),vr=Object(v.compose)([Object(g.withSelect)(function(e,t){var n=t.forceIsDirty,r=t.forceIsSaving,o=e("core/editor"),i=o.isEditedPostNew,s=o.isCurrentPostPublished,a=o.isEditedPostDirty,c=o.isSavingPost,l=o.isEditedPostSaveable;return{post:(0,o.getCurrentPost)(),isNew:i(),isPublished:s(),isDirty:n||a(),isSaving:r||c(),isSaveable:l()}}),Object(g.withDispatch)(function(e){return{onSave:e("core/editor").savePost}}),O.withSafeTimeout])(mr);var br=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(m.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(e){var t=e.hasPublishAction,n=e.children;return t?n:null});var gr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{hasStickyAction:Object(m.get)(t,["_links","wp:action-sticky"],!1),postType:e("core/editor").getCurrentPostType()}})])(function(e){var t=e.hasStickyAction,n=e.postType,r=e.children;return"post"===n&&t?r:null});var yr=Object(v.compose)([Object(g.withSelect)(function(e){return{postSticky:e("core/editor").getEditedPostAttribute("sticky")}}),Object(g.withDispatch)(function(e){return{onUpdateSticky:function(t){e("core/editor").editPost({sticky:t})}}}),O.withInstanceId])(function(e){var t=e.onUpdateSticky,n=e.postSticky,r=void 0!==n&&n,o="post-sticky-toggle-"+e.instanceId;return wp.element.createElement(gr,null,wp.element.createElement("label",{htmlFor:o},Object(F.__)("Stick to the Front Page")),wp.element.createElement(O.FormToggle,{key:"toggle",checked:r,onChange:function(){return t(!r)},id:o}))}),kr=(n(588),{per_page:-1,orderby:"count",order:"desc",_fields:"id,name,parent"}),_r=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.findTerm=e.findTerm.bind(e),e.onChange=e.onChange.bind(e),e.onChangeFormName=e.onChangeFormName.bind(e),e.onChangeFormParent=e.onChangeFormParent.bind(e),e.onAddTerm=e.onAddTerm.bind(e),e.onToggleForm=e.onToggleForm.bind(e),e.state={loading:!0,availableTermsTree:[],availableTerms:[],adding:!1,formName:"",formParent:"",showForm:!1},e}return h()(t,e),u()(t,[{key:"onChange",value:function(e){var t=this.props,n=t.onUpdateTerms,r=t.terms,o=void 0===r?[]:r,i=t.restBase,s=parseInt(e.target.value,10);n(-1!==o.indexOf(s)?Object(m.without)(o,s):[].concat(x()(o),[s]),i)}},{key:"onChangeFormName",value:function(e){var t=""===e.target.value.trim()?"":e.target.value;this.setState({formName:t})}},{key:"onChangeFormParent",value:function(e){this.setState({formParent:e})}},{key:"onToggleForm",value:function(){this.setState(function(e){return{showForm:!e.showForm}})}},{key:"findTerm",value:function(e,t,n){return Object(m.find)(e,function(e){return(!e.parent&&!t||parseInt(e.parent)===parseInt(t))&&e.name.toLowerCase()===n.toLowerCase()})}},{key:"onAddTerm",value:function(e){var t=this;e.preventDefault();var n=this.props,r=n.onUpdateTerms,o=n.restBase,i=n.terms,s=n.slug,a=this.state,c=a.formName,l=a.formParent,u=a.adding,d=a.availableTerms;if(""!==c&&!u){var p=this.findTerm(d,l,c);if(p)return Object(m.some)(i,function(e){return e===p.id})||r([].concat(x()(i),[p.id]),o),void this.setState({formName:"",formParent:""});new D.a(function(e,n){t.setState({adding:!0});var r=wp.api.getTaxonomyRoute(t.props.slug);t.addRequest=wp.apiRequest({path:"/wp/v2/"+r,method:"POST",data:{name:c,parent:l||void 0}}),t.addRequest.then(e,function(o){if("term_exists"===(o.responseJSON&&o.responseJSON.code))return t.addRequest=wp.apiRequest({path:"/wp/v2/"+r+"?"+Object(Ye.stringify)(k()({},kr,{parent:l||0,search:c}))}),t.addRequest.then(function(n){e(t.findTerm(n,l,c))},n);n(o)})}).then(function(e){var n=!!Object(m.find)(t.state.availableTerms,function(t){return t.id===e.id})?t.state.availableTerms:[e].concat(x()(t.state.availableTerms)),a=Object(F.sprintf)(Object(F._x)("%s added","term"),Object(m.get)(t.props.taxonomy,["data","labels","singular_name"],"category"===s?Object(F.__)("Category"):Object(F.__)("Term")));t.props.speak(a,"assertive"),t.addRequest=null,t.setState({adding:!1,formName:"",formParent:"",availableTerms:n,availableTermsTree:Object(b.buildTermsTree)(n)}),r([].concat(x()(i),[e.id]),o)},function(e){"abort"!==e.statusText&&(t.addRequest=null,t.setState({adding:!1}))})}}},{key:"componentDidMount",value:function(){var e=this,t=wp.api.getTaxonomyRoute(this.props.slug);this.fetchRequest=wp.apiRequest({path:"/wp/v2/"+t+"?"+Object(Ye.stringify)(kr)}),this.fetchRequest.then(function(t){var n=Object(b.buildTermsTree)(t);e.fetchRequest=null,e.setState({loading:!1,availableTermsTree:n,availableTerms:t})},function(t){"abort"!==t.statusText&&(e.fetchRequest=null,e.setState({loading:!1}))})}},{key:"componentWillUnmount",value:function(){Object(m.invoke)(this.fetchRequest,["abort"]),Object(m.invoke)(this.addRequest,["abort"])}},{key:"renderTerms",value:function(e){var t=this,n=this.props.terms,r=void 0===n?[]:n;return e.map(function(e){var n="editor-post-taxonomies-hierarchical-term-"+e.id;return wp.element.createElement("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},wp.element.createElement("input",{id:n,className:"editor-post-taxonomies__hierarchical-terms-input",type:"checkbox",checked:-1!==r.indexOf(e.id),value:e.id,onChange:t.onChange}),wp.element.createElement("label",{htmlFor:n},Object(m.unescape)(e.name)),!!e.children.length&&wp.element.createElement("div",{className:"editor-post-taxonomies__hierarchical-terms-subchoices"},t.renderTerms(e.children)))})}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.taxonomy,r=e.instanceId,o=e.hasCreateAction;if(!e.hasAssignAction)return null;var i=this.state,s=i.availableTermsTree,a=i.availableTerms,c=i.formName,l=i.formParent,u=i.loading,d=i.showForm,p=function(e,r,o){return Object(m.get)(n,["data","labels",e],"category"===t?r:o)},f=p("add_new_item",Object(F.__)("Add new category"),Object(F.__)("Add new term")),h=p("new_item_name",Object(F.__)("Add new category"),Object(F.__)("Add new term")),v=p("parent_item",Object(F.__)("Parent Category"),Object(F.__)("Parent Term")),b="— "+v+" —",g=f,y="editor-post-taxonomies__hierarchical-terms-input-"+r;return[].concat(x()(this.renderTerms(s)),[!u&&o&&wp.element.createElement("button",{key:"term-add-button",onClick:this.onToggleForm,className:"button-link editor-post-taxonomies__hierarchical-terms-add","aria-expanded":d},f),d&&wp.element.createElement("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},wp.element.createElement("label",{htmlFor:y,className:"editor-post-taxonomies__hierarchical-terms-label"},h),wp.element.createElement("input",{type:"text",id:y,className:"editor-post-taxonomies__hierarchical-terms-input",value:c,onChange:this.onChangeFormName,required:!0}),!!a.length&&wp.element.createElement(O.TreeSelect,{label:v,noOptionLabel:b,onChange:this.onChangeFormParent,selectedId:l,tree:s}),wp.element.createElement("button",{type:"submit",className:"button editor-post-taxonomies__hierarchical-terms-submit"},g))])}}]),t}(v.Component),Or=Object(v.compose)([Object(O.withAPIData)(function(e){return{taxonomy:"/wp/v2/taxonomies/"+e.slug+"?context=edit"}}),Object(g.withSelect)(function(e,t){var n=e("core/editor").getCurrentPost;return{hasCreateAction:Object(m.get)(n(),["_links","wp:action-create-"+t.restBase],!1),hasAssignAction:Object(m.get)(n(),["_links","wp:action-assign-"+t.restBase],!1),terms:e("core/editor").getEditedPostAttribute(t.restBase)}}),Object(g.withDispatch)(function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(de()({},n,t))}}}),O.withSpokenMessages,O.withInstanceId])(_r),wr={per_page:-1,orderby:"count",order:"desc",_fields:"id,name"},Sr=function(e,t){return e.toLowerCase()===t.toLowerCase()},Er=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onChange=e.onChange.bind(e),e.searchTerms=Object(m.throttle)(e.searchTerms.bind(e),500),e.findOrCreateTerm=e.findOrCreateTerm.bind(e),e.state={loading:!1,availableTerms:[],selectedTerms:[]},e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){var e=this;Object(m.isEmpty)(this.props.terms)||(this.setState({loading:!1}),this.initRequest=this.fetchTerms({include:this.props.terms.join(","),per_page:100}),this.initRequest.then(function(){e.setState({loading:!1})},function(t){"abort"!==t.statusText&&e.setState({loading:!1})})),this.searchTerms()}},{key:"componentWillUnmount",value:function(){Object(m.invoke)(this.initRequest,["abort"]),Object(m.invoke)(this.searchRequest,["abort"])}},{key:"componentWillReceiveProps",value:function(e){e.terms!==this.props.terms&&this.updateSelectedTerms(e.terms)}},{key:"fetchTerms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=k()({},wr,t),r=wp.api.getTaxonomyRoute(this.props.slug),o=wp.apiRequest({path:"/wp/v2/"+r+"?"+Object(Ye.stringify)(n)});return o.then(function(t){e.setState(function(e){return{availableTerms:e.availableTerms.concat(t.filter(function(t){return!Object(m.find)(e.availableTerms,function(e){return e.id===t.id})}))}}),e.updateSelectedTerms(e.props.terms)}),o}},{key:"updateSelectedTerms",value:function(){var e=this,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce(function(t,n){var r=Object(m.find)(e.state.availableTerms,function(e){return e.id===n});return r&&t.push(r.name),t},[]);this.setState({selectedTerms:t})}},{key:"findOrCreateTerm",value:function(e){var t=this;return new D.a(function(n,r){var o=wp.api.getTaxonomyRoute(t.props.slug);wp.apiRequest({path:"/wp/v2/"+o,method:"POST",data:{name:e}}).then(n,function(i){if("term_exists"===(i.responseJSON&&i.responseJSON.code))return t.addRequest=wp.apiRequest({path:"/wp/v2/"+o+"?"+Object(Ye.stringify)(k()({},wr,{search:e}))}),t.addRequest.then(function(t){n(Object(m.find)(t,function(t){return Sr(t.name,e)}))},r);r(i)})})}},{key:"onChange",value:function(e){var t=this,n=Object(m.uniqBy)(e,function(e){return e.toLowerCase()});this.setState({selectedTerms:n});var r=n.filter(function(e){return!Object(m.find)(t.state.availableTerms,function(t){return Sr(t.name,e)})}),o=function(e,t){return e.map(function(e){return Object(m.find)(t,function(t){return Sr(t.name,e)}).id})};if(0===r.length)return this.props.onUpdateTerms(o(n,this.state.availableTerms),this.props.restBase);D.a.all(r.map(this.findOrCreateTerm)).then(function(e){var r=t.state.availableTerms.concat(e);return t.setState({availableTerms:r}),t.props.onUpdateTerms(o(n,r),t.props.restBase)})}},{key:"searchTerms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(m.invoke)(this.searchRequest,["abort"]),this.searchRequest=this.fetchTerms({search:e})}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.taxonomy;if(!e.hasAssignAction)return null;var r=this.state,o=r.loading,i=r.availableTerms,s=r.selectedTerms,a=i.map(function(e){return e.name}),c=Object(m.get)(n,["data","labels","add_new_item"],"post_tag"===t?Object(F.__)("Add New Tag"):Object(F.__)("Add New Term")),l=Object(m.get)(n,["data","labels","singular_name"],"post_tag"===t?Object(F.__)("Tag"):Object(F.__)("Term")),u=Object(F.sprintf)(Object(F._x)("%s added","term"),l),d=Object(F.sprintf)(Object(F._x)("%s removed","term"),l),p=Object(F.sprintf)(Object(F._x)("Remove %s","term"),l);return wp.element.createElement(O.FormTokenField,{value:s,displayTransform:m.unescape,suggestions:a,onChange:this.onChange,onInputChange:this.searchTerms,maxSuggestions:20,disabled:o,placeholder:c,messages:{added:u,removed:d,remove:p}})}}]),t}(v.Component),jr=Object(v.compose)(Object(O.withAPIData)(function(e){return{taxonomy:"/wp/v2/taxonomies/"+e.slug+"?context=edit"}}),Object(g.withSelect)(function(e,t){var n=e("core/editor").getCurrentPost;return{hasCreateAction:Object(m.get)(n(),["_links","wp:action-create-"+t.restBase],!1),hasAssignAction:Object(m.get)(n(),["_links","wp:action-assign-"+t.restBase],!1),terms:e("core/editor").getEditedPostAttribute(t.restBase)}}),Object(g.withDispatch)(function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(de()({},n,t))}}}))(Er);var Cr=Object(v.compose)([Object(g.withSelect)(function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies()}})])(function(e){var t=e.postType,n=e.taxonomies,r=e.taxonomyWrapper,o=void 0===r?m.identity:r,i=Object(m.filter)(n,function(e){return Object(m.includes)(e.types,t)});return Object(m.filter)(i,function(e){return e.visibility.show_ui}).map(function(e){var t=e.hierarchical?Or:jr;return wp.element.createElement(v.Fragment,{key:"taxonomy-"+e.slug},o(wp.element.createElement(t,{restBase:e.rest_base,slug:e.slug}),e))})});var Tr=Object(v.compose)([Object(g.withSelect)(function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies()}})])(function(e){var t=e.postType,n=e.taxonomies,r=e.children;return Object(m.some)(n,function(e){return Object(m.includes)(e.types,t)})?r:null}),Pr=(n(587),function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.startEditing=e.startEditing.bind(e),e.edit=e.edit.bind(e),e.stopEditing=e.stopEditing.bind(e),e.state={value:null,isDirty:!1},e}return h()(t,e),u()(t,[{key:"componentWillReceiveProps",value:function(e){this.props.value!==e.value&&this.state.value&&!this.state.isDirty&&this.setState({value:e.value})}},{key:"startEditing",value:function(){this.setState({value:this.props.value})}},{key:"edit",value:function(e){var t=e.target.value;this.props.onChange(t),this.setState({value:t,isDirty:!0})}},{key:"stopEditing",value:function(){this.state.isDirty&&this.props.onPersist(this.state.value),this.setState({value:null,isDirty:!1})}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.placeholder,r=e.instanceId,o=Object(b.decodeEntities)(n);return wp.element.createElement(v.Fragment,null,wp.element.createElement("label",{htmlFor:"post-content-"+r,className:"screen-reader-text"},o||Object(F.__)("Write your story")),wp.element.createElement(Ve.a,{autoComplete:"off",value:this.state.value||t,onFocus:this.startEditing,onChange:this.edit,onBlur:this.stopEditing,className:"editor-post-text-editor",id:"post-content-"+r,placeholder:o||Object(F.__)("Write your story")}))}}]),t}(v.Component)),Br=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostContent,r=(0,t.getEditorSettings)().bodyPlaceholder;return{value:n(),placeholder:r}}),Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost,r=t.resetBlocks,o=t.checkTemplateValidity;return{onChange:function(e){n({content:e})},onPersist:function(e){r(Object(A.parse)(e)),o()}}}),O.withInstanceId])(Pr),xr=(n(586),n(585),function(e){function t(e){var n=e.permalinkParts;c()(this,t);var r=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return r.state={editedPostName:n.postName},r.onSavePermalink=r.onSavePermalink.bind(r),r}return h()(t,e),u()(t,[{key:"onSavePermalink",value:function(e){var t=this.state.editedPostName.replace(/\s+/g,"-");e.preventDefault(),this.props.onSave(),t!==this.props.postName&&(this.props.editPost({slug:t}),this.setState({editedPostName:t}))}},{key:"render",value:function(){var e=this,t=this.props.permalinkParts,n=t.prefix,r=t.suffix,o=this.state.editedPostName;return wp.element.createElement("form",{className:"editor-post-permalink-editor",onSubmit:this.onSavePermalink},wp.element.createElement("span",null,wp.element.createElement("span",{className:"editor-post-permalink-editor__prefix"},n),wp.element.createElement("input",{className:"editor-post-permalink-editor__edit","aria-label":Object(F.__)("Edit post permalink"),value:o,onChange:function(t){return e.setState({editedPostName:t.target.value})},type:"text",autoFocus:!0}),wp.element.createElement("span",{className:"editor-post-permalink-editor__suffix"},r),"‎"),wp.element.createElement(O.Button,{className:"editor-post-permalink-editor__save",isLarge:!0,onClick:this.onSavePermalink},Object(F.__)("OK")))}}]),t}(v.Component)),Ir=Object(v.compose)([Object(g.withSelect)(function(e){return{permalinkParts:(0,e("core/editor").getPermalinkParts)()}}),Object(g.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(xr),Dr=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.addVisibilityCheck=e.addVisibilityCheck.bind(e),e.onVisibilityChange=e.onVisibilityChange.bind(e),e.state={isCopied:!1,isEditingPermalink:!1},e}return h()(t,e),u()(t,[{key:"addVisibilityCheck",value:function(){window.addEventListener("visibilitychange",this.onVisibilityChange)}},{key:"onVisibilityChange",value:function(){var e=this.props,t=e.isEditable,n=e.refreshPost;t||"visible"!==document.visibilityState||n()}},{key:"componentDidUpdate",value:function(e,t){t.isEditingPermalink&&!this.state.isEditingPermalink&&this.permalinkButton.focus()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("visibilitychange",this.addVisibilityCheck)}},{key:"render",value:function(){var e=this,t=this.props,n=t.isNew,r=t.previewLink,o=t.isEditable,i=t.samplePermalink,s=t.isPublished,a=this.state,c=a.isCopied,l=a.isEditingPermalink,u=c?Object(F.__)("Permalink copied"):Object(F.__)("Copy the permalink");return n||!r?null:wp.element.createElement("div",{className:"editor-post-permalink"},wp.element.createElement(O.ClipboardButton,{className:Z()("editor-post-permalink__copy",{"is-copied":c}),text:i,label:u,onCopy:function(){return e.setState({isCopied:!0})},"aria-disabled":c,icon:"admin-links"}),wp.element.createElement("span",{className:"editor-post-permalink__label"},Object(F.__)("Permalink:")),!l&&wp.element.createElement(O.Button,{className:"editor-post-permalink__link",href:s?i:r,target:"_blank",ref:function(t){return e.permalinkButton=t}},decodeURI(i),"‎"),l&&wp.element.createElement(Ir,{onSave:function(){return e.setState({isEditingPermalink:!1})}}),o&&!l&&wp.element.createElement(O.Button,{className:"editor-post-permalink__edit",isLarge:!0,onClick:function(){return e.setState({isEditingPermalink:!0})}},Object(F.__)("Edit")),!o&&wp.element.createElement(O.Button,{className:"editor-post-permalink__change",isLarge:!0,href:at("options-permalink.php"),onClick:this.addVisibilityCheck,target:"_blank"},Object(F.__)("Change Permalinks")))}}]),t}(v.Component),Ar=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.isPermalinkEditable,o=t.getEditedPostPreviewLink,i=t.getPermalink,s=t.isCurrentPostPublished;return{isNew:n(),previewLink:o(),isEditable:r(),samplePermalink:i(),isPublished:s()}}),Object(g.withDispatch)(function(e){return{refreshPost:e("core/editor").refreshPost}})])(Dr),Nr=/[\r\n]+/g,Rr=b.keycodes.ENTER,Lr=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onChange=e.onChange.bind(e),e.onSelect=e.onSelect.bind(e),e.onUnselect=e.onUnselect.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.redirectHistory=e.redirectHistory.bind(e),e.state={isSelected:!1},e}return h()(t,e),u()(t,[{key:"handleFocusOutside",value:function(){this.onUnselect()}},{key:"onSelect",value:function(){this.setState({isSelected:!0}),this.props.clearSelectedBlock()}},{key:"onUnselect",value:function(){this.setState({isSelected:!1})}},{key:"onChange",value:function(e){var t=e.target.value.replace(Nr," ");this.props.onUpdate(t)}},{key:"onKeyDown",value:function(e){e.keyCode===Rr&&(e.preventDefault(),this.props.onEnterPress())}},{key:"redirectHistory",value:function(e){e.shiftKey?this.props.onRedo():this.props.onUndo(),e.preventDefault()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.placeholder,r=e.instanceId,o=e.isPostTypeViewable,i=this.state.isSelected,s=Z()("editor-post-title",{"is-selected":i}),a=Object(b.decodeEntities)(n);return wp.element.createElement(_n,{supportKeys:"title"},wp.element.createElement("div",{className:s},wp.element.createElement(O.KeyboardShortcuts,{shortcuts:{"mod+z":this.redirectHistory,"mod+shift+z":this.redirectHistory}},wp.element.createElement("label",{htmlFor:"post-title-"+r,className:"screen-reader-text"},a||Object(F.__)("Add title")),wp.element.createElement(Ve.a,{id:"post-title-"+r,className:"editor-post-title__input",value:t,onChange:this.onChange,placeholder:a||Object(F.__)("Add title"),onFocus:this.onSelect,onKeyDown:this.onKeyDown,onKeyPress:this.onUnselect})),i&&o&&wp.element.createElement(Ar,null)))}}]),t}(v.Component),Ur=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditorSettings,o=(0,e("core").getPostType)(n("type")),i=r().titlePlaceholder;return{title:n("title"),isPostTypeViewable:Object(m.get)(o,["viewable"],!1),placeholder:i}}),Mr=Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.insertDefaultBlock,r=t.editPost,o=t.clearSelectedBlock;return{onEnterPress:function(){n(void 0,void 0,0)},onUpdate:function(e){r({title:e})},onUndo:t.undo,onRedo:t.redo,clearSelectedBlock:o}}),Fr=Object(v.compose)(Ur,Mr,O.withInstanceId,O.withFocusOutside)(Lr);n(584);var Hr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.getCurrentPostId,o=t.getCurrentPostType;return{isNew:n(),postId:r(),postType:o()}}),Object(g.withDispatch)(function(e){return{trashPost:e("core/editor").trashPost}})])(function(e){var t=e.isNew,n=e.postId,r=e.postType,o=Me()(e,["isNew","postId","postType"]);return t||!n?null:wp.element.createElement(O.Button,{className:"editor-post-trash button-link button-link-delete",onClick:function(){return o.trashPost(n,r)}},Object(F.__)("Move to trash"),wp.element.createElement(O.Dashicon,{icon:"trash"}))});var Vr=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.getCurrentPostId;return{isNew:n(),postId:r()}})(function(e){var t=e.isNew,n=e.postId,r=e.children;return t||!n?null:r});var Kr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(m.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(e){var t=e.hasPublishAction;return(0,e.render)({canEdit:t})}),Wr=(n(583),{HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/&nbsp;|&#160;/gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","€-¿×÷"," -⯿","⸀-⹿","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}}),zr=function(e,t){if(e.HTMLRegExp)return t.replace(e.HTMLRegExp,"\n")},qr=function(e,t){return e.astralRegExp?t.replace(e.astralRegExp,"a"):t},Gr=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,""):t},Yr=function(e,t){return e.connectorRegExp?t.replace(e.connectorRegExp," "):t},Xr=function(e,t){return e.removeRegExp?t.replace(e.removeRegExp,""):t},$r=function(e,t){return e.HTMLcommentRegExp?t.replace(e.HTMLcommentRegExp,""):t},Jr=function(e,t){return e.shortcodesRegExp?t.replace(e.shortcodesRegExp,"\n"):t},Qr=function(e,t){if(e.spaceRegExp)return t.replace(e.spaceRegExp," ")},Zr=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,"a"):t};function eo(e,t,n){var r=function(e,t){var n=Object(m.extend)(Wr,t);return n.shortcodes=n.l10n.shortcodes||{},n.shortcodes&&n.shortcodes.length&&(n.shortcodesRegExp=new RegExp("\\[\\/?(?:"+n.shortcodes.join("|")+")[^\\]]*?\\]","g")),n.type=e||n.l10n.type,"characters_excluding_spaces"!==n.type&&"characters_including_spaces"!==n.type&&(n.type="words"),n}(t,n);if(e){var o=r[t+"RegExp"],i="words"===r.type?function(e,t,n){return e=Object(m.flow)(zr.bind(this,n),$r.bind(this,n),Jr.bind(this,n),Qr.bind(this,n),Gr.bind(this,n),Yr.bind(this,n),Xr.bind(this,n))(e),(e+="\n").match(t)}(e,o,r):function(e,t,n){return e=Object(m.flow)(zr.bind(this,n),$r.bind(this,n),Jr.bind(this,n),Qr.bind(this,n),qr.bind(this,n),Zr.bind(this,n))(e),(e+="\n").match(t)}(e,o,r);return i?i.length:0}}var to=Object(g.withSelect)(function(e){return{content:e("core/editor").getEditedPostAttribute("content")}})(function(e){var t=e.content;return wp.element.createElement("span",{className:"word-count"},eo(t,"words"))});var no=Object(g.withSelect)(function(e){var t=e("core/editor").getGlobalBlockCount;return{headingCount:t("core/heading"),paragraphCount:t("core/paragraph"),numberOfBlocks:t()}})(function(e){var t=e.headingCount,n=e.paragraphCount,r=e.numberOfBlocks;return wp.element.createElement(v.Fragment,null,wp.element.createElement("div",{className:"table-of-contents__counts",role:"note","aria-label":Object(F.__)("Document Statistics"),tabIndex:"0"},wp.element.createElement("div",{className:"table-of-contents__count"},Object(F.__)("Words"),wp.element.createElement(to,null)),wp.element.createElement("div",{className:"table-of-contents__count"},Object(F.__)("Headings"),wp.element.createElement("span",{className:"table-of-contents__number"},t)),wp.element.createElement("div",{className:"table-of-contents__count"},Object(F.__)("Paragraphs"),wp.element.createElement("span",{className:"table-of-contents__number"},n)),wp.element.createElement("div",{className:"table-of-contents__count"},Object(F.__)("Blocks"),wp.element.createElement("span",{className:"table-of-contents__number"},r))),t>0&&wp.element.createElement(v.Fragment,null,wp.element.createElement("hr",null),wp.element.createElement("span",{className:"table-of-contents__title"},Object(F.__)("Document Outline")),wp.element.createElement(an,null)))});var ro=Object(g.withSelect)(function(e){return{hasBlocks:!!e("core/editor").getBlockCount()}})(function(e){var t=e.hasBlocks;return wp.element.createElement(O.Dropdown,{position:"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return wp.element.createElement(O.IconButton,{onClick:r,icon:"info-outline","aria-expanded":n,label:Object(F.__)("Content Structure"),disabled:!t})},renderContent:function(){return wp.element.createElement(no,null)}})}),oo=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.warnIfUnsavedChanges=e.warnIfUnsavedChanges.bind(e),e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){window.addEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"warnIfUnsavedChanges",value:function(e){var t=this.props,n=t.isDirty,r=t.forceIsDirty;if(n||(void 0===r?function(){return!1}:r)())return e.returnValue=Object(F.__)("You have unsaved changes. If you proceed, they will be lost."),e.returnValue}},{key:"render",value:function(){return null}}]),t}(v.Component),io=Object(g.withSelect)(function(e){return{isDirty:e("core/editor").isEditedPostDirty()}})(oo);n(582),n(581);function so(e){return document.querySelector('[data-block="'+e+'"]')}var ao=Object(g.withSelect)(function(e){return{selectedBlockUID:e("core/editor").getBlockSelectionStart()}})(function(e){var t=e.selectedBlockUID;return t&&wp.element.createElement("button",{type:"button",className:"button editor-skip-to-selected-block",onClick:function(){so(t).closest(".editor-block-list__block").focus()}},Object(F.__)("Skip to the selected block"))}),co=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlock,r=t.getSelectedBlockCount;return{selectedBlock:n(),count:r()}})(function(e){var t=e.selectedBlock;if(e.count>1)return wp.element.createElement("span",{className:"editor-block-inspector__multi-blocks"},Object(F.__)("Coming Soon"));if(!t)return wp.element.createElement("span",{className:"editor-block-inspector__no-blocks"},Object(F.__)("No block selected."));var n=Object(A.getBlockType)(t.name);return[wp.element.createElement("div",{className:"editor-block-inspector__card",key:"card"},wp.element.createElement("div",{className:"editor-block-inspector__card-icon"},wp.element.createElement(N,{icon:n.icon})),wp.element.createElement("div",{className:"editor-block-inspector__card-content"},wp.element.createElement("div",{className:"editor-block-inspector__card-title"},n.title),wp.element.createElement("div",{className:"editor-block-inspector__card-description"},n.description))),wp.element.createElement(Le.Slot,{key:"inspector-controls"}),wp.element.createElement(Ie.Slot,{key:"inspector-advanced-controls"},function(e){return!Object(m.isEmpty)(e)&&wp.element.createElement(O.PanelBody,{className:"editor-block-inspector__advanced",title:Object(F.__)("Advanced"),initialOpen:!1},e)}),wp.element.createElement(ao,{key:"back"})]}),lo=(n(580),n(166)),uo=n.n(lo),po=n(132);n(579);function fo(e,t,n,r,o,i){var s=n+1;return e>1?function(e,t,n,r,o){var i=t+1;if(o<0&&n)return Object(F.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(F.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(F.sprintf)(Object(F.__)("Move %(selectedCount)d blocks from position %(position)d up by one place"),{selectedCount:e,position:i});if(o>0&&!r)return Object(F.sprintf)(Object(F.__)("Move %(selectedCount)d blocks from position %(position)s down by one place"),{selectedCount:e,position:i})}(e,n,r,o,i):r&&o?Object(F.sprintf)(Object(F.__)("Block %s is the only block, and cannot be moved"),t):i>0&&!o?Object(F.sprintf)(Object(F.__)("Move %(type)s block from position %(position)d down to position %(newPosition)d"),{type:t,position:s,newPosition:s+1}):i>0&&o?Object(F.sprintf)(Object(F.__)("Block %s is at the end of the content and can’t be moved down"),t):i<0&&!r?Object(F.sprintf)(Object(F.__)("Move %(type)s block from position %(position)d up to position %(newPosition)d"),{type:t,position:s,newPosition:s-1}):i<0&&r?Object(F.sprintf)(Object(F.__)("Block %s is at the beginning of the content and can’t be moved up"),t):void 0}var ho=wp.element.createElement("svg",{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18","aria-hidden":!0,role:"img",focusable:"false"},wp.element.createElement("polygon",{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),mo=wp.element.createElement("svg",{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18","aria-hidden":!0,role:"img",focusable:"false"},wp.element.createElement("polygon",{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),vo=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={isFocused:!1},e.onFocus=e.onFocus.bind(e),e.onBlur=e.onBlur.bind(e),e}return h()(t,e),u()(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,r=e.isFirst,o=e.isLast,i=e.uids,s=e.blockType,a=e.firstIndex,c=e.isLocked,l=e.instanceId,u=e.isHidden,d=this.state.isFocused,p=Object(m.castArray)(i).length;return c?null:wp.element.createElement("div",{className:Z()("editor-block-mover",{"is-visible":d||!u})},wp.element.createElement(O.IconButton,{className:"editor-block-mover__control",onClick:r?null:t,icon:ho,label:Object(F.__)("Move up"),"aria-describedby":"editor-block-mover__up-description-"+l,"aria-disabled":r,onFocus:this.onFocus,onBlur:this.onBlur}),wp.element.createElement(O.IconButton,{className:"editor-block-mover__control",onClick:o?null:n,icon:mo,label:Object(F.__)("Move down"),"aria-describedby":"editor-block-mover__down-description-"+l,"aria-disabled":o,onFocus:this.onFocus,onBlur:this.onBlur}),wp.element.createElement("span",{id:"editor-block-mover__up-description-"+l,className:"editor-block-mover__description"},fo(p,s&&s.title,a,r,o,-1)),wp.element.createElement("span",{id:"editor-block-mover__down-description-"+l,className:"editor-block-mover__description"},fo(p,s&&s.title,a,r,o,1)))}}]),t}(v.Component),bo=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=t.uids,r=t.rootUID,o=e("core/editor"),i=o.getBlock,s=o.getBlockIndex,a=o.getEditorSettings,c=Object(m.first)(Object(m.castArray)(n)),l=i(c),u=a().templateLock;return{firstIndex:s(c,r),blockType:l?Object(A.getBlockType)(l.name):null,isLocked:"all"===u}}),Object(g.withDispatch)(function(e,t){var n=t.uids,r=t.rootUID,o=e("core/editor"),i=o.moveBlocksDown,s=o.moveBlocksUp;return{onMoveDown:Object(m.partial)(i,n,r),onMoveUp:Object(m.partial)(s,n,r)}}),O.withInstanceId)(vo),go=(n(578),function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onFilesDrop=e.onFilesDrop.bind(e),e.onHTMLDrop=e.onHTMLDrop.bind(e),e.onDrop=e.onDrop.bind(e),e}return h()(t,e),u()(t,[{key:"getInsertIndex",value:function(e){var t=this.props.index;if(void 0!==t)return"top"===e.y?t:t+1}},{key:"onFilesDrop",value:function(e,t){var n=Object(A.findTransform)(Object(A.getBlockTransforms)("from"),function(t){return"files"===t.type&&t.isMatch(e)});if(n){var r=this.getInsertIndex(t),o=n.transform(e,this.props.updateBlockAttributes);this.props.insertBlocks(o,r)}}},{key:"onHTMLDrop",value:function(e,t){var n=Object(A.rawHandler)({HTML:e,mode:"BLOCKS"});n.length&&this.props.insertBlocks(n,this.getInsertIndex(t))}},{key:"onDrop",value:function(e,t){if(e.dataTransfer){var n=void 0,r=void 0,o=void 0,i=void 0;try{var s=JSON.parse(e.dataTransfer.getData("text"));n=s.uid,r=s.type,o=s.rootUID,i=s.fromIndex}catch(e){return}if("block"===r){var a=this.props.index,c=this.getInsertIndex(t),l=a&&i<a&&o===this.props.rootUID?c-1:c;this.props.moveBlockToPosition(n,o,l)}}}},{key:"render",value:function(){var e=this.props,t=e.isLocked,n=e.index;if(t)return null;var r=void 0===n;return wp.element.createElement(O.DropZone,{className:Z()("editor-block-drop-zone",{"is-appender":r}),onFilesDrop:this.onFilesDrop,onHTMLDrop:this.onHTMLDrop,onDrop:this.onDrop})}}]),t}(v.Component)),yo=Object(v.compose)(Object(g.withDispatch)(function(e,t){var n=e("core/editor"),r=n.insertBlocks,o=n.updateBlockAttributes,i=n.moveBlockToPosition;return{insertBlocks:function(e,n){var o=t.rootUID,i=t.layout;i&&(e=Object(m.castArray)(e).map(function(e){return Object(A.cloneBlock)(e,{layout:i})})),r(e,n,o)},updateBlockAttributes:function(){o.apply(void 0,arguments)},moveBlockToPosition:function(e,n,r){var o=t.rootUID,s=t.layout;i(e,n,o,s,r)}}}),Object(g.withSelect)(function(e){return{isLocked:!!e("core/editor").getEditorSettings().templateLock}}))(go);n(577);var ko=Object(v.compose)([Object(g.withSelect)(function(e,t){var n=t.uid,r=e("core/editor"),o=r.getBlock,i=r.getBlockMode,s=o(n);return{mode:i(n),blockType:s?Object(A.getBlockType)(s.name):null}}),Object(g.withDispatch)(function(e,t){var n=t.onToggle,r=void 0===n?m.noop:n,o=t.uid;return{onToggleMode:function(){e("core/editor").toggleBlockMode(o),r()}}})])(function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,i=void 0!==o&&o,s=e.role;if(!Object(A.hasBlockSupport)(t,"html",!0))return null;var a="visual"===n?Object(F.__)("Edit as HTML"):Object(F.__)("Edit visually");return wp.element.createElement(O.IconButton,{className:"editor-block-settings-menu__control",onClick:r,icon:"html",label:i?a:void 0,role:s},!i&&a)});var _o=Object(v.compose)(Object(g.withDispatch)(function(e,t){var n=t.uids;return{onRemove:function(){e("core/editor").removeBlocks(n)}}}),Object(g.withSelect)(function(e){return{isLocked:!!e("core/editor").getEditorSettings().templateLock}}))(function(e){var t=e.onRemove,n=e.onClick,r=void 0===n?m.noop:n,o=e.isLocked,i=e.role,s=Me()(e,["onRemove","onClick","isLocked","role"]);if(o)return null;var a=Object(F.__)("Remove");return wp.element.createElement(O.IconButton,k()({className:"editor-block-settings-remove",onClick:Object(m.flow)(t,r),icon:"trash",label:a,role:i},s))});var Oo=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=t.uids,r=t.rootUID,o=e("core/editor"),i=o.getBlocksByUID,s=o.getBlockIndex,a=(0,o.getEditorSettings)().templateLock;return{blocks:i(n),index:s(Object(m.last)(Object(m.castArray)(n)),r),isLocked:!!a}}),Object(g.withDispatch)(function(e,t){var n=t.blocks,r=t.index,o=t.rootUID;return{onDuplicate:function(){var t=n.map(function(e){return Object(A.cloneBlock)(e)});e("core/editor").insertBlocks(t,r+1,o),t.length>1&&e("core/editor").multiSelect(Object(m.first)(t).uid,Object(m.last)(t).uid)}}}))(function(e){var t=e.blocks,n=e.onDuplicate,r=e.onClick,o=void 0===r?m.noop:r,i=e.isLocked,s=e.small,a=void 0!==s&&s,c=e.role,l=Object(m.every)(t,function(e){return!Object(A.getBlockType)(e.name).useOnce});if(i||!l)return null;var u=Object(F.__)("Duplicate");return wp.element.createElement(O.IconButton,{className:"editor-block-settings-menu__control",onClick:Object(m.flow)(n,o),icon:"admin-page",label:a?u:void 0,role:c},!a&&u)});var wo=Object(v.compose)([Object(g.withSelect)(function(e,t){var n=t.uids,r=e("core/editor"),o=r.getEditorSettings,i=r.getBlocksByUID;return{isLocked:!!o().templateLock,blocks:i(n)}}),Object(g.withDispatch)(function(e,t){return{onTransform:function(n,r){e("core/editor").replaceBlocks(t.uids,Object(A.switchToBlockType)(n,r))}}})])(function(e){var t=e.blocks,n=e.small,r=void 0!==n&&n,o=e.onTransform,i=e.onClick,s=void 0===i?m.noop:i,a=e.isLocked,c=e.itemsRole,l=Object(A.getPossibleBlockTransformations)(t);return a||!l.length?null:wp.element.createElement(v.Fragment,null,wp.element.createElement("div",{className:"editor-block-settings-menu__separator"}),wp.element.createElement("span",{className:"editor-block-settings-menu__title"},Object(F.__)("Transform into:")),l.map(function(e){var n=e.name,i=e.title,a=e.icon;return wp.element.createElement(O.IconButton,{key:n,className:"editor-block-settings-menu__control",onClick:function(e){o(t,n),s(e)},icon:a,label:r?i:void 0,role:c},!r&&i)}))});var So=Object(v.compose)([Object(g.withSelect)(function(e,t){var n=t.uid,r=e("core/editor"),o=r.getBlock,i=r.getSharedBlock,s=o(n);return{sharedBlock:s&&Object(A.isSharedBlock)(s)?i(s.attributes.ref):null}}),Object(g.withDispatch)(function(e,t){var n=t.uid,r=t.onToggle,o=void 0===r?m.noop:r,i=e("core/editor"),s=i.convertBlockToShared,a=i.convertBlockToStatic,c=i.deleteSharedBlock;return{onConvertToStatic:function(){a(n),o()},onConvertToShared:function(){s(n),o()},onDelete:function(e){window.confirm(Object(F.__)("Are you sure you want to delete this Shared Block?\n\nIt will be permanently removed from all posts and pages that use it."))&&(c(e),o())}}})])(function(e){var t=e.sharedBlock,n=e.onConvertToStatic,r=e.onConvertToShared,o=e.onDelete,i=e.itemsRole;return wp.element.createElement(v.Fragment,null,!t&&wp.element.createElement(O.IconButton,{className:"editor-block-settings-menu__control",icon:"controls-repeat",onClick:r,role:i},Object(F.__)("Convert to Shared Block")),t&&wp.element.createElement(v.Fragment,null,wp.element.createElement(O.IconButton,{className:"editor-block-settings-menu__control",icon:"controls-repeat",onClick:n,role:i},Object(F.__)("Convert to Regular Block")),wp.element.createElement(O.IconButton,{className:"editor-block-settings-menu__control",icon:"no",disabled:t.isTemporary,onClick:function(){return o(t.id)},role:i},Object(F.__)("Delete Shared Block"))))});var Eo=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=t.uid,r=e("core/editor"),o=r.getBlock,i=r.getCurrentPostType;return{block:o(n),postType:i()}}),Object(g.withDispatch)(function(e){return{onReplace:e("core/editor").replaceBlocks}}),Object(O.withAPIData)(function(e){return{user:"/wp/v2/users/me?post_type="+e.postType+"&context=edit"}}))(function(e){var t=e.block,n=e.onReplace,r=e.small,o=e.user,i=e.role;if(!t||Object(A.getUnknownTypeHandlerName)()!==t.name)return null;var s=Object(F.__)("Convert to blocks");return wp.element.createElement(O.IconButton,{className:"editor-block-settings-menu__control",onClick:function(){n(t.uid,Object(A.rawHandler)({HTML:Object(A.serialize)(t),mode:"BLOCKS",canUserUseUnfilteredHTML:Object(m.get)(o,["data","capabilities","unfiltered_html"],!1)}))},icon:"screenoptions",label:r?s:void 0,role:i},!r&&s)}),jo=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={isFocused:!1},e.onFocus=e.onFocus.bind(e),e.onBlur=e.onBlur.bind(e),e}return h()(t,e),u()(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.uids,r=t.onSelect,o=t.focus,i=t.rootUID,s=t.renderBlockMenu,a=void 0===s?function(e){return e.children}:s,c=t.isHidden,l=this.state.isFocused,u=Object(m.castArray)(n),d=u.length,p=u[0];return wp.element.createElement("div",{className:Z()("editor-block-settings-menu",{"is-visible":l||!c})},wp.element.createElement(O.Dropdown,{contentClassName:"editor-block-settings-menu__popover",position:"bottom left",renderToggle:function(t){var n=t.onToggle,i=t.isOpen,s=Z()("editor-block-settings-menu__toggle",{"is-opened":i});return wp.element.createElement(O.IconButton,{className:s,onClick:function(){1===d&&r(p),n()},icon:"ellipsis",label:Object(F.__)("More Options"),"aria-expanded":i,focus:o,onFocus:e.onFocus,onBlur:e.onBlur})},renderContent:function(e){var t=e.onClose;return wp.element.createElement(O.NavigableMenu,{className:"editor-block-settings-menu__content"},a({onClose:t,children:[1===d&&wp.element.createElement(ko,{key:"mode-toggle",uid:p,onToggle:t,role:"menuitem"}),1===d&&wp.element.createElement(Eo,{key:"unknown-converter",uid:p,role:"menuitem"}),wp.element.createElement(Oo,{key:"duplicate",uids:n,rootUID:i,role:"menuitem"}),1===d&&wp.element.createElement(So,{key:"shared-block",uid:p,onToggle:t,itemsRole:"menuitem"}),wp.element.createElement(wo,{key:"transformations",uids:n,onClick:t,itemsRole:"menuitem"})]}))}}),wp.element.createElement(_o,{uids:n,onFocus:this.onFocus,onBlur:this.onBlur}))}}]),t}(v.Component),Co=Object(g.withDispatch)(function(e){return{onSelect:function(t){e("core/editor").selectBlock(t)}}})(jo);n(576);var To=function(e){var t=e.actions,n=e.children;return wp.element.createElement("div",{className:"editor-warning"},n,v.Children.count(t)>0&&wp.element.createElement("div",{className:"editor-warning__actions"},v.Children.map(t,function(e,t){return wp.element.createElement("span",{key:t,className:"editor-warning__action"},e)})))};var Po=Object(g.withDispatch)(function(e,t){var n=t.block,r=e("core/editor").replaceBlock;return{convertToHTML:function(){r(n.uid,Object(A.createBlock)("core/html",{content:n.originalContent}))},convertToBlocks:function(){r(n.uid,Object(A.rawHandler)({HTML:n.originalContent,mode:"BLOCKS"}))}}})(function(e){var t=e.convertToHTML,n=e.convertToBlocks,r=!!Object(A.getBlockType)("core/html");return wp.element.createElement(To,{actions:[wp.element.createElement(O.Button,{key:"convert",onClick:n,isLarge:!0,isPrimary:!r},Object(F.__)("Convert to Blocks")),r&&wp.element.createElement(O.Button,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},Object(F.__)("Edit as HTML"))]},Object(F.__)("This block appears to have been modified externally."))}),Bo=wp.element.createElement(To,null,Object(F.__)("This block has encountered an error and cannot be previewed.")),xo=function(){return Bo},Io=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={hasError:!1},e}return h()(t,e),u()(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(v.Component),Do=function(e){function t(e){c()(this,t);var n=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return n.onChange=n.onChange.bind(n),n.onBlur=n.onBlur.bind(n),n.state={html:e.block.isValid?Object(A.getBlockContent)(e.block):e.block.originalContent},n}return h()(t,e),u()(t,[{key:"componentWillReceiveProps",value:function(e){Object(m.isEqual)(e.block.attributes,this.props.block.attributes)||this.setState({html:Object(A.getBlockContent)(e.block)})}},{key:"onBlur",value:function(){var e=Object(A.getBlockType)(this.props.block.name),t=Object(A.getBlockAttributes)(e,this.state.html,this.props.block.attributes),n=Object(A.isValidBlock)(this.state.html,e,t);this.props.onChange(this.props.uid,t,this.state.html,n)}},{key:"onChange",value:function(e){this.setState({html:e.target.value})}},{key:"render",value:function(){var e=this.state.html;return wp.element.createElement(Ve.a,{className:"editor-block-list__block-html-textarea",value:e,onBlur:this.onBlur,onChange:this.onChange})}}]),t}(v.Component),Ao=Object(v.compose)([Object(g.withSelect)(function(e,t){return{block:e("core/editor").getBlock(t.uid)}}),Object(g.withDispatch)(function(e){return{onChange:function(t,n,r,o){e("core/editor").updateBlock(t,{attributes:n,originalContent:r,isValid:o})}}})])(Do),No=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={isFocused:!1},e.onFocus=e.onFocus.bind(e),e.onBlur=e.onBlur.bind(e),e}return h()(t,e),u()(t,[{key:"onFocus",value:function(e){this.setState({isFocused:!0}),e.stopPropagation()}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.uid,n=e.rootUID,r=e.selectRootBlock,o=e.isHidden,i=this.state.isFocused;return wp.element.createElement("div",{className:Z()("editor-block-list__breadcrumb",{"is-visible":!o||i})},wp.element.createElement(O.Toolbar,null,n&&wp.element.createElement(O.IconButton,{onClick:r,onFocus:this.onFocus,onBlur:this.onBlur,label:Object(F.__)("Select parent block"),icon:"arrow-left-alt"}),wp.element.createElement(Zt,{uid:t})))}}]),t}(v.Component),Ro=Object(v.compose)([Object(g.withSelect)(function(e,t){return{rootUID:(0,e("core/editor").getBlockRootUID)(t.uid)}}),Object(g.withDispatch)(function(e,t){var n=t.rootUID,r=e("core/editor").selectBlock;return{selectRootBlock:function(){return r(n)}}})])(No),Lo=window,Uo=Lo.Node,Mo=Lo.getSelection,Fo=b.keycodes.ESCAPE,Ho=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.bindNode=e.bindNode.bind(e),e.focusToolbar=e.focusToolbar.bind(e),e.focusSelection=e.focusSelection.bind(e),e.switchOnKeyDown=Object(m.cond)([[Object(m.matchesProperty)(["keyCode"],Fo),e.focusSelection]]),e}return h()(t,e),u()(t,[{key:"bindNode",value:function(e){this.toolbar=Object(v.findDOMNode)(e)}},{key:"focusToolbar",value:function(){var e=qe.focus.tabbable.find(this.toolbar);e.length&&e[0].focus()}},{key:"focusSelection",value:function(){var e=Mo();if(e){var t=e.focusNode;t.nodeType!==Uo.ELEMENT_NODE&&(t=t.parentElement),t&&t.focus()}}},{key:"render",value:function(){var e=this.props,t=e.children,n=Me()(e,["children"]);return wp.element.createElement(O.NavigableMenu,k()({orientation:"horizontal",role:"toolbar",deep:!0,ref:this.bindNode,onKeyDown:this.switchOnKeyDown},n),wp.element.createElement(O.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(v.Component);var Vo=function(){return wp.element.createElement(Ho,{className:"editor-block-contextual-toolbar","aria-label":Object(F.__)("Block Toolbar")},wp.element.createElement(ji,null))};var Ko=Object(g.withSelect)(function(e,t){var n=t.rootUID,r=e("core/editor"),o=r.getMultiSelectedBlockUids,i=r.isMultiSelecting,s=r.getBlockIndex,a=r.getBlockCount,c=o(),l=s(Object(m.first)(c),n),u=s(Object(m.last)(c),n);return{multiSelectedBlockUids:c,isSelecting:i(),isFirst:0===l,isLast:u+1===a()}})(function(e){var t=e.multiSelectedBlockUids,n=e.rootUID,r=e.isSelecting,o=e.isFirst,i=e.isLast;return r?null:[wp.element.createElement(bo,{key:"mover",rootUID:n,uids:t,isFirst:o,isLast:i}),wp.element.createElement(Co,{key:"menu",rootUID:n,uids:t,focus:!0})]});n(575);var Wo=function(e){var t=e.children;return wp.element.createElement("span",{className:"editor-inserter__no-blocks"},t||Object(F.__)("No blocks found."))};function zo(e){return e.filter(function(e){return!e.isDisabled})}var qo=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onNavigate=e.onNavigate.bind(e),e.activeItems=zo(e.props.items),e.state={current:e.activeItems.length>0?e.activeItems[0]:null},e}return h()(t,e),u()(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;Object(m.isEqual)(this.props.items,e.items)||(this.activeItems=zo(e.items),this.state.current&&this.activeItems.some(function(e){return e.id===t.state.current.id})||this.setState({current:this.activeItems.length>0?this.activeItems[0]:null}))}},{key:"createToggleBlockHover",value:function(e){var t=this;return this.props.onHover?function(){return t.props.onHover(e)}:null}},{key:"renderItem",value:function(e){var t=this.state.current,n=this.props.onSelectItem,r=t&&t.id===e.id;return wp.element.createElement("button",{role:"menuitem",key:e.id,className:"editor-inserter__block",onClick:function(){return n(e)},tabIndex:r||e.isDisabled?null:"-1",disabled:e.isDisabled,onMouseEnter:this.createToggleBlockHover(e),onMouseLeave:this.createToggleBlockHover(null),onFocus:this.createToggleBlockHover(e),onBlur:this.createToggleBlockHover(null),"aria-label":e.title},wp.element.createElement(N,{icon:e.icon}),e.title)}},{key:"onNavigate",value:function(e){var t=this.activeItems[e];t&&this.setState({current:t})}},{key:"render",value:function(){var e=this.props,t=e.labelledBy,n=e.items;return wp.element.createElement(O.NavigableMenu,{className:"editor-inserter__category-blocks",orientation:"both","aria-labelledby":t,cycle:!1,onNavigate:this.onNavigate},n.map(this.renderItem,this))}}]),t}(v.Component),Go={};function Yo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.noop;if(!Go[e]){var n=function(n){function r(){return c()(this,r),p()(this,(r.__proto__||s()(r)).apply(this,arguments))}return h()(r,n),u()(r,[{key:"componentWillReceiveProps",value:function(e){this.updateNestedSettings({supportedBlocks:e.allowedBlocks})}},{key:"componentWillUnmount",value:function(){Go[e][1]--||delete Go[e]}},{key:"componentDidMount",value:function(){Go[e][1]++,this.updateNestedSettings({supportedBlocks:this.props.allowedBlocks}),this.insertTemplateBlocks(this.props.template)}},{key:"insertTemplateBlocks",value:function(e){var t=this.props,n=t.block,r=t.insertBlocks;e&&!n.innerBlocks.length&&r(Object(A.synchronizeBlocksWithTemplate)([],e))}},{key:"updateNestedSettings",value:function(e){Object(m.isEqual)(this.props.blockListSettings,e)||this.props.updateNestedSettings(e)}},{key:"render",value:function(){return wp.element.createElement(_i,k()({rootUID:e,renderBlockMenu:t},Object(m.omit)(this.props,["allowedBlocks","block","blockListSettings","insertBlocks","template","updateNestedSettings"])))}}]),r}(v.Component),r=Object(v.compose)(Object(g.withSelect)(function(t){var n=t("core/editor"),r=n.getBlock,o=n.getBlockListSettings;return{block:r(e),blockListSettings:o(e)}}),Object(g.withDispatch)(function(t){var n=t("core/editor"),r=n.insertBlocks,o=n.updateBlockListSettings;return{insertBlocks:function(n){t(r(n,void 0,e))},updateNestedSettings:function(n){t(o(e,n))}}}))(n);Go[e]=[r,0]}return Go[e][0]}n(574);var Xo=function(e){function t(){return c()(this,t),p()(this,(t.__proto__||s()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"getChildContext",value:function(){return{createInnerBlockList:Yo}}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.attributes,r=Object(A.createBlock)(t,n);return wp.element.createElement("div",{className:"editor-block-preview"},wp.element.createElement("div",{className:"editor-block-preview__title"},Object(F.__)("Preview")),wp.element.createElement("div",{className:"editor-block-preview__content"},wp.element.createElement(ne,{name:t,focus:!1,attributes:r.attributes,setAttributes:m.noop})))}}]),t}(v.Component);Xo.childContextTypes={createInnerBlockList:m.noop};var $o=Xo,Jo=Object(m.pick)(b.keycodes,["UP","DOWN","LEFT","RIGHT"]),Qo=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.nodes={},e.state={filterValue:"",tab:"suggested",selectedItem:null},e.filter=e.filter.bind(e),e.searchItems=e.searchItems.bind(e),e.getItemsForTab=e.getItemsForTab.bind(e),e.sortItems=e.sortItems.bind(e),e.selectItem=e.selectItem.bind(e),e.tabScrollTop={suggested:0,blocks:0,embeds:0},e.switchTab=e.switchTab.bind(e),e.previewItem=e.previewItem.bind(e),e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.props.fetchSharedBlocks()}},{key:"componentDidUpdate",value:function(e,t){var n=this.searchItems(this.props.items);this.state.filterValue&&n.length?this.props.debouncedSpeak(Object(F.sprintf)(Object(F._n)("%d result found","%d results found",n.length),n.length),"assertive"):this.state.filterValue&&this.props.debouncedSpeak(Object(F.__)("No results."),"assertive"),this.state.tab!==t.tab&&(this.tabContainer.scrollTop=this.tabScrollTop[this.state.tab])}},{key:"filter",value:function(e){this.setState({filterValue:e.target.value})}},{key:"previewItem",value:function(e){this.setState({selectedItem:e})}},{key:"selectItem",value:function(e){this.props.onSelect(e),this.setState({filterValue:""})}},{key:"searchItems",value:function(e){return function(e,t){var n=t.toLowerCase().trim(),r=function(e){return-1!==e.toLowerCase().indexOf(n)};return e.filter(function(e){return r(e.title)||Object(m.some)(e.keywords,r)})}(e,this.state.filterValue)}},{key:"getItemsForTab",value:function(e){var t=this.props,n=t.items,r=t.frecentItems;if(this.state.filterValue)return n;var o=void 0;switch(e){case"suggested":return r;case"blocks":o=function(e){return"embed"!==e.category&&"shared"!==e.category};break;case"embeds":o=function(e){return"embed"===e.category};break;case"shared":o=function(e){return"shared"===e.category}}return Object(m.filter)(n,o)}},{key:"sortItems",value:function(e){if("suggested"===this.state.tab&&!this.state.filterValue)return e;return Object(m.sortBy)(e,function(e){return Object(m.findIndex)(Object(A.getCategories)(),function(t){return t.slug===e.category})})}},{key:"groupByCategory",value:function(e){return Object(m.groupBy)(e,function(e){return e.category})}},{key:"getVisibleItemsByCategory",value:function(e){return Object(m.flow)(this.searchItems,this.sortItems,this.groupByCategory)(e)}},{key:"renderItems",value:function(e,t){var n=this.props.instanceId,r=void 0===t?null:"editor-inserter__separator-"+t+"-"+n;return wp.element.createElement(qo,{items:e,labelledBy:r,onSelectItem:this.selectItem,onHover:this.previewItem})}},{key:"renderCategory",value:function(e,t){var n=this.props.instanceId;return t&&wp.element.createElement("div",{key:e.slug},wp.element.createElement("div",{className:"editor-inserter__separator",id:"editor-inserter__separator-"+e.slug+"-"+n,"aria-hidden":"true"},e.title),this.renderItems(t,e.slug))}},{key:"renderCategories",value:function(e){var t=this;return Object(m.isEmpty)(e)?wp.element.createElement(Wo,null):Object(A.getCategories)().map(function(n){return t.renderCategory(n,e[n.slug])})}},{key:"switchTab",value:function(e){this.tabScrollTop[this.state.tab]=this.tabContainer.scrollTop,this.setState({tab:e})}},{key:"renderTabView",value:function(e){var t=this.getItemsForTab(e);if("suggested"===e)return this.renderItems(t);if("shared"===e&&0===t.length)return wp.element.createElement(Wo,null,Object(F.__)("No shared blocks."));var n=this.getVisibleItemsByCategory(t),r=Gt()(n);if(1===r.length){var o=Oe()(r,1)[0];return this.renderItems(n[o])}return this.renderCategories(n)}},{key:"eventToOffset",value:function(e){return e.keyCode===b.keycodes.DOWN&&"tab"===document.activeElement.getAttribute("role")?1:Object(m.includes)(Jo,e.keyCode)?0:void 0}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.items,o=this.state.selectedItem,i=this.state.filterValue;return wp.element.createElement(O.TabbableContainer,{className:"editor-inserter__menu",deep:!0,eventToOffset:this.eventToOffset},wp.element.createElement("label",{htmlFor:"editor-inserter__search-"+n,className:"screen-reader-text"},Object(F.__)("Search for a block")),wp.element.createElement("input",{id:"editor-inserter__search-"+n,type:"search",placeholder:Object(F.__)("Search for a block"),className:"editor-inserter__search",onChange:this.filter,autoFocus:!0}),!i&&wp.element.createElement(O.TabPanel,{className:"editor-inserter__tabs",activeClass:"is-active",onSelect:this.switchTab,tabs:[{name:"suggested",title:Object(F.__)("Suggested"),className:"editor-inserter__tab"},{name:"blocks",title:Object(F.__)("Blocks"),className:"editor-inserter__tab"},{name:"embeds",title:Object(F.__)("Embeds"),className:"editor-inserter__tab"},{name:"shared",title:Object(F.__)("Shared"),className:"editor-inserter__tab"}]},function(t){return wp.element.createElement("div",{ref:function(t){return e.tabContainer=t}},e.renderTabView(t))}),i&&wp.element.createElement("div",{role:"menu",className:"editor-inserter__search-results"},this.renderCategories(this.getVisibleItemsByCategory(r))),o&&Object(A.isSharedBlock)(o)&&wp.element.createElement($o,{name:o.name,attributes:o.initialAttributes}))}}]),t}(v.Component),Zo=Object(v.compose)(Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getBlockInsertionPoint,r=t.getInserterItems,o=t.getFrecentInserterItems,i=t.getSupportedBlocks,s=(0,t.getEditorSettings)().allowedBlockTypes,a=i(n().rootUID,s);return{items:r(a),frecentItems:o(a)}}),Object(g.withDispatch)(function(e){return{fetchSharedBlocks:e("core/editor").fetchSharedBlocks}}),O.withSpokenMessages,O.withInstanceId)(Qo),ei=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onToggle=e.onToggle.bind(e),e}return h()(t,e),u()(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;e?this.props.showInsertionPoint():this.props.hideInsertionPoint(),t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.title,r=e.children,o=e.onInsertBlock,i=e.hasSupportedBlocks,s=e.isLocked;return!i||s?null:wp.element.createElement(O.Dropdown,{className:"editor-inserter",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:n,renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return wp.element.createElement(O.IconButton,{icon:"insert",label:Object(F.__)("Add block"),onClick:t,className:"editor-inserter__toggle","aria-haspopup":"true","aria-expanded":n},r)},renderContent:function(e){var t=e.onClose;return wp.element.createElement(Zo,{onSelect:function(e){o(e),t()}})}})}}]),t}(v.Component),ti=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getBlockInsertionPoint,o=t.getSelectedBlock,i=t.getSupportedBlocks,s=(0,t.getEditorSettings)(),a=s.allowedBlockTypes,c=s.templateLock,l=r(),u=i(l.rootUID,a);return{title:n("title"),insertionPoint:l,selectedBlock:o(),hasSupportedBlocks:!0===u||!Object(m.isEmpty)(u),isLocked:!!c}}),Object(g.withDispatch)(function(e,t){return{showInsertionPoint:e("core/editor").showInsertionPoint,hideInsertionPoint:e("core/editor").hideInsertionPoint,onInsertBlock:function(n){var r=t.insertionPoint,o=t.selectedBlock,i=r.index,s=r.rootUID,a=r.layout,c=n.name,l=n.initialAttributes,u=Object(A.createBlock)(c,k()({},l,{layout:a}));return o&&Object(A.isUnmodifiedDefaultBlock)(o)?e("core/editor").replaceBlocks(o.uid,u):e("core/editor").insertBlock(u,i,s)}}})])(ei);var ni=Object(po.ifViewportMatches)("< small")(function(e){var t=e.rootUID,n=e.uid,r=e.renderBlockMenu;return wp.element.createElement("div",{className:"editor-block-list__block-mobile-toolbar"},wp.element.createElement(ti,null),wp.element.createElement(bo,{uids:[n]}),wp.element.createElement(Co,{rootUID:t,uids:[n],renderBlockMenu:r}))}),ri=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onClick=e.onClick.bind(e),e}return h()(t,e),u()(t,[{key:"onClick",value:function(){var e=this.props,t=e.layout,n=e.rootUID,r=e.index,o=Me()(e,["layout","rootUID","index"]);o.insertDefaultBlock({layout:t},n,r),o.startTyping()}},{key:"render",value:function(){var e=this.props,t=e.showInsertionPoint,n=e.showInserter;return wp.element.createElement("div",{className:"editor-block-list__insertion-point"},t&&wp.element.createElement("div",{className:"editor-block-list__insertion-point-indicator"}),n&&wp.element.createElement("button",{className:"editor-block-list__insertion-point-inserter",onClick:this.onClick,"aria-label":Object(F.__)("Insert block")}))}}]),t}(v.Component),oi=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=t.uid,r=t.rootUID,o=e("core/editor"),i=o.getBlockIndex,s=o.getBlockInsertionPoint,a=o.getBlock,c=o.isBlockInsertionPointVisible,l=o.isTyping,u=o.getEditorSettings,d=n?i(n,r):-1,p=s(),f=n?a(n):null,h=c()&&p.index===d&&p.rootUID===r&&(!f||!Object(A.isUnmodifiedDefaultBlock)(f));return{templateLock:u().templateLock,showInserter:!l(),index:d,showInsertionPoint:h}}),Object(O.ifCondition)(function(e){return!e.templateLock}),Object(g.withDispatch)(function(e){var t=e("core/editor");return{insertDefaultBlock:t.insertDefaultBlock,startTyping:t.startTyping}}))(ri);var ii=function(e){var t=e.rootUID,n=e.index,r=e.uid,o=e.layout,i=e.isDragging,s=Me()(e,["rootUID","index","uid","layout","isDragging"]),a=Z()("editor-block-list__block-draggable",{"is-visible":i}),c={type:"block",fromIndex:n,rootUID:t,uid:r,layout:o};return wp.element.createElement(O.Draggable,k()({className:a,transferData:c},s),wp.element.createElement("div",{className:"editor-block-list__block-draggable-inner"}))},si=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.proxyEvent=e.proxyEvent.bind(e),e.eventMap={},e}return h()(t,e),u()(t,[{key:"proxyEvent",value:function(e){var t=!!e.nativeEvent._blockHandled;e.nativeEvent._blockHandled=!0;var n=this.eventMap[e.type];t&&(n+="Handled"),this.props[n]&&this.props[n](e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childHandledEvents,r=void 0===n?[]:n,o=Me()(t,["childHandledEvents"]),i=Object(m.reduce)([].concat(x()(r),x()(Gt()(o))),function(t,n){var r=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(r){!!r[2]&&delete o[n];var i="on"+r[1];t[i]=e.proxyEvent,e.eventMap[r[1].toLowerCase()]=i}return t},{});return wp.element.createElement("div",k()({},o,i))}}]),t}(v.Component);n(573);var ai=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=t.rootUID,r=e("core/editor"),o=r.getEditorSettings,i=r.getFrecentInserterItems,s=r.getSupportedBlocks,a=o(),c=a.templateLock;return{items:i(s(n,a.allowedBlockTypes),4),isLocked:!!c}}),Object(g.withDispatch)(function(e,t){var n=t.uid,r=t.rootUID,o=t.layout;return{onInsert:function(t){var i=t.name,s=t.initialAttributes,a=Object(A.createBlock)(i,k()({},s,{layout:o}));n?e("core/editor").replaceBlocks(n,a):e("core/editor").insertBlock(a,void 0,r)}}}))(function(e){var t=e.items,n=e.isLocked,r=e.onInsert;if(n)return null;var o=Object(m.filter)(t,function(e){return e.name!==Object(A.getDefaultBlockName)()||!Object(m.isEmpty)(e.initialAttributes)}).slice(0,3);return wp.element.createElement("div",{className:"editor-inserter-with-shortcuts"},o.map(function(e){return wp.element.createElement(O.IconButton,{key:e.id,className:"editor-inserter-with-shortcuts__block",onClick:function(){return r(e)},label:Object(F.sprintf)(Object(F.__)("Add %s"),e.title),icon:wp.element.createElement(N,{icon:e.icon})})}))}),ci=Object(v.createHigherOrderComponent)(function(e){var t=function(t){function n(){c()(this,n);var e=p()(this,(n.__proto__||s()(n)).apply(this,arguments));return e.state={hoverArea:null},e.onMouseLeave=e.onMouseLeave.bind(e),e.onMouseMove=e.onMouseMove.bind(e),e}return h()(n,t),u()(n,[{key:"componentDidMount",value:function(){this.container=Object(v.findDOMNode)(this),this.container.addEventListener("mousemove",this.onMouseMove),this.container.addEventListener("mouseleave",this.onMouseLeave)}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("mousemove",this.onMouseMove),this.container.removeEventListener("mouseleave",this.onMouseLeave)}},{key:"onMouseLeave",value:function(){this.state.hoverArea&&this.setState({hoverArea:null})}},{key:"onMouseMove",value:function(e){var t=this.props.isRTL,n=this.container.getBoundingClientRect(),r=n.width,o=n.left,i=n.right,s=null;e.clientX-o<r/3?s=t?"right":"left":i-e.clientX<r/3&&(s=t?"left":"right"),s!==this.state.hoverArea&&this.setState({hoverArea:s})}},{key:"render",value:function(){var t=this.state.hoverArea;return wp.element.createElement(e,k()({},this.props,{hoverArea:t}))}}]),n}(v.Component);return Object(g.withSelect)(function(e){return{isRTL:e("core/editor").getEditorSettings().isRTL}})(t)}),li=b.keycodes.BACKSPACE,ui=b.keycodes.DELETE,di=b.keycodes.ENTER,pi=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.setBlockListRef=e.setBlockListRef.bind(e),e.bindBlockNode=e.bindBlockNode.bind(e),e.setAttributes=e.setAttributes.bind(e),e.maybeHover=e.maybeHover.bind(e),e.hideHoverEffects=e.hideHoverEffects.bind(e),e.mergeBlocks=e.mergeBlocks.bind(e),e.insertBlocksAfter=e.insertBlocksAfter.bind(e),e.onFocus=e.onFocus.bind(e),e.preventDrag=e.preventDrag.bind(e),e.onPointerDown=e.onPointerDown.bind(e),e.deleteOrInsertAfterWrapper=e.deleteOrInsertAfterWrapper.bind(e),e.onBlockError=e.onBlockError.bind(e),e.onTouchStart=e.onTouchStart.bind(e),e.onClick=e.onClick.bind(e),e.onDragStart=e.onDragStart.bind(e),e.onDragEnd=e.onDragEnd.bind(e),e.selectOnOpen=e.selectOnOpen.bind(e),e.createInnerBlockList=e.createInnerBlockList.bind(e),e.hadTouchStart=!1,e.state={error:null,dragging:!1,isHovered:!1},e}return h()(t,e),u()(t,[{key:"createInnerBlockList",value:function(e){return Yo(e,this.props.renderBlockMenu)}},{key:"getChildContext",value:function(){return{createInnerBlockList:this.createInnerBlockList}}},{key:"componentDidMount",value:function(){this.props.isSelected&&this.focusTabbable()}},{key:"componentWillReceiveProps",value:function(e){(e.isTypingWithinBlock||e.isSelected)&&this.hideHoverEffects()}},{key:"componentDidUpdate",value:function(e){this.props.isSelected&&!e.isSelected&&this.focusTabbable()}},{key:"setBlockListRef",value:function(e){e=Object(v.findDOMNode)(e),this.wrapperNode=e,this.props.blockRef(e,this.props.uid)}},{key:"bindBlockNode",value:function(e){this.node=Object(v.findDOMNode)(e)}},{key:"focusTabbable",value:function(){var e=this.props.initialPosition;if(!this.wrapperNode.contains(document.activeElement)){var t=qe.focus.tabbable.find(this.node).filter(qe.isTextField),n=-1===e,r=(n?m.last:m.first)(t);if(r){if(r.focus(),n){var o=St.a.get(r.getAttribute("id"));o?(o.selection.select(o.getBody(),!0),o.selection.collapse(!1)):(Object(qe.placeCaretAtHorizontalEdge)(r,!0),Object(qe.placeCaretAtVerticalEdge)(r,!0))}}else this.wrapperNode.focus()}}},{key:"setAttributes",value:function(e){var t=this.props,n=t.block,r=t.onChange,o=Object(A.getBlockType)(n.name);r(n.uid,e);var i=Object(m.reduce)(e,function(e,t,n){return"meta"===Object(m.get)(o,["attributes",n,"source"])&&(e[o.attributes[n].meta]=t),e},{});Object(m.size)(i)&&this.props.onMetaChange(k()({},this.props.meta,i))}},{key:"onTouchStart",value:function(){this.hadTouchStart=!0}},{key:"onClick",value:function(){this.hadTouchStart=!1}},{key:"maybeHover",value:function(){var e=this.props,t=e.isMultiSelected,n=e.isSelected;this.state.isHovered||t||n||this.props.isMultiSelecting||this.hadTouchStart||this.setState({isHovered:!0})}},{key:"hideHoverEffects",value:function(){this.state.isHovered&&this.setState({isHovered:!1})}},{key:"mergeBlocks",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.props,n=t.block,r=t.previousBlockUid,o=t.nextBlockUid,i=t.onMerge;!e&&!r||e&&!o||(e?i(n.uid,o):i(r,n.uid))}},{key:"insertBlocksAfter",value:function(e){this.props.onInsertBlocks(e,this.props.order+1)}},{key:"onFocus",value:function(){this.props.isSelected||this.props.isMultiSelected||this.props.onSelect()}},{key:"preventDrag",value:function(e){e.preventDefault()}},{key:"onPointerDown",value:function(e){0===e.button&&(e.shiftKey?this.props.isSelected||(this.props.onShiftSelection(this.props.uid),e.preventDefault()):(this.props.onSelectionStart(this.props.uid),this.props.isMultiSelected&&this.props.onSelect()))}},{key:"deleteOrInsertAfterWrapper",value:function(e){var t=e.keyCode;if(e.target===this.wrapperNode&&!this.props.isLocked)switch(t){case di:this.props.onInsertBlocks([Object(A.createBlock)("core/paragraph")],this.props.order+1),e.preventDefault();break;case li:case ui:var n=this.props,r=n.uid,o=n.onRemove,i=n.previousBlockUid,s=n.onSelect;o(r),i&&s(i,-1),e.preventDefault()}}},{key:"onBlockError",value:function(e){this.setState({error:e})}},{key:"onDragStart",value:function(){this.setState({dragging:!0})}},{key:"onDragEnd",value:function(){this.setState({dragging:!1})}},{key:"selectOnOpen",value:function(e){e&&!this.props.isSelected&&this.props.onSelect()}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.order,r=e.mode,o=e.hasFixedToolbar,i=e.isLocked,s=e.isFirst,a=e.isLast,c=e.uid,l=e.rootUID,u=e.layout,d=e.renderBlockMenu,p=e.isSelected,f=e.isMultiSelected,h=e.isFirstMultiSelected,m=e.isLastInSelection,b=e.isTypingWithinBlock,g=e.isMultiSelecting,y=e.hoverArea,_=e.isLargeViewport,O=this.state.isHovered&&!g,w=t.name,S=t.isValid,E=Object(A.getBlockType)(w),j=Object(F.sprintf)(Object(F.__)("Block: %s"),E.title),C=Object(A.isUnmodifiedDefaultBlock)(t),T=(p||O)&&C,P=!T&&(p&&!b),B=(p||"left"===y)&&!T&&!g&&!f&&!b,x=(p||"right"===y)&&!g&&!f&&!b,I=O,D=P&&S&&(!o||!_),N=P,R=this.state,L=R.error,U=R.dragging,M=!f&&!s||f&&m||s&&!l&&!C,H=Z()("editor-block-list__block",{"has-warning":!S||!!L,"is-selected":P,"is-multi-selected":f,"is-hovered":O,"is-shared":Object(A.isSharedBlock)(E),"is-hidden":U,"is-typing":b}),V=this.props.onReplace,K=this.props.wrapperProps;E.getEditWrapperProps&&(K=k()({},K,E.getEditWrapperProps(t.attributes)));var W="block-"+c;return wp.element.createElement(si,k()({id:W,ref:this.setBlockListRef,onMouseOver:this.maybeHover,onMouseOverHandled:this.hideHoverEffects,onMouseLeave:this.hideHoverEffects,className:H,"data-type":t.name,onTouchStart:this.onTouchStart,onFocus:this.onFocus,onClick:this.onClick,onKeyDown:this.deleteOrInsertAfterWrapper,tabIndex:"0",childHandledEvents:["onDragStart","onMouseDown"]},K),!f&&wp.element.createElement(ii,{rootUID:l,index:n,uid:c,layout:u,onDragStart:this.onDragStart,onDragEnd:this.onDragEnd,isDragging:U,elementId:W}),M&&wp.element.createElement(oi,{uid:c,rootUID:l,layout:u}),wp.element.createElement(yo,{index:n,rootUID:l,layout:u}),B&&wp.element.createElement(bo,{uids:c,rootUID:l,layout:u,isFirst:s,isLast:a,isHidden:!(O||p)||"left"!==y}),x&&wp.element.createElement(Co,{uids:c,rootUID:l,renderBlockMenu:d,isHidden:!(O||p)||"right"!==y}),I&&wp.element.createElement(Ro,{uid:c,isHidden:!(O||p)||"left"!==y}),D&&wp.element.createElement(Vo,null),h&&wp.element.createElement(Ko,{rootUID:l}),wp.element.createElement(si,{ref:this.bindBlockNode,onDragStart:this.preventDrag,onMouseDown:this.onPointerDown,className:"editor-block-list__block-edit","aria-label":j,"data-block":c},wp.element.createElement(Io,{onError:this.onBlockError},S&&"visual"===r&&wp.element.createElement(ne,{name:w,isSelected:p,attributes:t.attributes,setAttributes:this.setAttributes,insertBlocksAfter:i?void 0:this.insertBlocksAfter,onReplace:i?void 0:V,mergeBlocks:i?void 0:this.mergeBlocks,id:c,isSelectionEnabled:this.props.isSelectionEnabled,toggleSelection:this.props.toggleSelection}),S&&"html"===r&&wp.element.createElement(Ao,{uid:c}),!S&&[wp.element.createElement("div",{key:"invalid-preview"},Object(A.getSaveElement)(E,t.attributes)),wp.element.createElement(Po,{key:"invalid-warning",block:t})]),N&&wp.element.createElement(ni,{rootUID:l,uid:c,renderBlockMenu:d})),!!L&&wp.element.createElement(xo,null),T&&wp.element.createElement(v.Fragment,null,wp.element.createElement("div",{className:"editor-block-list__side-inserter"},wp.element.createElement(ai,{uid:c,rootUID:l,layout:u,onToggle:this.selectOnOpen})),wp.element.createElement("div",{className:"editor-block-list__empty-block-inserter"},wp.element.createElement(ti,{position:"top right",onToggle:this.selectOnOpen}))))}}]),t}(v.Component),fi=Object(g.withSelect)(function(e,t){var n=t.uid,r=t.rootUID,o=e("core/editor"),i=o.isBlockSelected,s=o.getPreviousBlockUid,a=o.getNextBlockUid,c=o.getBlock,l=o.isBlockMultiSelected,u=o.isFirstMultiSelectedBlock,d=o.isMultiSelecting,p=o.isTyping,f=o.getBlockIndex,h=o.getEditedPostAttribute,m=o.getBlockMode,v=o.isSelectionEnabled,b=o.getSelectedBlocksInitialCaretPosition,g=o.getBlockSelectionEnd,y=o.getEditorSettings,k=i(n),_=y(),O=_.templateLock,w=_.hasFixedToolbar;return{previousBlockUid:s(n),nextBlockUid:a(n),block:c(n),isMultiSelected:l(n),isFirstMultiSelected:u(n),isMultiSelecting:d(),isLastInSelection:g()===n,isTypingWithinBlock:k&&p(),order:f(n,r),meta:h("meta"),mode:m(n),isSelectionEnabled:v(),initialPosition:b(),isSelected:k,isLocked:!!O,hasFixedToolbar:w}}),hi=Object(g.withDispatch)(function(e,t){var n=e("core/editor"),r=n.updateBlockAttributes,o=n.selectBlock,i=n.insertBlocks,s=n.removeBlock,a=n.mergeBlocks,c=n.replaceBlocks,l=n.editPost,u=n.toggleSelection;return{onChange:function(e,t){r(e,t)},onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.uid,n=arguments[1];o(e,n)},onInsertBlocks:function(e,n){var r=t.rootUID,o=t.layout;e=e.map(function(e){return Object(A.cloneBlock)(e,{layout:o})}),i(e,n,r)},onRemove:function(e){s(e)},onMerge:function(){a.apply(void 0,arguments)},onReplace:function(e){var n=t.layout;e=Object(m.castArray)(e).map(function(e){return Object(A.cloneBlock)(e,{layout:n})}),c([t.uid],e)},onMetaChange:function(e){l({meta:e})},toggleSelection:function(e){u(e)}}});pi.childContextTypes={createInnerBlockList:m.noop};var mi=Object(v.compose)(fi,hi,Object(po.withViewportMatch)({isLargeViewport:"medium"}),Object(O.withFilters)("editor.BlockListBlock"),ci)(pi);n(572);var vi=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=e("core/editor"),r=n.getBlockCount,o=n.getBlock,i=n.getEditorSettings,s=!r(t.rootUID),a=o(t.lastBlockUID),c=Object(m.get)(a,["name"])===Object(A.getDefaultBlockName)(),l=i(),u=l.templateLock,d=l.bodyPlaceholder;return{isVisible:s||!c,showPrompt:s,isLocked:!!u,placeholder:d}}),Object(g.withDispatch)(function(e,t){var n=e("core/editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.layout,n=t.rootUID,i=void 0;e&&(i={layout:e}),r(i,n),o()}}}))(function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,i=e.placeholder,s=e.layout,a=e.rootUID;if(t||!n)return null;var c=Object(b.decodeEntities)(i)||Object(F.__)("Write your story");return wp.element.createElement("div",{"data-root-uid":a||"",className:"editor-default-block-appender"},wp.element.createElement(yo,{rootUID:a,layout:s}),wp.element.createElement("input",{role:"button","aria-label":Object(F.__)("Add block"),className:"editor-default-block-appender__content",type:"text",readOnly:!0,onFocus:r,onClick:r,onKeyDown:r,value:o?c:""}),wp.element.createElement(ai,{rootUID:a,layout:s}),wp.element.createElement(ti,{position:"top right"}))}),bi=function(e){function t(e){c()(this,t);var n=p()(this,(t.__proto__||s()(t)).call(this,e));return n.onSelectionStart=n.onSelectionStart.bind(n),n.onSelectionEnd=n.onSelectionEnd.bind(n),n.onShiftSelection=n.onShiftSelection.bind(n),n.setBlockRef=n.setBlockRef.bind(n),n.setLastClientY=n.setLastClientY.bind(n),n.onPointerMove=Object(m.throttle)(n.onPointerMove.bind(n),100),n.onScroll=function(){return n.onPointerMove({clientY:n.lastClientY})},n.lastClientY=0,n.nodes={},n}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){window.addEventListener("mousemove",this.setLastClientY)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mousemove",this.setLastClientY)}},{key:"setLastClientY",value:function(e){var t=e.clientY;this.lastClientY=t}},{key:"setBlockRef",value:function(e,t){null===e?delete this.nodes[t]:this.nodes=k()({},this.nodes,de()({},t,e))}},{key:"onPointerMove",value:function(e){var t=e.clientY;this.props.isMultiSelecting||this.props.onStartMultiSelect();var n=t-this.nodes[this.selectionAtStart].getBoundingClientRect().top,r=Object(m.findLast)(this.coordMapKeys,function(e){return e<n});this.onSelectionChange(this.coordMap[r])}},{key:"onSelectionStart",value:function(e){if(this.props.isSelectionEnabled){var t=this.nodes[e].getBoundingClientRect(),n=Object(m.mapValues)(this.nodes,function(e){return e.getBoundingClientRect().top-t.top});this.coordMap=Object(m.invert)(n),this.coordMapKeys=Object(m.sortBy)(uo()(n)),this.selectionAtStart=e,window.addEventListener("mousemove",this.onPointerMove),window.addEventListener("scroll",this.onScroll,!0),window.addEventListener("mouseup",this.onSelectionEnd)}}},{key:"onSelectionChange",value:function(e){var t=this.props,n=t.onMultiSelect,r=t.selectionStart,o=t.selectionEnd,i=this.selectionAtStart,s=i===e;i&&this.props.isSelectionEnabled&&(s&&r&&n(null,null),s||o===e||n(i,e))}},{key:"onSelectionEnd",value:function(){this.onPointerMove.cancel(),delete this.coordMap,delete this.coordMapKeys,delete this.selectionAtStart,window.removeEventListener("mousemove",this.onPointerMove),window.removeEventListener("scroll",this.onScroll,!0),window.removeEventListener("mouseup",this.onSelectionEnd),this.props.isMultiSelecting&&this.props.onStopMultiSelect()}},{key:"onShiftSelection",value:function(e){if(this.props.isSelectionEnabled){var t=this.props,n=t.selectionStartUID,r=t.onMultiSelect,o=t.onSelect;n?r(n,e):o(e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.blockUIDs,r=t.layout,o=t.isGroupedByLayout,i=t.rootUID,s=t.renderBlockMenu,a=void 0;o&&(a=r);var c=Z()("editor-block-list__layout",de()({},"layout-"+r,r));return wp.element.createElement("div",{className:c},Object(m.map)(n,function(t,r){return wp.element.createElement(mi,{key:"block-"+t,index:r,uid:t,blockRef:e.setBlockRef,onSelectionStart:e.onSelectionStart,onShiftSelection:e.onShiftSelection,rootUID:i,layout:a,isFirst:0===r,isLast:r===n.length-1,renderBlockMenu:s})}),wp.element.createElement(si,{childHandledEvents:["onFocus","onClick","onKeyDown"]},wp.element.createElement(vi,{rootUID:i,lastBlockUID:Object(m.last)(n),layout:a})))}}]),t}(v.Component),gi=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.getMultiSelectedBlocksStartUid,i=t.getMultiSelectedBlocksEndUid,s=t.getBlockSelectionStart;return{selectionStart:o(),selectionEnd:i(),selectionStartUID:s(),isSelectionEnabled:n(),isMultiSelecting:r()}}),Object(g.withDispatch)(function(e){var t=e("core/editor");return{onStartMultiSelect:t.startMultiSelect,onStopMultiSelect:t.stopMultiSelect,onMultiSelect:t.multiSelect,onSelect:t.selectBlock}})])(bi),yi=Object(g.withSelect)(function(e,t){return{blockUIDs:e("core/editor").getBlockOrder(t.rootUID)}})(gi),ki=Object(g.withSelect)(function(e,t){return{blocks:e("core/editor").getBlocks(t.rootUID)}})(function(e){var t=e.blocks,n=e.layouts,r=Me()(e,["blocks","layouts"]);return Object(m.map)(n,function(e){var n=Object(m.reduce)(t,function(t,n){return Object(m.get)(n,["attributes","layout"])===e.name&&t.push(n.uid),t},[]);return wp.element.createElement(gi,k()({key:e.name,layout:e.name,isGroupedByLayout:!0,blockUIDs:n},r))})}),_i=function(e){return Object(v.createElement)(Array.isArray(e.layouts)?ki:yi,e)},Oi=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.bindContainer=e.bindContainer.bind(e),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(e),e}return h()(t,e),u()(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return wp.element.createElement("div",k()({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(m.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(v.Component),wi=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}}),Object(g.withDispatch)(function(e){return{clearSelectedBlock:e("core/editor").clearSelectedBlock}})])(Oi),Si=(n(571),n(570),b.keycodes.DOWN);var Ei=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=e("core/editor"),r=n.getBlock,o=(0,n.getEditorSettings)().templateLock;return{blocks:t.uids.map(r),isLocked:!!o}}),Object(g.withDispatch)(function(e,t){return{onTransform:function(n,r){e("core/editor").replaceBlocks(t.uids,Object(A.switchToBlockType)(n,r))}}}))(function(e){var t=e.blocks,n=e.onTransform,r=e.isLocked,o=Object(A.getPossibleBlockTransformations)(t);if(r||!o.length)return null;var i=t[0].name,s=Object(A.getBlockType)(i);return wp.element.createElement(O.Dropdown,{className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,n=e.isOpen,r=Object(F.__)("Change block type");return wp.element.createElement(O.Toolbar,null,wp.element.createElement(O.IconButton,{className:"editor-block-switcher__toggle",icon:wp.element.createElement(N,{icon:s.icon}),onClick:t,"aria-haspopup":"true","aria-expanded":n,label:r,tooltip:r,onKeyDown:function(e){n||e.keyCode!==Si||(e.preventDefault(),e.stopPropagation(),t())}},wp.element.createElement(O.Dashicon,{icon:"arrow-down"})))},renderContent:function(e){var r=e.onClose;return wp.element.createElement("div",null,wp.element.createElement("span",{className:"editor-block-switcher__menu-title"},Object(F.__)("Transform into:")),wp.element.createElement(O.NavigableMenu,{role:"menu","aria-label":Object(F.__)("Block types")},o.map(function(e){var o=e.name,i=e.title,s=e.icon;return wp.element.createElement(O.IconButton,{key:o,onClick:function(){n(t,o),r()},className:"editor-block-switcher__menu-item",icon:wp.element.createElement("span",{className:"editor-block-switcher__block-icon"},wp.element.createElement(N,{icon:s})),role:"menuitem"},i)})))}})});var ji=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlock,r=t.getBlockMode,o=n();return{block:o,mode:o?r(o.uid):null}})(function(e){var t=e.block,n=e.mode;return t&&t.isValid&&"visual"===n?wp.element.createElement("div",{className:"editor-block-toolbar"},wp.element.createElement(Ei,{uids:[t.uid]}),wp.element.createElement(J.Slot,null),wp.element.createElement(ae.Slot,null)):null}),Ci=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onCopy=e.onCopy.bind(e),e.onCut=e.onCut.bind(e),e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.onCopy),document.addEventListener("cut",this.onCut)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.onCopy),document.removeEventListener("cut",this.onCut)}},{key:"onCopy",value:function(e){var t=this.props,n=t.multiSelectedBlocks,r=t.selectedBlock;if((n.length||r)&&(!r||!Object(qe.documentHasSelection)())){var o=Object(A.serialize)(r||n);e.clipboardData.setData("text/plain",o),e.clipboardData.setData("text/html",o),e.preventDefault()}}},{key:"onCut",value:function(e){var t=this.props.multiSelectedBlockUids;this.onCopy(e),t.length&&this.props.onRemove(t)}},{key:"render",value:function(){return null}}]),t}(v.Component),Ti=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getMultiSelectedBlocks,r=t.getMultiSelectedBlockUids,o=t.getSelectedBlock;return{multiSelectedBlocks:n(),multiSelectedBlockUids:r(),selectedBlock:o()}}),Object(g.withDispatch)(function(e){return{onRemove:e("core/editor").removeBlocks}})])(Ci),Pi=n(89),Bi=9,xi="post-update",Ii=/%(?:postname|pagename)%/,Di=[];function Ai(e){return e.editor.past.length>0}function Ni(e){return e.editor.future.length>0}function Ri(e){return"auto-draft"===Mi(e).status}function Li(e){return e.editor.isDirty||ua(e,Li)}function Ui(e){return!Li(e)&&Ri(e)}function Mi(e){return e.currentPost}function Fi(e){return e.currentPost.type}function Hi(e){return Mi(e).id||null}function Vi(e){return Object(m.get)(Mi(e),["revisions","count"],0)}function Ki(e){return Object(m.get)(Mi(e),["revisions","last_id"],null)}function Wi(e){return Object(m.get)(e,["editor","present","edits"],{})}function zi(e,t){var n=Wi(e);switch(t){case"content":return Gs(e)}return void 0===n[t]?e.currentPost[t]:n[t]}function qi(e){var t=zi(e,"status"),n=zi(e,"password");return"private"===t?"private":n?"password":"public"}function Gi(e){return"pending"===Mi(e).status}function Yi(e){var t=Mi(e);return-1!==["publish","private"].indexOf(t.status)||"future"===t.status&&Object(or.moment)(t.date).isBefore(Object(or.moment)())}function Xi(e){return"future"===Mi(e).status&&!Yi(e)}function $i(e){var t=Mi(e);return Li(e)||-1===["publish","private","future"].indexOf(t.status)}function Ji(e){return!!zi(e,"title")||!!ts(e)||!Qi(e)}function Qi(e){return!ls(e)&&!zi(e,"content")}function Zi(e){var t=Object(or.moment)(zi(e,"date")),n=Object(or.moment)().add(1,"minute");return t.isAfter(n)}function es(e){var t=zi(e,"title");return t&&t.trim()||(t=Ui(e)?Object(F.__)("New post"):Object(F.__)("(Untitled)")),t}function ts(e){return void 0===e.editor.present.edits.excerpt?e.currentPost.excerpt:e.editor.present.edits.excerpt}function ns(e){var t=e.currentPost.link;return t?Je(t,{preview:"true"}):null}var rs=Object(Pi.a)(function(){return[]},function(e,t){return Object(m.map)(Ps(e,t),function(t){return is(e,t)})});function os(e,t){var n=e.editor.present.blocksByUID[t];return n?n.name:null}var is=Object(Pi.a)(function(e,t){var n=e.editor.present.blocksByUID[t];if(!n)return null;var r=n.attributes,o=Object(A.getBlockType)(n.name);return o&&(r=Object(m.reduce)(o.attributes,function(t,n,o){return"meta"===n.source&&(t===r&&(t=k()({},t)),t[o]=function(e,t){return Object(m.has)(e,["editor","present","edits","meta",t])?Object(m.get)(e,["editor","present","edits","meta",t]):Object(m.get)(e,["currentPost","meta",t])}(e,n.meta)),t},r)),k()({},n,{attributes:r,innerBlocks:ss(e,t)})},function(e,t){return[e.editor.present.blocksByUID[t],rs(e,t),e.editor.present.edits.meta,e.currentPost.meta]});var ss=Object(Pi.a)(function(e,t){return Object(m.map)(Ps(e,t),function(t){return is(e,t)})},function(e){return[e.editor.present.blockOrder,e.editor.present.blocksByUID]}),as=Object(Pi.a)(function(e,t){return t?Object(m.reduce)(e.editor.present.blocksByUID,function(e,n){return n.name===t?e+1:e},0):Object(m.size)(e.editor.present.blocksByUID)},function(e){return[e.editor.present.blocksByUID]}),cs=Object(Pi.a)(function(e,t){return Object(m.map)(Object(m.castArray)(t),function(t){return is(e,t)})},function(e){return[e.editor.present.blocksByUID,e.editor.present.blockOrder,e.editor.present.edits.meta,e.currentPost.meta,e.editor.present.blocksByUID]});function ls(e,t){return Ps(e,t).length}function us(e){return e.blockSelection.start}function ds(e){return e.blockSelection.end}function ps(e){var t=_s(e).length;return t||(e.blockSelection.start?1:0)}function fs(e){var t=e.blockSelection,n=t.start,r=t.end;return!!n&&n===r}function hs(e){var t=e.blockSelection,n=t.start;return n===t.end&&n?n:null}function ms(e){var t=hs(e);return t?is(e,t):null}function vs(e,t){var n=e.editor.present.blockOrder;for(var r in n)if(Object(m.includes)(n[r],t))return r;return null}function bs(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=Object(m.get)(ms(e),["uid"])),void 0===t&&(t=n<0?ws(e):Ss(e)),!t)return null;var r=vs(e,t);if(null===r)return null;var o=e.editor.present.blockOrder[r],i=o.indexOf(t)+1*n;return i<0?null:i===o.length?null:o[i]}function gs(e,t){return bs(e,t,-1)}function ys(e,t){return bs(e,t,1)}function ks(e){var t=e.blockSelection,n=t.start;return n===t.end&&n?e.blockSelection.initialPosition:null}var _s=Object(Pi.a)(function(e){var t=e.blockSelection,n=t.start,r=t.end;if(n===r)return[];var o=vs(e,n);if(null===o)return[];var i=Ps(e,o),s=i.indexOf(n),a=i.indexOf(r);return s>a?i.slice(a,s+1):i.slice(s,a+1)},function(e){return[e.editor.present.blockOrder,e.blockSelection.start,e.blockSelection.end]}),Os=Object(Pi.a)(function(e){var t=_s(e);return t.length?t.map(function(t){return is(e,t)}):Di},function(e){return[e.editor.present.blockOrder,e.blockSelection.start,e.blockSelection.end,e.editor.present.blocksByUID,e.editor.present.edits.meta,e.currentPost.meta]});function ws(e){return Object(m.first)(_s(e))||null}function Ss(e){return Object(m.last)(_s(e))||null}function Es(e,t){return ws(e)===t}function js(e,t){return-1!==_s(e).indexOf(t)}function Cs(e){var t=e.blockSelection,n=t.start;return n===t.end?null:n||null}function Ts(e){var t=e.blockSelection,n=t.start,r=t.end;return n===r?null:r||null}function Ps(e,t){return e.editor.present.blockOrder[t||""]||Di}function Bs(e,t,n){return Ps(e,n).indexOf(t)}function xs(e,t){var n=e.blockSelection,r=n.start;return r===n.end&&r===t}function Is(e,t){if(!t)return!1;var n=_s(e),r=n.indexOf(t);return r>-1&&r<n.length-1}function Ds(e){var t=e.blockSelection;return t.start!==t.end}function As(e){return e.blockSelection.isMultiSelecting}function Ns(e){return e.blockSelection.isEnabled}function Rs(e,t){return e.blocksMode[t]||"visual"}function Ls(e){return e.isTyping}function Us(e){var t=void 0,n=void 0,r=void 0,o=e.blockSelection.end;return o?(t=vs(e,o)||void 0,n=Object(m.get)(is(e,o),["attributes","layout"]),r=Bs(e,o,t)+1):r=Ps(e).length,{rootUID:t,layout:n,index:r}}function Ms(e){return e.isInsertionPointVisible}function Fs(e){return e.template.isValid}function Hs(e){return e.settings.template}function Vs(e){return e.settings.templateLock}function Ks(e){return e.saving.requesting}function Ws(e){return e.saving.successful}function zs(e){return!!e.saving.error}function qs(e){var t=Ps(e),n=void 0;switch(1===t.length&&(n=is(e,t[0]).name),2===t.length&&"core/paragraph"===is(e,t[1]).name&&(n=is(e,t[0]).name),n){case"core/image":return"image";case"core/quote":case"core/pullquote":return"quote";case"core/gallery":return"gallery";case"core/video":case"core-embed/youtube":case"core-embed/vimeo":return"video";case"core/audio":case"core-embed/spotify":case"core-embed/soundcloud":return"audio"}return null}var Gs=Object(Pi.a)(function(e){var t=Wi(e);return"content"in t?t.content:Object(A.serialize)(ss(e))},function(e){return[e.editor.present.edits.content,e.editor.present.blocksByUID,e.editor.present.blockOrder]});function Ys(e){return e.notices}function Xs(e,t,n){return t&&n?Array.isArray(t)&&!Object(m.includes)(t,n.name)?null:Object(A.hasBlockSupport)(n,"inserter",!0)?{id:n.name,name:n.name,initialAttributes:{},title:n.title,icon:n.icon,category:n.category,keywords:n.keywords,isDisabled:!!n.useOnce&&ss(e).some(function(e){return e.name===n.name})}:null:null}function $s(e,t,n){if(!t||!n)return null;if(Array.isArray(t)&&!Object(m.includes)(t,"core/block"))return null;var r=is(e,n.uid);if(!r)return null;var o=Object(A.getBlockType)(r.name);return o?{id:"core/block/"+n.id,name:"core/block",initialAttributes:{ref:n.id},title:n.title,icon:o.icon,category:"shared",keywords:[],isDisabled:!1}:null}function Js(e,t){if(!t)return[];var n=Object(A.getBlockTypes)().map(function(n){return Xs(e,t,n)}),r=ra(e).map(function(n){return $s(e,t,n)}),o=[].concat(x()(n),x()(r));return Object(m.compact)(o)}function Qs(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Bi;if(!n)return[];var o=function(e){var t=e.filter(function(e){return Object(A.getBlockType)(e.name)}),n=Object(A.getBlockTypes)().filter(function(e){return"common"===e.category}).map(function(e){return{name:e.name}});return Object(m.unionWith)(t,n,function(e,t){return e.name===t.name&&e.ref===t.ref})}(t).map(function(t){if(t.ref){var r=ea(e,t.ref);return $s(e,n,r)}var o=Object(A.getBlockType)(t.name);return Xs(e,n,o)});return Object(m.compact)(o).slice(0,r)}function Zs(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Bi,r=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<3600:return 4*t;case n<86400:return 2*t;case n<604800:return t/2;default:return t/4}};return Qs(e,Object(m.values)(e.preferences.insertUsage).sort(function(e,t){return r(t.time,t.count)-r(e.time,e.count)}).map(function(e){return e.insert}),t,n)}var ea=Object(Pi.a)(function(e,t){var n=e.sharedBlocks.data[t];if(!n)return null;var r=isNaN(parseInt(t));return k()({},n,{id:r?t:+t,isTemporary:r})},function(e,t){return[e.sharedBlocks.data[t]]});function ta(e,t){return e.sharedBlocks.isSaving[t]||!1}function na(e,t){return!!e.sharedBlocks.isFetching[t]}function ra(e){return Object(m.map)(e.sharedBlocks.data,function(t,n){return ea(e,n)})}function oa(e,t){var n=Object(m.find)(e.optimist,function(e){return e.beforeState&&Object(m.get)(e.action,["optimist","id"])===t});return n?n.beforeState:null}function ia(e){if(!Ks(e))return!1;if(!Yi(e))return!1;var t=oa(e,xi);return!!t&&!Yi(t)}function sa(e){return e.provisionalBlockUID}function aa(e){var t=zi(e,"permalink_template");return Ii.test(t)}function ca(e){var t=la(e),n=t.prefix,r=t.postName,o=t.suffix;return aa(e)?n+r+o:n}function la(e){var t=zi(e,"permalink_template"),n=zi(e,"slug")||zi(e,"generated_slug"),r=t.split(Ii),o=Oe()(r,2);return{prefix:o[0],postName:n,suffix:o[1]}}function ua(e,t){var n=e.optimist;return!!n&&n.some(function(e){var n=e.beforeState;return n&&t(n)})}function da(e,t){return e.blockListSettings[t]}function pa(e,t,n){if(!n)return!1;var r=Object(m.get)(da(e,t),["supportedBlocks"]);return!0===r||void 0===r?n:!!r&&(!0===n?r:Object(m.intersection)(n,r))}function fa(e){return e.settings}var ha=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.reboot=e.reboot.bind(e),e.getContent=e.getContent.bind(e),e.state={error:null},e}return h()(t,e),u()(t,[{key:"componentDidCatch",value:function(e){this.setState({error:e})}},{key:"reboot",value:function(){this.props.onError()}},{key:"getContent",value:function(){try{return Gs(this.context.store.getState())}catch(e){}}},{key:"render",value:function(){var e=this.state.error;return e?wp.element.createElement(To,{actions:[wp.element.createElement(O.Button,{key:"recovery",onClick:this.reboot,isLarge:!0},Object(F.__)("Attempt Recovery")),wp.element.createElement(O.ClipboardButton,{key:"copy-post",text:this.getContent,isLarge:!0},Object(F.__)("Copy Post Text")),wp.element.createElement(O.ClipboardButton,{key:"copy-error",text:e.stack,isLarge:!0},Object(F.__)("Copy Error"))]},Object(F.__)("The editor has encountered an unexpected error.")):this.props.children}}]),t}(v.Component);ha.contextTypes={store:m.noop};var ma=ha;var va=Object(g.withSelect)(function(e){var t=e("core/editor").getMultiSelectedBlockUids();return{isMultiBlockSelection:t.length>1,selectedBlockUids:t}})(function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockUids;return t?wp.element.createElement(Ei,{key:"switcher",uids:n}):null}),ba=function(e){function t(){return c()(this,t),p()(this,(t.__proto__||s()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"componentDidUpdate",value:function(){this.scrollIntoView()}},{key:"scrollIntoView",value:function(){var e=this.props.extentUID;if(e){var t=so(e);if(t){var n=Object(qe.getScrollContainer)(t);n&&Ze()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(v.Component),ga=Object(g.withSelect)(function(e){return{extentUID:e("core/editor").getLastMultiSelectedBlockUid()}})(ba),ya=[b.keycodes.UP,b.keycodes.RIGHT,b.keycodes.DOWN,b.keycodes.LEFT,b.keycodes.ENTER,b.keycodes.BACKSPACE];var ka=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(e),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(e),e.startTypingInTextField=e.startTypingInTextField.bind(e),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(e),e.lastMouseMove=null,e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var r=this.lastMouseMove,o=r.clientX,i=r.clientY;o===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,r=t.onStartTyping,o=e.type,i=e.target;n||!Object(qe.isTextField)(i)||i.closest(".editor-block-toolbar")||("keydown"!==o||function(e){var t=e.keyCode;return!e.shiftKey&&Object(m.includes)(ya,t)}(e))&&r()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout(function(){var n=t.props,r=n.isTyping,o=n.onStopTyping,i=e.target;r&&!Object(qe.isTextField)(i)&&o()})}},{key:"render",value:function(){var e=this.props.children;return wp.element.createElement("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.startTypingInTextField},e)}}]),t}(v.Component),_a=Object(v.compose)([Object(g.withSelect)(function(e){return{isTyping:(0,e("core/editor").isTyping)()}}),Object(g.withDispatch)(function(e){var t=e("core/editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}}),O.withSafeTimeout])(ka),Oa=function(e){function t(){return c()(this,t),p()(this,(t.__proto__||s()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"componentWillUpdate",value:function(e){var t=e.blockOrder,n=e.selectionStart;t!==this.props.blockOrder&&n&&this.setPreviousOffset(n)}},{key:"componentDidUpdate",value:function(){this.previousOffset&&this.restorePreviousOffset()}},{key:"setPreviousOffset",value:function(e){var t=so(e);t&&(this.previousOffset=t.getBoundingClientRect().top)}},{key:"restorePreviousOffset",value:function(){var e=so(this.props.selectionStart);if(e){var t=Object(qe.getScrollContainer)(e);t&&(t.scrollTop=t.scrollTop+e.getBoundingClientRect().top-this.previousOffset)}delete this.previousOffset}},{key:"render",value:function(){return null}}]),t}(v.Component),wa=Object(g.withSelect)(function(e){return{blockOrder:e("core/editor").getBlockOrder(),selectionStart:e("core/editor").getBlockSelectionStart()}})(Oa),Sa=(n(569),b.keycodes.UP),Ea=b.keycodes.DOWN,ja=b.keycodes.LEFT,Ca=b.keycodes.RIGHT,Ta=Object(m.overEvery)([qe.isTextField,qe.focus.tabbable.isTabbableIndex]),Pa=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onKeyDown=e.onKeyDown.bind(e),e.bindContainer=e.bindContainer.bind(e),e.clearVerticalRect=e.clearVerticalRect.bind(e),e.focusLastTextField=e.focusLastTextField.bind(e),e.verticalRect=null,e}return h()(t,e),u()(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearVerticalRect",value:function(){this.verticalRect=null}},{key:"getClosestTabbable",value:function(e,t){var n=qe.focus.focusable.find(this.container);return t&&(n=Object(m.reverse)(n)),n=n.slice(n.indexOf(e)+1),Object(m.find)(n,function t(n,r,o){if(!qe.focus.tabbable.isTabbableIndex(n))return!1;if(!Object(qe.isTextField)(n)&&!n.classList.contains("editor-block-list__block"))return!1;if(n.contains(e))return!1;for(var i,s=1;(i=o[r+s])&&n.contains(i);s++)if(t(i,r+s,o))return!1;return!0})}},{key:"expandSelection",value:function(e){var t=this.props,n=t.selectedBlockUID,r=t.selectionStartUID,o=t.selectionBeforeEndUID,i=t.selectionAfterEndUID,s=e?o:i;s&&this.props.onMultiSelect(r||n,s)}},{key:"moveSelection",value:function(e){var t=this.props,n=t.selectedFirstUid,r=t.selectedLastUid,o=e?n:r;o&&this.props.onSelectBlock(o)}},{key:"isTabbableEdge",value:function(e,t){var n,r,o=this.getClosestTabbable(e,t);return!(o&&(n=e,r=o,n.closest("[data-block]")===r.closest("[data-block]")))}},{key:"onKeyDown",value:function(e){var t=this.props.hasMultiSelection,n=e.keyCode,r=e.target,o=n===Sa,i=n===ja,s=o||i,a=i||n===Ca,c=o||n===Ea,l=a||c,u=e.shiftKey,d=c?qe.isVerticalEdge:qe.isHorizontalEdge;if(c?this.verticalRect||(this.verticalRect=Object(qe.computeCaretRect)(r)):this.verticalRect=null,l)if(u&&(t||this.isTabbableEdge(r,s)&&d(r,s,!0)))this.expandSelection(s),e.preventDefault();else if(t)this.moveSelection(s),e.preventDefault();else if(c&&Object(qe.isVerticalEdge)(r,s,u)){var p=this.getClosestTabbable(r,s);p&&(Object(qe.placeCaretAtVerticalEdge)(p,s,this.verticalRect),e.preventDefault())}else if(a&&Object(qe.isHorizontalEdge)(r,s,u)){var f=this.getClosestTabbable(r,s);Object(qe.placeCaretAtHorizontalEdge)(f,s),e.preventDefault()}}},{key:"focusLastTextField",value:function(){var e=qe.focus.focusable.find(this.container),t=Object(m.findLast)(e,Ta);t&&Object(qe.placeCaretAtHorizontalEdge)(t,!0)}},{key:"render",value:function(){var e=this.props.children;return wp.element.createElement("div",{className:"editor-writing-flow"},wp.element.createElement("div",{ref:this.bindContainer,onKeyDown:this.onKeyDown,onMouseDown:this.clearVerticalRect},e),wp.element.createElement("div",{"aria-hidden":!0,tabIndex:-1,onClick:this.focusLastTextField,className:"editor-writing-flow__click-redirect"}))}}]),t}(v.Component),Ba=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlockUID,r=t.getMultiSelectedBlocksStartUid,o=t.getMultiSelectedBlocksEndUid,i=t.getPreviousBlockUid,s=t.getNextBlockUid,a=t.getFirstMultiSelectedBlockUid,c=t.getLastMultiSelectedBlockUid,l=t.hasMultiSelection,u=n(),d=r(),p=o();return{selectedBlockUID:u,selectionStartUID:d,selectionBeforeEndUID:i(p||u),selectionAfterEndUID:s(p||u),selectedFirstUid:a(),selectedLastUid:c(),hasMultiSelection:l()}}),Object(g.withDispatch)(function(e){var t=e("core/editor");return{onMultiSelect:t.multiSelect,onSelectBlock:t.selectBlock}})])(Pa),xa=function(e){function t(e){c()(this,t);var n=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.recovery||(n.props.updateEditorSettings(e.settings),n.props.setupEditor(e.post)),n}return h()(t,e),u()(t,[{key:"componentDidUpdate",value:function(e){this.props.settings!==e.settings&&this.props.updateEditorSettings(this.props.settings)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.undo,r=e.redo,o=e.createUndoLevel,i=[[Xt,{onUndo:n,onRedo:r,onCreateUndoLevel:o}],[O.SlotFillProvider],[O.APIProvider,k()({},wpApiSettings,Object(m.pick)(wp.api,["postTypeRestBaseMapping","taxonomyRestBaseMapping"]))],[O.DropZoneProvider]];return Object(m.flow)(i.map(function(e){var t=Oe()(e,2),n=t[0],r=t[1];return function(e){return Object(v.createElement)(n,r,e)}}))(t)}}]),t}(v.Component),Ia=Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.setupEditor,r=t.updateEditorSettings;return{setupEditor:n,undo:t.undo,redo:t.redo,createUndoLevel:t.createUndoLevel,updateEditorSettings:r}})(xa),Da={Autocomplete:P,AlignmentToolbar:V,BlockAlignmentToolbar:q,BlockControls:J,BlockEdit:ne,BlockFormatControls:ae,BlockIcon:N,ColorPalette:le,ContrastChecker:ke,ImagePlaceholder:Ee,InnerBlocks:Ce,InspectorAdvancedControls:Ie,InspectorControls:Le,PlainText:Ke,RichText:zt,RichTextProvider:Xt,MediaUpload:Se,UrlInput:st,UrlInputButton:$t},Aa={withColorContext:ce,getColorClass:fe,getColorName:pe,withColors:be,editorMediaUpload:we};Object(m.forEach)(Da,function(e,t){wp.blocks[t]=function(n){function r(){c()(this,r);var e=p()(this,(r.__proto__||s()(r)).apply(this,arguments));return Object(b.deprecated)("wp.blocks."+t,{version:"3.1",alternative:"wp.editor."+t,plugin:"Gutenberg"}),e}return h()(r,n),u()(r,[{key:"render",value:function(){return wp.element.createElement(e,this.props)}}]),r}(v.Component)}),Object(m.forEach)(Aa,function(e,t){wp.blocks[t]=function(){return Object(b.deprecated)("wp.blocks."+t,{version:"3.1",alternative:"wp.editor."+t,plugin:"Gutenberg"}),e.apply(void 0,arguments)}}),wp.blocks.withEditorSettings=function(e){return function(t){var n=Object(g.withSelect)(function(t,n){var r=t("core/editor").getEditorSettings();return e?e(r,n):{settings:r}});return Object(b.deprecated)("wp.blocks.withEditorSettings",{version:"3.1",alternative:'the data module to access the editor settings `wp.data.select( "core/editor" ).getEditorSettings()`',plugin:"Gutenberg"}),n(t)}};var Na=n(69),Ra=n.n(Na),La=n(161),Ua=n.n(La),Ma={resetTypes:[],ignoreTypes:[],shouldOverwriteState:function(){return!1}},Fa=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){(e=k()({},Ma,e)).shouldOverwriteState=Object(m.overSome)([e.shouldOverwriteState,function(t){return Object(m.includes)(e.ignoreTypes,t.type)}]);var n={past:[],present:t(void 0,{}),future:[]},r=void 0,o=!1,i=e,s=i.resetTypes,a=void 0===s?[]:s,c=i.shouldOverwriteState,l=void 0===c?function(){return!1}:c;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,i=arguments[1],s=e.past,c=e.present,u=e.future,d=r;switch(r=i,i.type){case"UNDO":return s.length?{past:Object(m.dropRight)(s),present:Object(m.last)(s),future:[c].concat(x()(u))}:e;case"REDO":return u.length?{past:[].concat(x()(s),[c]),present:Object(m.first)(u),future:Object(m.drop)(u)}:e;case"CREATE_UNDO_LEVEL":return o=!0,e}var p=t(c,i);if(Object(m.includes)(a,i.type))return{past:[],present:p,future:[]};if(c===p)return e;var f=s;return!(o=!s.length||o)&&l(i,d)||(f=[].concat(x()(s),[c])),o=!1,{past:f,present:p,future:[]}}}},Ha=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n,r){var o=t(n,r),i=void 0===n||Object(m.includes)(e.resetTypes,r.type),s=n!==o;if(!s&&!i)return n;s&&void 0!==n||(o=k()({},o));var a=Object(m.includes)(e.ignoreTypes,r.type);return o.isDirty=a?n.isDirty:!i&&s,o}}},Va={insertUsage:{}},Ka={alignWide:!1,colors:[{name:"pale pink",color:"#f78da7"},{name:"vivid red",color:"#cf2e2e"},{name:"luminous vivid orange",color:"#ff6900"},{name:"luminous vivid amber",color:"#fcb900"},{name:"light green cyan",color:"#7bdcb5"},{name:"vivid green cyan",color:"#00d084"},{name:"pale cyan blue",color:"#8ed1fc"},{name:"vivid cyan blue",color:"#0693e3"},{name:"very light gray",color:"#eeeeee"},{name:"cyan bluish gray",color:"#abb8c3"},{name:"very dark gray",color:"#313131"}],maxWidth:608,allowedBlockTypes:!0};function Wa(e,t,n){return[].concat(x()(e.slice(0,n)),x()(Object(m.castArray)(t)),x()(e.slice(n)))}function za(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=[].concat(x()(e));return o.splice(t,r),Wa(o,e.slice(t,t+r),n)}function qa(e){return e&&"object"===(void 0===e?"undefined":Ra()(e))&&"raw"in e?e.raw:e}function Ga(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=de()({},t,[]);return e.forEach(function(e){var r=e.uid,o=e.innerBlocks;n[t].push(r),Ot()(n,Ga(o,r))}),n}function Ya(e){for(var t={},n=[].concat(x()(e));n.length;){var r=n.shift(),o=r.innerBlocks,i=Me()(r,["innerBlocks"]);n.push.apply(n,x()(o)),t[i.uid]=i}return t}function Xa(e,t){return Object(m.isEqual)(Object(m.keys)(e),Object(m.keys)(t))}function $a(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&e.uid===t.uid&&Xa(e.attributes,t.attributes)}function Ja(e,t){return"EDIT_POST"===e.type&&Xa(e.edits,t.edits)}var Qa=Object(m.flow)([g.combineReducers,function(e){return function(t,n){if(t&&"REMOVE_BLOCKS"===n.type){for(var r=[].concat(x()(n.uids)),o=0;o<r.length;o++)r.push.apply(r,x()(t.blockOrder[r[o]]));n=k()({},n,{uids:r})}return e(t,n)}},Fa({resetTypes:["SETUP_EDITOR_STATE"],ignoreTypes:["RECEIVE_BLOCKS"],shouldOverwriteState:function(e,t){return!(!t||e.type!==t.type)&&Object(m.overSome)([$a,Ja])(e,t)}}),Ha({resetTypes:["SETUP_EDITOR_STATE","UPDATE_POST"],ignoreTypes:["RECEIVE_BLOCKS","RESET_POST"]})])({edits:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"EDIT_POST":case"SETUP_EDITOR_STATE":return Object(m.reduce)(t.edits,function(t,n,r){return n!==e[r]&&(t===e&&(t=k()({},e)),t[r]=n),t},e);case"RESET_BLOCKS":return"content"in e?Object(m.omit)(e,"content"):e;case"UPDATE_POST":case"RESET_POST":var n="UPDATE_POST"===t.type?function(e){return t.edits[e]}:function(e){return qa(t.post[e])};return Object(m.reduce)(e,function(t,r,o){return r!==n(o)?t:(e===t&&(t=k()({},e)),delete t[o],t)},e)}return e},blocksByUID:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"RESET_BLOCKS":case"SETUP_EDITOR_STATE":return Ya(t.blocks);case"RECEIVE_BLOCKS":return k()({},e,Ya(t.blocks));case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.uid])return e;var n=Object(m.reduce)(t.attributes,function(n,r,o){return r!==n[o]&&(n===e[t.uid].attributes&&(n=k()({},n)),n[o]=r),n},e[t.uid].attributes);return n===e[t.uid].attributes?e:k()({},e,de()({},t.uid,k()({},e[t.uid],{attributes:n})));case"MOVE_BLOCK_TO_POSITION":return e[t.uid].attributes.layout===t.layout?e:k()({},e,de()({},t.uid,k()({},e[t.uid],{attributes:k()({},e[t.uid].attributes,{layout:t.layout})})));case"UPDATE_BLOCK":return e[t.uid]?k()({},e,de()({},t.uid,k()({},e[t.uid],t.updates))):e;case"INSERT_BLOCKS":return k()({},e,Ya(t.blocks));case"REPLACE_BLOCKS":return t.blocks?k()({},Object(m.omit)(e,t.uids),Ya(t.blocks)):e;case"REMOVE_BLOCKS":return Object(m.omit)(e,t.uids);case"SAVE_SHARED_BLOCK_SUCCESS":var r=t.id,o=t.updatedId;return r===o?e:Object(m.mapValues)(e,function(e){return"core/block"===e.name&&e.attributes.ref===r?k()({},e,{attributes:k()({},e.attributes,{ref:o})}):e})}return e},blockOrder:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"RESET_BLOCKS":case"SETUP_EDITOR_STATE":return Ga(t.blocks);case"RECEIVE_BLOCKS":return k()({},e,Object(m.omit)(Ga(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootUID,r=void 0===n?"":n,o=t.blocks,i=e[r]||[],s=Ga(o,r),a=t.index,c=void 0===a?i.length:a;return k()({},e,s,de()({},r,Wa(i,s[r],c)));case"MOVE_BLOCK_TO_POSITION":var l,u=t.fromRootUID,d=void 0===u?"":u,p=t.toRootUID,f=void 0===p?"":p,h=t.uid,v=t.index,b=void 0===v?e[f].length:v;if(d===f){var g=e[f].indexOf(h);return k()({},e,de()({},f,za(e[f],g,b)))}return k()({},e,(l={},de()(l,d,Object(m.without)(e[d],h)),de()(l,f,Wa(e[f],h,b)),l));case"MOVE_BLOCKS_UP":var y=t.uids,_=t.rootUID,O=void 0===_?"":_,w=Object(m.first)(y),S=e[O];if(!S.length||w===Object(m.first)(S))return e;var E=S.indexOf(w);return k()({},e,de()({},O,za(S,E,E-1,y.length)));case"MOVE_BLOCKS_DOWN":var j=t.uids,C=t.rootUID,T=void 0===C?"":C,P=Object(m.first)(j),B=Object(m.last)(j),I=e[T];if(!I.length||B===Object(m.last)(I))return e;var D=I.indexOf(P);return k()({},e,de()({},T,za(I,D,D+1,j.length)));case"REPLACE_BLOCKS":var A=t.blocks,N=t.uids;if(!A)return e;var R=Ga(A);return Object(m.flow)([function(e){return Object(m.omit)(e,N)},function(e){return k()({},e,Object(m.omit)(R,""))},function(e){return Object(m.mapValues)(e,function(e){return Object(m.reduce)(e,function(e,t){return t===N[0]?[].concat(x()(e),x()(R[""])):(-1===N.indexOf(t)&&e.push(t),e)},[])})}])(e);case"REMOVE_BLOCKS":return Object(m.flow)([function(e){return Object(m.omit)(e,t.uids)},function(e){return Object(m.mapValues)(e,function(e){return m.without.apply(void 0,[e].concat(x()(t.uids)))})}])(e)}return e}});var Za=Object(g.combineReducers)({data:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"RECEIVE_SHARED_BLOCKS":return Object(m.reduce)(t.results,function(t,n){var r=n.sharedBlock,o=r.id,i=r.title,s={uid:n.parsedBlock.uid,title:i};return Object(m.isEqual)(t[o],s)||(t===e&&(t=k()({},t)),t[o]=s),t},e);case"UPDATE_SHARED_BLOCK_TITLE":var n=t.id,r=t.title;return e[n]&&e[n].title!==r?k()({},e,de()({},n,k()({},e[n],{title:r}))):e;case"SAVE_SHARED_BLOCK_SUCCESS":var o=t.id,i=t.updatedId;if(o===i)return e;var s=e[o];return k()({},Object(m.omit)(e,o),de()({},i,s));case"REMOVE_SHARED_BLOCK":var a=t.id;return Object(m.omit)(e,a)}return e},isFetching:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"FETCH_SHARED_BLOCKS":var n=t.id;return n?k()({},e,de()({},n,!0)):e;case"FETCH_SHARED_BLOCKS_SUCCESS":case"FETCH_SHARED_BLOCKS_FAILURE":var r=t.id;return Object(m.omit)(e,r)}return e},isSaving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"SAVE_SHARED_BLOCK":return k()({},e,de()({},t.id,!0));case"SAVE_SHARED_BLOCK_SUCCESS":case"SAVE_SHARED_BLOCK_FAILURE":var n=t.id;return Object(m.omit)(e,n)}return e}}),ec=Ua()(Object(g.combineReducers)({editor:Qa,currentPost:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":var n=void 0;if(t.post)n=t.post;else{if(!t.edits)return e;n=k()({},e,t.edits)}return Object(m.mapValues)(n,qa)}return e},isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch(arguments[1].type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},blockSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{start:null,end:null,isMultiSelecting:!1,isEnabled:!0,initialPosition:null},t=arguments[1];switch(t.type){case"CLEAR_SELECTED_BLOCK":return null!==e.start||null!==e.end||e.isMultiSelecting?k()({},e,{start:null,end:null,isMultiSelecting:!1,initialPosition:null}):e;case"START_MULTI_SELECT":return e.isMultiSelecting?e:k()({},e,{isMultiSelecting:!0,initialPosition:null});case"STOP_MULTI_SELECT":return e.isMultiSelecting?k()({},e,{isMultiSelecting:!1,initialPosition:null}):e;case"MULTI_SELECT":return k()({},e,{start:t.start,end:t.end,initialPosition:null});case"SELECT_BLOCK":return t.uid===e.start&&t.uid===e.end?e:k()({},e,{start:t.uid,end:t.uid,initialPosition:t.initialPosition});case"INSERT_BLOCKS":return k()({},e,{start:t.blocks[0].uid,end:t.blocks[0].uid,initialPosition:null,isMultiSelecting:!1});case"REMOVE_BLOCKS":return t.uids&&t.uids.length&&-1!==t.uids.indexOf(e.start)?k()({},e,{start:null,end:null,initialPosition:null,isMultiSelecting:!1}):e;case"REPLACE_BLOCKS":if(-1===t.uids.indexOf(e.start))return e;var n=Object(m.get)(t.blocks,[0,"uid"],null);return k()({},e,{start:n,end:n,initialPosition:null,isMultiSelecting:!1});case"TOGGLE_SELECTION":return k()({},e,{isEnabled:t.isSelectionEnabled})}return e},provisionalBlockUID:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments[1];switch(t.type){case"INSERT_BLOCKS":if(t.isProvisional)return Object(m.first)(t.blocks).uid;break;case"RESET_BLOCKS":return null;case"UPDATE_BLOCK_ATTRIBUTES":case"UPDATE_BLOCK":case"CONVERT_BLOCK_TO_SHARED":if(t.uid===e)return null;break;case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":var n=t.uids;if(Object(m.includes)(n,e))return null}return e},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if("TOGGLE_BLOCK_MODE"===t.type){var n=t.uid;return k()({},e,de()({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(m.omit)(e,t.uids);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.id;if(n&&!t.settings)return Object(m.omit)(e,n);var r=e[n];if(!Object(m.isEqual)(r,t.settings))return k()({},e,de()({},n,k()({},t.settings)))}return e},isInsertionPointVisible:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch(arguments[1].type){case"SHOW_INSERTION_POINT":return!0;case"HIDE_INSERTION_POINT":return!1}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Va,t=arguments[1];switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce(function(e,n){var r=n.name,o={name:n.name};return Object(A.isSharedBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),k()({},e,{insertUsage:k()({},e.insertUsage,de()({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})},e);case"REMOVE_SHARED_BLOCK":return k()({},e,{insertUsage:Object(m.omitBy)(e.insertUsage,function(e){return e.insert.ref===t.id})})}return e},saving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"REQUEST_POST_UPDATE":return{requesting:!0,successful:!1,error:null};case"REQUEST_POST_UPDATE_SUCCESS":return{requesting:!1,successful:!0,error:null};case"REQUEST_POST_UPDATE_FAILURE":return{requesting:!1,successful:!1,error:t.error}}return e},notices:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];switch(t.type){case"CREATE_NOTICE":return[].concat(x()(Object(m.reject)(e,{id:t.notice.id})),[t.notice]);case"REMOVE_NOTICE":var n=t.noticeId,r=Object(m.findIndex)(e,{id:n});return-1===r?e:[].concat(x()(e.slice(0,r)),x()(e.slice(r+1)))}return e},sharedBlocks:Za,template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments[1];switch(t.type){case"SET_TEMPLATE_VALIDITY":return k()({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ka,t=arguments[1];switch(t.type){case"UPDATE_EDITOR_SETTINGS":return k()({},e,t.settings)}return e}})),tc=n(188),nc=n.n(tc),rc=n(277),oc=n.n(rc),ic=n(164),sc=n(178),ac=n.n(sc);function cc(e){return{type:"SETUP_EDITOR",post:e}}function lc(e){return{type:"RESET_POST",post:e}}function uc(e,t,n){return{type:"SETUP_EDITOR_STATE",post:e,blocks:t,edits:n}}function dc(e){return{type:"RESET_BLOCKS",blocks:e}}function pc(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function fc(e,t){return{type:"UPDATE_BLOCK_ATTRIBUTES",uid:e,attributes:t}}function hc(e,t){return{type:"UPDATE_BLOCK",uid:e,updates:t}}function mc(e){return{type:"SELECT_BLOCK",initialPosition:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,uid:e}}function vc(){return{type:"START_MULTI_SELECT"}}function bc(){return{type:"STOP_MULTI_SELECT"}}function gc(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function yc(){return{type:"CLEAR_SELECTED_BLOCK"}}function kc(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function _c(e,t){return{type:"REPLACE_BLOCKS",uids:Object(m.castArray)(e),blocks:Object(m.castArray)(t),time:Date.now()}}function Oc(e,t){return _c(e,t)}function wc(e){return function(t,n){return{uids:Object(m.castArray)(t),type:e,rootUID:n}}}var Sc=wc("MOVE_BLOCKS_DOWN"),Ec=wc("MOVE_BLOCKS_UP");function jc(e,t,n,r,o){return{type:"MOVE_BLOCK_TO_POSITION",fromRootUID:t,toRootUID:n,uid:e,index:o,layout:r}}function Cc(e,t,n){return Tc([e],t,n)}function Tc(e,t,n){return{type:"INSERT_BLOCKS",blocks:Object(m.castArray)(e),index:t,rootUID:n,time:Date.now()}}function Pc(){return{type:"SHOW_INSERTION_POINT"}}function Bc(){return{type:"HIDE_INSERTION_POINT"}}function xc(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Ic(){return{type:"CHECK_TEMPLATE_VALIDITY"}}function Dc(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Ac(e){return{type:"EDIT_POST",edits:e}}function Nc(){return{type:"REQUEST_POST_UPDATE"}}function Rc(){return{type:"REFRESH_POST"}}function Lc(e,t){return{type:"TRASH_POST",postId:e,postType:t}}function Uc(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function Mc(){return{type:"AUTOSAVE"}}function Fc(){return{type:"REDO"}}function Hc(){return{type:"UNDO"}}function Vc(){return{type:"CREATE_UNDO_LEVEL"}}function Kc(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{type:"REMOVE_BLOCKS",uids:Object(m.castArray)(e),selectPrevious:t}}function Wc(e){return Kc([e],!(arguments.length>1&&void 0!==arguments[1])||arguments[1])}function zc(e){return{type:"TOGGLE_BLOCK_MODE",uid:e}}function qc(){return{type:"START_TYPING"}}function Gc(){return{type:"STOP_TYPING"}}function Yc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.id,o=void 0===r?ac()():r,i=n.isDismissible;return{type:"CREATE_NOTICE",notice:{id:o,status:e,content:t,isDismissible:void 0===i||i,spokenMessage:n.spokenMessage}}}function Xc(e){return{type:"REMOVE_NOTICE",noticeId:e}}var $c=Object(m.partial)(Yc,"success"),Jc=Object(m.partial)(Yc,"info"),Qc=Object(m.partial)(Yc,"error"),Zc=Object(m.partial)(Yc,"warning");function el(e){return{type:"FETCH_SHARED_BLOCKS",id:e}}function tl(e){return{type:"RECEIVE_SHARED_BLOCKS",results:e}}function nl(e){return{type:"SAVE_SHARED_BLOCK",id:e}}function rl(e){return{type:"DELETE_SHARED_BLOCK",id:e}}function ol(e,t){return{type:"UPDATE_SHARED_BLOCK_TITLE",id:e,title:t}}function il(e){return{type:"CONVERT_BLOCK_TO_STATIC",uid:e}}function sl(e){return{type:"CONVERT_BLOCK_TO_SHARED",uid:e}}function al(e,t,n){var r=Object(A.createBlock)(Object(A.getDefaultBlockName)(),e);return k()({},Cc(r,n,t),{isProvisional:!0})}function cl(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",id:e,settings:t}}function ll(e){return{type:"UPDATE_EDITOR_SETTINGS",settings:e}}function ul(e,t){var n=t.getState(),r=sa(n);if(r&&!xs(n,r))return Wc(r,!1)}var dl={REQUEST_POST_UPDATE:function(e,t){var n=t.dispatch,r=(0,t.getState)(),o=Mi(r),i=Wi(r),s=k()({},i,{content:Gs(r),id:o.id});n({type:"UPDATE_POST",edits:s,optimist:{type:La.BEGIN,id:xi}}),n(Xc("SAVE_POST_NOTICE_ID"));var a=wp.api.getPostTypeRoute(Fi(r));wp.apiRequest({path:"/wp/v2/"+a+"/"+o.id,method:"PUT",data:s}).then(function(e){n(lc(e)),n({type:"REQUEST_POST_UPDATE_SUCCESS",previousPost:o,post:e,edits:s,optimist:{type:La.COMMIT,id:xi}})},function(e){n({type:"REQUEST_POST_UPDATE_FAILURE",error:Object(m.get)(e,["responseJSON"],{code:"unknown_error",message:Object(F.__)("An unknown error occurred.")}),post:o,edits:i,optimist:{type:La.REVERT,id:xi}})})},REQUEST_POST_UPDATE_SUCCESS:function(e,t){var n=e.previousPost,r=e.post,o=t.dispatch,i=["publish","private","future"],s=Object(m.includes)(i,n.status),a=Object(m.includes)(i,r.status),c=void 0,l=!0;s||a?s&&!a?(c=Object(F.__)("Post reverted to draft."),l=!1):c=!s&&a?{publish:Object(F.__)("Post published!"),private:Object(F.__)("Post published privately!"),future:Object(F.__)("Post scheduled!")}[r.status]:Object(F.__)("Post updated!"):c=null,c&&o($c(wp.element.createElement("p",null,wp.element.createElement("span",null,c)," ",l&&wp.element.createElement("a",{href:r.link},Object(F.__)("View post"))),{id:"SAVE_POST_NOTICE_ID",spokenMessage:c})),Object(m.get)(window.history.state,["id"])!==r.id&&window.history.replaceState({id:r.id},"Post "+r.id,at("post.php",{post:r.id,action:"edit"}))},REQUEST_POST_UPDATE_FAILURE:function(e,t){var n=e.post,r=e.edits,o=t.dispatch,i=["publish","private","future"],s=-1!==i.indexOf(n.status),a={publish:Object(F.__)("Publishing failed"),private:Object(F.__)("Publishing failed"),future:Object(F.__)("Scheduling failed")},c=s||-1===i.indexOf(r.status)?Object(F.__)("Updating failed"):a[r.status];o(Qc(c,{id:"SAVE_POST_NOTICE_ID"}))},TRASH_POST:function(e,t){var n=t.dispatch,r=t.getState,o=e.postId,i=wp.api.getPostTypeRoute(Fi(r()));n(Xc("TRASH_POST_NOTICE_ID")),wp.apiRequest({path:"/wp/v2/"+i+"/"+o,method:"DELETE"}).then(function(){n(k()({},e,{type:"TRASH_POST_SUCCESS"}))},function(t){n(k()({},e,{type:"TRASH_POST_FAILURE",error:Object(m.get)(t,["responseJSON"],{code:"unknown_error",message:Object(F.__)("An unknown error occurred.")})}))})},TRASH_POST_SUCCESS:function(e){var t=e.postId,n=e.postType;window.location.href=at("edit.php",{trashed:1,post_type:n,ids:t})},TRASH_POST_FAILURE:function(e,t){var n=e.error.message&&"unknown_error"!==e.error.code?e.error.message:Object(F.__)("Trashing failed");t.dispatch(Qc(n,{id:"TRASH_POST_NOTICE_ID"}))},REFRESH_POST:function(e,t){var n=t.dispatch,r=(0,t.getState)(),o=Mi(r),i=wp.api.getPostTypeRoute(Fi(r));wp.apiRequest({path:"/wp/v2/"+i+"/"+o.id,data:{context:"edit"}}).then(function(e){n(lc(e))})},MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=Oe()(e.blocks,2),i=o[0],s=o[1],a=is(r,i),c=is(r,s),l=Object(A.getBlockType)(a.name);if(l.merge){var u=a.name===c.name?[c]:Object(A.switchToBlockType)(c,a.name);if(u&&u.length){var d=l.merge(a.attributes,u[0].attributes);n(mc(a.uid,-1)),n(_c([a.uid,c.uid],[k()({},a,{attributes:k()({},a.attributes,d)})].concat(x()(u.slice(1)))))}}else n(mc(a.uid))},AUTOSAVE:function(e,t){var n=t.getState,r=t.dispatch,o=n();Ji(o)&&(Ri(o)||Li(o))&&(Yi(o)||r({type:"REQUEST_POST_UPDATE"}))},SETUP_EDITOR:function(e,t){var n=t.getState,r=e.post,o=n(),i=Hs(o),s=Vs(o),a=void 0,c=!0;r.content.raw?(a=Object(A.parse)(r.content.raw),c=!i||"all"!==s||Object(A.doBlocksMatchTemplate)(a,i)):a=i?Object(A.synchronizeBlocksWithTemplate)([],i):Object(A.getDefaultBlockForPostFormat)(r.format)?[Object(A.createBlock)(Object(A.getDefaultBlockForPostFormat)(r.format))]:[];var l={};return"auto-draft"===r.status&&(l.title=r.title.raw,l.status="draft"),[xc(c),uc(r,a,l)]},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)(),r=ss(n),o=Hs(n);return[dc(Object(A.synchronizeBlocksWithTemplate)(r,o)),xc(!0)]},CHECK_TEMPLATE_VALIDITY:function(e,t){var n=(0,t.getState)(),r=ss(n),o=Hs(n),i=Vs(n);return xc(!o||"all"!==i||Object(A.doBlocksMatchTemplate)(r,o))},FETCH_SHARED_BLOCKS:function(e,t){var n=wp.api.getPostTypeRoute("wp_block");if(n){var r=e.id,o=t.dispatch;(r?wp.apiRequest({path:"/wp/v2/"+n+"/"+r}):wp.apiRequest({path:"/wp/v2/"+n+"?per_page=-1"})).then(function(e){o(tl(Object(m.map)(Object(m.castArray)(e),function(e){return{sharedBlock:e,parsedBlock:Object(A.parse)(e.content)[0]}}))),o({type:"FETCH_SHARED_BLOCKS_SUCCESS",id:r})},function(e){o({type:"FETCH_SHARED_BLOCKS_FAILURE",id:r,error:e.responseJSON||{code:"unknown_error",message:Object(F.__)("An unknown error occurred.")}})})}},RECEIVE_SHARED_BLOCKS:function(e){return pc(Object(m.map)(e.results,"parsedBlock"))},SAVE_SHARED_BLOCK:function(e,t){var n=wp.api.getPostTypeRoute("wp_block");if(n){var r=e.id,o=t.dispatch,i=t.getState(),s=ea(i,r),a=s.uid,c=s.title,l=s.isTemporary,u=is(i,a),d=u.name,p=u.attributes,f=u.innerBlocks,h=Object(A.serialize)(Object(A.createBlock)(d,p,f)),v=l?{title:c,content:h}:{id:r,title:c,content:h},b=l?"/wp/v2/"+n:"/wp/v2/"+n+"/"+r,g=l?"POST":"PUT";wp.apiRequest({path:b,data:v,method:g}).then(function(e){o({type:"SAVE_SHARED_BLOCK_SUCCESS",updatedId:e.id,id:r});var t=l?Object(F.__)("Block created."):Object(F.__)("Block updated.");o($c(t,{id:"SHARED_BLOCK_NOTICE_ID"}))},function(e){o({type:"SAVE_SHARED_BLOCK_FAILURE",id:r});var t=Object(F.__)("An unknown error occurred.");o(Qc(Object(m.get)(e.responseJSON,["message"],t),{id:"SHARED_BLOCK_NOTICE_ID",spokenMessage:t}))})}},DELETE_SHARED_BLOCK:function(e,t){var n=wp.api.getPostTypeRoute("wp_block");if(n){var r=e.id,o=t.getState,i=t.dispatch,s=ea(o(),r);if(s&&!s.isTemporary){var a=ss(o()).filter(function(e){return Object(A.isSharedBlock)(e)&&e.attributes.ref===r}).map(function(e){return e.uid}),c=Object(m.uniqueId)();i({type:"REMOVE_SHARED_BLOCK",id:r,optimist:{type:La.BEGIN,id:c}}),i(Kc([].concat(x()(a),[s.uid]))),wp.apiRequest({path:"/wp/v2/"+n+"/"+r,method:"DELETE"}).then(function(){i({type:"DELETE_SHARED_BLOCK_SUCCESS",id:r,optimist:{type:La.COMMIT,id:c}});var e=Object(F.__)("Block deleted.");i($c(e,{id:"SHARED_BLOCK_NOTICE_ID"}))},function(e){i({type:"DELETE_SHARED_BLOCK_FAILURE",id:r,optimist:{type:La.REVERT,id:c}});var t=Object(F.__)("An unknown error occurred.");i(Qc(Object(m.get)(e.responseJSON,["message"],t),{id:"SHARED_BLOCK_NOTICE_ID",spokenMessage:t}))})}}},CONVERT_BLOCK_TO_STATIC:function(e,t){var n=t.getState(),r=is(n,e.uid),o=ea(n,r.attributes.ref),i=is(n,o.uid),s=Object(A.createBlock)(i.name,i.attributes);t.dispatch(Oc(r.uid,s))},CONVERT_BLOCK_TO_SHARED:function(e,t){var n=t.getState,r=t.dispatch,o=is(n(),e.uid),i={id:Object(m.uniqueId)("shared"),uid:o.uid,title:Object(F.__)("Untitled shared block")};r(tl([{sharedBlock:i,parsedBlock:o}])),r(nl(i.id)),r(Oc(o.uid,Object(A.createBlock)("core/block",{ref:i.id,layout:o.attributes.layout}))),r(pc([o]))},CREATE_NOTICE:function(e){var t=e.notice,n=t.content,r=t.spokenMessage||n;Object(ic.speak)(r,"assertive")},EDIT_POST:function(e,t){var n=t.getState,r=Object(m.get)(e,["edits","format"]);if(r){var o=Object(A.getDefaultBlockForPostFormat)(r);return o&&0===ls(n())?Cc(Object(A.createBlock)(o)):void 0}},CLEAR_SELECTED_BLOCK:ul,SELECT_BLOCK:ul,MULTI_SELECT:ul,REMOVE_BLOCKS:function(e,t){var n=t.getState,r=t.dispatch;if(e.selectPrevious){var o=e.uids[0],i=n(),s=ms(i),a=k()({},i,{editor:{present:Object(m.last)(i.editor.past)}}),c=vs(a,o),l=gs(a,o)||c;l!==s&&r(mc(l))}}};var pl=function(e){var t,n=[nc()(dl),oc.a],r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}};return t=n.map(function(e){return e(o)}),r=m.flowRight.apply(void 0,x()(t))(e.dispatch),e.dispatch=r,e},fl="GUTENBERG_PREFERENCES_"+window.userSettings.uid,hl=pl(Object(g.registerReducer)("core/editor",Object(g.withRehydratation)(ec,"preferences",fl)));Object(g.loadAndPersist)(hl,ec,"preferences",fl),Object(g.registerSelectors)("core/editor",r),Object(g.registerActions)("core/editor",o);function ml(e){var t=Object(A.getBlockSupport)(e,"align");if(Array.isArray(t))return t;var n=[];return!0===t&&(n.push("left","center","right"),Object(A.hasBlockSupport)(e,"wideAlign",!0)&&n.push("wide","full")),n}var vl=Object(v.createHigherOrderComponent)(function(e){return function(t){var n=ml(t.name);return[n.length>0&&t.isSelected&&wp.element.createElement(J,{key:"align-controls"},wp.element.createElement(q,{value:t.attributes.align,onChange:function(e){return t.setAttributes({align:e})},controls:n})),wp.element.createElement(e,k()({key:"edit"},t))]}},"withToolbarControls"),bl=Object(v.createHigherOrderComponent)(function(e){return function(t){var n=t.block.attributes.align,r=ml(t.block.name),o=t.wrapperProps;return Object(m.includes)(r,n)&&(o=k()({},o,{"data-align":n})),wp.element.createElement(e,k()({},t,{wrapperProps:o}))}},"withAlign");Object(_.addFilter)("blocks.registerBlockType","core/align/addAttribute",function(e){return Object(A.hasBlockSupport)(e,"align")&&(e.attributes=Object(m.assign)(e.attributes,{align:{type:"string"}})),e}),Object(_.addFilter)("editor.BlockListBlock","core/align/withAlign",bl),Object(_.addFilter)("blocks.BlockEdit","core/align/withToolbarControls",vl),Object(_.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",function(e,t,n){var r=n.align;return Object(m.includes)(ml(t),r)&&(e.className=Z()("align"+r,e.className)),e});var gl=/[\s#]/g;var yl=Object(v.createHigherOrderComponent)(function(e){return function(t){return Object(A.hasBlockSupport)(t.name,"anchor")&&t.isSelected?wp.element.createElement(v.Fragment,null,wp.element.createElement(e,t),wp.element.createElement(Ie,null,wp.element.createElement(O.TextControl,{label:Object(F.__)("HTML Anchor"),help:Object(F.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(gl,"-"),t.setAttributes({anchor:e})}}))):wp.element.createElement(e,t)}},"withInspectorControl");Object(_.addFilter)("blocks.registerBlockType","core/anchor/attribute",function(e){return Object(A.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(m.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}),Object(_.addFilter)("blocks.BlockEdit","core/anchor/inspector-control",yl),Object(_.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",function(e,t,n){return Object(A.hasBlockSupport)(t,"anchor")&&(e.id=n.anchor),e});var kl=Object(v.createHigherOrderComponent)(function(e){return function(t){return Object(A.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?wp.element.createElement(v.Fragment,null,wp.element.createElement(e,t),wp.element.createElement(Ie,null,wp.element.createElement(O.TextControl,{label:Object(F.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:e})}}))):wp.element.createElement(e,t)}},"withInspectorControl");Object(_.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",function(e){return Object(A.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(m.assign)(e.attributes,{className:{type:"string"}})),e}),Object(_.addFilter)("blocks.BlockEdit","core/custom-class-name/inspector-control",kl),Object(_.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",function(e,t,n){return Object(A.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=Z()(e.className,n.className)),e});var _l=[M];Object(_.addFilter)("blocks.Autocomplete.completers","blocks/autocompleters/set-default-completers",function(e,t){return e||(e=_l.map(m.clone),t===Object(A.getDefaultBlockName)()&&e.push(Object(m.clone)(U))),e}),Object(_.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",function(e,t){return Object(A.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(m.uniq)([Object(A.getBlockDefaultClassName)(t.name)].concat(x()(e.className.split(" ")))).join(" ").trim():e.className=Object(A.getBlockDefaultClassName)(t.name)),e}),Object(_.addFilter)("blocks.registerBlockType","core/layout/attribute",function(e){return e.attributes=Object(m.assign)(e.attributes,{layout:{type:"string"}}),e}),Object(_.addFilter)("blocks.getSaveContent.extraProps","core/layout/save-props",function(e,t,n){var r=n.layout;return r&&(e.className=Object(m.compact)([e.className,"layout-"+r]).join(" ")),e}),Object(_.addFilter)("blocks.switchToBlockType.transformedBlock","core/layout/preserve-layout",function(e,t){var n=Object(m.get)(t,[0,"attributes","layout"]);return e.attributes.layout=n,e}),Object(_.addFilter)("blocks.isUnmodifiedDefaultBlock.attributes","core/layout/exclude-layout-attribute-check",function(e){return Object(m.without)(e,"layout")}),n.d(t,"Autocomplete",function(){return P}),n.d(t,"AlignmentToolbar",function(){return V}),n.d(t,"BlockAlignmentToolbar",function(){return q}),n.d(t,"BlockControls",function(){return J}),n.d(t,"BlockEdit",function(){return ne}),n.d(t,"BlockFormatControls",function(){return ae}),n.d(t,"BlockIcon",function(){return N}),n.d(t,"ColorPalette",function(){return le}),n.d(t,"withColorContext",function(){return ce}),n.d(t,"ContrastChecker",function(){return ke}),n.d(t,"ImagePlaceholder",function(){return Ee}),n.d(t,"InnerBlocks",function(){return Ce}),n.d(t,"InspectorAdvancedControls",function(){return Ie}),n.d(t,"InspectorControls",function(){return Le}),n.d(t,"PanelColor",function(){return Fe}),n.d(t,"PlainText",function(){return Ke}),n.d(t,"RichText",function(){return zt}),n.d(t,"RichTextProvider",function(){return Xt}),n.d(t,"MediaUpload",function(){return Se}),n.d(t,"UrlInput",function(){return st}),n.d(t,"UrlInputButton",function(){return $t}),n.d(t,"AutosaveMonitor",function(){return Qt}),n.d(t,"DocumentOutline",function(){return an}),n.d(t,"DocumentOutlineCheck",function(){return cn}),n.d(t,"DocumentTitle",function(){return un}),n.d(t,"EditorGlobalKeyboardShortcuts",function(){return fn}),n.d(t,"EditorHistoryRedo",function(){return mn}),n.d(t,"EditorHistoryUndo",function(){return bn}),n.d(t,"EditorNotices",function(){return yn}),n.d(t,"PageAttributesCheck",function(){return kn}),n.d(t,"PageAttributesOrder",function(){return wn}),n.d(t,"PageAttributesParent",function(){return Cn}),n.d(t,"PageTemplate",function(){return Tn}),n.d(t,"PostAuthor",function(){return xn}),n.d(t,"PostAuthorCheck",function(){return Pn}),n.d(t,"PostComments",function(){return In}),n.d(t,"PostExcerpt",function(){return Dn}),n.d(t,"PostExcerptCheck",function(){return An}),n.d(t,"PostFeaturedImage",function(){return Hn}),n.d(t,"PostFeaturedImageCheck",function(){return Rn}),n.d(t,"PostFormat",function(){return Wn}),n.d(t,"PostFormatCheck",function(){return Vn}),n.d(t,"PostLastRevision",function(){return qn}),n.d(t,"PostLastRevisionCheck",function(){return zn}),n.d(t,"PostPendingStatus",function(){return Yn}),n.d(t,"PostPendingStatusCheck",function(){return Gn}),n.d(t,"PostPingbacks",function(){return Xn}),n.d(t,"PostPreviewButton",function(){return Jn}),n.d(t,"PostPublishButton",function(){return Zn}),n.d(t,"PostPublishButtonLabel",function(){return Qn}),n.d(t,"PostPublishPanel",function(){return dr}),n.d(t,"PostPublishPanelToggle",function(){return pr}),n.d(t,"PostSavedState",function(){return vr}),n.d(t,"PostSchedule",function(){return ir}),n.d(t,"PostScheduleCheck",function(){return br}),n.d(t,"PostScheduleLabel",function(){return sr}),n.d(t,"PostSticky",function(){return yr}),n.d(t,"PostStickyCheck",function(){return gr}),n.d(t,"PostSwitchToDraftButton",function(){return fr}),n.d(t,"PostTaxonomies",function(){return Cr}),n.d(t,"PostTaxonomiesCheck",function(){return Tr}),n.d(t,"PostTextEditor",function(){return Br}),n.d(t,"PostTitle",function(){return Fr}),n.d(t,"PostTrash",function(){return Hr}),n.d(t,"PostTrashCheck",function(){return Vr}),n.d(t,"PostTypeSupportCheck",function(){return _n}),n.d(t,"PostVisibility",function(){return nr}),n.d(t,"PostVisibilityLabel",function(){return rr}),n.d(t,"PostVisibilityCheck",function(){return Kr}),n.d(t,"TableOfContents",function(){return ro}),n.d(t,"UnsavedChangesWarning",function(){return io}),n.d(t,"WordCount",function(){return to}),n.d(t,"BlockInspector",function(){return co}),n.d(t,"BlockList",function(){return _i}),n.d(t,"BlockMover",function(){return bo}),n.d(t,"BlockSelectionClearer",function(){return wi}),n.d(t,"BlockSettingsMenu",function(){return Co}),n.d(t,"BlockTitle",function(){return Zt}),n.d(t,"BlockToolbar",function(){return ji}),n.d(t,"CopyHandler",function(){return Ti}),n.d(t,"DefaultBlockAppender",function(){return vi}),n.d(t,"ErrorBoundary",function(){return ma}),n.d(t,"Inserter",function(){return ti}),n.d(t,"MultiBlocksSwitcher",function(){return va}),n.d(t,"MultiSelectScrollIntoView",function(){return ga}),n.d(t,"NavigableToolbar",function(){return Ho}),n.d(t,"ObserveTyping",function(){return _a}),n.d(t,"PreserveScrollInReorder",function(){return wa}),n.d(t,"SkipToSelectedBlock",function(){return ao}),n.d(t,"Warning",function(){return To}),n.d(t,"WritingFlow",function(){return Ba}),n.d(t,"EditorProvider",function(){return Ia}),n.d(t,"blockAutocompleter",function(){return U}),n.d(t,"userAutocompleter",function(){return M}),n.d(t,"getColorClass",function(){return fe}),n.d(t,"getColorName",function(){return pe}),n.d(t,"withColors",function(){return be}),n.d(t,"editorMediaUpload",function(){return we})},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var o="BEGIN",i="COMMIT",s="REVERT",a=[];function c(e,t){return e.optimist&&e.optimist.id===t}function l(e,t){if(!e||"object"!=typeof e||Array.isArray(e))throw new TypeError('Error while handling "'+t.type+'": Optimist requires that state is always a plain object.')}function u(e){if(e){var t=e.optimist;return{optimist:void 0===t?a:t,innerState:function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["optimist"])}}return{optimist:a,innerState:e}}e.exports=function(e){function t(t,n,o){return t.length&&(t=t.concat([{action:o}])),l(n=e(n,o),o),r({optimist:t},n)}return function(n,a){if(a.optimist)switch(a.optimist.type){case o:return function(t,n){var o=u(t),i=o.optimist,s=o.innerState;return i=i.concat([{beforeState:s,action:n}]),l(s=e(s,n),n),r({optimist:i},s)}(n,a);case i:return function(e,n){var r=u(e),o=r.optimist,i=r.innerState,s=[],a=!1,l=!1;o.forEach(function(e){a?e.beforeState&&c(e.action,n.optimist.id)?(l=!0,s.push({action:e.action})):s.push(e):e.beforeState&&!c(e.action,n.optimist.id)?(a=!0,s.push(e)):e.beforeState&&c(e.action,n.optimist.id)&&(l=!0)}),l||console.error('Cannot commit transaction with id "'+n.optimist.id+'" because it does not exist');return t(o=s,i,n)}(n,a);case s:return function(n,r){var o=u(n),i=o.optimist,s=o.innerState,a=[],d=!1,p=!1,f=s;i.forEach(function(t){t.beforeState&&c(t.action,r.optimist.id)&&(f=t.beforeState,p=!0),c(t.action,r.optimist.id)||(t.beforeState&&(d=!0),d&&(p&&t.beforeState?a.push({beforeState:f,action:t.action}):a.push(t)),p&&(f=e(f,t.action),l(s,r)))}),p||console.error('Cannot revert transaction with id "'+r.optimist.id+'" because it does not exist');return t(i=a,f,r)}(n,a)}var d=u(n),p=d.optimist,f=d.innerState;if(n&&!p.length){var h=e(f,a);return h===f?n:(l(h,a),r({optimist:p},h))}return t(p,f,a)}},e.exports.BEGIN=o,e.exports.COMMIT=i,e.exports.REVERT=s},function(e,t){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]}},function(e,t,n){var r=n(329);e.exports=function(e){var t=r(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var o=e.style.lineHeight;e.style.lineHeight=t+"em",t=r(e,"line-height"),n=parseFloat(t,10),o?e.style.lineHeight=o:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,s=document.createElement(i);s.innerHTML="&nbsp;","TEXTAREA"===i.toUpperCase()&&s.setAttribute("rows","1");var a=r(e,"font-size");s.style.fontSize=a,s.style.padding="0px",s.style.border="0px";var c=document.body;c.appendChild(s),n=s.offsetHeight,c.removeChild(s)}return n}},function(e,t,n){var r,o,i;
13
  /*!
14
  autosize 4.0.2
15
  license: MIT
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */
12
+ !function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}void 0!==e&&e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(48)("wks"),o=n(38),i=n(18).Symbol,s="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))}).store=r},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(61),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},function(e,t){!function(){e.exports=this.wp.utils}()},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(85),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){var r=n(18),o=n(15),i=n(36),s=n(29),a=function(e,t,n){var c,l,u,d=e&a.F,p=e&a.G,f=e&a.S,h=e&a.P,m=e&a.B,v=e&a.W,b=p?o:o[t]||(o[t]={}),g=b.prototype,y=p?r:f?r[t]:(r[t]||{}).prototype;for(c in p&&(n=t),n)(l=!d&&y&&void 0!==y[c])&&c in b||(u=l?y[c]:n[c],b[c]=p&&"function"!=typeof y[c]?n[c]:m&&l?i(u,r):v&&y[c]==u?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(u):h&&"function"==typeof u?i(Function.call,u):u,h&&((b.virtual||(b.virtual={}))[c]=u,e&a.R&&g&&!g[c]&&s(g,c,u)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,e.exports=a},function(e,t,n){var r=n(25),o=n(64),i=n(52),s=Object.defineProperty;t.f=n(24)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(31)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(26);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(23),o=n(34);e.exports=n(24)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(60),o=n(44);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){!function(){e.exports=this.wp.dom}()},function(e,t){e.exports={}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t,n){var r=n(57);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(63),o=n(47);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(44);e.exports=function(e){return Object(r(e))}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(48)("keys"),o=n(38);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(23).f,o=n(28),i=n(17)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(146)),o=i(n(116));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,i=!1,s=void 0;try{for(var a,c=(0,o.default)(e);!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,s=e}finally{try{!r&&c.return&&c.return()}finally{if(i)throw s}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(18),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t,n){"use strict";var r=n(88)(!0);n(67)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){e.exports=!0},,function(e,t,n){var r=n(26);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(26),o=n(18).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},,function(e,t,n){var r=n(41),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(25),o=n(82),i=n(47),s=n(43)("IE_PROTO"),a=function(){},c=function(){var e,t=n(53)("iframe"),r=i.length;for(t.style.display="none",n(74).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=r(e),n=new a,a.prototype=null,n[s]=e):n=c(),void 0===t?n:o(n,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},,function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(39);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){e.exports={default:n(115),__esModule:!0}},function(e,t,n){n(100);for(var r=n(18),o=n(29),i=n(33),s=n(17)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var l=a[c],u=r[l],d=u&&u.prototype;d&&!d[s]&&o(d,s,l),i[l]=i.Array}},function(e,t,n){var r=n(28),o=n(30),i=n(77)(!1),s=n(43)("IE_PROTO");e.exports=function(e,t){var n,a=o(e),c=0,l=[];for(n in a)n!=s&&r(a,n)&&l.push(n);for(;t.length>c;)r(a,n=t[c++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){e.exports=!n(24)&&!n(31)(function(){return 7!=Object.defineProperty(n(53)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(18),o=n(15),i=n(50),s=n(66),a=n(23).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:s.f(e)})}},function(e,t,n){t.f=n(17)},function(e,t,n){"use strict";var r=n(50),o=n(22),i=n(71),s=n(29),a=n(28),c=n(33),l=n(87),u=n(45),d=n(72),p=n(17)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,m,v,b,g){l(n,t,m);var y,k,_,O=function(e){if(!f&&e in j)return j[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",S="values"==v,E=!1,j=e.prototype,C=j[p]||j["@@iterator"]||v&&j[v],T=!f&&C||O(v),P=v?S?O("entries"):T:void 0,B="Array"==t&&j.entries||C;if(B&&(_=d(B.call(new e)))!==Object.prototype&&_.next&&(u(_,w,!0),r||a(_,p)||s(_,p,h)),S&&C&&"values"!==C.name&&(E=!0,T=function(){return C.call(this)}),r&&!g||!f&&!E&&j[p]||s(j,p,T),c[t]=T,c[w]=h,v)if(y={values:S?T:O("values"),keys:b?T:O("keys"),entries:P},g)for(k in y)k in j||i(j,k,y[k]);else o(o.P+o.F*(f||E),t,y);return y}},function(e,t,n){var r=n(39),o=n(17)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";t.__esModule=!0;var r=s(n(104)),o=s(n(93)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function s(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){var r=n(68),o=n(17)("iterator"),i=n(33);e.exports=n(15).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){e.exports=n(29)},function(e,t,n){var r=n(28),o=n(40),i=n(43)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){e.exports={default:n(157),__esModule:!0}},function(e,t,n){var r=n(18).document;e.exports=r&&r.documentElement},function(e,t,n){e.exports={default:n(92),__esModule:!0}},function(e,t,n){var r=n(41),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(30),o=n(55),i=n(76);e.exports=function(e){return function(t,n,s){var a,c=r(t),l=o(c.length),u=i(s,l);if(e&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(63),o=n(47).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(42),o=n(34),i=n(30),s=n(52),a=n(28),c=n(64),l=Object.getOwnPropertyDescriptor;t.f=n(24)?l:function(e,t){if(e=i(e),t=s(t,!0),c)try{return l(e,t)}catch(e){}if(a(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(33),o=n(17)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(25);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(23),o=n(25),i=n(37);e.exports=n(24)?Object.defineProperties:function(e,t){o(e);for(var n,s=i(t),a=s.length,c=0;a>c;)r.f(e,n=s[c++],t[n]);return e}},,function(e,t){},function(e,t,n){e.exports={default:n(98),__esModule:!0}},function(e,t,n){var r=n(17)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(56),o=n(34),i=n(45),s={};n(29)(s,n(17)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(s,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(41),o=n(44);e.exports=function(e){return function(t,n){var i,s,a=String(o(t)),c=r(n),l=a.length;return c<0||c>=l?e?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===l||(s=a.charCodeAt(c+1))<56320||s>57343?e?a.charAt(c):i:e?a.slice(c,c+2):s-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r,o;function i(e){return[e]}function s(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,t.a=function(e,t){var n,c;function l(){n=o?new WeakMap:s()}function u(){var n,r,o,i,s,l=arguments.length;for(i=new Array(l),o=0;o<l;o++)i[o]=arguments[o];for(s=t.apply(null,i),(n=c(s)).isUniqueByDependants||(n.lastDependants&&!a(s,n.lastDependants,0)&&n.clear(),n.lastDependants=s),r=n.head;r;){if(a(r.args,i,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,i)},i[0]=null,r.args=i,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=i),c=o?function(e){var t,o,i,a,c,l=n,u=!0;for(t=0;t<e.length;t++){if(o=e[t],!(c=o)||"object"!=typeof c){u=!1;break}l.has(o)?l=l.get(o):(i=new WeakMap,l.set(o,i),l=i)}return l.has(r)||((a=s()).isUniqueByDependants=u,l.set(r,a)),l.get(r)}:function(){return n},u.getDependants=t,u.clear=l,l(),u}},function(e,t,n){"use strict";var r=n(37),o=n(59),i=n(42),s=n(40),a=n(60),c=Object.assign;e.exports=!c||n(31)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r})?function(e,t){for(var n=s(e),c=arguments.length,l=1,u=o.f,d=i.f;c>l;)for(var p,f=a(arguments[l++]),h=u?r(f).concat(u(f)):r(f),m=h.length,v=0;m>v;)d.call(f,p=h[v++])&&(n[p]=f[p]);return n}:c},function(e,t,n){var r=n(22);r(r.S+r.F,"Object",{assign:n(90)})},function(e,t,n){n(91),e.exports=n(15).Object.assign},function(e,t,n){e.exports={default:n(112),__esModule:!0}},function(e,t,n){var r=n(38)("meta"),o=n(26),i=n(28),s=n(23).f,a=0,c=Object.isExtensible||function(){return!0},l=!n(31)(function(){return c(Object.preventExtensions({}))}),u=function(e){s(e,r,{value:{i:"O"+ ++a,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!c(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!c(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return l&&d.NEED&&c(e)&&!i(e,r)&&u(e),e}}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(57);e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}(e)}},function(e,t,n){var r=n(22);r(r.S+r.F*!n(24),"Object",{defineProperty:n(23).f})},function(e,t,n){n(97);var r=n(15).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(99),o=n(95),i=n(33),s=n(30);e.exports=n(67)(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){e.exports={default:n(106),__esModule:!0}},function(e,t,n){var r=n(39);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(22),o=n(15),i=n(31);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],s={};s[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",s)}},function(e,t,n){e.exports={default:n(123),__esModule:!0}},function(e,t,n){var r=n(22);r(r.S,"Object",{create:n(56)})},function(e,t,n){n(105);var r=n(15).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(65)("observable")},function(e,t,n){n(65)("asyncIterator")},function(e,t,n){var r=n(30),o=n(78).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return s.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(37),o=n(59),i=n(42);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var s,a=n(e),c=i.f,l=0;a.length>l;)c.call(e,s=a[l++])&&t.push(s);return t}},function(e,t,n){"use strict";var r=n(18),o=n(28),i=n(24),s=n(22),a=n(71),c=n(94).KEY,l=n(31),u=n(48),d=n(45),p=n(38),f=n(17),h=n(66),m=n(65),v=n(110),b=n(102),g=n(25),y=n(26),k=n(30),_=n(52),O=n(34),w=n(56),S=n(109),E=n(79),j=n(23),C=n(37),T=E.f,P=j.f,B=S.f,x=r.Symbol,I=r.JSON,D=I&&I.stringify,A=f("_hidden"),N=f("toPrimitive"),R={}.propertyIsEnumerable,L=u("symbol-registry"),U=u("symbols"),M=u("op-symbols"),F=Object.prototype,H="function"==typeof x,V=r.QObject,K=!V||!V.prototype||!V.prototype.findChild,W=i&&l(function(){return 7!=w(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=T(F,t);r&&delete F[t],P(e,t,n),r&&e!==F&&P(F,t,r)}:P,z=function(e){var t=U[e]=w(x.prototype);return t._k=e,t},q=H&&"symbol"==typeof x.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof x},G=function(e,t,n){return e===F&&G(M,t,n),g(e),t=_(t,!0),g(n),o(U,t)?(n.enumerable?(o(e,A)&&e[A][t]&&(e[A][t]=!1),n=w(n,{enumerable:O(0,!1)})):(o(e,A)||P(e,A,O(1,{})),e[A][t]=!0),W(e,t,n)):P(e,t,n)},Y=function(e,t){g(e);for(var n,r=v(t=k(t)),o=0,i=r.length;i>o;)G(e,n=r[o++],t[n]);return e},X=function(e){var t=R.call(this,e=_(e,!0));return!(this===F&&o(U,e)&&!o(M,e))&&(!(t||!o(this,e)||!o(U,e)||o(this,A)&&this[A][e])||t)},$=function(e,t){if(e=k(e),t=_(t,!0),e!==F||!o(U,t)||o(M,t)){var n=T(e,t);return!n||!o(U,t)||o(e,A)&&e[A][t]||(n.enumerable=!0),n}},J=function(e){for(var t,n=B(k(e)),r=[],i=0;n.length>i;)o(U,t=n[i++])||t==A||t==c||r.push(t);return r},Q=function(e){for(var t,n=e===F,r=B(n?M:k(e)),i=[],s=0;r.length>s;)!o(U,t=r[s++])||n&&!o(F,t)||i.push(U[t]);return i};H||(a((x=function(){if(this instanceof x)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(M,n),o(this,A)&&o(this[A],e)&&(this[A][e]=!1),W(this,e,O(1,n))};return i&&K&&W(F,e,{configurable:!0,set:t}),z(e)}).prototype,"toString",function(){return this._k}),E.f=$,j.f=G,n(78).f=S.f=J,n(42).f=X,n(59).f=Q,i&&!n(50)&&a(F,"propertyIsEnumerable",X,!0),h.f=function(e){return z(f(e))}),s(s.G+s.W+s.F*!H,{Symbol:x});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Z.length>ee;)f(Z[ee++]);for(var te=C(f.store),ne=0;te.length>ne;)m(te[ne++]);s(s.S+s.F*!H,"Symbol",{for:function(e){return o(L,e+="")?L[e]:L[e]=x(e)},keyFor:function(e){if(!q(e))throw TypeError(e+" is not a symbol!");for(var t in L)if(L[t]===e)return t},useSetter:function(){K=!0},useSimple:function(){K=!1}}),s(s.S+s.F*!H,"Object",{create:function(e,t){return void 0===t?w(e):Y(w(e),t)},defineProperty:G,defineProperties:Y,getOwnPropertyDescriptor:$,getOwnPropertyNames:J,getOwnPropertySymbols:Q}),I&&s(s.S+s.F*(!H||l(function(){var e=x();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(y(t)||void 0!==e)&&!q(e))return b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!q(t))return t}),r[1]=t,D.apply(I,r)}}),x.prototype[N]||n(29)(x.prototype,N,x.prototype.valueOf),d(x,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){n(111),n(84),n(108),n(107),e.exports=n(15).Symbol},function(e,t,n){"use strict";var r=n(23),o=n(34);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(36),o=n(22),i=n(40),s=n(81),a=n(80),c=n(55),l=n(113),u=n(70);o(o.S+o.F*!n(86)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,p=i(e),f="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,b=0,g=u(p);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==g||f==Array&&a(g))for(n=new f(t=c(p.length));t>b;b++)l(n,b,v?m(p[b],b):p[b]);else for(d=g.call(p),n=new f;!(o=d.next()).done;b++)l(n,b,v?s(d,m,[o.value,b],!0):o.value);return n.length=b,n}})},function(e,t,n){n(49),n(114),e.exports=n(15).Array.from},function(e,t,n){e.exports={default:n(136),__esModule:!0}},function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function s(){var t,s,a=r,c=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(s=0;s<c;s++)if(a.args[s]!==arguments[s]){a=a.next;continue e}return a!==r&&(a===o&&(o=a.prev),a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=r,a.prev=null,r.prev=a,r=a),a.val}a=a.next}for(t=new Array(c),s=0;s<c;s++)t[s]=arguments[s];return a={args:t,val:e.apply(null,t)},r?(r.prev=a,a.next=r):o=a,i===n?(o=o.prev).next=null:i++,r=a,a.val}return t&&t.maxSize&&(n=t.maxSize),s.clear=function(){r=null,o=null,i=0},s}},,function(e,t,n){var r=n(26),o=n(25),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(36)(Function.call,n(79).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var r=n(22);r(r.S,"Object",{setPrototypeOf:n(119).set})},function(e,t,n){n(120),e.exports=n(15).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(121),__esModule:!0}},function(e,t,n){n(49),n(62),e.exports=n(66).f("iterator")},function(e,t,n){var r=n(40),o=n(72);n(103)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){n(124),e.exports=n(15).Object.getPrototypeOf},,function(e,t,n){var r=n(25),o=n(26),i=n(96);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,o,i,s=n(36),a=n(155),c=n(74),l=n(53),u=n(18),d=u.process,p=u.setImmediate,f=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,v=0,b={},g=function(){var e=+this;if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},y=function(e){g.call(e.data)};p&&f||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++v]=function(){a("function"==typeof e?e:Function(e),t)},r(v),v},f=function(e){delete b[e]},"process"==n(39)(d)?r=function(e){d.nextTick(s(g,e,1))}:m&&m.now?r=function(e){m.now(s(g,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=y,r=s(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",y,!1)):r="onreadystatechange"in l("script")?function(e){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),g.call(e)}}:function(e){setTimeout(s(g,e,1),0)}),e.exports={set:p,clear:f}},function(e,t,n){var r=n(25),o=n(57),i=n(17)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||void 0==(n=r(s)[i])?t:o(n)}},function(e,t,n){var r=n(36),o=n(81),i=n(80),s=n(25),a=n(55),c=n(70),l={},u={};(t=e.exports=function(e,t,n,d,p){var f,h,m,v,b=p?function(){return e}:c(e),g=r(n,d,t?2:1),y=0;if("function"!=typeof b)throw TypeError(e+" is not iterable!");if(i(b)){for(f=a(e.length);f>y;y++)if((v=t?g(s(h=e[y])[0],h[1]):g(e[y]))===l||v===u)return v}else for(m=b.call(e);!(h=m.next()).done;)if((v=o(m,g,h.value,t))===l||v===u)return v}).BREAK=l,t.RETURN=u},function(e,t){!function(){e.exports=this.wp.viewport}()},,,function(e,t,n){var r=n(25),o=n(70);e.exports=n(15).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){n(62),n(49),e.exports=n(135)},,function(e,t,n){var r=n(29);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.decode=t.parse=n(206),t.encode=t.stringify=n(205)},,function(e,t,n){"use strict";var r=n(18),o=n(15),i=n(23),s=n(24),a=n(17)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];s&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(68),o=n(17)("iterator"),i=n(33);e.exports=n(15).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},function(e,t,n){n(62),n(49),e.exports=n(144)},function(e,t,n){e.exports={default:n(145),__esModule:!0}},,function(e,t){!function(){e.exports=this.wp.date}()},,,,function(e,t,n){"use strict";var r=n(22),o=n(96),i=n(128);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(22),o=n(15),i=n(18),s=n(130),a=n(127);r(r.P+r.R,"Promise",{finally:function(e){var t=s(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return a(t,e()).then(function(){return n})}:e,n?function(n){return a(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){var r=n(18),o=n(129).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n(39)(s);e.exports=function(){var e,t,n,l=function(){var r,o;for(c&&(r=s.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(l)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var u=a.resolve();n=function(){u.then(l)}}else n=function(){o.call(r,l)};else{var d=!0,p=document.createTextNode("");new i(l).observe(p,{characterData:!0}),n=function(){p.data=d=!d}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){"use strict";var r,o,i,s,a=n(50),c=n(18),l=n(36),u=n(68),d=n(22),p=n(26),f=n(57),h=n(139),m=n(131),v=n(130),b=n(129).set,g=n(154)(),y=n(96),k=n(128),_=n(127),O=c.TypeError,w=c.process,S=c.Promise,E="process"==u(w),j=function(){},C=o=y.f,T=!!function(){try{var e=S.resolve(1),t=(e.constructor={})[n(17)("species")]=function(e){e(j,j)};return(E||"function"==typeof PromiseRejectionEvent)&&e.then(j)instanceof t}catch(e){}}(),P=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},B=function(e,t){if(!e._n){e._n=!0;var n=e._c;g(function(){for(var r=e._v,o=1==e._s,i=0,s=function(t){var n,i,s=o?t.ok:t.fail,a=t.resolve,c=t.reject,l=t.domain;try{s?(o||(2==e._h&&D(e),e._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&l.exit()),n===t.promise?c(O("Promise-chain cycle")):(i=P(n))?i.call(n,a,c):a(n)):c(r)}catch(e){c(e)}};n.length>i;)s(n[i++]);e._c=[],e._n=!1,t&&!e._h&&x(e)})}},x=function(e){b.call(c,function(){var t,n,r,o=e._v,i=I(e);if(i&&(t=k(function(){E?w.emit("unhandledRejection",o,e):(n=c.onunhandledrejection)?n({promise:e,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=E||I(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},I=function(e){return 1!==e._h&&0===(e._a||e._c).length},D=function(e){b.call(c,function(){var t;E?w.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},A=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),B(t,!0))},N=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw O("Promise can't be resolved itself");(t=P(e))?g(function(){var r={_w:n,_d:!1};try{t.call(e,l(N,r,1),l(A,r,1))}catch(e){A.call(r,e)}}):(n._v=e,n._s=1,B(n,!1))}catch(e){A.call({_w:n,_d:!1},e)}}};T||(S=function(e){h(this,S,"Promise","_h"),f(e),r.call(this);try{e(l(N,this,1),l(A,this,1))}catch(e){A.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(138)(S.prototype,{then:function(e,t){var n=C(v(this,S));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=E?w.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&B(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=l(N,e,1),this.reject=l(A,e,1)},y.f=C=function(e){return e===S||e===s?new i(e):o(e)}),d(d.G+d.W+d.F*!T,{Promise:S}),n(45)(S,"Promise"),n(143)("Promise"),s=n(15).Promise,d(d.S+d.F*!T,"Promise",{reject:function(e){var t=C(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(a||!T),"Promise",{resolve:function(e){return _(a&&this===s?S:this,e)}}),d(d.S+d.F*!(T&&n(86)(function(e){S.all(e).catch(j)})),"Promise",{all:function(e){var t=this,n=C(t),r=n.resolve,o=n.reject,i=k(function(){var n=[],i=0,s=1;m(e,!1,function(e){var a=i++,c=!1;n.push(void 0),s++,t.resolve(e).then(function(e){c||(c=!0,n[a]=e,--s||r(n))},o)}),--s||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=C(t),r=n.reject,o=k(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){n(84),n(49),n(62),n(156),n(153),n(152),e.exports=n(15).Promise},function(e,t){!function(){e.exports=this.tinymce}()},function(e,t,n){e.exports={default:n(233),__esModule:!0}},,function(e,t,n){e.exports=n(328)},,,function(e,t){!function(){e.exports=this.wp.a11y}()},,function(e,t,n){e.exports={default:n(187),__esModule:!0}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e){return decodeURIComponent(e.replace(/\+/g," "))}t.stringify=function(e,t){t=t||"";var n=[];for(var o in"string"!=typeof t&&(t="?"),e)r.call(e,o)&&n.push(encodeURIComponent(o)+"="+encodeURIComponent(e[o]));return n.length?t+n.join("&"):""},t.parse=function(e){for(var t,n=/([^=?&]+)=?([^&]*)/g,r={};t=n.exec(e);r[o(t[1])]=o(t[2]));return r}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(332);t.default=r.default},,function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){var n;"function"!=typeof(n=window.Element.prototype).matches&&(n.matches=n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)++n;return Boolean(t[n])}),"function"!=typeof n.closest&&(n.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})},function(e,t,n){var r=n(37),o=n(30),i=n(42).f;e.exports=function(e){return function(t){for(var n,s=o(t),a=r(s),c=a.length,l=0,u=[];c>l;)i.call(s,n=a[l++])&&u.push(e?[n,s[n]]:s[n]);return u}}},function(e,t,n){"use strict";e.exports=n(210)},,,function(e,t,n){"use strict";var r=n(208),o=n(207);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=y(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var s=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),d=["%","/","?",";","#"].concat(u),p=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n(141);function y(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),a=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(a);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(a);if(y=y.trim(),!n&&1===e.split("#").length){var k=c.exec(y);if(k)return this.path=y,this.href=y,this.pathname=k[1],k[2]?(this.search=k[2],this.query=t?g.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=s.exec(y);if(_){var O=(_=_[0]).toLowerCase();this.protocol=O,y=y.substr(_.length)}if(n||_||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var w="//"===y.substr(0,2);!w||_&&v[_]||(y=y.substr(2),this.slashes=!0)}if(!v[_]&&(w||_&&!b[_])){for(var S,E,j=-1,C=0;C<p.length;C++){-1!==(T=y.indexOf(p[C]))&&(-1===j||T<j)&&(j=T)}-1!==(E=-1===j?y.lastIndexOf("@"):y.lastIndexOf("@",j))&&(S=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(S)),j=-1;for(C=0;C<d.length;C++){var T;-1!==(T=y.indexOf(d[C]))&&(-1===j||T<j)&&(j=T)}-1===j&&(j=y.length),this.host=y.slice(0,j),y=y.slice(j),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var B=this.hostname.split(/\./),x=(C=0,B.length);C<x;C++){var I=B[C];if(I&&!I.match(f)){for(var D="",A=0,N=I.length;A<N;A++)I.charCodeAt(A)>127?D+="x":D+=I[A];if(!D.match(f)){var R=B.slice(0,C),L=B.slice(C+1),U=I.match(h);U&&(R.push(U[1]),L.unshift(U[2])),L.length&&(y="/"+L.join(".")+y),this.hostname=R.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=r.toASCII(this.hostname));var M=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+M,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!m[O])for(C=0,x=u.length;C<x;C++){var H=u[C];if(-1!==y.indexOf(H)){var V=encodeURIComponent(H);V===H&&(V=escape(H)),y=y.split(H).join(V)}}var K=y.indexOf("#");-1!==K&&(this.hash=y.substr(K),y=y.slice(0,K));var W=y.indexOf("?");if(-1!==W?(this.search=y.substr(W),this.query=y.substr(W+1),t&&(this.query=g.parse(this.query)),y=y.slice(0,W)):t&&(this.search="",this.query={}),y&&(this.pathname=y),b[O]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){M=this.pathname||"";var z=this.search||"";this.path=M+z}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,s="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(s=g.stringify(this.query));var a=this.search||s&&"?"+s||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+i+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(a=a.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),s=0;s<r.length;s++){var a=r[s];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),l=0;l<c.length;l++){var u=c[l];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var d=Object.keys(e),p=0;p<d.length;p++){var f=d[p];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||v[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var m=n.pathname||"",g=n.search||"";n.path=m+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),k=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=k||y||n.host&&e.pathname,O=_,w=n.pathname&&n.pathname.split("/")||[],S=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(S&&(n.hostname="",n.port=null,n.host&&(""===w[0]?w[0]=n.host:w.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),_=_&&(""===h[0]||""===w[0])),k)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,w=h;else if(h.length)w||(w=[]),w.pop(),w=w.concat(h),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(S)n.hostname=n.host=w.shift(),(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=w.slice(-1)[0],j=(n.host||e.host||w.length>1)&&("."===E||".."===E)||""===E,C=0,T=w.length;T>=0;T--)"."===(E=w[T])?w.splice(T,1):".."===E?(w.splice(T,1),C++):C&&(w.splice(T,1),C--);if(!_&&!O)for(;C--;C)w.unshift("..");!_||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),j&&"/"!==w.join("/").substr(-1)&&w.push("");var P,B=""===w[0]||w[0]&&"/"===w[0].charAt(0);S&&(n.hostname=n.host=B?"":w.length?w.shift():"",(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift()));return(_=_||n.host&&w.length)&&!B&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(19),i=(r=o)&&r.__esModule?r:{default:r};t.attributeListToReact=a,t.nodeListToReact=l,t.nodeToReact=u;var s=[].concat(["accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","challenge","charSet","checked","cite","classID","className","colSpan","cols","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","encType","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","height","hidden","high","href","hrefLang","htmlFor","httpEquiv","icon","id","inputMode","integrity","is","keyParams","keyType","kind","label","lang","list","loop","low","manifest","marginHeight","marginWidth","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","nonce","open","optimum","pattern","placeholder","poster","preload","profile","radioGroup","readOnly","rel","required","reversed","role","rowSpan","rows","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","style","summary","tabIndex","target","title","type","useMap","value","width","wmode","wrap"],["autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave"],["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlSpace","y","y1","y2","yChannelSelector","z","zoomAndPan"]).reduce(function(e,t){var n=t.toLowerCase();return t!==n&&(e[n]=t),e},{});function a(e){return[].concat((0,i.default)(e)).reduce(function(e,t){var n=t.name,r=t.value,o=s[n.replace(/[-:]/,"")]||n;return"style"===o&&(r=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(";").reduce(function(e,t){var n,r=t.split(":"),o=(n=r[0]||"",n.toLowerCase().replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})).trim(),i=(r[1]||"").trim();return o&&i&&(e[o]=i),e},{})}(r)),e[o]=r,e},{})}s.class="className";var c=0;function l(e,t){return[].concat((0,i.default)(e)).reduce(function(e,n){n._domReactKey||(n._domReactKey="_domReact"+String(c++));var r=u(n,t);return Array.isArray(r)?e.push.apply(e,(0,i.default)(r)):e.push(r),e},[])}function u(e,t){if(!e)return null;if(3===e.nodeType)return e.nodeValue;if(1!==e.nodeType)return null;var n=e.nodeName.toLowerCase(),r={},o=[];return e.hasAttributes()&&(r=a(e.attributes)),e._domReactKey&&(r.key=e._domReactKey),e.hasChildNodes()&&(o=l(e.childNodes,t)),t.apply(void 0,[n,r].concat((0,i.default)(o)))}},function(e,t,n){var r=n(235),o=n(234);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[i+a]=s[a];return t||o(s)}},,function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,s,a,c){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,i,s,a,c],d=0;(l=new Error(t.replace(/%s/g,function(){return u[d++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){e.exports=n(212)()},,,,function(e,t,n){var r=n(22),o=n(172)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){n(186),e.exports=n(15).Object.values},function(e,t,n){e.exports=function(){"use strict";return function(e){var t={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(t,e),function(e){return function(n){return function(r){var o,i,s=t[r.type],a=n(r);if(s)for(o=0;o<s.length;o++)(i=s[o](r,e))&&e.dispatch(i);return a}}}}}()},,,,,,,,,,,,,,function(e,t,n){var r;!function(o){var i=/^\s+/,s=/\s+$/,a=0,c=o.round,l=o.min,u=o.max,d=o.random;function p(e,t){if(e=e||"",t=t||{},e instanceof p)return e;if(!(this instanceof p))return new p(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,c=null,d=!1,p=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(s,"").toLowerCase();var t,n=!1;if(B[e])e=B[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=K.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=K.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=K.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=K.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=K.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=K.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=K.hex8.exec(e))return{r:N(t[1]),g:N(t[2]),b:N(t[3]),a:M(t[4]),format:n?"name":"hex8"};if(t=K.hex6.exec(e))return{r:N(t[1]),g:N(t[2]),b:N(t[3]),format:n?"name":"hex"};if(t=K.hex4.exec(e))return{r:N(t[1]+""+t[1]),g:N(t[2]+""+t[2]),b:N(t[3]+""+t[3]),a:M(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=K.hex3.exec(e))return{r:N(t[1]+""+t[1]),g:N(t[2]+""+t[2]),b:N(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(f=e.r,h=e.g,m=e.b,t={r:255*D(f,255),g:255*D(h,255),b:255*D(m,255)},d=!0,p="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(r=L(e.s),a=L(e.v),t=function(e,t,n){e=6*D(e,360),t=D(t,100),n=D(n,100);var r=o.floor(e),i=e-r,s=n*(1-t),a=n*(1-i*t),c=n*(1-(1-i)*t),l=r%6;return{r:255*[n,a,s,s,c,n][l],g:255*[c,n,n,a,s,s][l],b:255*[s,s,c,n,n,a][l]}}(e.h,r,a),d=!0,p="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(r=L(e.s),c=L(e.l),t=function(e,t,n){var r,o,i;function s(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=D(e,360),t=D(t,100),n=D(n,100),0===t)r=o=i=n;else{var a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;r=s(c,a,e+1/3),o=s(c,a,e),i=s(c,a,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,c),d=!0,p="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,h,m;return n=I(n),{ok:d,format:e.format||p,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=a++}function f(e,t,n){e=D(e,255),t=D(t,255),n=D(n,255);var r,o,i=u(e,t,n),s=l(e,t,n),a=(i+s)/2;if(i==s)r=o=0;else{var c=i-s;switch(o=a>.5?c/(2-i-s):c/(i+s),i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,l:a}}function h(e,t,n){e=D(e,255),t=D(t,255),n=D(n,255);var r,o,i=u(e,t,n),s=l(e,t,n),a=i,c=i-s;if(o=0===i?0:c/i,i==s)r=0;else{switch(i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,v:a}}function m(e,t,n,r){var o=[R(c(e).toString(16)),R(c(t).toString(16)),R(c(n).toString(16))];return r&&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[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function v(e,t,n,r){return[R(U(r)),R(c(e).toString(16)),R(c(t).toString(16)),R(c(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.s-=t/100,n.s=A(n.s),p(n)}function g(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.s+=t/100,n.s=A(n.s),p(n)}function y(e){return p(e).desaturate(100)}function k(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.l+=t/100,n.l=A(n.l),p(n)}function _(e,t){t=0===t?0:t||10;var n=p(e).toRgb();return n.r=u(0,l(255,n.r-c(-t/100*255))),n.g=u(0,l(255,n.g-c(-t/100*255))),n.b=u(0,l(255,n.b-c(-t/100*255))),p(n)}function O(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.l-=t/100,n.l=A(n.l),p(n)}function w(e,t){var n=p(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,p(n)}function S(e){var t=p(e).toHsl();return t.h=(t.h+180)%360,p(t)}function E(e){var t=p(e).toHsl(),n=t.h;return[p(e),p({h:(n+120)%360,s:t.s,l:t.l}),p({h:(n+240)%360,s:t.s,l:t.l})]}function j(e){var t=p(e).toHsl(),n=t.h;return[p(e),p({h:(n+90)%360,s:t.s,l:t.l}),p({h:(n+180)%360,s:t.s,l:t.l}),p({h:(n+270)%360,s:t.s,l:t.l})]}function C(e){var t=p(e).toHsl(),n=t.h;return[p(e),p({h:(n+72)%360,s:t.s,l:t.l}),p({h:(n+216)%360,s:t.s,l:t.l})]}function T(e,t,n){t=t||6,n=n||30;var r=p(e).toHsl(),o=360/n,i=[p(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(p(r));return i}function P(e,t){t=t||6;for(var n=p(e).toHsv(),r=n.h,o=n.s,i=n.v,s=[],a=1/t;t--;)s.push(p({h:r,s:o,v:i})),i=(i+a)%1;return s}p.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return m(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[R(c(e).toString(16)),R(c(t).toString(16)),R(c(n).toString(16)),R(U(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*D(this._r,255))+"%",g:c(100*D(this._g,255))+"%",b:c(100*D(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*D(this._r,255))+"%, "+c(100*D(this._g,255))+"%, "+c(100*D(this._b,255))+"%)":"rgba("+c(100*D(this._r,255))+"%, "+c(100*D(this._g,255))+"%, "+c(100*D(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[m(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=p(e);n="#"+v(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return p(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(O,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(T,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(j,arguments)}},p.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:L(e[r]));e=n}return p(e,t)},p.equals=function(e,t){return!(!e||!t)&&p(e).toRgbString()==p(t).toRgbString()},p.random=function(){return p.fromRatio({r:d(),g:d(),b:d()})},p.mix=function(e,t,n){n=0===n?0:n||50;var r=p(e).toRgb(),o=p(t).toRgb(),i=n/100;return p({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},p.readability=function(e,t){var n=p(e),r=p(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},p.isReadable=function(e,t,n){var r,o,i=p.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},p.mostReadable=function(e,t,n){var r,o,i,s,a=null,c=0;o=(n=n||{}).includeFallbackColors,i=n.level,s=n.size;for(var l=0;l<t.length;l++)(r=p.readability(e,t[l]))>c&&(c=r,a=p(t[l]));return p.isReadable(e,a,{level:i,size:s})||!o?a:(n.includeFallbackColors=!1,p.mostReadable(e,["#fff","#000"],n))};var B=p.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},x=p.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(B);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function D(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function A(e){return l(1,u(0,e))}function N(e){return parseInt(e,16)}function R(e){return 1==e.length?"0"+e:""+e}function L(e){return e<=1&&(e=100*e+"%"),e}function U(e){return o.round(255*parseFloat(e)).toString(16)}function M(e){return N(e)/255}var F,H,V,K=(H="[\\s|\\(]+("+(F="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",V="[\\s|\\(]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",{CSS_UNIT:new RegExp(F),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+V),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(e){return!!K.CSS_UNIT.exec(e)}void 0!==e&&e.exports?e.exports=p:void 0===(r=function(){return p}.call(t,n,t,e))||(e.exports=r)}(Math)},,,function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(s(e),function(s){var a=encodeURIComponent(r(s))+n;return o(e[s])?i(e[s],function(e){return a+encodeURIComponent(r(e))}).join(t):a+encodeURIComponent(r(e[s]))}).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var s=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var l=e.length;c>0&&l>c&&(l=c);for(var u=0;u<l;++u){var d,p,f,h,m=e[u].replace(a,"%20"),v=m.indexOf(n);v>=0?(d=m.substr(0,v),p=m.substr(v+1)):(d=m,p=""),f=decodeURIComponent(d),h=decodeURIComponent(p),r(s,f)?o(s[f])?s[f].push(h):s[f]=[s[f],h]:s[f]=h}return s};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){"object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType;var s="object"==typeof r&&r;s.global!==s&&s.window!==s&&s.self;var a,c=2147483647,l=36,u=1,d=26,p=38,f=700,h=72,m=128,v="-",b=/^xn--/,g=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=l-u,O=Math.floor,w=String.fromCharCode;function S(e){throw new RangeError(k[e])}function E(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function j(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+E((e=e.replace(y,".")).split("."),t).join(".")}function C(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function T(e){return E(e,function(e){var t="";return e>65535&&(t+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function P(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function B(e,t,n){var r=0;for(e=n?O(e/f):e>>1,e+=O(e/t);e>_*d>>1;r+=l)e=O(e/_);return O(r+(_+1)*e/(e+p))}function x(e){var t,n,r,o,i,s,a,p,f,b,g,y=[],k=e.length,_=0,w=m,E=h;for((n=e.lastIndexOf(v))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&S("not-basic"),y.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<k;){for(i=_,s=1,a=l;o>=k&&S("invalid-input"),((p=(g=e.charCodeAt(o++))-48<10?g-22:g-65<26?g-65:g-97<26?g-97:l)>=l||p>O((c-_)/s))&&S("overflow"),_+=p*s,!(p<(f=a<=E?u:a>=E+d?d:a-E));a+=l)s>O(c/(b=l-f))&&S("overflow"),s*=b;E=B(_-i,t=y.length+1,0==i),O(_/t)>c-w&&S("overflow"),w+=O(_/t),_%=t,y.splice(_++,0,w)}return T(y)}function I(e){var t,n,r,o,i,s,a,p,f,b,g,y,k,_,E,j=[];for(y=(e=C(e)).length,t=m,n=0,i=h,s=0;s<y;++s)(g=e[s])<128&&j.push(w(g));for(r=o=j.length,o&&j.push(v);r<y;){for(a=c,s=0;s<y;++s)(g=e[s])>=t&&g<a&&(a=g);for(a-t>O((c-n)/(k=r+1))&&S("overflow"),n+=(a-t)*k,t=a,s=0;s<y;++s)if((g=e[s])<t&&++n>c&&S("overflow"),g==t){for(p=n,f=l;!(p<(b=f<=i?u:f>=i+d?d:f-i));f+=l)E=p-b,_=l-b,j.push(w(P(b+E%_,0))),p=O(E/_);j.push(w(P(p,0))),i=B(n,k,r==o),n=0,++r}++n,++t}return j.join("")}a={version:"1.4.1",ucs2:{decode:C,encode:T},decode:x,encode:I,toASCII:function(e){return j(e,function(e){return g.test(e)?"xn--"+I(e):e})},toUnicode:function(e){return j(e,function(e){return b.test(e)?x(e.slice(4).toLowerCase()):e})}},void 0===(o=function(){return a}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(170)(e),n(140))},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function s(e){return i(e)}function a(e){return i(e,!0)}function c(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,s=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=s.clientLeft||i.clientLeft||0,top:r-=s.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=s(r),t.top+=a(r),t}var l=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="currentStyle",p="runtimeStyle",f="left",h="px";var m=void 0;function v(e,t){for(var n=0;n<e.length;n++)t(e[n])}function b(e){return"border-box"===m(e,"boxSizing")}"undefined"!=typeof window&&(m=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e[d]&&e[d][t];if(l.test(n)&&!u.test(t)){var r=e.style,o=r[f],i=e[p][f];e[p][f]=e[d][f],r[f]="fontSize"===t?"1em":n||0,n=r.pixelLeft+h,r[f]=o,e[p][f]=i}return""===n?"auto":n});var g=["margin","border","padding"],y=-1,k=2,_=1;function O(e,t,n){var r=0,o=void 0,i=void 0,s=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(s=0;s<n.length;s++){var a=void 0;a="border"===o?o+n[s]+"Width":o+n[s],r+=parseFloat(m(e,a))||0}return r}function w(e){return null!=e&&e==e.window}var S={};function E(e,t,n){if(w(e))return"width"===t?S.viewportWidth(e):S.viewportHeight(e);if(9===e.nodeType)return"width"===t?S.docWidth(e):S.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(m(e),b(e)),s=0;(null==o||o<=0)&&(o=void 0,(null==(s=m(e,t))||Number(s)<0)&&(s=e.style[t]||0),s=parseFloat(s)||0),void 0===n&&(n=i?_:y);var a=void 0!==o||i,c=o||s;if(n===y)return a?c-O(e,["border","padding"],r):s;if(a){var l=n===k?-O(e,["border"],r):O(e,["margin"],r);return c+(n===_?0:l)}return s+O(e,g.slice(n),r)}v(["Width","Height"],function(e){S["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],S["viewport"+e](n))},S["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}});var j={position:"absolute",visibility:"hidden",display:"block"};function C(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=E.apply(void 0,n):function(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}(e,j,function(){t=E.apply(void 0,n)}),t}function T(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):m(e,t);for(var i in t)t.hasOwnProperty(i)&&T(e,i,t[i])}v(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);S["outer"+t]=function(t,n){return t&&C(t,e,n?0:_)};var n="width"===e?["Left","Right"]:["Top","Bottom"];S[e]=function(t,r){if(void 0===r)return t&&C(t,e,y);if(t){m(t);return b(t)&&(r+=O(t,["padding","border"],n)),T(t,e,r)}}}),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return c(e);!function(e,t){"static"===T(e,"position")&&(e.style.position="relative");var n=c(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(T(e,i))||0,r[i]=o+t[i]-n[i]);T(e,r)}(e,t)},isWindow:w,each:v,css:T,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(w(e)){if(void 0===t)return s(e);window.scrollTo(t,a(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(w(e)){if(void 0===t)return a(e);window.scrollTo(s(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},S)},function(e,t,n){"use strict";var r=n(209);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,s=n.alignWithTop,a=n.alignWithLeft,c=n.offsetTop||0,l=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var p=r.isWindow(t),f=r.offset(e),h=r.outerHeight(e),m=r.outerWidth(e),v=void 0,b=void 0,g=void 0,y=void 0,k=void 0,_=void 0,O=void 0,w=void 0,S=void 0,E=void 0;p?(O=t,E=r.height(O),S=r.width(O),w={left:r.scrollLeft(O),top:r.scrollTop(O)},k={left:f.left-w.left-l,top:f.top-w.top-c},_={left:f.left+m-(w.left+S)+d,top:f.top+h-(w.top+E)+u},y=w):(v=r.offset(t),b=t.clientHeight,g=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},k={left:f.left-(v.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-l,top:f.top-(v.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-c},_={left:f.left+m-(v.left+g+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:f.top+h-(v.top+b+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),k.top<0||_.top>0?!0===s?r.scrollTop(t,y.top+k.top):!1===s?r.scrollTop(t,y.top+_.top):k.top<0?r.scrollTop(t,y.top+k.top):r.scrollTop(t,y.top+_.top):i||((s=void 0===s||!!s)?r.scrollTop(t,y.top+k.top):r.scrollTop(t,y.top+_.top)),o&&(k.left<0||_.left>0?!0===a?r.scrollLeft(t,y.left+k.left):!1===a?r.scrollLeft(t,y.left+_.left):k.left<0?r.scrollLeft(t,y.left+k.left):r.scrollLeft(t,y.left+_.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,y.left+k.left):r.scrollLeft(t,y.left+_.left)))}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(181),o=n(180),i=n(211);e.exports=function(){function e(e,t,n,r,s,a){a!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(40),o=n(37);n(103)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){n(232),e.exports=n(15).Object.keys},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+"-"+o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]+o[e[r++]]}},function(e,t,n){(function(t){var n,r=t.crypto||t.msCrypto;if(r&&r.getRandomValues){var o=new Uint8Array(16);n=function(){return r.getRandomValues(o),o}}if(!n){var i=new Array(16);n=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}e.exports=n}).call(this,n(140))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return Array.isArray(n)?n.filter(Boolean).map(t):e(n)}}}},,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r={};n.d(r,"POST_UPDATE_TRANSACTION_ID",function(){return xi}),n.d(r,"hasEditorUndo",function(){return Ai}),n.d(r,"hasEditorRedo",function(){return Ni}),n.d(r,"isEditedPostNew",function(){return Ri}),n.d(r,"isEditedPostDirty",function(){return Li}),n.d(r,"isCleanNewPost",function(){return Ui}),n.d(r,"getCurrentPost",function(){return Mi}),n.d(r,"getCurrentPostType",function(){return Fi}),n.d(r,"getCurrentPostId",function(){return Hi}),n.d(r,"getCurrentPostRevisionsCount",function(){return Vi}),n.d(r,"getCurrentPostLastRevisionId",function(){return Ki}),n.d(r,"getPostEdits",function(){return Wi}),n.d(r,"getEditedPostAttribute",function(){return zi}),n.d(r,"getEditedPostVisibility",function(){return qi}),n.d(r,"isCurrentPostPending",function(){return Gi}),n.d(r,"isCurrentPostPublished",function(){return Yi}),n.d(r,"isCurrentPostScheduled",function(){return Xi}),n.d(r,"isEditedPostPublishable",function(){return $i}),n.d(r,"isEditedPostSaveable",function(){return Ji}),n.d(r,"isEditedPostEmpty",function(){return Qi}),n.d(r,"isEditedPostBeingScheduled",function(){return Zi}),n.d(r,"getDocumentTitle",function(){return es}),n.d(r,"getEditedPostExcerpt",function(){return ts}),n.d(r,"getEditedPostPreviewLink",function(){return ns}),n.d(r,"getBlockDependantsCacheBust",function(){return rs}),n.d(r,"getBlockName",function(){return os}),n.d(r,"getBlock",function(){return is}),n.d(r,"getBlocks",function(){return ss}),n.d(r,"getGlobalBlockCount",function(){return as}),n.d(r,"getBlocksByUID",function(){return cs}),n.d(r,"getBlockCount",function(){return ls}),n.d(r,"getBlockSelectionStart",function(){return us}),n.d(r,"getBlockSelectionEnd",function(){return ds}),n.d(r,"getSelectedBlockCount",function(){return ps}),n.d(r,"hasSelectedBlock",function(){return fs}),n.d(r,"getSelectedBlockUID",function(){return hs}),n.d(r,"getSelectedBlock",function(){return ms}),n.d(r,"getBlockRootUID",function(){return vs}),n.d(r,"getAdjacentBlockUid",function(){return bs}),n.d(r,"getPreviousBlockUid",function(){return gs}),n.d(r,"getNextBlockUid",function(){return ys}),n.d(r,"getSelectedBlocksInitialCaretPosition",function(){return ks}),n.d(r,"getMultiSelectedBlockUids",function(){return _s}),n.d(r,"getMultiSelectedBlocks",function(){return Os}),n.d(r,"getFirstMultiSelectedBlockUid",function(){return ws}),n.d(r,"getLastMultiSelectedBlockUid",function(){return Ss}),n.d(r,"isFirstMultiSelectedBlock",function(){return Es}),n.d(r,"isBlockMultiSelected",function(){return js}),n.d(r,"getMultiSelectedBlocksStartUid",function(){return Cs}),n.d(r,"getMultiSelectedBlocksEndUid",function(){return Ts}),n.d(r,"getBlockOrder",function(){return Ps}),n.d(r,"getBlockIndex",function(){return Bs}),n.d(r,"isBlockSelected",function(){return xs}),n.d(r,"isBlockWithinSelection",function(){return Is}),n.d(r,"hasMultiSelection",function(){return Ds}),n.d(r,"isMultiSelecting",function(){return As}),n.d(r,"isSelectionEnabled",function(){return Ns}),n.d(r,"getBlockMode",function(){return Rs}),n.d(r,"isTyping",function(){return Ls}),n.d(r,"getBlockInsertionPoint",function(){return Us}),n.d(r,"isBlockInsertionPointVisible",function(){return Ms}),n.d(r,"isValidTemplate",function(){return Fs}),n.d(r,"getTemplate",function(){return Hs}),n.d(r,"getTemplateLock",function(){return Vs}),n.d(r,"isSavingPost",function(){return Ks}),n.d(r,"didPostSaveRequestSucceed",function(){return Ws}),n.d(r,"didPostSaveRequestFail",function(){return zs}),n.d(r,"getSuggestedPostFormat",function(){return qs}),n.d(r,"getEditedPostContent",function(){return Gs}),n.d(r,"getNotices",function(){return Ys}),n.d(r,"getInserterItems",function(){return Js}),n.d(r,"getFrecentInserterItems",function(){return Zs}),n.d(r,"getSharedBlock",function(){return ea}),n.d(r,"isSavingSharedBlock",function(){return ta}),n.d(r,"isFetchingSharedBlock",function(){return na}),n.d(r,"getSharedBlocks",function(){return ra}),n.d(r,"getStateBeforeOptimisticTransaction",function(){return oa}),n.d(r,"isPublishingPost",function(){return ia}),n.d(r,"getProvisionalBlockUID",function(){return sa}),n.d(r,"isPermalinkEditable",function(){return aa}),n.d(r,"getPermalink",function(){return ca}),n.d(r,"getPermalinkParts",function(){return la}),n.d(r,"inSomeHistory",function(){return ua}),n.d(r,"getBlockListSettings",function(){return da}),n.d(r,"getSupportedBlocks",function(){return pa}),n.d(r,"getEditorSettings",function(){return fa});var o={};n.d(o,"setupEditor",function(){return cc}),n.d(o,"resetPost",function(){return lc}),n.d(o,"setupEditorState",function(){return uc}),n.d(o,"resetBlocks",function(){return dc}),n.d(o,"receiveBlocks",function(){return pc}),n.d(o,"updateBlockAttributes",function(){return fc}),n.d(o,"updateBlock",function(){return hc}),n.d(o,"selectBlock",function(){return mc}),n.d(o,"startMultiSelect",function(){return vc}),n.d(o,"stopMultiSelect",function(){return bc}),n.d(o,"multiSelect",function(){return gc}),n.d(o,"clearSelectedBlock",function(){return yc}),n.d(o,"toggleSelection",function(){return kc}),n.d(o,"replaceBlocks",function(){return _c}),n.d(o,"replaceBlock",function(){return Oc}),n.d(o,"moveBlocksDown",function(){return Sc}),n.d(o,"moveBlocksUp",function(){return Ec}),n.d(o,"moveBlockToPosition",function(){return jc}),n.d(o,"insertBlock",function(){return Cc}),n.d(o,"insertBlocks",function(){return Tc}),n.d(o,"showInsertionPoint",function(){return Pc}),n.d(o,"hideInsertionPoint",function(){return Bc}),n.d(o,"setTemplateValidity",function(){return xc}),n.d(o,"checkTemplateValidity",function(){return Ic}),n.d(o,"synchronizeTemplate",function(){return Dc}),n.d(o,"editPost",function(){return Ac}),n.d(o,"savePost",function(){return Nc}),n.d(o,"refreshPost",function(){return Rc}),n.d(o,"trashPost",function(){return Lc}),n.d(o,"mergeBlocks",function(){return Uc}),n.d(o,"autosave",function(){return Mc}),n.d(o,"redo",function(){return Fc}),n.d(o,"undo",function(){return Hc}),n.d(o,"createUndoLevel",function(){return Vc}),n.d(o,"removeBlocks",function(){return Kc}),n.d(o,"removeBlock",function(){return Wc}),n.d(o,"toggleBlockMode",function(){return zc}),n.d(o,"startTyping",function(){return qc}),n.d(o,"stopTyping",function(){return Gc}),n.d(o,"createNotice",function(){return Yc}),n.d(o,"removeNotice",function(){return Xc}),n.d(o,"createSuccessNotice",function(){return $c}),n.d(o,"createInfoNotice",function(){return Jc}),n.d(o,"createErrorNotice",function(){return Qc}),n.d(o,"createWarningNotice",function(){return Zc}),n.d(o,"fetchSharedBlocks",function(){return el}),n.d(o,"receiveSharedBlocks",function(){return tl}),n.d(o,"saveSharedBlock",function(){return nl}),n.d(o,"deleteSharedBlock",function(){return rl}),n.d(o,"updateSharedBlockTitle",function(){return ol}),n.d(o,"convertBlockToStatic",function(){return il}),n.d(o,"convertBlockToShared",function(){return sl}),n.d(o,"insertDefaultBlock",function(){return al}),n.d(o,"updateBlockListSettings",function(){return cl}),n.d(o,"updateEditorSettings",function(){return ll});var i=n(11),s=n.n(i),a=n(8),c=n.n(a),l=n(7),u=n.n(l),d=n(10),p=n.n(d),f=n(9),h=n.n(f),m=n(0),v=n(2),b=n(20),g=n(4),y=n(5),k=n.n(y),_=n(35),O=n(3),w=Object(v.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:m.noop}),S=w.Consumer,E=w.Provider,j=function(e){return Object(v.createHigherOrderComponent)(function(t){return function(n){return wp.element.createElement(S,null,function(r){return wp.element.createElement(t,k()({},n,e(r,n)))})}},"withBlockEditContext")},C=Object(v.createHigherOrderComponent)(function(e){return function(t){return wp.element.createElement(S,null,function(n){return n.isSelected&&wp.element.createElement(e,t)})}},"ifBlockEditSelected"),T=[];var P=Object(v.compose)([j(function(e){return{blockName:e.name}}),function(e){return function(t){function n(){c()(this,n);var e=p()(this,(n.__proto__||s()(n)).call(this));return e.state={completers:T},e.saveParentRef=e.saveParentRef.bind(e),e.onFocus=e.onFocus.bind(e),e}return h()(n,t),u()(n,[{key:"componentDidUpdate",value:function(){this.parentNode.contains(document.activeElement)&&this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"onFocus",value:function(){this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"hasStaleCompleters",value:function(){return!("lastFilteredCompletersProp"in this.state)||this.state.lastFilteredCompletersProp!==this.props.completers}},{key:"updateCompletersState",value:function(){var e=this.props,t=e.blockName,n=e.completers,r=n;Object(_.hasFilter)("blocks.Autocomplete.completers")&&(n=Object(_.applyFilters)("blocks.Autocomplete.completers",n&&n.map(m.clone),t)),this.setState({lastFilteredCompletersProp:r,completers:n||T})}},{key:"saveParentRef",value:function(e){this.parentNode=e}},{key:"render",value:function(){var t=this.state.completers,n=k()({},this.props,{completers:t});return wp.element.createElement("div",{onFocus:this.onFocus,ref:this.saveParentRef},wp.element.createElement(e,k()({onFocus:this.onFocus},n)))}}]),n}(v.Component)}])(O.Autocomplete),B=(n(603),n(19)),x=n.n(B),I=n(73),D=n.n(I),A=n(13);function N(e){var t=e.icon;return"string"==typeof t?wp.element.createElement(O.Dashicon,{icon:t}):"function"==typeof t?t.prototype instanceof v.Component?Object(v.createElement)(t):t():t||null}function R(e){return Object(m.filter)(e,function(e){return Object(A.hasBlockSupport)(e,"inserter",!0)})}function L(e){return Object(m.sortBy)(e,function(e){return"common"!==e.category})}var U={name:"blocks",className:"editor-autocompleters__block",triggerPrefix:"/",options:Object(m.once)(function(){return D.a.resolve(Object(m.flow)(R,L)(Object(A.getBlockTypes)()))}),getOptionKeywords:function(e){var t=e.title,n=e.keywords,r=void 0===n?[]:n;return[].concat(x()(r),[t])},getOptionLabel:function(e){var t=e.icon,n=e.title;return[wp.element.createElement(N,{key:"icon",icon:t}),n]},allowContext:function(e,t){return!(/\S/.test(e.toString())||/\S/.test(t.toString()))},getOptionCompletion:function(e){return{action:"replace",value:Object(A.createBlock)(e.name)}}},M={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options:function(e){var t="";return e&&(t="?search="+encodeURIComponent(e)),wp.apiRequest({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:function(e){return[e.slug,e.name]},getOptionLabel:function(e){return[wp.element.createElement("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}),wp.element.createElement("span",{key:"name",className:"editor-autocompleters__user-name"},e.name),wp.element.createElement("span",{key:"slug",className:"editor-autocompleters__user-slug"},e.slug)]},allowNode:function(){return!0},getOptionCompletion:function(e){return"@"+e.slug}},F=n(1),H=[{icon:"editor-alignleft",title:Object(F.__)("Align left"),align:"left"},{icon:"editor-aligncenter",title:Object(F.__)("Align center"),align:"center"},{icon:"editor-alignright",title:Object(F.__)("Align right"),align:"right"}];function V(e){var t=e.value,n=e.onChange;return wp.element.createElement(O.Toolbar,{controls:H.map(function(e){var r=e.align,o=t===r;return k()({},e,{isActive:o,onClick:function(e){return function(){return n(t===e?void 0:e)}}(r)})})})}var K={left:{icon:"align-left",title:Object(F.__)("Align left")},center:{icon:"align-center",title:Object(F.__)("Align center")},right:{icon:"align-right",title:Object(F.__)("Align right")},wide:{icon:"align-wide",title:Object(F.__)("Wide width")},full:{icon:"align-full-width",title:Object(F.__)("Full width")}},W=["left","center","right","wide","full"],z=["wide","full"];var q=Object(g.withSelect)(function(e){return{wideControlsEnabled:e("core/editor").getEditorSettings().alignWide}})(function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?W:r,i=e.wideControlsEnabled,s=void 0!==i&&i?o:o.filter(function(e){return-1===z.indexOf(e)});return wp.element.createElement(O.Toolbar,{controls:s.map(function(e){return k()({},K[e],{isActive:t===e,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r})})}),G=Object(O.createSlotFill)("BlockControls"),Y=G.Fill,X=G.Slot,$=C(function(e){var t=e.controls,n=e.children;return wp.element.createElement(Y,null,wp.element.createElement(O.Toolbar,{controls:t}),n)});$.Slot=X;var J=$,Q=n(16),Z=n.n(Q),ee=Object(O.withFilters)("blocks.BlockEdit")(function(e){var t=e.attributes,n=void 0===t?{}:t,r=e.name,o=Object(A.getBlockType)(r);if(!o)return null;var i=Object(A.hasBlockSupport)(o,"className",!0)?Object(A.getBlockDefaultClassName)(r):null,s=Z()(i,n.className),a=o.edit||o.save;return wp.element.createElement(a,k()({},e,{className:s}))}),te=function(e){function t(e){c()(this,t);var n=p()(this,(t.__proto__||s()(t)).call(this,e));return n.setFocusedElement=n.setFocusedElement.bind(n),n.state={focusedElement:null,setFocusedElement:n.setFocusedElement},n}return h()(t,e),u()(t,[{key:"getChildContext",value:function(){var e=this.props,t=e.id,n=e.user;return{BlockList:(0,e.createInnerBlockList)(t),canUserUseUnfilteredHTML:Object(m.get)(n.data,["capabilities","unfiltered_html"],!1)}}},{key:"setFocusedElement",value:function(e){this.setState(function(t){return t.focusedElement===e?null:{focusedElement:e}})}},{key:"render",value:function(){return wp.element.createElement(E,{value:this.state},wp.element.createElement(ee,this.props))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.name,r=e.isSelected;return n===t.name&&r===t.isSelected?null:k()({},t,{name:n,isSelected:r})}}]),t}(v.Component);te.childContextTypes={BlockList:m.noop,canUserUseUnfilteredHTML:m.noop};var ne=Object(v.compose)([Object(g.withSelect)(function(e){return{postType:e("core/editor").getEditedPostAttribute("type")}}),Object(O.withAPIData)(function(e){return{user:"/wp/v2/users/me?post_type="+e.postType+"&context=edit"}}),Object(O.withContext)("createInnerBlockList")()])(te),re=Object(O.createSlotFill)("BlockFormatControls"),oe=re.Fill,ie=re.Slot,se=C(oe);se.Slot=ie;var ae=se,ce=Object(v.createHigherOrderComponent)(Object(g.withSelect)(function(e){var t=e("core/editor").getEditorSettings(),n=t.colors,r=t.disableCustomColors;return{colors:n,disableCustomColors:r,hasColorsToChoose:!Object(m.isEmpty)(n)||!r}}),"withColorContext"),le=ce(O.ColorPalette),ue=n(21),de=n.n(ue),pe=function(e,t){var n=Object(m.find)(e,{color:t});return n?n.name:void 0};function fe(e,t){if(e&&t)return"has-"+Object(m.kebabCase)(t)+"-"+e}var he=n(117),me=n.n(he),ve=[],be=function(e){return Object(v.createHigherOrderComponent)(Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor").getEditorSettings();return{colors:Object(m.get)(t,["colors"],ve)}}),function(t){return function(n){function r(){c()(this,r);var e=p()(this,(r.__proto__||s()(r)).apply(this,arguments));return e.memoizedGetColor=me()(e.memoizedGetColor,{maxSize:1}),e.memoizedSetColor=me()(e.memoizedSetColor,{maxSize:1}),e}return h()(r,n),u()(r,[{key:"memoizedGetColor",value:function(e){return me()(function(t,n,r){return{name:t,class:fe(r,t),value:function(e,t,n){if(t){var r=Object(m.find)(e,{name:t});return r&&r.color}if(n)return n}(e,t,n)}})}},{key:"memoizedSetColor",value:function(e,t){return me()(function(n,r){return function(e,t,n,r){return function(o){var i,s=Object(m.find)(e,{color:o});r((i={},de()(i,t,s&&s.name?s.name:void 0),de()(i,n,s&&s.name?void 0:o),i))}}(t,n,r,e)})}},{key:"render",value:function(){return wp.element.createElement(t,k()({},this.props,{colors:void 0},e(this.memoizedGetColor(this.props.colors),this.memoizedSetColor(this.props.setAttributes,this.props.colors),this.props)))}}]),r}(v.Component)}]),"withColors")},ge=n(202),ye=n.n(ge);n(602);var ke=function(e){var t=e.backgroundColor,n=e.textColor,r=e.isLargeText,o=e.fallbackBackgroundColor,i=e.fallbackTextColor;if(!t&&!o||!n&&!i)return null;var s=ye()(t||o),a=ye()(n||i);if(1!==s.getAlpha()||1!==a.getAlpha()||ye.a.isReadable(s,a,{level:"AA",size:r?"large":"small"}))return null;var c=s.getBrightness()<a.getBrightness()?Object(F.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(F.__)("This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.");return wp.element.createElement("div",{className:"editor-contrast-checker"},wp.element.createElement(O.Notice,{status:"warning",isDismissible:!1},c))},_e=n(46),Oe=n.n(_e);function we(e,t,n){var r=Object(g.select)("core/editor").getCurrentPostId();Object(b.mediaUpload)(e,t,n,{post:r})}var Se=Object(O.withFilters)("blocks.MediaUpload")(function(){return null});function Ee(e){var t=e.className,n=e.icon,r=e.label,o=e.onSelectImage,i=e.multiple,s=void 0!==i&&i,a=s?o:function(e){var t=Oe()(e,1)[0];return o(t)};return wp.element.createElement(O.Placeholder,{className:t,instructions:s?Object(F.__)("Drag images here or add from media library"):Object(F.__)("Drag image here or add from media library"),icon:n,label:r},wp.element.createElement(O.DropZone,{onFilesDrop:function(e){return we(e,a,"image")},onHTMLDrop:function(e){return a(Object(m.map)(Object(A.rawHandler)({HTML:e,mode:"BLOCKS"}).filter(function(e){return"core/image"===e.name}),"attributes"))}}),wp.element.createElement(O.FormFileUpload,{multiple:s,isLarge:!0,className:"wp-block-image__upload-button",onChange:function(e){return we(e.target.files,a,"image")},accept:"image/*"},Object(F.__)("Upload")),wp.element.createElement(Se,{gallery:s,multiple:s,onSelect:o,type:"image",render:function(e){var t=e.open;return wp.element.createElement(O.Button,{isLarge:!0,onClick:t},Object(F.__)("Media Library"))}}))}function je(e){var t=e.BlockList,n=e.layouts,r=e.allowedBlocks,o=e.template;return wp.element.createElement(t,{layouts:n,allowedBlocks:r,template:o})}(je=Object(O.withContext)("BlockList")()(je)).Content=function(e){var t=e.BlockContent;return wp.element.createElement(t,null)},je.Content=Object(O.withContext)("BlockContent")()(je.Content);var Ce=je,Te=Object(O.createSlotFill)("InspectorAdvancedControls"),Pe=Te.Fill,Be=Te.Slot,xe=C(Pe);xe.Slot=Be;var Ie=xe,De=Object(O.createSlotFill)("InspectorControls"),Ae=De.Fill,Ne=De.Slot,Re=C(Ae);Re.Slot=Ne;var Le=Re,Ue=n(27),Me=n.n(Ue);var Fe=Object(v.compose)([ce,Object(O.ifCondition)(function(e){return e.hasColorsToChoose})])(function(e){var t=e.colors,n=e.title,r=e.colorValue,o=e.initialOpen,i=Me()(e,["colors","title","colorValue","initialOpen"]),s=pe(t,r);return wp.element.createElement(O.PanelColor,{title:n,colorName:s,colorValue:r,initialOpen:o},wp.element.createElement(le,k()({value:r},Object(m.omit)(i,["disableCustomColors"]))))}),He=n(168),Ve=n.n(He);n(601);var Ke=function(e){var t=e.onChange,n=e.className,r=Me()(e,["onChange","className"]);return wp.element.createElement(Ve.a,k()({className:Z()("editor-plain-text",n),onChange:function(e){return t(e.target.value)}},r))},We=n(61),ze=n.n(We),qe=(n(171),n(32)),Ge=(n(600),n(176)),Ye=n(141),Xe=/^(mailto:)?[a-z0-9._%+-]+@[a-z0-9][a-z0-9.-]*\.[a-z]{2,63}$/i,$e=/^(?:[a-z]+:|#|\?|\.|\/)/i;function Je(e,t){var n=Object(Ge.parse)(e,!0),r=k()({},n.query,t);return delete n.search,Object(Ge.format)(k()({},n,{query:r}))}n(599);var Qe=n(173),Ze=n.n(Qe),et=n(167),tt=b.keycodes.UP,nt=b.keycodes.DOWN,rt=b.keycodes.ENTER,ot=function(e){return e.stopPropagation()},it=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onChange=e.onChange.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.bindListNode=e.bindListNode.bind(e),e.updateSuggestions=Object(m.throttle)(e.updateSuggestions.bind(e),200),e.suggestionNodes=[],e.state={posts:[],showSuggestions:!1,selectedSuggestion:null},e}return h()(t,e),u()(t,[{key:"bindListNode",value:function(e){this.listNode=e}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this;this.suggestionsRequest&&this.suggestionsRequest.abort(),e.length<2||/^https?:/.test(e)?this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1}):(this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0}),this.suggestionsRequest=wp.apiRequest({path:"/wp/v2/posts?"+Object(et.stringify)({search:e,per_page:20,orderby:"relevance"})}),this.suggestionsRequest.then(function(e){t.setState({posts:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(F.sprintf)(Object(F._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(Object(F.__)("No results."),"assertive")},function(e){"abort"!==e.statusText&&t.setState({loading:!1})}))}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.posts,i=t.loading;if(n&&o.length&&!i)switch(e.keyCode){case tt:e.stopPropagation(),e.preventDefault();var s=r?r-1:o.length-1;this.setState({selectedSuggestion:s});break;case nt:e.stopPropagation(),e.preventDefault();var a=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:a});break;case rt:if(this.state.selectedSuggestion){e.stopPropagation();var c=this.state.posts[this.state.selectedSuggestion];this.selectLink(c.link)}}}},{key:"selectLink",value:function(e){this.props.onChange(e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"componentWillUnmount",value:function(){this.suggestionsRequest&&this.suggestionsRequest.abort()}},{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,Ze()(this.suggestionNodes[r],this.listNode,{onlyScrollIfNeeded:!0}),setTimeout(function(){e.scrollingIntoView=!1},100))}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=void 0===n?"":n,o=t.autoFocus,i=void 0===o||o,s=t.instanceId,a=this.state,c=a.showSuggestions,l=a.posts,u=a.selectedSuggestion,d=a.loading;return wp.element.createElement("div",{className:"editor-url-input"},wp.element.createElement("input",{autoFocus:i,type:"text","aria-label":Object(F.__)("URL"),required:!0,value:r,onChange:this.onChange,onInput:ot,placeholder:Object(F.__)("Paste URL or type"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":c,"aria-autocomplete":"list","aria-owns":"editor-url-input-suggestions-"+s,"aria-activedescendant":null!==u?"editor-url-input-suggestion-"+s+"-"+u:void 0}),d&&wp.element.createElement(O.Spinner,null),c&&!!l.length&&wp.element.createElement("div",{id:"editor-url-input-suggestions-"+s,tabIndex:"-1",className:"editor-url-input__suggestions",ref:this.bindListNode,role:"listbox"},l.map(function(t,n){return wp.element.createElement("button",{key:t.id,role:"option",tabIndex:"-1",id:"editor-url-input-suggestion-"+s+"-"+n,ref:e.bindSuggestionNode(n),className:Z()("editor-url-input__suggestion",{"is-selected":n===u}),onClick:function(){return e.selectLink(t.link)},"aria-selected":n===u},Object(b.decodeEntities)(t.title.rendered)||Object(F.__)("(no title)"))})))}}]),t}(v.Component),st=Object(O.withSpokenMessages)(Object(O.withInstanceId)(it));function at(e,t){return Je(e,t)}var ct=b.keycodes.ESCAPE,lt=b.keycodes.LEFT,ut=b.keycodes.RIGHT,dt=b.keycodes.UP,pt=b.keycodes.DOWN,ft=b.keycodes.BACKSPACE,ht=b.keycodes.ENTER,mt=b.keycodes.displayShortcut,vt=[{icon:"editor-bold",title:Object(F.__)("Bold"),shortcut:mt.primary("b"),format:"bold"},{icon:"editor-italic",title:Object(F.__)("Italic"),shortcut:mt.primary("i"),format:"italic"},{icon:"editor-strikethrough",title:Object(F.__)("Strikethrough"),shortcut:mt.access("d"),format:"strikethrough"},{icon:"admin-links",title:Object(F.__)("Link"),shortcut:mt.primary("k"),format:"link"}],bt=["bold","italic","strikethrough","link"],gt=function(e){return e.stopPropagation()},yt=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={settingsVisible:!1,opensInNewWindow:!1,linkValue:""},e.addLink=e.addLink.bind(e),e.editLink=e.editLink.bind(e),e.dropLink=e.dropLink.bind(e),e.submitLink=e.submitLink.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.onChangeLinkValue=e.onChangeLinkValue.bind(e),e.toggleLinkSettingsVisibility=e.toggleLinkSettingsVisibility.bind(e),e.setLinkTarget=e.setLinkTarget.bind(e),e}return h()(t,e),u()(t,[{key:"onKeyDown",value:function(e){if(e.keyCode===ct){var t=this.props.formats.link;t&&t.isAdding&&(e.stopPropagation(),t.value?this.props.onChange({link:k()({},t,{isAdding:!1})}):this.dropLink())}[lt,pt,ut,dt,ft,ht].indexOf(e.keyCode)>-1&&gt(e)}},{key:"componentWillReceiveProps",value:function(e){this.props.selectedNodeId!==e.selectedNodeId&&this.setState({settingsVisible:!1,opensInNewWindow:!!e.formats.link&&!!e.formats.link.target,linkValue:""})}},{key:"onChangeLinkValue",value:function(e){this.setState({linkValue:e})}},{key:"toggleFormat",value:function(e){var t=this;return function(){t.props.onChange(de()({},e,!t.props.formats[e]))}}},{key:"toggleLinkSettingsVisibility",value:function(){this.setState(function(e){return{settingsVisible:!e.settingsVisible}})}},{key:"setLinkTarget",value:function(e){this.setState({opensInNewWindow:e}),this.props.formats.link&&this.props.onChange({link:{value:this.props.formats.link.value,target:e?"_blank":null,rel:e?"noreferrer noopener":null}})}},{key:"addLink",value:function(){this.setState({linkValue:""}),this.props.onChange({link:{isAdding:!0}})}},{key:"dropLink",value:function(){this.props.onChange({link:void 0}),this.setState({linkValue:""})}},{key:"editLink",value:function(e){e.preventDefault(),this.props.onChange({link:k()({},this.props.formats.link,{isAdding:!0})}),this.setState({linkValue:this.props.formats.link.value})}},{key:"submitLink",value:function(e){e.preventDefault();var t,n=(t=this.state.linkValue,$e.test(t)||Xe.test(t)?t:"http://"+t);this.props.onChange({link:{isAdding:!1,target:this.state.opensInNewWindow?"_blank":null,rel:this.state.opensInNewWindow?"noreferrer noopener":null,value:n}}),this.setState({linkValue:n}),this.props.formats.link.value||this.props.speak(Object(F.__)("Link added."),"assertive")}},{key:"isFormatActive",value:function(e){return this.props.formats[e]&&this.props.formats[e].isActive}},{key:"render",value:function(){var e,t,n=this,r=this.props,o=r.formats,i=r.focusPosition,s=r.enabledControls,a=void 0===s?bt:s,c=r.customControls,l=void 0===c?[]:c,u=this.state,d=u.linkValue,p=u.settingsVisible,f=u.opensInNewWindow,h=o.link&&o.link.isAdding,m=vt.concat(l).filter(function(e){return-1!==a.indexOf(e.format)}).map(function(e){if("link"===e.format){var t=n.isFormatActive("link"),r=t||h;return k()({},e,{icon:t?"editor-unlink":"admin-links",title:t?Object(F.__)("Unlink"):Object(F.__)("Link"),onClick:r?n.dropLink:n.addLink,isActive:r})}return k()({},e,{onClick:n.toggleFormat(e.format),isActive:n.isFormatActive(e.format)})}),v=p&&wp.element.createElement("div",{className:"editor-format-toolbar__link-modal-line editor-format-toolbar__link-settings"},wp.element.createElement(O.ToggleControl,{label:Object(F.__)("Open in new window"),checked:f,onChange:this.setLinkTarget}));return wp.element.createElement("div",{className:"editor-format-toolbar"},wp.element.createElement(O.Toolbar,{controls:m}),(h||o.link)&&wp.element.createElement(O.Fill,{name:"RichText.Siblings"},wp.element.createElement("div",{className:"editor-format-toolbar__link-container",style:k()({},i)},h&&wp.element.createElement("form",{className:"editor-format-toolbar__link-modal",onKeyPress:gt,onKeyDown:this.onKeyDown,onSubmit:this.submitLink},wp.element.createElement("div",{className:"editor-format-toolbar__link-modal-line"},wp.element.createElement(st,{value:d,onChange:this.onChangeLinkValue}),wp.element.createElement(O.IconButton,{icon:"editor-break",label:Object(F.__)("Apply"),type:"submit"}),wp.element.createElement(O.IconButton,{className:"editor-format-toolbar__link-settings-toggle",icon:"ellipsis",label:Object(F.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":p})),v),o.link&&!h&&wp.element.createElement("div",{className:"editor-format-toolbar__link-modal",onKeyPress:gt},wp.element.createElement("div",{className:"editor-format-toolbar__link-modal-line"},wp.element.createElement("a",{className:"editor-format-toolbar__link-value",href:o.link.value,target:"_blank"},o.link.value&&(e=decodeURI(o.link.value),(t=e.replace(new RegExp("^https?://(www.)?"),"")).match("^[^/]+/$")?t.replace("/",""):t)),wp.element.createElement(O.IconButton,{icon:"edit",label:Object(F.__)("Edit"),onClick:this.editLink}),wp.element.createElement(O.IconButton,{className:"editor-format-toolbar__link-settings-toggle",icon:"ellipsis",label:Object(F.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":p})),v))))}}]),t}(v.Component),kt=Object(O.withSpokenMessages)(yt),_t=n(75),Ot=n.n(_t),wt=n(158),St=n.n(wt),Et=function(e){return Object(m.pickBy)(e,function(e,t){return n=t,Object(m.startsWith)(n,"aria-")&&!Object(m.isNil)(e);var n})},jt=n(177);function Ct(e,t){switch(t){case"string":return e||"";default:return function(e){return Object(v.renderToString)(e)}(e)}}function Tt(e,t){if("all"===t["data-mce-bogus"])return null;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.hasOwnProperty("data-mce-bogus")?r:v.createElement.apply(void 0,[e,Object(m.omitBy)(t,function(e,t){return 0===t.indexOf("data-mce-")})].concat(r))}function Pt(e,t,n){switch(t){case"string":return function(e,t){var n=document.implementation.createHTMLDocument("");return ze()(e).forEach(function(e){n.body.appendChild(e)}),t?t.serializer.serialize(n.body):n.body.innerHTML}(e,n);default:return function(e){return Object(jt.nodeListToReact)(e||[],Tt)}(e)}}var Bt=function(e){function t(){return c()(this,t),p()(this,(t.__proto__||s()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.initialize()}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"configureIsPlaceholderVisible",value:function(e){var t=String(!!e);this.editorNode.getAttribute("data-is-placeholder-visible")!==t&&this.editorNode.setAttribute("data-is-placeholder-visible",t)}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.configureIsPlaceholderVisible(e.isPlaceholderVisible),Object(m.isEqual)(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),Ot()(this.editorNode.style,e.style)),Object(m.isEqual)(this.props.className,e.className)||(this.editorNode.className=Z()(e.className,"editor-rich-text__tinymce"));var n=function(e,t){var n=Object(m.keys)(Et(e)),r=Object(m.keys)(Et(t));return{removedKeys:Object(m.difference)(n,r),updatedKeys:r.filter(function(n){return!Object(m.isEqual)(e[n],t[n])})}}(this.props,e),r=n.removedKeys,o=n.updatedKeys;r.forEach(function(e){return t.editorNode.removeAttribute(e)}),o.forEach(function(n){return t.editorNode.setAttribute(n,e[n])})}},{key:"componentWillUnmount",value:function(){this.editor&&(this.editor.container=document.createDocumentFragment(),this.editor.destroy(),delete this.editor)}},{key:"initialize",value:function(){var e=this,t=this.props.getSettings({theme:!1,inline:!0,toolbar:!1,browser_spellcheck:!0,entity_encoding:"raw",convert_urls:!1,inline_boundaries_selector:"a[href],code,b,i,strong,em,del,ins,sup,sub",plugins:[],formats:{strikethrough:{inline:"del"}}});t.plugins.push("paste"),St.a.init(k()({},t,{target:this.editorNode,setup:function(t){e.editor=t,e.props.onSetup(t)}}))}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.tagName,o=void 0===r?"div":r,i=n.style,s=n.defaultValue,a=n.className,c=n.isPlaceholderVisible,l=n.format,u=Et(this.props);return-1===["ul","ol","table"].indexOf(o)&&(u.role="textbox"),Object(v.createElement)(o,k()({},u,(e={className:Z()(a,"editor-rich-text__tinymce"),contentEditable:!0},de()(e,"data-is-placeholder-visible",c),de()(e,"ref",function(e){return t.editorNode=e}),de()(e,"style",i),de()(e,"suppressContentEditableWarning",!0),de()(e,"dangerouslySetInnerHTML",{__html:Ct(s,l)}),e)))}}]),t}(v.Component),xt=b.keycodes.ESCAPE,It=b.keycodes.ENTER,Dt=b.keycodes.SPACE,At=b.keycodes.BACKSPACE,Nt=function(e){var t=this.getContent.bind(this),n=this.props,r=n.setTimeout,o=n.onReplace,i=St.a.util.VK,s=e.settings.wptextpattern||{},a=Object(m.groupBy)(Object(m.filter)(Object(A.getBlockTransforms)("from"),{type:"pattern"}),"trigger"),c=a.enter,l=a.undefined,u=s.inline||[{delimiter:"`",format:"code"}],d=void 0;function p(){var t=e.selection.getRng(),n=t.startContainer,o=t.startOffset;if(n&&3===n.nodeType&&n.data.length&&o){var i=n.data.slice(0,o),s=n.data.charAt(o-1),a=u.reduce(function(e,t){if(e.result)return e;if(s!==t.delimiter.slice(-1))return e;var n=Object(m.escapeRegExp)(t.delimiter),r=new RegExp("(.*)"+n+".+"+n+"$"),a=i.match(r);if(!a)return e;var c=a[1].length,l=o-t.delimiter.length,u=i.charAt(c-1),d=i.charAt(c+t.delimiter.length),p=t.delimiter.charAt(0);if(c&&/\S/.test(u)&&(/\s/.test(d)||u===p))return e;var f=new RegExp("^[\\s"+Object(m.escapeRegExp)(p)+"]+$"),h=i.slice(c,l);return f.test(h)?e:{start:c,pattern:t}},{}),c=a.start,l=a.pattern;if(l){var p=l.delimiter,f=l.format,h=e.formatter.get(f);h&&h[0].inline&&(e.undoManager.add(),e.undoManager.transact(function(){n.insertData(o,"\ufeff");var t=n.splitText(c),i=t.splitText(o-c);t.deleteData(0,p.length),t.deleteData(t.data.length-p.length,p.length),e.formatter.apply(f,{},t),e.selection.setCursorLocation(i,1),r(function(){d="space",e.once("selectionchange",function(){if(i){var e=i.data.indexOf("\ufeff");-1!==e&&i.deleteData(e,e+1)}})})}))}}}e.on("selectionchange",function(){d=null}),e.on("keydown",function(n){var s=n.keyCode;(d&&s===xt||"space"===d&&s===At)&&(e.undoManager.undo(),n.preventDefault(),n.stopImmediatePropagation()),i.metaKeyPressed(n)||(s===It?function(n){if(!o)return;e.getBody().normalize();var r=t();if(!r.length)return;var i=Object(A.findTransform)(c,function(e){var t=e.regExp;return t.test(r[0])});if(!i)return;var s=i.transform({content:r});o([s]),n.preventDefault(),n.stopImmediatePropagation()}(n):s===Dt?r(function(){return function(n){if(!o)return;e.getBody().normalize();var r=t();if(!r.length)return;var i=r[0],s=Object(A.findTransform)(n,function(e){return e.regExp.test(i)});if(!s)return;var a=i.match(s.regExp),c=e.selection.getRng(),l=a[0].length,u=i.slice(l);if(c.startOffset!==l)return;var d=s.transform({content:[u].concat(x()(Object(m.drop)(r))),match:a});o([d])}(l)}):s>47&&!(s>=91&&s<=93)&&r(p))},!0)},Rt=["Focus","Blur","FocusIn","FocusOut","Click","DblClick","MouseDown","MouseUp","MouseMove","MouseOver","BeforePaste","Paste","Cut","Copy","SelectionChange","MouseOut","MouseEnter","MouseLeave","Wheel","KeyDown","KeyPress","KeyUp","Input","ContextMenu","DragStart","DragEnd","DragOver","DragGesture","DragDrop","Drop","Drag","Submit","CompositionStart","CompositionEnd","CompositionUpdate","TouchStart","TouchMove","TouchEnd"],Lt=b.keycodes.BACKSPACE,Ut=b.keycodes.DELETE,Mt=b.keycodes.ENTER,Ft=b.keycodes.rawShortcut;function Ht(e){return""===e.nodeValue||function(e){return"\ufeff"===("A"===e.nodeName?e.innerText:e.textContent)}(e)}function Vt(e){return Object(m.reject)(e,Ht)}var Kt=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onInit=e.onInit.bind(e),e.getSettings=e.getSettings.bind(e),e.onSetup=e.onSetup.bind(e),e.onChange=e.onChange.bind(e),e.onNewBlock=e.onNewBlock.bind(e),e.onNodeChange=e.onNodeChange.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.onKeyUp=e.onKeyUp.bind(e),e.changeFormats=e.changeFormats.bind(e),e.onPropagateUndo=e.onPropagateUndo.bind(e),e.onPastePreProcess=e.onPastePreProcess.bind(e),e.onPaste=e.onPaste.bind(e),e.onCreateUndoLevel=e.onCreateUndoLevel.bind(e),e.setFocusedElement=e.setFocusedElement.bind(e),e.state={formats:{},selectedNodeId:0},e.containerRef=Object(v.createRef)(),e}return h()(t,e),u()(t,[{key:"getSettings",value:function(e){return(this.props.getSettings||m.identity)(k()({},e,{forced_root_block:this.props.multiline||!1,custom_undo_redo_levels:1}))}},{key:"onSetup",value:function(e){var t=this;this.editor=e,Rt.forEach(function(n){t.props.hasOwnProperty("on"+n)&&(Object(b.deprecated)("Raw TinyMCE event handlers for RichText",{version:"3.0",alternative:"Documented props, ancestor event handler, or onSetup access to the internal editor instance event hub",plugin:"gutenberg"}),e.on(n,t.proxyPropHandler(n)))}),e.on("init",this.onInit),e.on("NewBlock",this.onNewBlock),e.on("nodechange",this.onNodeChange),e.on("keydown",this.onKeyDown),e.on("keyup",this.onKeyUp),e.on("BeforeExecCommand",this.onPropagateUndo),e.on("PastePreProcess",this.onPastePreProcess,!0),e.on("paste",this.onPaste,!0),e.on("input",this.onChange),e.on("change",this.onCreateUndoLevel),Nt.apply(this,[e]),this.props.onSetup&&this.props.onSetup(e)}},{key:"setFocusedElement",value:function(){this.props.setFocusedElement&&this.props.setFocusedElement(this.props.instanceId)}},{key:"proxyPropHandler",value:function(e){var t=this;return function(n){"function"==typeof t.props["on"+e]&&t.props["on"+e](n)}}},{key:"onInit",value:function(){var e=this;this.registerCustomFormatters(),this.editor.shortcuts.add(Ft.primary("k"),"",function(){return e.changeFormats({link:{isAdding:!0}})}),this.editor.shortcuts.add(Ft.access("a"),"",function(){return e.changeFormats({link:{isAdding:!0}})}),this.editor.shortcuts.add(Ft.access("s"),"",function(){return e.changeFormats({link:void 0})}),this.editor.shortcuts.add(Ft.access("d"),"",function(){return e.changeFormats({strikethrough:!e.state.formats.strikethrough})}),this.editor.shortcuts.add(Ft.access("x"),"",function(){return e.changeFormats({code:!e.state.formats.code})}),this.editor.shortcuts.add(Ft.primary("z"),"","Undo"),this.editor.shortcuts.add(Ft.primaryShift("z"),"","Redo"),this.editor.shortcuts.remove("meta+y","","Redo")}},{key:"adaptFormatter",value:function(e){switch(e.type){case"inline-style":return{inline:"span",styles:k()({},e.style)}}}},{key:"registerCustomFormatters",value:function(){var e=this;Object(m.forEach)(this.props.formatters,function(t){e.editor.formatter.register(t.format,e.adaptFormatter(t))})}},{key:"onPropagateUndo",value:function(e){var t=this.context,n=t.onUndo,r=t.onRedo,o=e.command;"Undo"===o&&n&&(Object(m.defer)(n),e.preventDefault()),"Redo"===o&&r&&(Object(m.defer)(r),e.preventDefault())}},{key:"onPaste",value:function(e){var t=this,n=e.clipboardData||e.dataTransfer||this.editor.getDoc().dataTransfer||{getData:function(){return""}},r=n.items,o=void 0===r?[]:r,i=n.files,s=void 0===i?[]:i,a=n.types,c=void 0===a?[]:a,l=Object(m.find)([].concat(x()(o),x()(s)),function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}),u=n.getData("text/plain"),d=n.getData("text/html");if(l&&!d){var p=l.getAsFile?l.getAsFile():l,f=Object(A.rawHandler)({HTML:'<img src="'+Object(b.createBlobURL)(p)+'">',mode:"BLOCKS",tagName:this.props.tagName}),h=this.props.onReplace&&this.isEmpty();window.console.log("Received item:\n\n",p),h?this.props.setTimeout(function(){return t.props.onReplace(f)}):this.props.onSplit&&this.props.setTimeout(function(){return t.splitContent(f)}),e.preventDefault()}this.pastedPlainText=u,this.isPlainTextPaste=1===c.length&&"text/plain"===c[0]}},{key:"onPastePreProcess",value:function(e){var t=this.isPlainTextPaste?"":e.content;if(e.preventDefault(),window.console.log("Received HTML:\n\n",t),window.console.log("Received plain text:\n\n",this.pastedPlainText),!this.editor.selection.isCollapsed()){var n=/^(?:https?:)?\/\/\S+$/i,r=e.content.replace(/<[^>]+>/g,"").trim(),o=this.editor.selection.getContent().replace(/<[^>]+>/g,"").trim();if(n.test(r)&&!n.test(o))return this.editor.execCommand("mceInsertLink",!1,{href:this.editor.dom.decode(r)}),void window.console.log("Created link:\n\n",r)}var i=this.props.onReplace&&this.isEmpty(),s="INLINE";i?s="BLOCKS":this.props.onSplit&&(s="AUTO");var a=Object(A.rawHandler)({HTML:t,plainText:this.pastedPlainText,mode:s,tagName:this.props.tagName,canUserUseUnfilteredHTML:this.context.canUserUseUnfilteredHTML});if("string"==typeof a)this.editor.insertContent(a);else if(this.props.onSplit){if(!a.length)return;i?this.props.onReplace(a):this.splitContent(a,{paste:!0})}}},{key:"onChange",value:function(){this.savedContent=this.getContent(),this.props.onChange(this.savedContent)}},{key:"onCreateUndoLevel",value:function(){this.onChange(),this.context.onCreateUndoLevel()}},{key:"getFocusPosition",value:function(e){var t=this.containerRef.current.getBoundingClientRect(),n=10,r=0;return{top:e.top-t.top+e.height+n,left:e.left-t.left+e.width/2+r}}},{key:"onKeyDown",value:function(e){var t=this.editor.dom,n=this.editor.getBody();if(e.keyCode===Lt&&Object(qe.isHorizontalEdge)(n,!0)||e.keyCode===Ut&&Object(qe.isHorizontalEdge)(n,!1)){if(!this.props.onMerge&&!this.props.onRemove)return;this.onCreateUndoLevel();var r=e.keyCode===Ut;this.props.onMerge&&this.props.onMerge(r),this.props.onRemove&&this.isEmpty()&&this.props.onRemove(r),e.preventDefault(),e.stopImmediatePropagation()}if(e.keyCode===Mt)if(this.props.multiline){if(!this.props.onSplit)return;var o=this.editor.selection.getNode();if(o.parentNode!==n)return;if(!t.isEmpty(o))return;e.preventDefault(),this.onCreateUndoLevel();var i=ze()(n.childNodes),s=t.nodeIndex(o),a=i.slice(0,s),c=i.slice(s+1),l=this.props.format,u=Pt(a,l,this.editor),d=Pt(c,l,this.editor);this.restoreContentAndSplit(u,d)}else e.preventDefault(),this.onCreateUndoLevel(),e.shiftKey||!this.props.onSplit?this.editor.execCommand("InsertLineBreak",!1,e):this.splitContent()}},{key:"onKeyUp",value:function(e){var t=e.keyCode;t===Lt&&this.onChange(),this.props.isViewportSmall&&t!==Lt&&t!==Mt&&this.scrollToRect(Object(qe.getRectangleFromRange)(this.editor.selection.getRng()))}},{key:"scrollToRect",value:function(e){var t=e.top,n=Object(qe.getScrollContainer)(this.editor.getBody());if(n){var r=t-100;Math.abs(r)>10&&n.scrollTo(n.scrollLeft,n.scrollTop+r)}}},{key:"splitContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.props.onSplit){var n=this.editor.dom,r=this.editor.getBody(),o=n.createRng(),i=n.createRng(),s=this.editor.selection.getRng();if(r.childNodes.length){o.setStart(r,0),o.setEnd(s.startContainer,s.startOffset),i.setStart(s.endContainer,s.endOffset),i.setEnd(r,n.nodeIndex(r.lastChild)+1);var a=o.extractContents(),c=i.extractContents(),l=this.props.format,u=Pt(Vt(a.childNodes),l,this.editor),d=Pt(Vt(c.childNodes),l,this.editor);t.paste&&(u=this.isEmpty(u)?null:u,d=this.isEmpty(d)?null:d),this.restoreContentAndSplit(u,d,e)}else t.paste?this.restoreContentAndSplit(null,null,e):this.restoreContentAndSplit([],[],e)}}},{key:"onNewBlock",value:function(){if("p"===this.props.multiline&&this.props.onSplit){for(var e=ze()(this.editor.getBody().childNodes),t=this.editor.selection.getStart();-1===e.indexOf(t)&&t.parentNode;)t=t.parentNode;var n=e.indexOf(t);if(-1!==n){var r=e.slice(0,n),o=Object(m.last)(r);if(!(!o||r.length<2||o.textContent)){var i=r.slice(0,r.length-1),s=e.slice(n).reduce(function(e,t){return e.length||t.textContent?(e.push(t),e):e},[]);this.setContent(this.props.value);var a=this.props.format;this.restoreContentAndSplit(Pt(i,a,this.editor),Pt(s,a,this.editor))}}}}},{key:"onNodeChange",value:function(e){var t=e.parents;if(document.activeElement===this.editor.getBody()){var n=this.props.formattingControls,r=this.editor.formatter.matchAll(n).reduce(function(e,n){return e[n]=k()({isActive:!0},function(e,t){switch(e){case"link":var n=Object(m.find)(t,function(e){return"a"===e.nodeName.toLowerCase()});return n?{value:n.getAttribute("href")||"",target:n.getAttribute("target")||"",node:n}:{};default:return{}}}(n,t)),e},{}),o=void 0,i=Object(m.find)(t,function(e){return"A"===e.tagName});o=i?i.getBoundingClientRect():Object(qe.getRectangleFromRange)(this.editor.selection.getRng());var s=this.getFocusPosition(o);this.setState({formats:r,focusPosition:s,selectedNodeId:this.state.selectedNodeId+1}),this.props.isViewportSmall&&this.scrollToRect(o)}}},{key:"updateContent",value:function(){var e=this;this.editor.undoManager.ignore(function(){var t=e.editor.selection.getBookmark(2,!0);e.savedContent=e.props.value,e.setContent(e.savedContent),e.editor.selection.moveToBookmark(t)})}},{key:"setContent",value:function(e){var t=this.props.format;this.editor.setContent(Ct(e,t))}},{key:"getContent",value:function(){switch(this.props.format){case"string":return this.editor.getContent();default:return this.editor.dom.isEmpty(this.editor.getBody())?[]:Pt(this.editor.getBody().childNodes||[],"element",this.editor)}}},{key:"componentDidUpdate",value:function(e){!this.editor||this.props.tagName!==e.tagName||this.props.value===e.value||this.props.value===this.savedContent||Object(m.isEqual)(this.props.value,e.value)||Object(m.isEqual)(this.props.value,this.savedContent)||this.updateContent()}},{key:"componentWillReceiveProps",value:function(e){0}},{key:"isEmpty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.value;return!e||!e.length}},{key:"isFormatActive",value:function(e){return this.state.formats[e]&&this.state.formats[e].isActive}},{key:"removeFormat",value:function(e){this.editor.focus(),this.editor.formatter.remove(e)}},{key:"applyFormat",value:function(e,t,n){this.editor.focus(),this.editor.formatter.apply(e,t,n)}},{key:"changeFormats",value:function(e){var t=this;Object(m.forEach)(e,function(e,n){if("link"===n)if(void 0!==e){if(e.isAdding)return;var r=t.editor.dom.getParent(t.editor.selection.getNode(),"a");r||t.removeFormat("link");var o=e.value,i=Me()(e,["value"]);t.applyFormat("link",k()({href:o},i),r)}else t.editor.execCommand("Unlink");else{var s=t.isFormatActive(n);s&&!e?t.removeFormat(n):!s&&e&&t.applyFormat(n)}}),this.setState(function(t){return{formats:Object(m.merge)({},t.formats,e)}})}},{key:"restoreContentAndSplit",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.updateContent(),(n=this.props).onSplit.apply(n,[e,t].concat(x()(r)))}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,r=void 0===n?"div":n,o=t.style,i=t.value,s=t.wrapperClassName,a=t.className,c=t.inlineToolbar,l=void 0!==c&&c,u=t.formattingControls,d=t.placeholder,p=t.multiline,f=t.keepPlaceholderOnFocus,h=void 0!==f&&f,m=t.isSelected,b=t.formatters,g=t.autocompleters,y=t.format,_=k()({},Et(this.props),{"aria-multiline":!!p}),w=["editor",r].join(),S=d&&(!m||h)&&this.isEmpty(),E=Z()(s,"editor-rich-text"),j=wp.element.createElement(kt,{selectedNodeId:this.state.selectedNodeId,focusPosition:this.state.focusPosition,formats:this.state.formats,onChange:this.changeFormats,enabledControls:u,customControls:b});return wp.element.createElement("div",{className:E,ref:this.containerRef,onFocus:this.setFocusedElement},m&&!l&&wp.element.createElement(ae,null,j),m&&l&&wp.element.createElement("div",{className:"editor-rich-text__inline-toolbar"},j),wp.element.createElement(P,{onReplace:this.props.onReplace,completers:g},function(t){var n=t.isExpanded,s=t.listBoxId,c=t.activeId;return wp.element.createElement(v.Fragment,null,wp.element.createElement(Bt,k()({tagName:r,getSettings:e.getSettings,onSetup:e.onSetup,style:o,defaultValue:i,format:y,isPlaceholderVisible:S,"aria-label":d,"aria-autocomplete":"list","aria-expanded":n,"aria-owns":s,"aria-activedescendant":c},_,{className:a,key:w})),S&&wp.element.createElement(r,{className:Z()("editor-rich-text__tinymce",a),style:o},p?wp.element.createElement(p,null,d):d),m&&wp.element.createElement(O.Slot,{name:"RichText.Siblings"}))}))}}]),t}(v.Component);Kt.contextTypes={onUndo:m.noop,onRedo:m.noop,canUserUseUnfilteredHTML:m.noop,onCreateUndoLevel:m.noop},Kt.defaultProps={formattingControls:["bold","italic","strikethrough","link","code"],formatters:[],format:"element"};var Wt=Object(v.compose)([O.withInstanceId,j(function(e,t){return!1===t.isSelected?{}:!0===t.isSelected?{isSelected:e.isSelected}:{isSelected:e.isSelected&&e.focusedElement===t.instanceId,setFocusedElement:e.setFocusedElement}}),Object(g.withSelect)(function(e){var t=(e("core/viewport")||{}).isViewportMatch;return{isViewportSmall:(void 0===t?m.identity:t)("< small")}}),O.withSafeTimeout])(Kt);Wt.Content=function(e){var t=e.value,n=e.format,r=void 0===n?"element":n,o=e.tagName,i=Me()(e,["value","format","tagName"]),s=void 0;switch(r){case"string":s=wp.element.createElement(v.RawHTML,null,t);break;default:s=t}return o?wp.element.createElement(o,i,s):s};var zt=Wt,qt=n(159),Gt=n.n(qt),Yt=function(e){function t(){return c()(this,t),p()(this,(t.__proto__||s()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"getChildContext",value:function(){return Object(m.pick)(this.props,Gt()(this.constructor.childContextTypes))}},{key:"render",value:function(){return this.props.children}}]),t}(v.Component);Yt.childContextTypes={onUndo:m.noop,onRedo:m.noop,onCreateUndoLevel:m.noop};var Xt=Yt,$t=(n(598),function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.toggle=e.toggle.bind(e),e.submitLink=e.submitLink.bind(e),e.state={expanded:!1},e}return h()(t,e),u()(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded,o=t?Object(F.__)("Edit Link"):Object(F.__)("Insert Link");return wp.element.createElement("div",{className:"editor-url-input__button"},wp.element.createElement(O.IconButton,{icon:"admin-links",label:o,onClick:this.toggle,className:Z()("components-toolbar__control",{"is-active":t})}),r&&wp.element.createElement("form",{className:"editor-format-toolbar__link-modal",onSubmit:this.submitLink},wp.element.createElement("div",{className:"editor-format-toolbar__link-modal-line"},wp.element.createElement(O.IconButton,{className:"editor-url-input__back",icon:"arrow-left-alt",label:Object(F.__)("Close"),onClick:this.toggle}),wp.element.createElement(st,{value:t||"",onChange:n,"data-test":"UrlInput"}),wp.element.createElement(O.IconButton,{icon:"editor-break",label:Object(F.__)("Submit"),type:"submit"}))))}}]),t}(v.Component)),Jt=function(e){function t(){return c()(this,t),p()(this,(t.__proto__||s()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDirty,r=t.isSaveable;e.isDirty===n&&e.isSaveable===r||this.toggleTimer(n&&r)}},{key:"componentWillUnmount",value:function(){this.toggleTimer(!1)}},{key:"toggleTimer",value:function(e){var t=this;clearTimeout(this.pendingSave),e&&(this.pendingSave=setTimeout(function(){return t.props.autosave()},1e4))}},{key:"render",value:function(){return null}}]),t}(v.Component),Qt=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isEditedPostDirty,r=t.isEditedPostSaveable;return{isDirty:n(),isSaveable:r()}}),Object(g.withDispatch)(function(e){return{autosave:e("core/editor").autosave}})])(Jt);n(597);var Zt=Object(g.withSelect)(function(e,t){return{name:(0,e("core/editor").getBlockName)(t.uid)}})(function(e){var t=e.name;if(!t)return null;var n=Object(A.getBlockType)(t);return n?n.title:null}),en=function(e){var t=e.children,n=e.isValid,r=e.level,o=e.onClick,i=e.path,s=void 0===i?[]:i;return wp.element.createElement("li",{className:Z()("document-outline__item","is-"+r.toLowerCase(),{"is-invalid":!n})},wp.element.createElement("button",{className:"document-outline__button",onClick:o},wp.element.createElement("span",{className:"document-outline__emdash","aria-hidden":"true"}),s.map(function(e,t){var n=e.uid;return wp.element.createElement("strong",{key:t,className:"document-outline__level"},wp.element.createElement(Zt,{uid:n}))}),wp.element.createElement("strong",{className:"document-outline__level"},r),wp.element.createElement("span",{className:"document-outline__item-content"},t),wp.element.createElement("span",{className:"screen-reader-text"},Object(F.__)("(Click to focus this heading)"))))},tn=wp.element.createElement("em",null,Object(F.__)("(Empty heading)")),nn=[wp.element.createElement("br",{key:"incorrect-break"}),wp.element.createElement("em",{key:"incorrect-message"},Object(F.__)("(Incorrect heading level)"))],rn=[wp.element.createElement("br",{key:"incorrect-break-h1"}),wp.element.createElement("em",{key:"incorrect-message-h1"},Object(F.__)("(Your theme may already use a H1 for the post title)"))],on=[wp.element.createElement("br",{key:"incorrect-break-multiple-h1"}),wp.element.createElement("em",{key:"incorrect-message-multiple-h1"},Object(F.__)("(Multiple H1 headings are not recommended)"))],sn=function(e){return!e.attributes.content||0===e.attributes.content.length},an=Object(v.compose)(Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getBlocks,o=(0,e("core").getPostType)(n("type"));return{title:n("title"),blocks:r(),isTitleSupported:Object(m.get)(o,["supports","title"],!1)}}),Object(g.withDispatch)(function(e){return{onSelect:e("core/editor").selectBlock}}))(function(e){var t=e.blocks,n=void 0===t?[]:t,r=e.title,o=e.onSelect,i=e.isTitleSupported,s=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(m.flatMap)(t,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===t.name?k()({},t,{path:n,level:function(e){switch(e.attributes.nodeName){case"h1":case"H1":return 1;case"h2":case"H2":return 2;case"h3":case"H3":return 3;case"h4":case"H4":return 4;case"h5":case"H5":return 5;case"h6":case"H6":return 6}}(t),isEmpty:sn(t)}):e(t.innerBlocks,[].concat(x()(n),[t]))})}(n);if(s.length<1)return null;var a=1,c=i&&r,l=Object(m.countBy)(s,"level")[1]>1;return wp.element.createElement("div",{className:"document-outline"},wp.element.createElement("ul",null,c&&wp.element.createElement(en,{level:"Title",isValid:!0,onClick:function(){var e=document.querySelector(".editor-post-title__input");e&&e.focus()}},r),s.map(function(e,t){var n=e.level>a+1,r=!(e.isEmpty||n||!e.level||1===e.level&&(l||c));return a=e.level,wp.element.createElement(en,{key:t,level:"H"+e.level,isValid:r,onClick:function(){return t=e.uid,o(t);var t},path:e.path},e.isEmpty?tn:e.attributes.content,n&&nn,1===e.level&&l&&on,c&&1===e.level&&!l&&rn)})))});var cn=Object(g.withSelect)(function(e){return{blocks:e("core/editor").getBlocks()}})(function(e){var t=e.blocks,n=e.children;return Object(m.filter)(t,function(e){return"core/heading"===e.name}).length<1?null:n}),ln=function(e){function t(e){c()(this,t);var n=p()(this,(t.__proto__||s()(t)).call(this,e));return n.originalDocumentTitle=document.title,n}return h()(t,e),u()(t,[{key:"setDocumentTitle",value:function(e){document.title=e+" | "+this.originalDocumentTitle}},{key:"componentDidMount",value:function(){this.setDocumentTitle(this.props.title)}},{key:"componentWillReceiveProps",value:function(e){e.title!==this.props.title&&this.setDocumentTitle(e.title)}},{key:"componentWillUnmount",value:function(){document.title=this.originalDocumentTitle}},{key:"render",value:function(){return null}}]),t}(n(14).Component),un=Object(g.withSelect)(function(e){return{title:e("core/editor").getDocumentTitle()}})(ln),dn=b.keycodes.rawShortcut,pn=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.selectAll=e.selectAll.bind(e),e.undoOrRedo=e.undoOrRedo.bind(e),e.save=e.save.bind(e),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(e),e.clearMultiSelection=e.clearMultiSelection.bind(e),e}return h()(t,e),u()(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.uids,r=t.onMultiSelect;e.preventDefault(),r(Object(m.first)(n),Object(m.last)(n))}},{key:"undoOrRedo",value:function(e){var t=this.props,n=t.onRedo,r=t.onUndo;e.shiftKey?n():r(),e.preventDefault()}},{key:"save",value:function(e){e.preventDefault(),this.props.onSave()}},{key:"deleteSelectedBlocks",value:function(e){var t=this.props,n=t.multiSelectedBlockUids,r=t.onRemove,o=t.isLocked;n.length&&(e.preventDefault(),o||r(n))}},{key:"clearMultiSelection",value:function(){var e=this.props,t=e.hasMultiSelection,n=e.clearSelectedBlock;t&&n()}},{key:"render",value:function(){var e;return wp.element.createElement(v.Fragment,null,wp.element.createElement(O.KeyboardShortcuts,{shortcuts:(e={},de()(e,dn.primary("a"),this.selectAll),de()(e,dn.primary("z"),this.undoOrRedo),de()(e,dn.primaryShift("z"),this.undoOrRedo),de()(e,"backspace",this.deleteSelectedBlocks),de()(e,"del",this.deleteSelectedBlocks),de()(e,"escape",this.clearMultiSelection),e)}),wp.element.createElement(O.KeyboardShortcuts,{bindGlobal:!0,shortcuts:de()({},dn.primary("s"),this.save)}))}}]),t}(v.Component),fn=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getBlockOrder,r=t.getMultiSelectedBlockUids,o=t.hasMultiSelection,i=(0,t.getEditorSettings)().templateLock;return{uids:n(),multiSelectedBlockUids:r(),hasMultiSelection:o(),isLocked:!!i}}),Object(g.withDispatch)(function(e){var t=e("core/editor");return{clearSelectedBlock:t.clearSelectedBlock,onMultiSelect:t.multiSelect,onRedo:t.redo,onUndo:t.undo,onRemove:t.removeBlocks,onSave:t.autosave}})])(pn),hn=b.keycodes.displayShortcut;var mn=Object(v.compose)([Object(g.withSelect)(function(e){return{hasRedo:e("core/editor").hasEditorRedo()}}),Object(g.withDispatch)(function(e){return{redo:function(){return e("core/editor").redo()}}})])(function(e){var t=e.hasRedo,n=e.redo;return wp.element.createElement(O.IconButton,{icon:"redo",label:Object(F.__)("Redo"),shortcut:hn.primaryShift("z"),disabled:!t,onClick:n,className:"editor-history__undo"})}),vn=b.keycodes.displayShortcut;var bn=Object(v.compose)([Object(g.withSelect)(function(e){return{hasUndo:e("core/editor").hasEditorUndo()}}),Object(g.withDispatch)(function(e){return{undo:function(){return e("core/editor").undo()}}})])(function(e){var t=e.hasUndo,n=e.undo;return wp.element.createElement(O.IconButton,{icon:"undo",label:Object(F.__)("Undo"),shortcut:vn.primary("z"),disabled:!t,onClick:n,className:"editor-history__undo"})});n(596);var gn=Object(v.compose)([Object(g.withSelect)(function(e){return{isValid:e("core/editor").isValidTemplate()}}),Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.setTemplateValidity;return{resetTemplateValidity:function(){return n(!0)},synchronizeTemplate:t.synchronizeTemplate}})])(function(e){var t=e.isValid,n=Me()(e,["isValid"]);return t?null:wp.element.createElement(O.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning"},wp.element.createElement("p",null,Object(F.__)("The content of your post doesn't match the template assigned to your post type.")),wp.element.createElement("div",null,wp.element.createElement(O.Button,{className:"button",onClick:n.resetTemplateValidity},Object(F.__)("Keep it as is")),wp.element.createElement(O.Button,{onClick:function(){window.confirm(Object(F.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()},isPrimary:!0},Object(F.__)("Reset the template"))))});var yn=Object(v.compose)([Object(g.withSelect)(function(e){return{notices:e("core/editor").getNotices()}}),Object(g.withDispatch)(function(e){return{onRemove:e("core/editor").removeNotice}})])(function(e){return wp.element.createElement(O.NoticeList,e,wp.element.createElement(gn,null))});var kn=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditorSettings,o=e("core").getPostType,i=r().availableTemplates;return{postType:o(n("type")),availableTemplates:i}})(function(e){var t=e.availableTemplates,n=e.postType,r=e.children;return!Object(m.get)(n,["supports","page-attributes"],!1)&&Object(m.isEmpty)(t)?null:r});var _n=Object(g.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute;return{postType:(0,e("core").getPostType)(t("type"))}})(function(e){var t=e.postType,n=e.children,r=e.supportKeys;return Object(m.some)(Object(m.castArray)(r),function(e){return Object(m.get)(t,["supports",e],!1)})?n:null});function On(e){var t=e.onUpdateOrder,n=e.instanceId,r=e.order,o="editor-page-attributes__order-"+n;return wp.element.createElement(v.Fragment,null,wp.element.createElement("label",{htmlFor:o},Object(F.__)("Order")),wp.element.createElement("input",{type:"text",value:r||0,onChange:function(e){var n=Number(e.target.value);n>=0&&t(n)},id:o,size:6}))}var wn=Object(v.compose)([Object(g.withSelect)(function(e){return{order:e("core/editor").getEditedPostAttribute("menu_order")}}),Object(g.withDispatch)(function(e){return{onUpdateOrder:function(t){e("core/editor").editPost({menu_order:t})}}}),O.withInstanceId])(function(e){return wp.element.createElement(_n,{supportKeys:"page-attributes"},wp.element.createElement(On,e))});var Sn=Object(g.withSelect)(function(e){var t=e("core").getPostType,n=e("core/editor"),r=n.getCurrentPostId,o=n.getEditedPostAttribute,i=o("type");return{postId:r(),parent:o("parent"),postType:t(i),postTypeSlug:i}}),En=Object(g.withDispatch)(function(e){var t=e("core/editor").editPost;return{onUpdateParent:function(e){t({parent:e||0})}}}),jn=Object(O.withAPIData)(function(e,t){var n=t.type,r=e.postTypeSlug,o=e.postId,i=Object(m.get)(e,["postType","hierarchical"],!1),s=Object(et.stringify)({context:"edit",per_page:-1,exclude:o,parent_exclude:o,_fields:["id","parent","title"],orderby:"menu_order",order:"asc"});return i?{items:"/wp/v2/"+n(r)+"?"+s}:{}}),Cn=Object(v.compose)([Sn,En,jn])(function(e){var t=e.parent,n=e.postType,r=e.items,o=e.onUpdateParent,i=Object(m.get)(n,["hierarchical"],!1),s=Object(m.get)(n,["labels","parent_item_colon"]),a=Object(m.get)(r,["data"],[]);if(!i||!s||!a.length)return null;var c=Object(b.buildTermsTree)(a.map(function(e){return{id:e.id,parent:e.parent,name:e.title.raw?e.title.raw:"#"+e.id+" ("+Object(F.__)("no title")+")"}}));return wp.element.createElement(O.TreeSelect,{label:s,noOptionLabel:"("+Object(F.__)("no parent")+")",tree:c,selectedId:t,onChange:o})});n(595);var Tn=Object(v.compose)(Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=(0,t.getEditorSettings)().availableTemplates;return{selectedTemplate:n("template"),availableTemplates:r}}),Object(g.withDispatch)(function(e){return{onUpdate:function(t){e("core/editor").editPost({template:t||""})}}}),O.withInstanceId)(function(e){var t=e.availableTemplates,n=e.selectedTemplate,r=e.instanceId,o=e.onUpdate;if(Object(m.isEmpty)(t))return null;var i="template-selector-"+r,s=function(e){return o(e.target.value)};return wp.element.createElement("div",{className:"editor-page-attributes__template"},wp.element.createElement("label",{htmlFor:i},Object(F.__)("Template:")),wp.element.createElement("select",{id:i,value:n,onBlur:s,onChange:s},Object(m.map)(k()({"":Object(F.__)("Default template")},t),function(e,t){return wp.element.createElement("option",{key:t,value:t},e)})))});var Pn=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{hasAssignAuthorAction:Object(m.get)(t,["_links","wp:action-assign-author"],!1),postType:e("core/editor").getCurrentPostType(),authors:e("core").getAuthors()}}),O.withInstanceId])(function(e){var t=e.hasAssignAuthorAction,n=e.authors,r=e.children;return!t||n.length<2?null:wp.element.createElement(_n,{supportKeys:"author"},r)}),Bn=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.setAuthorId=e.setAuthorId.bind(e),e}return h()(t,e),u()(t,[{key:"setAuthorId",value:function(e){var t=this.props.onUpdateAuthor,n=e.target.value;t(Number(n))}},{key:"render",value:function(){var e=this.props,t=e.postAuthor,n=e.instanceId,r=e.authors,o="post-author-selector-"+n;return wp.element.createElement(Pn,null,wp.element.createElement("label",{htmlFor:o},Object(F.__)("Author")),wp.element.createElement("select",{id:o,value:t,onChange:this.setAuthorId,className:"editor-post-author__select"},r.map(function(e){return wp.element.createElement("option",{key:e.id,value:e.id},e.name)})))}}]),t}(v.Component),xn=Object(v.compose)([Object(g.withSelect)(function(e){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors()}}),Object(g.withDispatch)(function(e){return{onUpdateAuthor:function(t){e("core/editor").editPost({author:t})}}}),O.withInstanceId])(Bn);var In=Object(v.compose)([Object(g.withSelect)(function(e){return{commentStatus:e("core/editor").getEditedPostAttribute("comment_status")}}),Object(g.withDispatch)(function(e){return{editPost:e("core/editor").editPost}}),O.withInstanceId])(function(e){var t=e.commentStatus,n=void 0===t?"open":t,r=e.instanceId,o=Me()(e,["commentStatus","instanceId"]),i="allow-comments-toggle-"+r;return[wp.element.createElement("label",{key:"label",htmlFor:i},Object(F.__)("Allow Comments")),wp.element.createElement(O.FormToggle,{key:"toggle",checked:"open"===n,onChange:function(){return o.editPost({comment_status:"open"===n?"closed":"open"})},id:i})]});n(594);var Dn=Object(v.compose)([Object(g.withSelect)(function(e){return{excerpt:e("core/editor").getEditedPostExcerpt()}}),Object(g.withDispatch)(function(e){return{onUpdateExcerpt:function(t){e("core/editor").editPost({excerpt:t})}}})])(function(e){var t=e.excerpt,n=e.onUpdateExcerpt;return wp.element.createElement("div",{className:"editor-post-excerpt"},wp.element.createElement(O.TextareaControl,{label:Object(F.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:function(e){return n(e)},value:t}),wp.element.createElement(O.ExternalLink,{href:"https://codex.wordpress.org/Excerpt"},Object(F.__)("Learn more about manual excerpts")))});var An=function(e){return wp.element.createElement(_n,k()({},e,{supportKeys:"excerpt"}))};n(593);var Nn=Object(g.withSelect)(function(e){return{themeSupports:(0,e("core").getThemeSupports)()}})(function(e){var t=e.themeSupports,n=e.children,r=e.supportKeys;return Object(m.some)(Object(m.castArray)(r),function(e){return Object(m.get)(t,[e],!1)})?n:null});var Rn=function(e){return wp.element.createElement(Nn,{supportKeys:"post-thumbnails"},wp.element.createElement(_n,k()({},e,{supportKeys:"thumbnail"})))},Ln=Object(F.__)("Set featured image"),Un=Object(F.__)("Remove featured image");var Mn=Object(g.withSelect)(function(e){var t=e("core"),n=t.getMedia,r=t.getPostType,o=e("core/editor").getEditedPostAttribute,i=o("featured_media");return{media:i?n(i):null,postType:r(o("type")),featuredImageId:i}}),Fn=Object(g.withDispatch)(function(e){var t=e("core/editor").editPost;return{onUpdateImage:function(e){t({featured_media:e.id})},onRemoveImage:function(){t({featured_media:0})}}}),Hn=Object(v.compose)(Mn,Fn)(function(e){var t=e.featuredImageId,n=e.onUpdateImage,r=e.onRemoveImage,o=e.media,i=e.postType,s=Object(m.get)(i,["labels"],{});return wp.element.createElement(Rn,null,wp.element.createElement("div",{className:"editor-post-featured-image"},!!t&&wp.element.createElement(Se,{title:s.set_featured_image,onSelect:n,type:"image",modalClass:"editor-post-featured-image__media-modal",render:function(e){var t=e.open;return wp.element.createElement(O.Button,{className:"button-link editor-post-featured-image__preview",onClick:t},o&&wp.element.createElement(O.ResponsiveWrapper,{naturalWidth:o.media_details.width,naturalHeight:o.media_details.height},wp.element.createElement("img",{src:o.source_url,alt:Object(F.__)("Featured image")})),!o&&wp.element.createElement(O.Spinner,null))}}),!!t&&o&&!o.isLoading&&wp.element.createElement("p",{className:"editor-post-featured-image__howto"},Object(F.__)("Click the image to edit or update")),!t&&wp.element.createElement(Se,{title:s.set_featured_image||Ln,onSelect:n,type:"image",modalClass:"editor-post-featured-image__media-modal",render:function(e){var t=e.open;return wp.element.createElement(O.Button,{className:"editor-post-featured-image__toggle button-link",onClick:t},s.set_featured_image||Ln)}}),!!t&&wp.element.createElement(O.Button,{className:"editor-post-featured-image__toggle button-link",onClick:r},s.remove_featured_image||Un)))});n(592);var Vn=Object(g.withSelect)(function(e){return{disablePostFormats:e("core/editor").getEditorSettings()}})(function(e){var t=e.disablePostFormats,n=Me()(e,["disablePostFormats"]);return!t&&wp.element.createElement(_n,k()({},n,{supportKeys:"post-formats"}))}),Kn=[{id:"aside",caption:Object(F.__)("Aside")},{id:"gallery",caption:Object(F.__)("Gallery")},{id:"link",caption:Object(F.__)("Link")},{id:"image",caption:Object(F.__)("Image")},{id:"quote",caption:Object(F.__)("Quote")},{id:"standard",caption:Object(F.__)("Standard")},{id:"status",caption:Object(F.__)("Status")},{id:"video",caption:Object(F.__)("Video")},{id:"audio",caption:Object(F.__)("Audio")},{id:"chat",caption:Object(F.__)("Chat")}];var Wn=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getSuggestedPostFormat,o=n("format"),i=e("core").getThemeSupports();return{postFormat:o,supportedFormats:Object(m.union)([o],Object(m.get)(i,["formats"],[])),suggestedFormat:r()}}),Object(g.withDispatch)(function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}}),O.withInstanceId])(function(e){var t=e.onUpdatePostFormat,n=e.postFormat,r=void 0===n?"standard":n,o=e.supportedFormats,i=e.suggestedFormat,s="post-format-selector-"+e.instanceId,a=Kn.filter(function(e){return Object(m.includes)(o,e.id)}),c=Object(m.find)(a,function(e){return e.id===i});return wp.element.createElement(Vn,null,wp.element.createElement("div",{className:"editor-post-format"},wp.element.createElement("div",{className:"editor-post-format__content"},wp.element.createElement("label",{htmlFor:s},Object(F.__)("Post Format")),wp.element.createElement("select",{value:r,onChange:function(e){return t(e.target.value)},id:s},a.map(function(e){return wp.element.createElement("option",{key:e.id,value:e.id},e.caption)}))),c&&c.id!==r&&wp.element.createElement("div",{className:"editor-post-format__suggestion"},Object(F.__)("Suggestion:")," ",wp.element.createElement("button",{className:"button-link",onClick:function(){return t(c.id)}},c.caption))))});n(591);var zn=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPostLastRevisionId,r=t.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}})(function(e){var t=e.lastRevisionId,n=e.revisionsCount,r=e.children;return!t||n<2?null:wp.element.createElement(_n,{supportKeys:"revisions"},r)});var qn=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPostLastRevisionId,r=t.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}})(function(e){var t=e.lastRevisionId,n=e.revisionsCount;return wp.element.createElement(zn,null,wp.element.createElement(O.IconButton,{href:at("revision.php",{revision:t,gutenberg:!0}),className:"editor-post-last-revision__title",icon:"backup"},Object(F.sprintf)(Object(F._n)("%d Revision","%d Revisions",n),n)))});var Gn=Object(v.compose)(Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isCurrentPostPublished,r=t.getCurrentPostType,o=t.getCurrentPost;return{hasPublishAction:Object(m.get)(o(),["_links","wp:action-publish"],!1),isPublished:n(),postType:r()}}))(function(e){var t=e.hasPublishAction,n=e.isPublished,r=e.children;return n||!t?null:r});var Yn=Object(v.compose)(Object(g.withSelect)(function(e){return{status:e("core/editor").getEditedPostAttribute("status")}}),Object(g.withDispatch)(function(e){return{onUpdateStatus:function(t){e("core/editor").editPost({status:t})}}}),O.withInstanceId)(function(e){var t=e.instanceId,n=e.status,r=e.onUpdateStatus,o="pending-toggle-"+t;return wp.element.createElement(Gn,null,wp.element.createElement("label",{htmlFor:o},Object(F.__)("Pending Review")),wp.element.createElement(O.FormToggle,{id:o,checked:"pending"===n,onChange:function(){r("pending"===n?"draft":"pending")}}))});var Xn=Object(v.compose)([Object(g.withSelect)(function(e){return{pingStatus:e("core/editor").getEditedPostAttribute("ping_status")}}),Object(g.withDispatch)(function(e){return{editPost:e("core/editor").editPost}}),O.withInstanceId])(function(e){var t=e.pingStatus,n=void 0===t?"open":t,r=e.instanceId,o=Me()(e,["pingStatus","instanceId"]),i="allow-pingbacks-toggle-"+r;return[wp.element.createElement("label",{key:"label",htmlFor:i},Object(F.__)("Allow Pingbacks & Trackbacks")),wp.element.createElement(O.FormToggle,{key:"toggle",checked:"open"===n,onChange:function(){return o.editPost({ping_status:"open"===n?"closed":"open"})},id:i})]}),$n=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.saveForPreview=e.saveForPreview.bind(e),e.state={isAwaitingSave:!1},e}return h()(t,e),u()(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.modified,n=e.link;this.state.isAwaitingSave&&t!==this.props.modified&&this.previewWindow&&(this.previewWindow.location=n,this.setState({isAwaitingSave:!1}))}},{key:"getWindowTarget",value:function(){return"wp-preview-"+this.props.postId}},{key:"saveForPreview",value:function(e){var t=this,n=this.props,r=n.isDirty,o=n.isNew;if(r||o){this.props.autosave(),this.setState({isAwaitingSave:!0}),e.preventDefault(),this.previewWindow=window.open("about:blank",this.getWindowTarget()),this.previewWindow.onbeforeunload=function(){return delete t.previewWindow};this.previewWindow.document.write('\n\t\t\t<div>\n\t\t\t\t<p>Please wait&hellip;</p>\n\t\t\t\t<p>Generating preview.</p>\n\t\t\t</div>\n\t\t\t<style>\n\t\t\t\tbody {\n\t\t\t\t\tmargin: 0;\n\t\t\t\t}\n\t\t\t\tdiv {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tflex-direction: column;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\tjustify-content: center;\n\t\t\t\t\theight: 100vh;\n\t\t\t\t\twidth: 100vw;\n\t\t\t\t}\n\t\t\t\tp {\n\t\t\t\t\ttext-align: center;\n\t\t\t\t\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;\n\t\t\t\t}\n\t\t\t</style>'),this.previewWindow.document.close()}}},{key:"render",value:function(){var e=this.props,t=e.link,n=e.isSaveable;return wp.element.createElement(O.Button,{className:"editor-post-preview",isLarge:!0,href:t,onClick:this.saveForPreview,target:this.getWindowTarget(),disabled:!n},Object(F._x)("Preview","imperative verb"))}}]),t}(v.Component),Jn=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPostId,r=t.getEditedPostPreviewLink,o=t.getEditedPostAttribute,i=t.isEditedPostDirty,s=t.isEditedPostNew,a=t.isEditedPostSaveable,c=(0,e("core").getPostType)(o("type"));return{postId:n(),link:r(),isDirty:i(),isNew:s(),isSaveable:a(),isViewable:Object(m.get)(c,["viewable"],!1),modified:o("modified")}}),Object(g.withDispatch)(function(e){return{autosave:e("core/editor").autosave}}),Object(O.ifCondition)(function(e){return e.isViewable})])($n);var Qn=Object(v.compose)([Object(g.withSelect)(function(e,t){var n=t.forceIsSaving,r=e("core/editor"),o=r.isCurrentPostPublished,i=r.isEditedPostBeingScheduled,s=r.isSavingPost,a=r.isPublishingPost,c=r.getCurrentPost,l=r.getCurrentPostType;return{isPublished:o(),isBeingScheduled:i(),isSaving:n||s(),isPublishing:a(),hasPublishAction:Object(m.get)(c(),["_links","wp:action-publish"],!1),postType:l()}})])(function(e){var t=e.isPublished,n=e.isBeingScheduled,r=e.isSaving,o=e.isPublishing,i=e.hasPublishAction;return o?Object(F.__)("Publishing…"):t&&r?Object(F.__)("Updating…"):n&&r?Object(F.__)("Scheduling…"):i?t?Object(F.__)("Update"):n?Object(F.__)("Schedule"):Object(F.__)("Publish"):Object(F.__)("Submit for Review")});var Zn=Object(v.compose)([Object(g.withSelect)(function(e,t){var n=t.forceIsSaving,r=t.forceIsDirty,o=e("core/editor"),i=o.isSavingPost,s=o.isEditedPostBeingScheduled,a=o.getEditedPostVisibility,c=o.isEditedPostSaveable,l=o.isEditedPostPublishable,u=o.getCurrentPost,d=o.getCurrentPostType;return{isSaving:n||i(),isBeingScheduled:s(),visibility:a(),isSaveable:c(),isPublishable:r||l(),hasPublishAction:Object(m.get)(u(),["_links","wp:action-publish"],!1),postType:d()}}),Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost;return{onStatusChange:function(e){return n({status:e})},onSave:t.savePost}})])(function(e){var t=e.isSaving,n=e.onStatusChange,r=e.onSave,o=e.isBeingScheduled,i=e.visibility,s=e.isPublishable,a=e.isSaveable,c=e.hasPublishAction,l=e.onSubmit,u=void 0===l?m.noop:l,d=e.forceIsSaving,p=!t&&s&&a,f=void 0;return f=c?o?"future":"private"===i?"private":"publish":"pending",wp.element.createElement(O.Button,{className:"editor-post-publish-button",isPrimary:!0,isLarge:!0,onClick:function(){u(),n(f),r()},disabled:!p,isBusy:t},wp.element.createElement(Qn,{forceIsSaving:d}))}),er=(n(590),[{value:"public",label:Object(F.__)("Public"),info:Object(F.__)("Visible to everyone.")},{value:"private",label:Object(F.__)("Private"),info:Object(F.__)("Only visible to site admins and editors.")},{value:"password",label:Object(F.__)("Password Protected"),info:Object(F.__)("Protected with a password you choose. Only those with the password can view this post.")}]),tr=function(e){function t(e){c()(this,t);var n=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return n.setPublic=n.setPublic.bind(n),n.setPrivate=n.setPrivate.bind(n),n.setPasswordProtected=n.setPasswordProtected.bind(n),n.updatePassword=n.updatePassword.bind(n),n.state={hasPassword:!!e.password},n}return h()(t,e),u()(t,[{key:"setPublic",value:function(){var e=this.props,t=e.visibility,n=e.onUpdateVisibility,r=e.status;n("private"===t?"draft":r),this.setState({hasPassword:!1})}},{key:"setPrivate",value:function(){if(window.confirm(Object(F.__)("Would you like to privately publish this post now?"))){var e=this.props,t=e.onUpdateVisibility,n=e.onSave;t("private"),this.setState({hasPassword:!1}),n()}}},{key:"setPasswordProtected",value:function(){var e=this.props,t=e.visibility,n=e.onUpdateVisibility,r=e.status,o=e.password;n("private"===t?"draft":r,o||""),this.setState({hasPassword:!0})}},{key:"updatePassword",value:function(e){var t=this.props,n=t.status;(0,t.onUpdateVisibility)(n,e.target.value)}},{key:"render",value:function(){var e=this.props,t=e.visibility,n=e.password,r=e.instanceId,o={public:{onSelect:this.setPublic,checked:"public"===t&&!this.state.hasPassword},private:{onSelect:this.setPrivate,checked:"private"===t},password:{onSelect:this.setPasswordProtected,checked:this.state.hasPassword}};return[wp.element.createElement("fieldset",{key:"visibility-selector"},wp.element.createElement("legend",{className:"editor-post-visibility__dialog-legend"},Object(F.__)("Post Visibility")),er.map(function(e){var t=e.value,n=e.label,i=e.info;return wp.element.createElement("div",{key:t,className:"editor-post-visibility__choice"},wp.element.createElement("input",{type:"radio",name:"editor-post-visibility__setting-"+r,value:t,onChange:o[t].onSelect,checked:o[t].checked,id:"editor-post-"+t+"-"+r,"aria-describedby":"editor-post-"+t+"-"+r+"-description",className:"editor-post-visibility__dialog-radio"}),wp.element.createElement("label",{htmlFor:"editor-post-"+t+"-"+r,className:"editor-post-visibility__dialog-label"},n),wp.element.createElement("p",{id:"editor-post-"+t+"-"+r+"-description",className:"editor-post-visibility__dialog-info"},i))})),this.state.hasPassword&&wp.element.createElement("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},wp.element.createElement("label",{htmlFor:"editor-post-visibility__dialog-password-input-"+r,className:"screen-reader-text"},Object(F.__)("Create password")),wp.element.createElement("input",{className:"editor-post-visibility__dialog-password-input",id:"editor-post-visibility__dialog-password-input-"+r,type:"text",onChange:this.updatePassword,value:n,placeholder:Object(F.__)("Use a secure password")}))]}}]),t}(v.Component),nr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditedPostVisibility;return{status:n("status"),visibility:r(),password:n("password")}}),Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.savePost,r=t.editPost;return{onSave:n,onUpdateVisibility:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;r({status:e,password:t})}}}),O.withInstanceId])(tr);var rr=Object(g.withSelect)(function(e){return{visibility:e("core/editor").getEditedPostVisibility()}})(function(e){var t=e.visibility;return Object(m.find)(er,{value:t}).label}),or=n(148);var ir=Object(v.compose)([Object(g.withSelect)(function(e){return{date:e("core/editor").getEditedPostAttribute("date")}}),Object(g.withDispatch)(function(e){return{onUpdateDate:function(t){e("core/editor").editPost({date:t})}}})])(function(e){var t=e.date,n=e.onUpdateDate,r=Object(or.getSettings)(),o=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return wp.element.createElement(O.DateTimePicker,{key:"date-time-picker",currentDate:t,onChange:n,locale:r.l10n.locale,is12Hour:o})});var sr=Object(g.withSelect)(function(e){return{date:e("core/editor").getEditedPostAttribute("date")}})(function(e){var t=e.date,n=Object(or.getSettings)();return t?Object(or.dateI18n)(n.formats.datetime,t):Object(F.__)("Immediately")});var ar=function(){return wp.element.createElement("div",{className:"editor-post-publish-panel__prepublish"},wp.element.createElement("div",null,wp.element.createElement("strong",null,Object(F.__)("Are you ready to publish?"))),wp.element.createElement("p",null,Object(F.__)("Here, you can do a last-minute check up of your settings below, before you publish.")),wp.element.createElement(O.PanelBody,{initialOpen:!1,title:[Object(F.__)("Visibility: "),wp.element.createElement("span",{className:"editor-post-publish-panel__link",key:"label"},wp.element.createElement(rr,null))]},wp.element.createElement(nr,null)),wp.element.createElement(O.PanelBody,{initialOpen:!1,title:[Object(F.__)("Publish: "),wp.element.createElement("span",{className:"editor-post-publish-panel__link",key:"label"},wp.element.createElement(sr,null))]},wp.element.createElement(ir,null)))},cr=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={showCopyConfirmation:!1},e.onCopy=e.onCopy.bind(e),e.onSelectInput=e.onSelectInput.bind(e),e}return h()(t,e),u()(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.dismissCopyConfirmation)}},{key:"onCopy",value:function(){var e=this;this.setState({showCopyConfirmation:!0}),clearTimeout(this.dismissCopyConfirmation),this.dismissCopyConfirmation=setTimeout(function(){e.setState({showCopyConfirmation:!1})},4e3)}},{key:"onSelectInput",value:function(e){e.target.select()}},{key:"render",value:function(){var e=this.props,t=e.isScheduled,n=e.post,r=e.postType,o=Object(m.get)(r,["labels","view_item"]),i=t?wp.element.createElement(v.Fragment,null,Object(F.__)("is now scheduled. It will go live on")," ",wp.element.createElement(sr,null),"."):Object(F.__)("is now live."),s=t?Object(F.__)("The post address will be:"):Object(F.__)("What's next?");return wp.element.createElement("div",{className:"post-publish-panel__postpublish"},wp.element.createElement(O.PanelBody,{className:"post-publish-panel__postpublish-header"},wp.element.createElement("a",{href:n.link},n.title||Object(F.__)("(no title)"))," ",i),wp.element.createElement(O.PanelBody,null,wp.element.createElement("div",null,wp.element.createElement("strong",null,s)),wp.element.createElement("input",{className:"post-publish-panel__postpublish-link-input",readOnly:!0,value:n.link,onFocus:this.onSelectInput,type:"text"}),wp.element.createElement("div",{className:"post-publish-panel__postpublish-buttons"},!t&&wp.element.createElement(O.Button,{className:"button",href:n.link},o),wp.element.createElement(O.ClipboardButton,{className:"button",text:n.link,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(F.__)("Copied!"):Object(F.__)("Copy Link")))))}}]),t}(v.Component),lr=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getCurrentPost,o=t.isCurrentPostScheduled,i=e("core").getPostType;return{post:r(),postType:i(n("type")),isScheduled:o()}})(cr),ur=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onSubmit=e.onSubmit.bind(e),e.state={loading:!1,submitted:!1},e}return h()(t,e),u()(t,[{key:"componentWillReceiveProps",value:function(e){this.state.submitted||e.isSaving||!e.isPublished&&!e.isScheduled||this.setState({submitted:!0,loading:!1})}},{key:"componentDidUpdate",value:function(e){e.isPublished&&!this.props.isSaving&&this.props.isDirty&&this.props.onClose()}},{key:"onSubmit",value:function(){var e=this.props,t=e.onClose;e.hasPublishAction?this.setState({loading:!0}):t()}},{key:"render",value:function(){var e=this.props,t=e.isScheduled,n=e.onClose,r=e.forceIsDirty,o=e.forceIsSaving,i=this.state,s=i.loading,a=i.submitted;return wp.element.createElement("div",{className:"editor-post-publish-panel"},wp.element.createElement("div",{className:"editor-post-publish-panel__header"},!a&&wp.element.createElement("div",{className:"editor-post-publish-panel__header-publish-button"},wp.element.createElement(Zn,{onSubmit:this.onSubmit,forceIsDirty:r,forceIsSaving:o})),a&&wp.element.createElement("div",{className:"editor-post-publish-panel__header-published"},t?Object(F.__)("Scheduled"):Object(F.__)("Published")),wp.element.createElement(O.IconButton,{onClick:n,icon:"no-alt",label:Object(F.__)("Close Publish Panel")})),wp.element.createElement("div",{className:"editor-post-publish-panel__content"},!s&&!a&&wp.element.createElement(ar,null),s&&!a&&wp.element.createElement(O.Spinner,null),a&&wp.element.createElement(lr,null)))}}]),t}(v.Component),dr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType,o=t.isCurrentPostPublished,i=t.isCurrentPostScheduled,s=t.isSavingPost,a=t.isEditedPostDirty;return{postType:r(),hasPublishAction:Object(m.get)(n(),["_links","wp:action-publish"],!1),isPublished:o(),isScheduled:i(),isSaving:s(),isDirty:a()}})])(ur);var pr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isSavingPost,r=t.isEditedPostSaveable,o=t.isEditedPostPublishable,i=t.isCurrentPostPending,s=t.isCurrentPostPublished,a=t.isEditedPostBeingScheduled,c=t.isCurrentPostScheduled,l=t.getCurrentPost,u=t.getCurrentPostType;return{hasPublishAction:Object(m.get)(l(),["_links","wp:action-publish"],!1),isSaving:n(),isSaveable:r(),isPublishable:o(),isPending:i(),isPublished:s(),isScheduled:c(),isBeingScheduled:a(),postType:u()}})])(function(e){var t=e.hasPublishAction,n=e.isSaving,r=e.isPublishable,o=e.isSaveable,i=e.isPublished,s=e.isBeingScheduled,a=e.isPending,c=e.isScheduled,l=e.onToggle,u=e.isOpen,d=e.forceIsDirty,p=e.forceIsSaving,f=!n&&!p&&r&&o||i;return i||c&&s||a&&!t?wp.element.createElement(Zn,{forceIsDirty:d,forceIsSaving:p}):wp.element.createElement(O.Button,{className:"editor-post-publish-panel__toggle",isPrimary:!0,onClick:l,"aria-expanded":u,disabled:!f,isBusy:n&&i},s?Object(F.__)("Schedule…"):Object(F.__)("Publish…"))});n(589);var fr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isSavingPost,r=t.isCurrentPostPublished;return{isSaving:n(),isPublished:r()}}),Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost,r=t.savePost;return{onClick:function(){n({status:"draft"}),r()}}})])(function(e){var t=e.isSaving,n=e.isPublished,r=e.onClick;return n?wp.element.createElement(O.Button,{className:"editor-post-switch-to-draft",isLarge:!0,onClick:function(){window.confirm(Object(F.__)("Are you sure you want to unpublish this post?"))&&r()},disabled:t},Object(F.__)("Switch to Draft")):null}),hr=b.keycodes.displayShortcut,mr=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={forceSavedMessage:!1},e}return h()(t,e),u()(t,[{key:"componentDidUpdate",value:function(e){var t=this;e.isSaving&&!this.props.isSaving&&(this.setState({forceSavedMessage:!0}),this.props.setTimeout(function(){t.setState({forceSavedMessage:!1})},1e3))}},{key:"render",value:function(){var e=this.props,t=e.isNew,n=e.isPublished,r=e.isDirty,o=e.isSaving,i=e.isSaveable,s=e.onSave,a=this.state.forceSavedMessage;return o?wp.element.createElement("span",{className:"editor-post-saved-state is-saving"},wp.element.createElement(O.Dashicon,{icon:"cloud"}),Object(F.__)("Saving")):n?wp.element.createElement(fr,null):i?a||!t&&!r?wp.element.createElement("span",{className:"editor-post-saved-state is-saved"},wp.element.createElement(O.Dashicon,{icon:"saved"}),Object(F.__)("Saved")):wp.element.createElement(O.IconButton,{className:"editor-post-save-draft",onClick:s,icon:"cloud-upload",shortcut:hr.primary("s")},Object(F.__)("Save Draft")):null}}]),t}(v.Component),vr=Object(v.compose)([Object(g.withSelect)(function(e,t){var n=t.forceIsDirty,r=t.forceIsSaving,o=e("core/editor"),i=o.isEditedPostNew,s=o.isCurrentPostPublished,a=o.isEditedPostDirty,c=o.isSavingPost,l=o.isEditedPostSaveable;return{post:(0,o.getCurrentPost)(),isNew:i(),isPublished:s(),isDirty:n||a(),isSaving:r||c(),isSaveable:l()}}),Object(g.withDispatch)(function(e){return{onSave:e("core/editor").savePost}}),O.withSafeTimeout])(mr);var br=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(m.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(e){var t=e.hasPublishAction,n=e.children;return t?n:null});var gr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor").getCurrentPost();return{hasStickyAction:Object(m.get)(t,["_links","wp:action-sticky"],!1),postType:e("core/editor").getCurrentPostType()}})])(function(e){var t=e.hasStickyAction,n=e.postType,r=e.children;return"post"===n&&t?r:null});var yr=Object(v.compose)([Object(g.withSelect)(function(e){return{postSticky:e("core/editor").getEditedPostAttribute("sticky")}}),Object(g.withDispatch)(function(e){return{onUpdateSticky:function(t){e("core/editor").editPost({sticky:t})}}}),O.withInstanceId])(function(e){var t=e.onUpdateSticky,n=e.postSticky,r=void 0!==n&&n,o="post-sticky-toggle-"+e.instanceId;return wp.element.createElement(gr,null,wp.element.createElement("label",{htmlFor:o},Object(F.__)("Stick to the Front Page")),wp.element.createElement(O.FormToggle,{key:"toggle",checked:r,onChange:function(){return t(!r)},id:o}))}),kr=(n(588),{per_page:-1,orderby:"count",order:"desc",_fields:"id,name,parent"}),_r=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.findTerm=e.findTerm.bind(e),e.onChange=e.onChange.bind(e),e.onChangeFormName=e.onChangeFormName.bind(e),e.onChangeFormParent=e.onChangeFormParent.bind(e),e.onAddTerm=e.onAddTerm.bind(e),e.onToggleForm=e.onToggleForm.bind(e),e.state={loading:!0,availableTermsTree:[],availableTerms:[],adding:!1,formName:"",formParent:"",showForm:!1},e}return h()(t,e),u()(t,[{key:"onChange",value:function(e){var t=this.props,n=t.onUpdateTerms,r=t.terms,o=void 0===r?[]:r,i=t.restBase,s=parseInt(e.target.value,10);n(-1!==o.indexOf(s)?Object(m.without)(o,s):[].concat(x()(o),[s]),i)}},{key:"onChangeFormName",value:function(e){var t=""===e.target.value.trim()?"":e.target.value;this.setState({formName:t})}},{key:"onChangeFormParent",value:function(e){this.setState({formParent:e})}},{key:"onToggleForm",value:function(){this.setState(function(e){return{showForm:!e.showForm}})}},{key:"findTerm",value:function(e,t,n){return Object(m.find)(e,function(e){return(!e.parent&&!t||parseInt(e.parent)===parseInt(t))&&e.name.toLowerCase()===n.toLowerCase()})}},{key:"onAddTerm",value:function(e){var t=this;e.preventDefault();var n=this.props,r=n.onUpdateTerms,o=n.restBase,i=n.terms,s=n.slug,a=this.state,c=a.formName,l=a.formParent,u=a.adding,d=a.availableTerms;if(""!==c&&!u){var p=this.findTerm(d,l,c);if(p)return Object(m.some)(i,function(e){return e===p.id})||r([].concat(x()(i),[p.id]),o),void this.setState({formName:"",formParent:""});new D.a(function(e,n){t.setState({adding:!0});var r=wp.api.getTaxonomyRoute(t.props.slug);t.addRequest=wp.apiRequest({path:"/wp/v2/"+r,method:"POST",data:{name:c,parent:l||void 0}}),t.addRequest.then(e,function(o){if("term_exists"===(o.responseJSON&&o.responseJSON.code))return t.addRequest=wp.apiRequest({path:"/wp/v2/"+r+"?"+Object(Ye.stringify)(k()({},kr,{parent:l||0,search:c}))}),t.addRequest.then(function(n){e(t.findTerm(n,l,c))},n);n(o)})}).then(function(e){var n=!!Object(m.find)(t.state.availableTerms,function(t){return t.id===e.id})?t.state.availableTerms:[e].concat(x()(t.state.availableTerms)),a=Object(F.sprintf)(Object(F._x)("%s added","term"),Object(m.get)(t.props.taxonomy,["data","labels","singular_name"],"category"===s?Object(F.__)("Category"):Object(F.__)("Term")));t.props.speak(a,"assertive"),t.addRequest=null,t.setState({adding:!1,formName:"",formParent:"",availableTerms:n,availableTermsTree:Object(b.buildTermsTree)(n)}),r([].concat(x()(i),[e.id]),o)},function(e){"abort"!==e.statusText&&(t.addRequest=null,t.setState({adding:!1}))})}}},{key:"componentDidMount",value:function(){var e=this,t=wp.api.getTaxonomyRoute(this.props.slug);this.fetchRequest=wp.apiRequest({path:"/wp/v2/"+t+"?"+Object(Ye.stringify)(kr)}),this.fetchRequest.then(function(t){var n=Object(b.buildTermsTree)(t);e.fetchRequest=null,e.setState({loading:!1,availableTermsTree:n,availableTerms:t})},function(t){"abort"!==t.statusText&&(e.fetchRequest=null,e.setState({loading:!1}))})}},{key:"componentWillUnmount",value:function(){Object(m.invoke)(this.fetchRequest,["abort"]),Object(m.invoke)(this.addRequest,["abort"])}},{key:"renderTerms",value:function(e){var t=this,n=this.props.terms,r=void 0===n?[]:n;return e.map(function(e){var n="editor-post-taxonomies-hierarchical-term-"+e.id;return wp.element.createElement("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},wp.element.createElement("input",{id:n,className:"editor-post-taxonomies__hierarchical-terms-input",type:"checkbox",checked:-1!==r.indexOf(e.id),value:e.id,onChange:t.onChange}),wp.element.createElement("label",{htmlFor:n},Object(m.unescape)(e.name)),!!e.children.length&&wp.element.createElement("div",{className:"editor-post-taxonomies__hierarchical-terms-subchoices"},t.renderTerms(e.children)))})}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.taxonomy,r=e.instanceId,o=e.hasCreateAction;if(!e.hasAssignAction)return null;var i=this.state,s=i.availableTermsTree,a=i.availableTerms,c=i.formName,l=i.formParent,u=i.loading,d=i.showForm,p=function(e,r,o){return Object(m.get)(n,["data","labels",e],"category"===t?r:o)},f=p("add_new_item",Object(F.__)("Add new category"),Object(F.__)("Add new term")),h=p("new_item_name",Object(F.__)("Add new category"),Object(F.__)("Add new term")),v=p("parent_item",Object(F.__)("Parent Category"),Object(F.__)("Parent Term")),b="— "+v+" —",g=f,y="editor-post-taxonomies__hierarchical-terms-input-"+r;return[].concat(x()(this.renderTerms(s)),[!u&&o&&wp.element.createElement("button",{key:"term-add-button",onClick:this.onToggleForm,className:"button-link editor-post-taxonomies__hierarchical-terms-add","aria-expanded":d},f),d&&wp.element.createElement("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},wp.element.createElement("label",{htmlFor:y,className:"editor-post-taxonomies__hierarchical-terms-label"},h),wp.element.createElement("input",{type:"text",id:y,className:"editor-post-taxonomies__hierarchical-terms-input",value:c,onChange:this.onChangeFormName,required:!0}),!!a.length&&wp.element.createElement(O.TreeSelect,{label:v,noOptionLabel:b,onChange:this.onChangeFormParent,selectedId:l,tree:s}),wp.element.createElement("button",{type:"submit",className:"button editor-post-taxonomies__hierarchical-terms-submit"},g))])}}]),t}(v.Component),Or=Object(v.compose)([Object(O.withAPIData)(function(e){return{taxonomy:"/wp/v2/taxonomies/"+e.slug+"?context=edit"}}),Object(g.withSelect)(function(e,t){var n=e("core/editor").getCurrentPost;return{hasCreateAction:Object(m.get)(n(),["_links","wp:action-create-"+t.restBase],!1),hasAssignAction:Object(m.get)(n(),["_links","wp:action-assign-"+t.restBase],!1),terms:e("core/editor").getEditedPostAttribute(t.restBase)}}),Object(g.withDispatch)(function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(de()({},n,t))}}}),O.withSpokenMessages,O.withInstanceId])(_r),wr={per_page:-1,orderby:"count",order:"desc",_fields:"id,name"},Sr=function(e,t){return e.toLowerCase()===t.toLowerCase()},Er=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onChange=e.onChange.bind(e),e.searchTerms=Object(m.throttle)(e.searchTerms.bind(e),500),e.findOrCreateTerm=e.findOrCreateTerm.bind(e),e.state={loading:!1,availableTerms:[],selectedTerms:[]},e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){var e=this;Object(m.isEmpty)(this.props.terms)||(this.setState({loading:!1}),this.initRequest=this.fetchTerms({include:this.props.terms.join(","),per_page:100}),this.initRequest.then(function(){e.setState({loading:!1})},function(t){"abort"!==t.statusText&&e.setState({loading:!1})})),this.searchTerms()}},{key:"componentWillUnmount",value:function(){Object(m.invoke)(this.initRequest,["abort"]),Object(m.invoke)(this.searchRequest,["abort"])}},{key:"componentWillReceiveProps",value:function(e){e.terms!==this.props.terms&&this.updateSelectedTerms(e.terms)}},{key:"fetchTerms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=k()({},wr,t),r=wp.api.getTaxonomyRoute(this.props.slug),o=wp.apiRequest({path:"/wp/v2/"+r+"?"+Object(Ye.stringify)(n)});return o.then(function(t){e.setState(function(e){return{availableTerms:e.availableTerms.concat(t.filter(function(t){return!Object(m.find)(e.availableTerms,function(e){return e.id===t.id})}))}}),e.updateSelectedTerms(e.props.terms)}),o}},{key:"updateSelectedTerms",value:function(){var e=this,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce(function(t,n){var r=Object(m.find)(e.state.availableTerms,function(e){return e.id===n});return r&&t.push(r.name),t},[]);this.setState({selectedTerms:t})}},{key:"findOrCreateTerm",value:function(e){var t=this;return new D.a(function(n,r){var o=wp.api.getTaxonomyRoute(t.props.slug);wp.apiRequest({path:"/wp/v2/"+o,method:"POST",data:{name:e}}).then(n,function(i){if("term_exists"===(i.responseJSON&&i.responseJSON.code))return t.addRequest=wp.apiRequest({path:"/wp/v2/"+o+"?"+Object(Ye.stringify)(k()({},wr,{search:e}))}),t.addRequest.then(function(t){n(Object(m.find)(t,function(t){return Sr(t.name,e)}))},r);r(i)})})}},{key:"onChange",value:function(e){var t=this,n=Object(m.uniqBy)(e,function(e){return e.toLowerCase()});this.setState({selectedTerms:n});var r=n.filter(function(e){return!Object(m.find)(t.state.availableTerms,function(t){return Sr(t.name,e)})}),o=function(e,t){return e.map(function(e){return Object(m.find)(t,function(t){return Sr(t.name,e)}).id})};if(0===r.length)return this.props.onUpdateTerms(o(n,this.state.availableTerms),this.props.restBase);D.a.all(r.map(this.findOrCreateTerm)).then(function(e){var r=t.state.availableTerms.concat(e);return t.setState({availableTerms:r}),t.props.onUpdateTerms(o(n,r),t.props.restBase)})}},{key:"searchTerms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(m.invoke)(this.searchRequest,["abort"]),this.searchRequest=this.fetchTerms({search:e})}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.taxonomy;if(!e.hasAssignAction)return null;var r=this.state,o=r.loading,i=r.availableTerms,s=r.selectedTerms,a=i.map(function(e){return e.name}),c=Object(m.get)(n,["data","labels","add_new_item"],"post_tag"===t?Object(F.__)("Add New Tag"):Object(F.__)("Add New Term")),l=Object(m.get)(n,["data","labels","singular_name"],"post_tag"===t?Object(F.__)("Tag"):Object(F.__)("Term")),u=Object(F.sprintf)(Object(F._x)("%s added","term"),l),d=Object(F.sprintf)(Object(F._x)("%s removed","term"),l),p=Object(F.sprintf)(Object(F._x)("Remove %s","term"),l);return wp.element.createElement(O.FormTokenField,{value:s,displayTransform:m.unescape,suggestions:a,onChange:this.onChange,onInputChange:this.searchTerms,maxSuggestions:20,disabled:o,placeholder:c,messages:{added:u,removed:d,remove:p}})}}]),t}(v.Component),jr=Object(v.compose)(Object(O.withAPIData)(function(e){return{taxonomy:"/wp/v2/taxonomies/"+e.slug+"?context=edit"}}),Object(g.withSelect)(function(e,t){var n=e("core/editor").getCurrentPost;return{hasCreateAction:Object(m.get)(n(),["_links","wp:action-create-"+t.restBase],!1),hasAssignAction:Object(m.get)(n(),["_links","wp:action-assign-"+t.restBase],!1),terms:e("core/editor").getEditedPostAttribute(t.restBase)}}),Object(g.withDispatch)(function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(de()({},n,t))}}}))(Er);var Cr=Object(v.compose)([Object(g.withSelect)(function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies()}})])(function(e){var t=e.postType,n=e.taxonomies,r=e.taxonomyWrapper,o=void 0===r?m.identity:r,i=Object(m.filter)(n,function(e){return Object(m.includes)(e.types,t)});return Object(m.filter)(i,function(e){return e.visibility.show_ui}).map(function(e){var t=e.hierarchical?Or:jr;return wp.element.createElement(v.Fragment,{key:"taxonomy-"+e.slug},o(wp.element.createElement(t,{restBase:e.rest_base,slug:e.slug}),e))})});var Tr=Object(v.compose)([Object(g.withSelect)(function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies()}})])(function(e){var t=e.postType,n=e.taxonomies,r=e.children;return Object(m.some)(n,function(e){return Object(m.includes)(e.types,t)})?r:null}),Pr=(n(587),function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.startEditing=e.startEditing.bind(e),e.edit=e.edit.bind(e),e.stopEditing=e.stopEditing.bind(e),e.state={value:null,isDirty:!1},e}return h()(t,e),u()(t,[{key:"componentWillReceiveProps",value:function(e){this.props.value!==e.value&&this.state.value&&!this.state.isDirty&&this.setState({value:e.value})}},{key:"startEditing",value:function(){this.setState({value:this.props.value})}},{key:"edit",value:function(e){var t=e.target.value;this.props.onChange(t),this.setState({value:t,isDirty:!0})}},{key:"stopEditing",value:function(){this.state.isDirty&&this.props.onPersist(this.state.value),this.setState({value:null,isDirty:!1})}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.placeholder,r=e.instanceId,o=Object(b.decodeEntities)(n);return wp.element.createElement(v.Fragment,null,wp.element.createElement("label",{htmlFor:"post-content-"+r,className:"screen-reader-text"},o||Object(F.__)("Write your story")),wp.element.createElement(Ve.a,{autoComplete:"off",value:this.state.value||t,onFocus:this.startEditing,onChange:this.edit,onBlur:this.stopEditing,className:"editor-post-text-editor",id:"post-content-"+r,placeholder:o||Object(F.__)("Write your story")}))}}]),t}(v.Component)),Br=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostContent,r=(0,t.getEditorSettings)().bodyPlaceholder;return{value:n(),placeholder:r}}),Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.editPost,r=t.resetBlocks,o=t.checkTemplateValidity;return{onChange:function(e){n({content:e})},onPersist:function(e){r(Object(A.parse)(e)),o()}}}),O.withInstanceId])(Pr),xr=(n(586),n(585),function(e){function t(e){var n=e.permalinkParts;c()(this,t);var r=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return r.state={editedPostName:n.postName},r.onSavePermalink=r.onSavePermalink.bind(r),r}return h()(t,e),u()(t,[{key:"onSavePermalink",value:function(e){var t=this.state.editedPostName.replace(/\s+/g,"-");e.preventDefault(),this.props.onSave(),t!==this.props.postName&&(this.props.editPost({slug:t}),this.setState({editedPostName:t}))}},{key:"render",value:function(){var e=this,t=this.props.permalinkParts,n=t.prefix,r=t.suffix,o=this.state.editedPostName;return wp.element.createElement("form",{className:"editor-post-permalink-editor",onSubmit:this.onSavePermalink},wp.element.createElement("span",null,wp.element.createElement("span",{className:"editor-post-permalink-editor__prefix"},n),wp.element.createElement("input",{className:"editor-post-permalink-editor__edit","aria-label":Object(F.__)("Edit post permalink"),value:o,onChange:function(t){return e.setState({editedPostName:t.target.value})},type:"text",autoFocus:!0}),wp.element.createElement("span",{className:"editor-post-permalink-editor__suffix"},r),"‎"),wp.element.createElement(O.Button,{className:"editor-post-permalink-editor__save",isLarge:!0,onClick:this.onSavePermalink},Object(F.__)("OK")))}}]),t}(v.Component)),Ir=Object(v.compose)([Object(g.withSelect)(function(e){return{permalinkParts:(0,e("core/editor").getPermalinkParts)()}}),Object(g.withDispatch)(function(e){return{editPost:e("core/editor").editPost}})])(xr),Dr=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.addVisibilityCheck=e.addVisibilityCheck.bind(e),e.onVisibilityChange=e.onVisibilityChange.bind(e),e.state={isCopied:!1,isEditingPermalink:!1},e}return h()(t,e),u()(t,[{key:"addVisibilityCheck",value:function(){window.addEventListener("visibilitychange",this.onVisibilityChange)}},{key:"onVisibilityChange",value:function(){var e=this.props,t=e.isEditable,n=e.refreshPost;t||"visible"!==document.visibilityState||n()}},{key:"componentDidUpdate",value:function(e,t){t.isEditingPermalink&&!this.state.isEditingPermalink&&this.permalinkButton.focus()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("visibilitychange",this.addVisibilityCheck)}},{key:"render",value:function(){var e=this,t=this.props,n=t.isNew,r=t.previewLink,o=t.isEditable,i=t.samplePermalink,s=t.isPublished,a=this.state,c=a.isCopied,l=a.isEditingPermalink,u=c?Object(F.__)("Permalink copied"):Object(F.__)("Copy the permalink");return n||!r?null:wp.element.createElement("div",{className:"editor-post-permalink"},wp.element.createElement(O.ClipboardButton,{className:Z()("editor-post-permalink__copy",{"is-copied":c}),text:i,label:u,onCopy:function(){return e.setState({isCopied:!0})},"aria-disabled":c,icon:"admin-links"}),wp.element.createElement("span",{className:"editor-post-permalink__label"},Object(F.__)("Permalink:")),!l&&wp.element.createElement(O.Button,{className:"editor-post-permalink__link",href:s?i:r,target:"_blank",ref:function(t){return e.permalinkButton=t}},decodeURI(i),"‎"),l&&wp.element.createElement(Ir,{onSave:function(){return e.setState({isEditingPermalink:!1})}}),o&&!l&&wp.element.createElement(O.Button,{className:"editor-post-permalink__edit",isLarge:!0,onClick:function(){return e.setState({isEditingPermalink:!0})}},Object(F.__)("Edit")),!o&&wp.element.createElement(O.Button,{className:"editor-post-permalink__change",isLarge:!0,href:at("options-permalink.php"),onClick:this.addVisibilityCheck,target:"_blank"},Object(F.__)("Change Permalinks")))}}]),t}(v.Component),Ar=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.isPermalinkEditable,o=t.getEditedPostPreviewLink,i=t.getPermalink,s=t.isCurrentPostPublished;return{isNew:n(),previewLink:o(),isEditable:r(),samplePermalink:i(),isPublished:s()}}),Object(g.withDispatch)(function(e){return{refreshPost:e("core/editor").refreshPost}})])(Dr),Nr=/[\r\n]+/g,Rr=b.keycodes.ENTER,Lr=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onChange=e.onChange.bind(e),e.onSelect=e.onSelect.bind(e),e.onUnselect=e.onUnselect.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.redirectHistory=e.redirectHistory.bind(e),e.state={isSelected:!1},e}return h()(t,e),u()(t,[{key:"handleFocusOutside",value:function(){this.onUnselect()}},{key:"onSelect",value:function(){this.setState({isSelected:!0}),this.props.clearSelectedBlock()}},{key:"onUnselect",value:function(){this.setState({isSelected:!1})}},{key:"onChange",value:function(e){var t=e.target.value.replace(Nr," ");this.props.onUpdate(t)}},{key:"onKeyDown",value:function(e){e.keyCode===Rr&&(e.preventDefault(),this.props.onEnterPress())}},{key:"redirectHistory",value:function(e){e.shiftKey?this.props.onRedo():this.props.onUndo(),e.preventDefault()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.placeholder,r=e.instanceId,o=e.isPostTypeViewable,i=this.state.isSelected,s=Z()("editor-post-title",{"is-selected":i}),a=Object(b.decodeEntities)(n);return wp.element.createElement(_n,{supportKeys:"title"},wp.element.createElement("div",{className:s},wp.element.createElement(O.KeyboardShortcuts,{shortcuts:{"mod+z":this.redirectHistory,"mod+shift+z":this.redirectHistory}},wp.element.createElement("label",{htmlFor:"post-title-"+r,className:"screen-reader-text"},a||Object(F.__)("Add title")),wp.element.createElement(Ve.a,{id:"post-title-"+r,className:"editor-post-title__input",value:t,onChange:this.onChange,placeholder:a||Object(F.__)("Add title"),onFocus:this.onSelect,onKeyDown:this.onKeyDown,onKeyPress:this.onUnselect})),i&&o&&wp.element.createElement(Ar,null)))}}]),t}(v.Component),Ur=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditorSettings,o=(0,e("core").getPostType)(n("type")),i=r().titlePlaceholder;return{title:n("title"),isPostTypeViewable:Object(m.get)(o,["viewable"],!1),placeholder:i}}),Mr=Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.insertDefaultBlock,r=t.editPost,o=t.clearSelectedBlock;return{onEnterPress:function(){n(void 0,void 0,0)},onUpdate:function(e){r({title:e})},onUndo:t.undo,onRedo:t.redo,clearSelectedBlock:o}}),Fr=Object(v.compose)(Ur,Mr,O.withInstanceId,O.withFocusOutside)(Lr);n(584);var Hr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.getCurrentPostId,o=t.getCurrentPostType;return{isNew:n(),postId:r(),postType:o()}}),Object(g.withDispatch)(function(e){return{trashPost:e("core/editor").trashPost}})])(function(e){var t=e.isNew,n=e.postId,r=e.postType,o=Me()(e,["isNew","postId","postType"]);return t||!n?null:wp.element.createElement(O.Button,{className:"editor-post-trash button-link button-link-delete",onClick:function(){return o.trashPost(n,r)}},Object(F.__)("Move to trash"),wp.element.createElement(O.Dashicon,{icon:"trash"}))});var Vr=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.getCurrentPostId;return{isNew:n(),postId:r()}})(function(e){var t=e.isNew,n=e.postId,r=e.children;return t||!n?null:r});var Kr=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(m.get)(n(),["_links","wp:action-publish"],!1),postType:r()}})])(function(e){var t=e.hasPublishAction;return(0,e.render)({canEdit:t})}),Wr=(n(583),{HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/&nbsp;|&#160;/gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","€-¿×÷"," -⯿","⸀-⹿","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}}),zr=function(e,t){if(e.HTMLRegExp)return t.replace(e.HTMLRegExp,"\n")},qr=function(e,t){return e.astralRegExp?t.replace(e.astralRegExp,"a"):t},Gr=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,""):t},Yr=function(e,t){return e.connectorRegExp?t.replace(e.connectorRegExp," "):t},Xr=function(e,t){return e.removeRegExp?t.replace(e.removeRegExp,""):t},$r=function(e,t){return e.HTMLcommentRegExp?t.replace(e.HTMLcommentRegExp,""):t},Jr=function(e,t){return e.shortcodesRegExp?t.replace(e.shortcodesRegExp,"\n"):t},Qr=function(e,t){if(e.spaceRegExp)return t.replace(e.spaceRegExp," ")},Zr=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,"a"):t};function eo(e,t,n){var r=function(e,t){var n=Object(m.extend)(Wr,t);return n.shortcodes=n.l10n.shortcodes||{},n.shortcodes&&n.shortcodes.length&&(n.shortcodesRegExp=new RegExp("\\[\\/?(?:"+n.shortcodes.join("|")+")[^\\]]*?\\]","g")),n.type=e||n.l10n.type,"characters_excluding_spaces"!==n.type&&"characters_including_spaces"!==n.type&&(n.type="words"),n}(t,n);if(e){var o=r[t+"RegExp"],i="words"===r.type?function(e,t,n){return e=Object(m.flow)(zr.bind(this,n),$r.bind(this,n),Jr.bind(this,n),Qr.bind(this,n),Gr.bind(this,n),Yr.bind(this,n),Xr.bind(this,n))(e),(e+="\n").match(t)}(e,o,r):function(e,t,n){return e=Object(m.flow)(zr.bind(this,n),$r.bind(this,n),Jr.bind(this,n),Qr.bind(this,n),qr.bind(this,n),Zr.bind(this,n))(e),(e+="\n").match(t)}(e,o,r);return i?i.length:0}}var to=Object(g.withSelect)(function(e){return{content:e("core/editor").getEditedPostAttribute("content")}})(function(e){var t=e.content;return wp.element.createElement("span",{className:"word-count"},eo(t,"words"))});var no=Object(g.withSelect)(function(e){var t=e("core/editor").getGlobalBlockCount;return{headingCount:t("core/heading"),paragraphCount:t("core/paragraph"),numberOfBlocks:t()}})(function(e){var t=e.headingCount,n=e.paragraphCount,r=e.numberOfBlocks;return wp.element.createElement(v.Fragment,null,wp.element.createElement("div",{className:"table-of-contents__counts",role:"note","aria-label":Object(F.__)("Document Statistics"),tabIndex:"0"},wp.element.createElement("div",{className:"table-of-contents__count"},Object(F.__)("Words"),wp.element.createElement(to,null)),wp.element.createElement("div",{className:"table-of-contents__count"},Object(F.__)("Headings"),wp.element.createElement("span",{className:"table-of-contents__number"},t)),wp.element.createElement("div",{className:"table-of-contents__count"},Object(F.__)("Paragraphs"),wp.element.createElement("span",{className:"table-of-contents__number"},n)),wp.element.createElement("div",{className:"table-of-contents__count"},Object(F.__)("Blocks"),wp.element.createElement("span",{className:"table-of-contents__number"},r))),t>0&&wp.element.createElement(v.Fragment,null,wp.element.createElement("hr",null),wp.element.createElement("span",{className:"table-of-contents__title"},Object(F.__)("Document Outline")),wp.element.createElement(an,null)))});var ro=Object(g.withSelect)(function(e){return{hasBlocks:!!e("core/editor").getBlockCount()}})(function(e){var t=e.hasBlocks;return wp.element.createElement(O.Dropdown,{position:"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return wp.element.createElement(O.IconButton,{onClick:r,icon:"info-outline","aria-expanded":n,label:Object(F.__)("Content Structure"),disabled:!t})},renderContent:function(){return wp.element.createElement(no,null)}})}),oo=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.warnIfUnsavedChanges=e.warnIfUnsavedChanges.bind(e),e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){window.addEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"warnIfUnsavedChanges",value:function(e){var t=this.props,n=t.isDirty,r=t.forceIsDirty;if(n||(void 0===r?function(){return!1}:r)())return e.returnValue=Object(F.__)("You have unsaved changes. If you proceed, they will be lost."),e.returnValue}},{key:"render",value:function(){return null}}]),t}(v.Component),io=Object(g.withSelect)(function(e){return{isDirty:e("core/editor").isEditedPostDirty()}})(oo);n(582),n(581);function so(e){return document.querySelector('[data-block="'+e+'"]')}var ao=Object(g.withSelect)(function(e){return{selectedBlockUID:e("core/editor").getBlockSelectionStart()}})(function(e){var t=e.selectedBlockUID;return t&&wp.element.createElement("button",{type:"button",className:"button editor-skip-to-selected-block",onClick:function(){so(t).closest(".editor-block-list__block").focus()}},Object(F.__)("Skip to the selected block"))}),co=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlock,r=t.getSelectedBlockCount;return{selectedBlock:n(),count:r()}})(function(e){var t=e.selectedBlock;if(e.count>1)return wp.element.createElement("span",{className:"editor-block-inspector__multi-blocks"},Object(F.__)("Coming Soon"));if(!t)return wp.element.createElement("span",{className:"editor-block-inspector__no-blocks"},Object(F.__)("No block selected."));var n=Object(A.getBlockType)(t.name);return[wp.element.createElement("div",{className:"editor-block-inspector__card",key:"card"},wp.element.createElement("div",{className:"editor-block-inspector__card-icon"},wp.element.createElement(N,{icon:n.icon})),wp.element.createElement("div",{className:"editor-block-inspector__card-content"},wp.element.createElement("div",{className:"editor-block-inspector__card-title"},n.title),wp.element.createElement("div",{className:"editor-block-inspector__card-description"},n.description))),wp.element.createElement(Le.Slot,{key:"inspector-controls"}),wp.element.createElement(Ie.Slot,{key:"inspector-advanced-controls"},function(e){return!Object(m.isEmpty)(e)&&wp.element.createElement(O.PanelBody,{className:"editor-block-inspector__advanced",title:Object(F.__)("Advanced"),initialOpen:!1},e)}),wp.element.createElement(ao,{key:"back"})]}),lo=(n(580),n(166)),uo=n.n(lo),po=n(132);n(579);function fo(e,t,n,r,o,i){var s=n+1;return e>1?function(e,t,n,r,o){var i=t+1;if(o<0&&n)return Object(F.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(F.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(F.sprintf)(Object(F.__)("Move %(selectedCount)d blocks from position %(position)d up by one place"),{selectedCount:e,position:i});if(o>0&&!r)return Object(F.sprintf)(Object(F.__)("Move %(selectedCount)d blocks from position %(position)s down by one place"),{selectedCount:e,position:i})}(e,n,r,o,i):r&&o?Object(F.sprintf)(Object(F.__)("Block %s is the only block, and cannot be moved"),t):i>0&&!o?Object(F.sprintf)(Object(F.__)("Move %(type)s block from position %(position)d down to position %(newPosition)d"),{type:t,position:s,newPosition:s+1}):i>0&&o?Object(F.sprintf)(Object(F.__)("Block %s is at the end of the content and can’t be moved down"),t):i<0&&!r?Object(F.sprintf)(Object(F.__)("Move %(type)s block from position %(position)d up to position %(newPosition)d"),{type:t,position:s,newPosition:s-1}):i<0&&r?Object(F.sprintf)(Object(F.__)("Block %s is at the beginning of the content and can’t be moved up"),t):void 0}var ho=wp.element.createElement("svg",{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18","aria-hidden":!0,role:"img",focusable:"false"},wp.element.createElement("polygon",{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),mo=wp.element.createElement("svg",{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18","aria-hidden":!0,role:"img",focusable:"false"},wp.element.createElement("polygon",{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),vo=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={isFocused:!1},e.onFocus=e.onFocus.bind(e),e.onBlur=e.onBlur.bind(e),e}return h()(t,e),u()(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,r=e.isFirst,o=e.isLast,i=e.uids,s=e.blockType,a=e.firstIndex,c=e.isLocked,l=e.instanceId,u=e.isHidden,d=this.state.isFocused,p=Object(m.castArray)(i).length;return c?null:wp.element.createElement("div",{className:Z()("editor-block-mover",{"is-visible":d||!u})},wp.element.createElement(O.IconButton,{className:"editor-block-mover__control",onClick:r?null:t,icon:ho,label:Object(F.__)("Move up"),"aria-describedby":"editor-block-mover__up-description-"+l,"aria-disabled":r,onFocus:this.onFocus,onBlur:this.onBlur}),wp.element.createElement(O.IconButton,{className:"editor-block-mover__control",onClick:o?null:n,icon:mo,label:Object(F.__)("Move down"),"aria-describedby":"editor-block-mover__down-description-"+l,"aria-disabled":o,onFocus:this.onFocus,onBlur:this.onBlur}),wp.element.createElement("span",{id:"editor-block-mover__up-description-"+l,className:"editor-block-mover__description"},fo(p,s&&s.title,a,r,o,-1)),wp.element.createElement("span",{id:"editor-block-mover__down-description-"+l,className:"editor-block-mover__description"},fo(p,s&&s.title,a,r,o,1)))}}]),t}(v.Component),bo=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=t.uids,r=t.rootUID,o=e("core/editor"),i=o.getBlock,s=o.getBlockIndex,a=o.getEditorSettings,c=Object(m.first)(Object(m.castArray)(n)),l=i(c),u=a().templateLock;return{firstIndex:s(c,r),blockType:l?Object(A.getBlockType)(l.name):null,isLocked:"all"===u}}),Object(g.withDispatch)(function(e,t){var n=t.uids,r=t.rootUID,o=e("core/editor"),i=o.moveBlocksDown,s=o.moveBlocksUp;return{onMoveDown:Object(m.partial)(i,n,r),onMoveUp:Object(m.partial)(s,n,r)}}),O.withInstanceId)(vo),go=(n(578),function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onFilesDrop=e.onFilesDrop.bind(e),e.onHTMLDrop=e.onHTMLDrop.bind(e),e.onDrop=e.onDrop.bind(e),e}return h()(t,e),u()(t,[{key:"getInsertIndex",value:function(e){var t=this.props.index;if(void 0!==t)return"top"===e.y?t:t+1}},{key:"onFilesDrop",value:function(e,t){var n=Object(A.findTransform)(Object(A.getBlockTransforms)("from"),function(t){return"files"===t.type&&t.isMatch(e)});if(n){var r=this.getInsertIndex(t),o=n.transform(e,this.props.updateBlockAttributes);this.props.insertBlocks(o,r)}}},{key:"onHTMLDrop",value:function(e,t){var n=Object(A.rawHandler)({HTML:e,mode:"BLOCKS"});n.length&&this.props.insertBlocks(n,this.getInsertIndex(t))}},{key:"onDrop",value:function(e,t){if(e.dataTransfer){var n=void 0,r=void 0,o=void 0,i=void 0;try{var s=JSON.parse(e.dataTransfer.getData("text"));n=s.uid,r=s.type,o=s.rootUID,i=s.fromIndex}catch(e){return}if("block"===r){var a=this.props.index,c=this.getInsertIndex(t),l=a&&i<a&&o===this.props.rootUID?c-1:c;this.props.moveBlockToPosition(n,o,l)}}}},{key:"render",value:function(){var e=this.props,t=e.isLocked,n=e.index;if(t)return null;var r=void 0===n;return wp.element.createElement(O.DropZone,{className:Z()("editor-block-drop-zone",{"is-appender":r}),onFilesDrop:this.onFilesDrop,onHTMLDrop:this.onHTMLDrop,onDrop:this.onDrop})}}]),t}(v.Component)),yo=Object(v.compose)(Object(g.withDispatch)(function(e,t){var n=e("core/editor"),r=n.insertBlocks,o=n.updateBlockAttributes,i=n.moveBlockToPosition;return{insertBlocks:function(e,n){var o=t.rootUID,i=t.layout;i&&(e=Object(m.castArray)(e).map(function(e){return Object(A.cloneBlock)(e,{layout:i})})),r(e,n,o)},updateBlockAttributes:function(){o.apply(void 0,arguments)},moveBlockToPosition:function(e,n,r){var o=t.rootUID,s=t.layout;i(e,n,o,s,r)}}}),Object(g.withSelect)(function(e){return{isLocked:!!e("core/editor").getEditorSettings().templateLock}}))(go);n(577);var ko=Object(v.compose)([Object(g.withSelect)(function(e,t){var n=t.uid,r=e("core/editor"),o=r.getBlock,i=r.getBlockMode,s=o(n);return{mode:i(n),blockType:s?Object(A.getBlockType)(s.name):null}}),Object(g.withDispatch)(function(e,t){var n=t.onToggle,r=void 0===n?m.noop:n,o=t.uid;return{onToggleMode:function(){e("core/editor").toggleBlockMode(o),r()}}})])(function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,i=void 0!==o&&o,s=e.role;if(!Object(A.hasBlockSupport)(t,"html",!0))return null;var a="visual"===n?Object(F.__)("Edit as HTML"):Object(F.__)("Edit visually");return wp.element.createElement(O.IconButton,{className:"editor-block-settings-menu__control",onClick:r,icon:"html",label:i?a:void 0,role:s},!i&&a)});var _o=Object(v.compose)(Object(g.withDispatch)(function(e,t){var n=t.uids;return{onRemove:function(){e("core/editor").removeBlocks(n)}}}),Object(g.withSelect)(function(e){return{isLocked:!!e("core/editor").getEditorSettings().templateLock}}))(function(e){var t=e.onRemove,n=e.onClick,r=void 0===n?m.noop:n,o=e.isLocked,i=e.role,s=Me()(e,["onRemove","onClick","isLocked","role"]);if(o)return null;var a=Object(F.__)("Remove");return wp.element.createElement(O.IconButton,k()({className:"editor-block-settings-remove",onClick:Object(m.flow)(t,r),icon:"trash",label:a,role:i},s))});var Oo=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=t.uids,r=t.rootUID,o=e("core/editor"),i=o.getBlocksByUID,s=o.getBlockIndex,a=(0,o.getEditorSettings)().templateLock;return{blocks:i(n),index:s(Object(m.last)(Object(m.castArray)(n)),r),isLocked:!!a}}),Object(g.withDispatch)(function(e,t){var n=t.blocks,r=t.index,o=t.rootUID;return{onDuplicate:function(){var t=n.map(function(e){return Object(A.cloneBlock)(e)});e("core/editor").insertBlocks(t,r+1,o),t.length>1&&e("core/editor").multiSelect(Object(m.first)(t).uid,Object(m.last)(t).uid)}}}))(function(e){var t=e.blocks,n=e.onDuplicate,r=e.onClick,o=void 0===r?m.noop:r,i=e.isLocked,s=e.small,a=void 0!==s&&s,c=e.role,l=Object(m.every)(t,function(e){return!Object(A.getBlockType)(e.name).useOnce});if(i||!l)return null;var u=Object(F.__)("Duplicate");return wp.element.createElement(O.IconButton,{className:"editor-block-settings-menu__control",onClick:Object(m.flow)(n,o),icon:"admin-page",label:a?u:void 0,role:c},!a&&u)});var wo=Object(v.compose)([Object(g.withSelect)(function(e,t){var n=t.uids,r=e("core/editor"),o=r.getEditorSettings,i=r.getBlocksByUID;return{isLocked:!!o().templateLock,blocks:i(n)}}),Object(g.withDispatch)(function(e,t){return{onTransform:function(n,r){e("core/editor").replaceBlocks(t.uids,Object(A.switchToBlockType)(n,r))}}})])(function(e){var t=e.blocks,n=e.small,r=void 0!==n&&n,o=e.onTransform,i=e.onClick,s=void 0===i?m.noop:i,a=e.isLocked,c=e.itemsRole,l=Object(A.getPossibleBlockTransformations)(t);return a||!l.length?null:wp.element.createElement(v.Fragment,null,wp.element.createElement("div",{className:"editor-block-settings-menu__separator"}),wp.element.createElement("span",{className:"editor-block-settings-menu__title"},Object(F.__)("Transform into:")),l.map(function(e){var n=e.name,i=e.title,a=e.icon;return wp.element.createElement(O.IconButton,{key:n,className:"editor-block-settings-menu__control",onClick:function(e){o(t,n),s(e)},icon:a,label:r?i:void 0,role:c},!r&&i)}))});var So=Object(v.compose)([Object(g.withSelect)(function(e,t){var n=t.uid,r=e("core/editor"),o=r.getBlock,i=r.getSharedBlock,s=o(n);return{sharedBlock:s&&Object(A.isSharedBlock)(s)?i(s.attributes.ref):null}}),Object(g.withDispatch)(function(e,t){var n=t.uid,r=t.onToggle,o=void 0===r?m.noop:r,i=e("core/editor"),s=i.convertBlockToShared,a=i.convertBlockToStatic,c=i.deleteSharedBlock;return{onConvertToStatic:function(){a(n),o()},onConvertToShared:function(){s(n),o()},onDelete:function(e){window.confirm(Object(F.__)("Are you sure you want to delete this Shared Block?\n\nIt will be permanently removed from all posts and pages that use it."))&&(c(e),o())}}})])(function(e){var t=e.sharedBlock,n=e.onConvertToStatic,r=e.onConvertToShared,o=e.onDelete,i=e.itemsRole;return wp.element.createElement(v.Fragment,null,!t&&wp.element.createElement(O.IconButton,{className:"editor-block-settings-menu__control",icon:"controls-repeat",onClick:r,role:i},Object(F.__)("Convert to Shared Block")),t&&wp.element.createElement(v.Fragment,null,wp.element.createElement(O.IconButton,{className:"editor-block-settings-menu__control",icon:"controls-repeat",onClick:n,role:i},Object(F.__)("Convert to Regular Block")),wp.element.createElement(O.IconButton,{className:"editor-block-settings-menu__control",icon:"no",disabled:t.isTemporary,onClick:function(){return o(t.id)},role:i},Object(F.__)("Delete Shared Block"))))});var Eo=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=t.uid,r=e("core/editor"),o=r.getBlock,i=r.getCurrentPostType;return{block:o(n),postType:i()}}),Object(g.withDispatch)(function(e){return{onReplace:e("core/editor").replaceBlocks}}),Object(O.withAPIData)(function(e){return{user:"/wp/v2/users/me?post_type="+e.postType+"&context=edit"}}))(function(e){var t=e.block,n=e.onReplace,r=e.small,o=e.user,i=e.role;if(!t||Object(A.getUnknownTypeHandlerName)()!==t.name)return null;var s=Object(F.__)("Convert to blocks");return wp.element.createElement(O.IconButton,{className:"editor-block-settings-menu__control",onClick:function(){n(t.uid,Object(A.rawHandler)({HTML:Object(A.serialize)(t),mode:"BLOCKS",canUserUseUnfilteredHTML:Object(m.get)(o,["data","capabilities","unfiltered_html"],!1)}))},icon:"screenoptions",label:r?s:void 0,role:i},!r&&s)}),jo=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={isFocused:!1},e.onFocus=e.onFocus.bind(e),e.onBlur=e.onBlur.bind(e),e}return h()(t,e),u()(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.uids,r=t.onSelect,o=t.focus,i=t.rootUID,s=t.renderBlockMenu,a=void 0===s?function(e){return e.children}:s,c=t.isHidden,l=this.state.isFocused,u=Object(m.castArray)(n),d=u.length,p=u[0];return wp.element.createElement("div",{className:Z()("editor-block-settings-menu",{"is-visible":l||!c})},wp.element.createElement(O.Dropdown,{contentClassName:"editor-block-settings-menu__popover",position:"bottom left",renderToggle:function(t){var n=t.onToggle,i=t.isOpen,s=Z()("editor-block-settings-menu__toggle",{"is-opened":i});return wp.element.createElement(O.IconButton,{className:s,onClick:function(){1===d&&r(p),n()},icon:"ellipsis",label:Object(F.__)("More Options"),"aria-expanded":i,focus:o,onFocus:e.onFocus,onBlur:e.onBlur})},renderContent:function(e){var t=e.onClose;return wp.element.createElement(O.NavigableMenu,{className:"editor-block-settings-menu__content"},a({onClose:t,children:[1===d&&wp.element.createElement(ko,{key:"mode-toggle",uid:p,onToggle:t,role:"menuitem"}),1===d&&wp.element.createElement(Eo,{key:"unknown-converter",uid:p,role:"menuitem"}),wp.element.createElement(Oo,{key:"duplicate",uids:n,rootUID:i,role:"menuitem"}),1===d&&wp.element.createElement(So,{key:"shared-block",uid:p,onToggle:t,itemsRole:"menuitem"}),wp.element.createElement(wo,{key:"transformations",uids:n,onClick:t,itemsRole:"menuitem"})]}))}}),wp.element.createElement(_o,{uids:n,onFocus:this.onFocus,onBlur:this.onBlur}))}}]),t}(v.Component),Co=Object(g.withDispatch)(function(e){return{onSelect:function(t){e("core/editor").selectBlock(t)}}})(jo);n(576);var To=function(e){var t=e.actions,n=e.children;return wp.element.createElement("div",{className:"editor-warning"},n,v.Children.count(t)>0&&wp.element.createElement("div",{className:"editor-warning__actions"},v.Children.map(t,function(e,t){return wp.element.createElement("span",{key:t,className:"editor-warning__action"},e)})))};var Po=Object(g.withDispatch)(function(e,t){var n=t.block,r=e("core/editor").replaceBlock;return{convertToHTML:function(){r(n.uid,Object(A.createBlock)("core/html",{content:n.originalContent}))},convertToBlocks:function(){r(n.uid,Object(A.rawHandler)({HTML:n.originalContent,mode:"BLOCKS"}))}}})(function(e){var t=e.convertToHTML,n=e.convertToBlocks,r=!!Object(A.getBlockType)("core/html");return wp.element.createElement(To,{actions:[wp.element.createElement(O.Button,{key:"convert",onClick:n,isLarge:!0,isPrimary:!r},Object(F.__)("Convert to Blocks")),r&&wp.element.createElement(O.Button,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},Object(F.__)("Edit as HTML"))]},Object(F.__)("This block appears to have been modified externally."))}),Bo=wp.element.createElement(To,null,Object(F.__)("This block has encountered an error and cannot be previewed.")),xo=function(){return Bo},Io=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={hasError:!1},e}return h()(t,e),u()(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(v.Component),Do=function(e){function t(e){c()(this,t);var n=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return n.onChange=n.onChange.bind(n),n.onBlur=n.onBlur.bind(n),n.state={html:e.block.isValid?Object(A.getBlockContent)(e.block):e.block.originalContent},n}return h()(t,e),u()(t,[{key:"componentWillReceiveProps",value:function(e){Object(m.isEqual)(e.block.attributes,this.props.block.attributes)||this.setState({html:Object(A.getBlockContent)(e.block)})}},{key:"onBlur",value:function(){var e=Object(A.getBlockType)(this.props.block.name),t=Object(A.getBlockAttributes)(e,this.state.html,this.props.block.attributes),n=Object(A.isValidBlock)(this.state.html,e,t);this.props.onChange(this.props.uid,t,this.state.html,n)}},{key:"onChange",value:function(e){this.setState({html:e.target.value})}},{key:"render",value:function(){var e=this.state.html;return wp.element.createElement(Ve.a,{className:"editor-block-list__block-html-textarea",value:e,onBlur:this.onBlur,onChange:this.onChange})}}]),t}(v.Component),Ao=Object(v.compose)([Object(g.withSelect)(function(e,t){return{block:e("core/editor").getBlock(t.uid)}}),Object(g.withDispatch)(function(e){return{onChange:function(t,n,r,o){e("core/editor").updateBlock(t,{attributes:n,originalContent:r,isValid:o})}}})])(Do),No=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.state={isFocused:!1},e.onFocus=e.onFocus.bind(e),e.onBlur=e.onBlur.bind(e),e}return h()(t,e),u()(t,[{key:"onFocus",value:function(e){this.setState({isFocused:!0}),e.stopPropagation()}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.uid,n=e.rootUID,r=e.selectRootBlock,o=e.isHidden,i=this.state.isFocused;return wp.element.createElement("div",{className:Z()("editor-block-list__breadcrumb",{"is-visible":!o||i})},wp.element.createElement(O.Toolbar,null,n&&wp.element.createElement(O.IconButton,{onClick:r,onFocus:this.onFocus,onBlur:this.onBlur,label:Object(F.__)("Select parent block"),icon:"arrow-left-alt"}),wp.element.createElement(Zt,{uid:t})))}}]),t}(v.Component),Ro=Object(v.compose)([Object(g.withSelect)(function(e,t){return{rootUID:(0,e("core/editor").getBlockRootUID)(t.uid)}}),Object(g.withDispatch)(function(e,t){var n=t.rootUID,r=e("core/editor").selectBlock;return{selectRootBlock:function(){return r(n)}}})])(No),Lo=window,Uo=Lo.Node,Mo=Lo.getSelection,Fo=b.keycodes.ESCAPE,Ho=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.bindNode=e.bindNode.bind(e),e.focusToolbar=e.focusToolbar.bind(e),e.focusSelection=e.focusSelection.bind(e),e.switchOnKeyDown=Object(m.cond)([[Object(m.matchesProperty)(["keyCode"],Fo),e.focusSelection]]),e}return h()(t,e),u()(t,[{key:"bindNode",value:function(e){this.toolbar=Object(v.findDOMNode)(e)}},{key:"focusToolbar",value:function(){var e=qe.focus.tabbable.find(this.toolbar);e.length&&e[0].focus()}},{key:"focusSelection",value:function(){var e=Mo();if(e){var t=e.focusNode;t.nodeType!==Uo.ELEMENT_NODE&&(t=t.parentElement),t&&t.focus()}}},{key:"render",value:function(){var e=this.props,t=e.children,n=Me()(e,["children"]);return wp.element.createElement(O.NavigableMenu,k()({orientation:"horizontal",role:"toolbar",deep:!0,ref:this.bindNode,onKeyDown:this.switchOnKeyDown},n),wp.element.createElement(O.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(v.Component);var Vo=function(){return wp.element.createElement(Ho,{className:"editor-block-contextual-toolbar","aria-label":Object(F.__)("Block Toolbar")},wp.element.createElement(ji,null))};var Ko=Object(g.withSelect)(function(e,t){var n=t.rootUID,r=e("core/editor"),o=r.getMultiSelectedBlockUids,i=r.isMultiSelecting,s=r.getBlockIndex,a=r.getBlockCount,c=o(),l=s(Object(m.first)(c),n),u=s(Object(m.last)(c),n);return{multiSelectedBlockUids:c,isSelecting:i(),isFirst:0===l,isLast:u+1===a()}})(function(e){var t=e.multiSelectedBlockUids,n=e.rootUID,r=e.isSelecting,o=e.isFirst,i=e.isLast;return r?null:[wp.element.createElement(bo,{key:"mover",rootUID:n,uids:t,isFirst:o,isLast:i}),wp.element.createElement(Co,{key:"menu",rootUID:n,uids:t,focus:!0})]});n(575);var Wo=function(e){var t=e.children;return wp.element.createElement("span",{className:"editor-inserter__no-blocks"},t||Object(F.__)("No blocks found."))};function zo(e){return e.filter(function(e){return!e.isDisabled})}var qo=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onNavigate=e.onNavigate.bind(e),e.activeItems=zo(e.props.items),e.state={current:e.activeItems.length>0?e.activeItems[0]:null},e}return h()(t,e),u()(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;Object(m.isEqual)(this.props.items,e.items)||(this.activeItems=zo(e.items),this.state.current&&this.activeItems.some(function(e){return e.id===t.state.current.id})||this.setState({current:this.activeItems.length>0?this.activeItems[0]:null}))}},{key:"createToggleBlockHover",value:function(e){var t=this;return this.props.onHover?function(){return t.props.onHover(e)}:null}},{key:"renderItem",value:function(e){var t=this.state.current,n=this.props.onSelectItem,r=t&&t.id===e.id;return wp.element.createElement("button",{role:"menuitem",key:e.id,className:"editor-inserter__block",onClick:function(){return n(e)},tabIndex:r||e.isDisabled?null:"-1",disabled:e.isDisabled,onMouseEnter:this.createToggleBlockHover(e),onMouseLeave:this.createToggleBlockHover(null),onFocus:this.createToggleBlockHover(e),onBlur:this.createToggleBlockHover(null),"aria-label":e.title},wp.element.createElement(N,{icon:e.icon}),e.title)}},{key:"onNavigate",value:function(e){var t=this.activeItems[e];t&&this.setState({current:t})}},{key:"render",value:function(){var e=this.props,t=e.labelledBy,n=e.items;return wp.element.createElement(O.NavigableMenu,{className:"editor-inserter__category-blocks",orientation:"both","aria-labelledby":t,cycle:!1,onNavigate:this.onNavigate},n.map(this.renderItem,this))}}]),t}(v.Component),Go={};function Yo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.noop;if(!Go[e]){var n=function(n){function r(){return c()(this,r),p()(this,(r.__proto__||s()(r)).apply(this,arguments))}return h()(r,n),u()(r,[{key:"componentWillReceiveProps",value:function(e){this.updateNestedSettings({supportedBlocks:e.allowedBlocks})}},{key:"componentWillUnmount",value:function(){Go[e][1]--||delete Go[e]}},{key:"componentDidMount",value:function(){Go[e][1]++,this.updateNestedSettings({supportedBlocks:this.props.allowedBlocks}),this.insertTemplateBlocks(this.props.template)}},{key:"insertTemplateBlocks",value:function(e){var t=this.props,n=t.block,r=t.insertBlocks;e&&!n.innerBlocks.length&&r(Object(A.synchronizeBlocksWithTemplate)([],e))}},{key:"updateNestedSettings",value:function(e){Object(m.isEqual)(this.props.blockListSettings,e)||this.props.updateNestedSettings(e)}},{key:"render",value:function(){return wp.element.createElement(_i,k()({rootUID:e,renderBlockMenu:t},Object(m.omit)(this.props,["allowedBlocks","block","blockListSettings","insertBlocks","template","updateNestedSettings"])))}}]),r}(v.Component),r=Object(v.compose)(Object(g.withSelect)(function(t){var n=t("core/editor"),r=n.getBlock,o=n.getBlockListSettings;return{block:r(e),blockListSettings:o(e)}}),Object(g.withDispatch)(function(t){var n=t("core/editor"),r=n.insertBlocks,o=n.updateBlockListSettings;return{insertBlocks:function(n){t(r(n,void 0,e))},updateNestedSettings:function(n){t(o(e,n))}}}))(n);Go[e]=[r,0]}return Go[e][0]}n(574);var Xo=function(e){function t(){return c()(this,t),p()(this,(t.__proto__||s()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"getChildContext",value:function(){return{createInnerBlockList:Yo}}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.attributes,r=Object(A.createBlock)(t,n);return wp.element.createElement("div",{className:"editor-block-preview"},wp.element.createElement("div",{className:"editor-block-preview__title"},Object(F.__)("Preview")),wp.element.createElement("div",{className:"editor-block-preview__content"},wp.element.createElement(ne,{name:t,focus:!1,attributes:r.attributes,setAttributes:m.noop})))}}]),t}(v.Component);Xo.childContextTypes={createInnerBlockList:m.noop};var $o=Xo,Jo=Object(m.pick)(b.keycodes,["UP","DOWN","LEFT","RIGHT"]),Qo=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.nodes={},e.state={filterValue:"",tab:"suggested",selectedItem:null},e.filter=e.filter.bind(e),e.searchItems=e.searchItems.bind(e),e.getItemsForTab=e.getItemsForTab.bind(e),e.sortItems=e.sortItems.bind(e),e.selectItem=e.selectItem.bind(e),e.tabScrollTop={suggested:0,blocks:0,embeds:0},e.switchTab=e.switchTab.bind(e),e.previewItem=e.previewItem.bind(e),e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.props.fetchSharedBlocks()}},{key:"componentDidUpdate",value:function(e,t){var n=this.searchItems(this.props.items);this.state.filterValue&&n.length?this.props.debouncedSpeak(Object(F.sprintf)(Object(F._n)("%d result found","%d results found",n.length),n.length),"assertive"):this.state.filterValue&&this.props.debouncedSpeak(Object(F.__)("No results."),"assertive"),this.state.tab!==t.tab&&(this.tabContainer.scrollTop=this.tabScrollTop[this.state.tab])}},{key:"filter",value:function(e){this.setState({filterValue:e.target.value})}},{key:"previewItem",value:function(e){this.setState({selectedItem:e})}},{key:"selectItem",value:function(e){this.props.onSelect(e),this.setState({filterValue:""})}},{key:"searchItems",value:function(e){return function(e,t){var n=t.toLowerCase().trim(),r=function(e){return-1!==e.toLowerCase().indexOf(n)};return e.filter(function(e){return r(e.title)||Object(m.some)(e.keywords,r)})}(e,this.state.filterValue)}},{key:"getItemsForTab",value:function(e){var t=this.props,n=t.items,r=t.frecentItems;if(this.state.filterValue)return n;var o=void 0;switch(e){case"suggested":return r;case"blocks":o=function(e){return"embed"!==e.category&&"shared"!==e.category};break;case"embeds":o=function(e){return"embed"===e.category};break;case"shared":o=function(e){return"shared"===e.category}}return Object(m.filter)(n,o)}},{key:"sortItems",value:function(e){if("suggested"===this.state.tab&&!this.state.filterValue)return e;return Object(m.sortBy)(e,function(e){return Object(m.findIndex)(Object(A.getCategories)(),function(t){return t.slug===e.category})})}},{key:"groupByCategory",value:function(e){return Object(m.groupBy)(e,function(e){return e.category})}},{key:"getVisibleItemsByCategory",value:function(e){return Object(m.flow)(this.searchItems,this.sortItems,this.groupByCategory)(e)}},{key:"renderItems",value:function(e,t){var n=this.props.instanceId,r=void 0===t?null:"editor-inserter__separator-"+t+"-"+n;return wp.element.createElement(qo,{items:e,labelledBy:r,onSelectItem:this.selectItem,onHover:this.previewItem})}},{key:"renderCategory",value:function(e,t){var n=this.props.instanceId;return t&&wp.element.createElement("div",{key:e.slug},wp.element.createElement("div",{className:"editor-inserter__separator",id:"editor-inserter__separator-"+e.slug+"-"+n,"aria-hidden":"true"},e.title),this.renderItems(t,e.slug))}},{key:"renderCategories",value:function(e){var t=this;return Object(m.isEmpty)(e)?wp.element.createElement(Wo,null):Object(A.getCategories)().map(function(n){return t.renderCategory(n,e[n.slug])})}},{key:"switchTab",value:function(e){this.tabScrollTop[this.state.tab]=this.tabContainer.scrollTop,this.setState({tab:e})}},{key:"renderTabView",value:function(e){var t=this.getItemsForTab(e);if("suggested"===e)return this.renderItems(t);if("shared"===e&&0===t.length)return wp.element.createElement(Wo,null,Object(F.__)("No shared blocks."));var n=this.getVisibleItemsByCategory(t),r=Gt()(n);if(1===r.length){var o=Oe()(r,1)[0];return this.renderItems(n[o])}return this.renderCategories(n)}},{key:"eventToOffset",value:function(e){return e.keyCode===b.keycodes.DOWN&&"tab"===document.activeElement.getAttribute("role")?1:Object(m.includes)(Jo,e.keyCode)?0:void 0}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.items,o=this.state.selectedItem,i=this.state.filterValue;return wp.element.createElement(O.TabbableContainer,{className:"editor-inserter__menu",deep:!0,eventToOffset:this.eventToOffset},wp.element.createElement("label",{htmlFor:"editor-inserter__search-"+n,className:"screen-reader-text"},Object(F.__)("Search for a block")),wp.element.createElement("input",{id:"editor-inserter__search-"+n,type:"search",placeholder:Object(F.__)("Search for a block"),className:"editor-inserter__search",onChange:this.filter,autoFocus:!0}),!i&&wp.element.createElement(O.TabPanel,{className:"editor-inserter__tabs",activeClass:"is-active",onSelect:this.switchTab,tabs:[{name:"suggested",title:Object(F.__)("Suggested"),className:"editor-inserter__tab"},{name:"blocks",title:Object(F.__)("Blocks"),className:"editor-inserter__tab"},{name:"embeds",title:Object(F.__)("Embeds"),className:"editor-inserter__tab"},{name:"shared",title:Object(F.__)("Shared"),className:"editor-inserter__tab"}]},function(t){return wp.element.createElement("div",{ref:function(t){return e.tabContainer=t}},e.renderTabView(t))}),i&&wp.element.createElement("div",{role:"menu",className:"editor-inserter__search-results"},this.renderCategories(this.getVisibleItemsByCategory(r))),o&&Object(A.isSharedBlock)(o)&&wp.element.createElement($o,{name:o.name,attributes:o.initialAttributes}))}}]),t}(v.Component),Zo=Object(v.compose)(Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getBlockInsertionPoint,r=t.getInserterItems,o=t.getFrecentInserterItems,i=t.getSupportedBlocks,s=(0,t.getEditorSettings)().allowedBlockTypes,a=i(n().rootUID,s);return{items:r(a),frecentItems:o(a)}}),Object(g.withDispatch)(function(e){return{fetchSharedBlocks:e("core/editor").fetchSharedBlocks}}),O.withSpokenMessages,O.withInstanceId)(Qo),ei=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onToggle=e.onToggle.bind(e),e}return h()(t,e),u()(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;e?this.props.showInsertionPoint():this.props.hideInsertionPoint(),t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.title,r=e.children,o=e.onInsertBlock,i=e.hasSupportedBlocks,s=e.isLocked;return!i||s?null:wp.element.createElement(O.Dropdown,{className:"editor-inserter",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:n,renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return wp.element.createElement(O.IconButton,{icon:"insert",label:Object(F.__)("Add block"),onClick:t,className:"editor-inserter__toggle","aria-haspopup":"true","aria-expanded":n},r)},renderContent:function(e){var t=e.onClose;return wp.element.createElement(Zo,{onSelect:function(e){o(e),t()}})}})}}]),t}(v.Component),ti=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getBlockInsertionPoint,o=t.getSelectedBlock,i=t.getSupportedBlocks,s=(0,t.getEditorSettings)(),a=s.allowedBlockTypes,c=s.templateLock,l=r(),u=i(l.rootUID,a);return{title:n("title"),insertionPoint:l,selectedBlock:o(),hasSupportedBlocks:!0===u||!Object(m.isEmpty)(u),isLocked:!!c}}),Object(g.withDispatch)(function(e,t){return{showInsertionPoint:e("core/editor").showInsertionPoint,hideInsertionPoint:e("core/editor").hideInsertionPoint,onInsertBlock:function(n){var r=t.insertionPoint,o=t.selectedBlock,i=r.index,s=r.rootUID,a=r.layout,c=n.name,l=n.initialAttributes,u=Object(A.createBlock)(c,k()({},l,{layout:a}));return o&&Object(A.isUnmodifiedDefaultBlock)(o)?e("core/editor").replaceBlocks(o.uid,u):e("core/editor").insertBlock(u,i,s)}}})])(ei);var ni=Object(po.ifViewportMatches)("< small")(function(e){var t=e.rootUID,n=e.uid,r=e.renderBlockMenu;return wp.element.createElement("div",{className:"editor-block-list__block-mobile-toolbar"},wp.element.createElement(ti,null),wp.element.createElement(bo,{uids:[n]}),wp.element.createElement(Co,{rootUID:t,uids:[n],renderBlockMenu:r}))}),ri=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onClick=e.onClick.bind(e),e}return h()(t,e),u()(t,[{key:"onClick",value:function(){var e=this.props,t=e.layout,n=e.rootUID,r=e.index,o=Me()(e,["layout","rootUID","index"]);o.insertDefaultBlock({layout:t},n,r),o.startTyping()}},{key:"render",value:function(){var e=this.props,t=e.showInsertionPoint,n=e.showInserter;return wp.element.createElement("div",{className:"editor-block-list__insertion-point"},t&&wp.element.createElement("div",{className:"editor-block-list__insertion-point-indicator"}),n&&wp.element.createElement("button",{className:"editor-block-list__insertion-point-inserter",onClick:this.onClick,"aria-label":Object(F.__)("Insert block")}))}}]),t}(v.Component),oi=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=t.uid,r=t.rootUID,o=e("core/editor"),i=o.getBlockIndex,s=o.getBlockInsertionPoint,a=o.getBlock,c=o.isBlockInsertionPointVisible,l=o.isTyping,u=o.getEditorSettings,d=n?i(n,r):-1,p=s(),f=n?a(n):null,h=c()&&p.index===d&&p.rootUID===r&&(!f||!Object(A.isUnmodifiedDefaultBlock)(f));return{templateLock:u().templateLock,showInserter:!l(),index:d,showInsertionPoint:h}}),Object(O.ifCondition)(function(e){return!e.templateLock}),Object(g.withDispatch)(function(e){var t=e("core/editor");return{insertDefaultBlock:t.insertDefaultBlock,startTyping:t.startTyping}}))(ri);var ii=function(e){var t=e.rootUID,n=e.index,r=e.uid,o=e.layout,i=e.isDragging,s=Me()(e,["rootUID","index","uid","layout","isDragging"]),a=Z()("editor-block-list__block-draggable",{"is-visible":i}),c={type:"block",fromIndex:n,rootUID:t,uid:r,layout:o};return wp.element.createElement(O.Draggable,k()({className:a,transferData:c},s),wp.element.createElement("div",{className:"editor-block-list__block-draggable-inner"}))},si=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.proxyEvent=e.proxyEvent.bind(e),e.eventMap={},e}return h()(t,e),u()(t,[{key:"proxyEvent",value:function(e){var t=!!e.nativeEvent._blockHandled;e.nativeEvent._blockHandled=!0;var n=this.eventMap[e.type];t&&(n+="Handled"),this.props[n]&&this.props[n](e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childHandledEvents,r=void 0===n?[]:n,o=Me()(t,["childHandledEvents"]),i=Object(m.reduce)([].concat(x()(r),x()(Gt()(o))),function(t,n){var r=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(r){!!r[2]&&delete o[n];var i="on"+r[1];t[i]=e.proxyEvent,e.eventMap[r[1].toLowerCase()]=i}return t},{});return wp.element.createElement("div",k()({},o,i))}}]),t}(v.Component);n(573);var ai=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=t.rootUID,r=e("core/editor"),o=r.getEditorSettings,i=r.getFrecentInserterItems,s=r.getSupportedBlocks,a=o(),c=a.templateLock;return{items:i(s(n,a.allowedBlockTypes),4),isLocked:!!c}}),Object(g.withDispatch)(function(e,t){var n=t.uid,r=t.rootUID,o=t.layout;return{onInsert:function(t){var i=t.name,s=t.initialAttributes,a=Object(A.createBlock)(i,k()({},s,{layout:o}));n?e("core/editor").replaceBlocks(n,a):e("core/editor").insertBlock(a,void 0,r)}}}))(function(e){var t=e.items,n=e.isLocked,r=e.onInsert;if(n)return null;var o=Object(m.filter)(t,function(e){return e.name!==Object(A.getDefaultBlockName)()||!Object(m.isEmpty)(e.initialAttributes)}).slice(0,3);return wp.element.createElement("div",{className:"editor-inserter-with-shortcuts"},o.map(function(e){return wp.element.createElement(O.IconButton,{key:e.id,className:"editor-inserter-with-shortcuts__block",onClick:function(){return r(e)},label:Object(F.sprintf)(Object(F.__)("Add %s"),e.title),icon:wp.element.createElement(N,{icon:e.icon})})}))}),ci=Object(v.createHigherOrderComponent)(function(e){var t=function(t){function n(){c()(this,n);var e=p()(this,(n.__proto__||s()(n)).apply(this,arguments));return e.state={hoverArea:null},e.onMouseLeave=e.onMouseLeave.bind(e),e.onMouseMove=e.onMouseMove.bind(e),e}return h()(n,t),u()(n,[{key:"componentDidMount",value:function(){this.container=Object(v.findDOMNode)(this),this.container.addEventListener("mousemove",this.onMouseMove),this.container.addEventListener("mouseleave",this.onMouseLeave)}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("mousemove",this.onMouseMove),this.container.removeEventListener("mouseleave",this.onMouseLeave)}},{key:"onMouseLeave",value:function(){this.state.hoverArea&&this.setState({hoverArea:null})}},{key:"onMouseMove",value:function(e){var t=this.props.isRTL,n=this.container.getBoundingClientRect(),r=n.width,o=n.left,i=n.right,s=null;e.clientX-o<r/3?s=t?"right":"left":i-e.clientX<r/3&&(s=t?"left":"right"),s!==this.state.hoverArea&&this.setState({hoverArea:s})}},{key:"render",value:function(){var t=this.state.hoverArea;return wp.element.createElement(e,k()({},this.props,{hoverArea:t}))}}]),n}(v.Component);return Object(g.withSelect)(function(e){return{isRTL:e("core/editor").getEditorSettings().isRTL}})(t)}),li=b.keycodes.BACKSPACE,ui=b.keycodes.DELETE,di=b.keycodes.ENTER,pi=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.setBlockListRef=e.setBlockListRef.bind(e),e.bindBlockNode=e.bindBlockNode.bind(e),e.setAttributes=e.setAttributes.bind(e),e.maybeHover=e.maybeHover.bind(e),e.hideHoverEffects=e.hideHoverEffects.bind(e),e.mergeBlocks=e.mergeBlocks.bind(e),e.insertBlocksAfter=e.insertBlocksAfter.bind(e),e.onFocus=e.onFocus.bind(e),e.preventDrag=e.preventDrag.bind(e),e.onPointerDown=e.onPointerDown.bind(e),e.deleteOrInsertAfterWrapper=e.deleteOrInsertAfterWrapper.bind(e),e.onBlockError=e.onBlockError.bind(e),e.onTouchStart=e.onTouchStart.bind(e),e.onClick=e.onClick.bind(e),e.onDragStart=e.onDragStart.bind(e),e.onDragEnd=e.onDragEnd.bind(e),e.selectOnOpen=e.selectOnOpen.bind(e),e.createInnerBlockList=e.createInnerBlockList.bind(e),e.hadTouchStart=!1,e.state={error:null,dragging:!1,isHovered:!1},e}return h()(t,e),u()(t,[{key:"createInnerBlockList",value:function(e){return Yo(e,this.props.renderBlockMenu)}},{key:"getChildContext",value:function(){return{createInnerBlockList:this.createInnerBlockList}}},{key:"componentDidMount",value:function(){this.props.isSelected&&this.focusTabbable()}},{key:"componentWillReceiveProps",value:function(e){(e.isTypingWithinBlock||e.isSelected)&&this.hideHoverEffects()}},{key:"componentDidUpdate",value:function(e){this.props.isSelected&&!e.isSelected&&this.focusTabbable()}},{key:"setBlockListRef",value:function(e){e=Object(v.findDOMNode)(e),this.wrapperNode=e,this.props.blockRef(e,this.props.uid)}},{key:"bindBlockNode",value:function(e){this.node=Object(v.findDOMNode)(e)}},{key:"focusTabbable",value:function(){var e=this.props.initialPosition;if(!this.wrapperNode.contains(document.activeElement)){var t=qe.focus.tabbable.find(this.node).filter(qe.isTextField),n=-1===e,r=(n?m.last:m.first)(t);if(r){if(r.focus(),n){var o=St.a.get(r.getAttribute("id"));o?(o.selection.select(o.getBody(),!0),o.selection.collapse(!1)):(Object(qe.placeCaretAtHorizontalEdge)(r,!0),Object(qe.placeCaretAtVerticalEdge)(r,!0))}}else this.wrapperNode.focus()}}},{key:"setAttributes",value:function(e){var t=this.props,n=t.block,r=t.onChange,o=Object(A.getBlockType)(n.name);r(n.uid,e);var i=Object(m.reduce)(e,function(e,t,n){return"meta"===Object(m.get)(o,["attributes",n,"source"])&&(e[o.attributes[n].meta]=t),e},{});Object(m.size)(i)&&this.props.onMetaChange(k()({},this.props.meta,i))}},{key:"onTouchStart",value:function(){this.hadTouchStart=!0}},{key:"onClick",value:function(){this.hadTouchStart=!1}},{key:"maybeHover",value:function(){var e=this.props,t=e.isMultiSelected,n=e.isSelected;this.state.isHovered||t||n||this.props.isMultiSelecting||this.hadTouchStart||this.setState({isHovered:!0})}},{key:"hideHoverEffects",value:function(){this.state.isHovered&&this.setState({isHovered:!1})}},{key:"mergeBlocks",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.props,n=t.block,r=t.previousBlockUid,o=t.nextBlockUid,i=t.onMerge;!e&&!r||e&&!o||(e?i(n.uid,o):i(r,n.uid))}},{key:"insertBlocksAfter",value:function(e){this.props.onInsertBlocks(e,this.props.order+1)}},{key:"onFocus",value:function(){this.props.isSelected||this.props.isMultiSelected||this.props.onSelect()}},{key:"preventDrag",value:function(e){e.preventDefault()}},{key:"onPointerDown",value:function(e){0===e.button&&(e.shiftKey?this.props.isSelected||(this.props.onShiftSelection(this.props.uid),e.preventDefault()):(this.props.onSelectionStart(this.props.uid),this.props.isMultiSelected&&this.props.onSelect()))}},{key:"deleteOrInsertAfterWrapper",value:function(e){var t=e.keyCode;if(e.target===this.wrapperNode&&!this.props.isLocked)switch(t){case di:this.props.onInsertBlocks([Object(A.createBlock)("core/paragraph")],this.props.order+1),e.preventDefault();break;case li:case ui:var n=this.props,r=n.uid,o=n.onRemove,i=n.previousBlockUid,s=n.onSelect;o(r),i&&s(i,-1),e.preventDefault()}}},{key:"onBlockError",value:function(e){this.setState({error:e})}},{key:"onDragStart",value:function(){this.setState({dragging:!0})}},{key:"onDragEnd",value:function(){this.setState({dragging:!1})}},{key:"selectOnOpen",value:function(e){e&&!this.props.isSelected&&this.props.onSelect()}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.order,r=e.mode,o=e.hasFixedToolbar,i=e.isLocked,s=e.isFirst,a=e.isLast,c=e.uid,l=e.rootUID,u=e.layout,d=e.renderBlockMenu,p=e.isSelected,f=e.isMultiSelected,h=e.isFirstMultiSelected,m=e.isLastInSelection,b=e.isTypingWithinBlock,g=e.isMultiSelecting,y=e.hoverArea,_=e.isLargeViewport,O=this.state.isHovered&&!g,w=t.name,S=t.isValid,E=Object(A.getBlockType)(w),j=Object(F.sprintf)(Object(F.__)("Block: %s"),E.title),C=Object(A.isUnmodifiedDefaultBlock)(t),T=(p||O)&&C,P=!T&&(p&&!b),B=(p||"left"===y)&&!T&&!g&&!f&&!b,x=(p||"right"===y)&&!g&&!f&&!b,I=O,D=P&&S&&(!o||!_),N=P,R=this.state,L=R.error,U=R.dragging,M=!f&&!s||f&&m||s&&!l&&!C,H=Z()("editor-block-list__block",{"has-warning":!S||!!L,"is-selected":P,"is-multi-selected":f,"is-hovered":O,"is-shared":Object(A.isSharedBlock)(E),"is-hidden":U,"is-typing":b}),V=this.props.onReplace,K=this.props.wrapperProps;E.getEditWrapperProps&&(K=k()({},K,E.getEditWrapperProps(t.attributes)));var W="block-"+c;return wp.element.createElement(si,k()({id:W,ref:this.setBlockListRef,onMouseOver:this.maybeHover,onMouseOverHandled:this.hideHoverEffects,onMouseLeave:this.hideHoverEffects,className:H,"data-type":t.name,onTouchStart:this.onTouchStart,onFocus:this.onFocus,onClick:this.onClick,onKeyDown:this.deleteOrInsertAfterWrapper,tabIndex:"0",childHandledEvents:["onDragStart","onMouseDown"]},K),!f&&wp.element.createElement(ii,{rootUID:l,index:n,uid:c,layout:u,onDragStart:this.onDragStart,onDragEnd:this.onDragEnd,isDragging:U,elementId:W}),M&&wp.element.createElement(oi,{uid:c,rootUID:l,layout:u}),wp.element.createElement(yo,{index:n,rootUID:l,layout:u}),B&&wp.element.createElement(bo,{uids:c,rootUID:l,layout:u,isFirst:s,isLast:a,isHidden:!(O||p)||"left"!==y}),x&&wp.element.createElement(Co,{uids:c,rootUID:l,renderBlockMenu:d,isHidden:!(O||p)||"right"!==y}),I&&wp.element.createElement(Ro,{uid:c,isHidden:!(O||p)||"left"!==y}),D&&wp.element.createElement(Vo,null),h&&wp.element.createElement(Ko,{rootUID:l}),wp.element.createElement(si,{ref:this.bindBlockNode,onDragStart:this.preventDrag,onMouseDown:this.onPointerDown,className:"editor-block-list__block-edit","aria-label":j,"data-block":c},wp.element.createElement(Io,{onError:this.onBlockError},S&&"visual"===r&&wp.element.createElement(ne,{name:w,isSelected:p,attributes:t.attributes,setAttributes:this.setAttributes,insertBlocksAfter:i?void 0:this.insertBlocksAfter,onReplace:i?void 0:V,mergeBlocks:i?void 0:this.mergeBlocks,id:c,isSelectionEnabled:this.props.isSelectionEnabled,toggleSelection:this.props.toggleSelection}),S&&"html"===r&&wp.element.createElement(Ao,{uid:c}),!S&&[wp.element.createElement("div",{key:"invalid-preview"},Object(A.getSaveElement)(E,t.attributes)),wp.element.createElement(Po,{key:"invalid-warning",block:t})]),N&&wp.element.createElement(ni,{rootUID:l,uid:c,renderBlockMenu:d})),!!L&&wp.element.createElement(xo,null),T&&wp.element.createElement(v.Fragment,null,wp.element.createElement("div",{className:"editor-block-list__side-inserter"},wp.element.createElement(ai,{uid:c,rootUID:l,layout:u,onToggle:this.selectOnOpen})),wp.element.createElement("div",{className:"editor-block-list__empty-block-inserter"},wp.element.createElement(ti,{position:"top right",onToggle:this.selectOnOpen}))))}}]),t}(v.Component),fi=Object(g.withSelect)(function(e,t){var n=t.uid,r=t.rootUID,o=e("core/editor"),i=o.isBlockSelected,s=o.getPreviousBlockUid,a=o.getNextBlockUid,c=o.getBlock,l=o.isBlockMultiSelected,u=o.isFirstMultiSelectedBlock,d=o.isMultiSelecting,p=o.isTyping,f=o.getBlockIndex,h=o.getEditedPostAttribute,m=o.getBlockMode,v=o.isSelectionEnabled,b=o.getSelectedBlocksInitialCaretPosition,g=o.getBlockSelectionEnd,y=o.getEditorSettings,k=i(n),_=y(),O=_.templateLock,w=_.hasFixedToolbar;return{previousBlockUid:s(n),nextBlockUid:a(n),block:c(n),isMultiSelected:l(n),isFirstMultiSelected:u(n),isMultiSelecting:d(),isLastInSelection:g()===n,isTypingWithinBlock:k&&p(),order:f(n,r),meta:h("meta"),mode:m(n),isSelectionEnabled:v(),initialPosition:b(),isSelected:k,isLocked:!!O,hasFixedToolbar:w}}),hi=Object(g.withDispatch)(function(e,t){var n=e("core/editor"),r=n.updateBlockAttributes,o=n.selectBlock,i=n.insertBlocks,s=n.removeBlock,a=n.mergeBlocks,c=n.replaceBlocks,l=n.editPost,u=n.toggleSelection;return{onChange:function(e,t){r(e,t)},onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.uid,n=arguments[1];o(e,n)},onInsertBlocks:function(e,n){var r=t.rootUID,o=t.layout;e=e.map(function(e){return Object(A.cloneBlock)(e,{layout:o})}),i(e,n,r)},onRemove:function(e){s(e)},onMerge:function(){a.apply(void 0,arguments)},onReplace:function(e){var n=t.layout;e=Object(m.castArray)(e).map(function(e){return Object(A.cloneBlock)(e,{layout:n})}),c([t.uid],e)},onMetaChange:function(e){l({meta:e})},toggleSelection:function(e){u(e)}}});pi.childContextTypes={createInnerBlockList:m.noop};var mi=Object(v.compose)(fi,hi,Object(po.withViewportMatch)({isLargeViewport:"medium"}),Object(O.withFilters)("editor.BlockListBlock"),ci)(pi);n(572);var vi=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=e("core/editor"),r=n.getBlockCount,o=n.getBlock,i=n.getEditorSettings,s=!r(t.rootUID),a=o(t.lastBlockUID),c=Object(m.get)(a,["name"])===Object(A.getDefaultBlockName)(),l=i(),u=l.templateLock,d=l.bodyPlaceholder;return{isVisible:s||!c,showPrompt:s,isLocked:!!u,placeholder:d}}),Object(g.withDispatch)(function(e,t){var n=e("core/editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.layout,n=t.rootUID,i=void 0;e&&(i={layout:e}),r(i,n),o()}}}))(function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,i=e.placeholder,s=e.layout,a=e.rootUID;if(t||!n)return null;var c=Object(b.decodeEntities)(i)||Object(F.__)("Write your story");return wp.element.createElement("div",{"data-root-uid":a||"",className:"editor-default-block-appender"},wp.element.createElement(yo,{rootUID:a,layout:s}),wp.element.createElement("input",{role:"button","aria-label":Object(F.__)("Add block"),className:"editor-default-block-appender__content",type:"text",readOnly:!0,onFocus:r,onClick:r,onKeyDown:r,value:o?c:""}),wp.element.createElement(ai,{rootUID:a,layout:s}),wp.element.createElement(ti,{position:"top right"}))}),bi=function(e){function t(e){c()(this,t);var n=p()(this,(t.__proto__||s()(t)).call(this,e));return n.onSelectionStart=n.onSelectionStart.bind(n),n.onSelectionEnd=n.onSelectionEnd.bind(n),n.onShiftSelection=n.onShiftSelection.bind(n),n.setBlockRef=n.setBlockRef.bind(n),n.setLastClientY=n.setLastClientY.bind(n),n.onPointerMove=Object(m.throttle)(n.onPointerMove.bind(n),100),n.onScroll=function(){return n.onPointerMove({clientY:n.lastClientY})},n.lastClientY=0,n.nodes={},n}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){window.addEventListener("mousemove",this.setLastClientY)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mousemove",this.setLastClientY)}},{key:"setLastClientY",value:function(e){var t=e.clientY;this.lastClientY=t}},{key:"setBlockRef",value:function(e,t){null===e?delete this.nodes[t]:this.nodes=k()({},this.nodes,de()({},t,e))}},{key:"onPointerMove",value:function(e){var t=e.clientY;this.props.isMultiSelecting||this.props.onStartMultiSelect();var n=t-this.nodes[this.selectionAtStart].getBoundingClientRect().top,r=Object(m.findLast)(this.coordMapKeys,function(e){return e<n});this.onSelectionChange(this.coordMap[r])}},{key:"onSelectionStart",value:function(e){if(this.props.isSelectionEnabled){var t=this.nodes[e].getBoundingClientRect(),n=Object(m.mapValues)(this.nodes,function(e){return e.getBoundingClientRect().top-t.top});this.coordMap=Object(m.invert)(n),this.coordMapKeys=Object(m.sortBy)(uo()(n)),this.selectionAtStart=e,window.addEventListener("mousemove",this.onPointerMove),window.addEventListener("scroll",this.onScroll,!0),window.addEventListener("mouseup",this.onSelectionEnd)}}},{key:"onSelectionChange",value:function(e){var t=this.props,n=t.onMultiSelect,r=t.selectionStart,o=t.selectionEnd,i=this.selectionAtStart,s=i===e;i&&this.props.isSelectionEnabled&&(s&&r&&n(null,null),s||o===e||n(i,e))}},{key:"onSelectionEnd",value:function(){this.onPointerMove.cancel(),delete this.coordMap,delete this.coordMapKeys,delete this.selectionAtStart,window.removeEventListener("mousemove",this.onPointerMove),window.removeEventListener("scroll",this.onScroll,!0),window.removeEventListener("mouseup",this.onSelectionEnd),this.props.isMultiSelecting&&this.props.onStopMultiSelect()}},{key:"onShiftSelection",value:function(e){if(this.props.isSelectionEnabled){var t=this.props,n=t.selectionStartUID,r=t.onMultiSelect,o=t.onSelect;n?r(n,e):o(e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.blockUIDs,r=t.layout,o=t.isGroupedByLayout,i=t.rootUID,s=t.renderBlockMenu,a=void 0;o&&(a=r);var c=Z()("editor-block-list__layout",de()({},"layout-"+r,r));return wp.element.createElement("div",{className:c},Object(m.map)(n,function(t,r){return wp.element.createElement(mi,{key:"block-"+t,index:r,uid:t,blockRef:e.setBlockRef,onSelectionStart:e.onSelectionStart,onShiftSelection:e.onShiftSelection,rootUID:i,layout:a,isFirst:0===r,isLast:r===n.length-1,renderBlockMenu:s})}),wp.element.createElement(si,{childHandledEvents:["onFocus","onClick","onKeyDown"]},wp.element.createElement(vi,{rootUID:i,lastBlockUID:Object(m.last)(n),layout:a})))}}]),t}(v.Component),gi=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.getMultiSelectedBlocksStartUid,i=t.getMultiSelectedBlocksEndUid,s=t.getBlockSelectionStart;return{selectionStart:o(),selectionEnd:i(),selectionStartUID:s(),isSelectionEnabled:n(),isMultiSelecting:r()}}),Object(g.withDispatch)(function(e){var t=e("core/editor");return{onStartMultiSelect:t.startMultiSelect,onStopMultiSelect:t.stopMultiSelect,onMultiSelect:t.multiSelect,onSelect:t.selectBlock}})])(bi),yi=Object(g.withSelect)(function(e,t){return{blockUIDs:e("core/editor").getBlockOrder(t.rootUID)}})(gi),ki=Object(g.withSelect)(function(e,t){return{blocks:e("core/editor").getBlocks(t.rootUID)}})(function(e){var t=e.blocks,n=e.layouts,r=Me()(e,["blocks","layouts"]);return Object(m.map)(n,function(e){var n=Object(m.reduce)(t,function(t,n){return Object(m.get)(n,["attributes","layout"])===e.name&&t.push(n.uid),t},[]);return wp.element.createElement(gi,k()({key:e.name,layout:e.name,isGroupedByLayout:!0,blockUIDs:n},r))})}),_i=function(e){return Object(v.createElement)(Array.isArray(e.layouts)?ki:yi,e)},Oi=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.bindContainer=e.bindContainer.bind(e),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(e),e}return h()(t,e),u()(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return wp.element.createElement("div",k()({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(m.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(v.Component),wi=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}}),Object(g.withDispatch)(function(e){return{clearSelectedBlock:e("core/editor").clearSelectedBlock}})])(Oi),Si=(n(571),n(570),b.keycodes.DOWN);var Ei=Object(v.compose)(Object(g.withSelect)(function(e,t){var n=e("core/editor"),r=n.getBlock,o=(0,n.getEditorSettings)().templateLock;return{blocks:t.uids.map(r),isLocked:!!o}}),Object(g.withDispatch)(function(e,t){return{onTransform:function(n,r){e("core/editor").replaceBlocks(t.uids,Object(A.switchToBlockType)(n,r))}}}))(function(e){var t=e.blocks,n=e.onTransform,r=e.isLocked,o=Object(A.getPossibleBlockTransformations)(t);if(r||!o.length)return null;var i=t[0].name,s=Object(A.getBlockType)(i);return wp.element.createElement(O.Dropdown,{className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,n=e.isOpen,r=Object(F.__)("Change block type");return wp.element.createElement(O.Toolbar,null,wp.element.createElement(O.IconButton,{className:"editor-block-switcher__toggle",icon:wp.element.createElement(N,{icon:s.icon}),onClick:t,"aria-haspopup":"true","aria-expanded":n,label:r,tooltip:r,onKeyDown:function(e){n||e.keyCode!==Si||(e.preventDefault(),e.stopPropagation(),t())}},wp.element.createElement(O.Dashicon,{icon:"arrow-down"})))},renderContent:function(e){var r=e.onClose;return wp.element.createElement("div",null,wp.element.createElement("span",{className:"editor-block-switcher__menu-title"},Object(F.__)("Transform into:")),wp.element.createElement(O.NavigableMenu,{role:"menu","aria-label":Object(F.__)("Block types")},o.map(function(e){var o=e.name,i=e.title,s=e.icon;return wp.element.createElement(O.IconButton,{key:o,onClick:function(){n(t,o),r()},className:"editor-block-switcher__menu-item",icon:wp.element.createElement("span",{className:"editor-block-switcher__block-icon"},wp.element.createElement(N,{icon:s})),role:"menuitem"},i)})))}})});var ji=Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlock,r=t.getBlockMode,o=n();return{block:o,mode:o?r(o.uid):null}})(function(e){var t=e.block,n=e.mode;return t&&t.isValid&&"visual"===n?wp.element.createElement("div",{className:"editor-block-toolbar"},wp.element.createElement(Ei,{uids:[t.uid]}),wp.element.createElement(J.Slot,null),wp.element.createElement(ae.Slot,null)):null}),Ci=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onCopy=e.onCopy.bind(e),e.onCut=e.onCut.bind(e),e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.onCopy),document.addEventListener("cut",this.onCut)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.onCopy),document.removeEventListener("cut",this.onCut)}},{key:"onCopy",value:function(e){var t=this.props,n=t.multiSelectedBlocks,r=t.selectedBlock;if((n.length||r)&&(!r||!Object(qe.documentHasSelection)())){var o=Object(A.serialize)(r||n);e.clipboardData.setData("text/plain",o),e.clipboardData.setData("text/html",o),e.preventDefault()}}},{key:"onCut",value:function(e){var t=this.props.multiSelectedBlockUids;this.onCopy(e),t.length&&this.props.onRemove(t)}},{key:"render",value:function(){return null}}]),t}(v.Component),Ti=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getMultiSelectedBlocks,r=t.getMultiSelectedBlockUids,o=t.getSelectedBlock;return{multiSelectedBlocks:n(),multiSelectedBlockUids:r(),selectedBlock:o()}}),Object(g.withDispatch)(function(e){return{onRemove:e("core/editor").removeBlocks}})])(Ci),Pi=n(89),Bi=9,xi="post-update",Ii=/%(?:postname|pagename)%/,Di=[];function Ai(e){return e.editor.past.length>0}function Ni(e){return e.editor.future.length>0}function Ri(e){return"auto-draft"===Mi(e).status}function Li(e){return e.editor.isDirty||ua(e,Li)}function Ui(e){return!Li(e)&&Ri(e)}function Mi(e){return e.currentPost}function Fi(e){return e.currentPost.type}function Hi(e){return Mi(e).id||null}function Vi(e){return Object(m.get)(Mi(e),["revisions","count"],0)}function Ki(e){return Object(m.get)(Mi(e),["revisions","last_id"],null)}function Wi(e){return Object(m.get)(e,["editor","present","edits"],{})}function zi(e,t){var n=Wi(e);switch(t){case"content":return Gs(e)}return void 0===n[t]?e.currentPost[t]:n[t]}function qi(e){var t=zi(e,"status"),n=zi(e,"password");return"private"===t?"private":n?"password":"public"}function Gi(e){return"pending"===Mi(e).status}function Yi(e){var t=Mi(e);return-1!==["publish","private"].indexOf(t.status)||"future"===t.status&&Object(or.moment)(t.date).isBefore(Object(or.moment)())}function Xi(e){return"future"===Mi(e).status&&!Yi(e)}function $i(e){var t=Mi(e);return Li(e)||-1===["publish","private","future"].indexOf(t.status)}function Ji(e){return!!zi(e,"title")||!!ts(e)||!Qi(e)}function Qi(e){return!ls(e)&&!zi(e,"content")}function Zi(e){var t=Object(or.moment)(zi(e,"date")),n=Object(or.moment)().add(1,"minute");return t.isAfter(n)}function es(e){var t=zi(e,"title");return t&&t.trim()||(t=Ui(e)?Object(F.__)("New post"):Object(F.__)("(Untitled)")),t}function ts(e){return void 0===e.editor.present.edits.excerpt?e.currentPost.excerpt:e.editor.present.edits.excerpt}function ns(e){var t=e.currentPost.link;return t?Je(t,{preview:"true"}):null}var rs=Object(Pi.a)(function(){return[]},function(e,t){return Object(m.map)(Ps(e,t),function(t){return is(e,t)})});function os(e,t){var n=e.editor.present.blocksByUID[t];return n?n.name:null}var is=Object(Pi.a)(function(e,t){var n=e.editor.present.blocksByUID[t];if(!n)return null;var r=n.attributes,o=Object(A.getBlockType)(n.name);return o&&(r=Object(m.reduce)(o.attributes,function(t,n,o){return"meta"===n.source&&(t===r&&(t=k()({},t)),t[o]=function(e,t){return Object(m.has)(e,["editor","present","edits","meta",t])?Object(m.get)(e,["editor","present","edits","meta",t]):Object(m.get)(e,["currentPost","meta",t])}(e,n.meta)),t},r)),k()({},n,{attributes:r,innerBlocks:ss(e,t)})},function(e,t){return[e.editor.present.blocksByUID[t],rs(e,t),e.editor.present.edits.meta,e.currentPost.meta]});var ss=Object(Pi.a)(function(e,t){return Object(m.map)(Ps(e,t),function(t){return is(e,t)})},function(e){return[e.editor.present.blockOrder,e.editor.present.blocksByUID]}),as=Object(Pi.a)(function(e,t){return t?Object(m.reduce)(e.editor.present.blocksByUID,function(e,n){return n.name===t?e+1:e},0):Object(m.size)(e.editor.present.blocksByUID)},function(e){return[e.editor.present.blocksByUID]}),cs=Object(Pi.a)(function(e,t){return Object(m.map)(Object(m.castArray)(t),function(t){return is(e,t)})},function(e){return[e.editor.present.blocksByUID,e.editor.present.blockOrder,e.editor.present.edits.meta,e.currentPost.meta,e.editor.present.blocksByUID]});function ls(e,t){return Ps(e,t).length}function us(e){return e.blockSelection.start}function ds(e){return e.blockSelection.end}function ps(e){var t=_s(e).length;return t||(e.blockSelection.start?1:0)}function fs(e){var t=e.blockSelection,n=t.start,r=t.end;return!!n&&n===r}function hs(e){var t=e.blockSelection,n=t.start;return n===t.end&&n?n:null}function ms(e){var t=hs(e);return t?is(e,t):null}function vs(e,t){var n=e.editor.present.blockOrder;for(var r in n)if(Object(m.includes)(n[r],t))return r;return null}function bs(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=Object(m.get)(ms(e),["uid"])),void 0===t&&(t=n<0?ws(e):Ss(e)),!t)return null;var r=vs(e,t);if(null===r)return null;var o=e.editor.present.blockOrder[r],i=o.indexOf(t)+1*n;return i<0?null:i===o.length?null:o[i]}function gs(e,t){return bs(e,t,-1)}function ys(e,t){return bs(e,t,1)}function ks(e){var t=e.blockSelection,n=t.start;return n===t.end&&n?e.blockSelection.initialPosition:null}var _s=Object(Pi.a)(function(e){var t=e.blockSelection,n=t.start,r=t.end;if(n===r)return[];var o=vs(e,n);if(null===o)return[];var i=Ps(e,o),s=i.indexOf(n),a=i.indexOf(r);return s>a?i.slice(a,s+1):i.slice(s,a+1)},function(e){return[e.editor.present.blockOrder,e.blockSelection.start,e.blockSelection.end]}),Os=Object(Pi.a)(function(e){var t=_s(e);return t.length?t.map(function(t){return is(e,t)}):Di},function(e){return[e.editor.present.blockOrder,e.blockSelection.start,e.blockSelection.end,e.editor.present.blocksByUID,e.editor.present.edits.meta,e.currentPost.meta]});function ws(e){return Object(m.first)(_s(e))||null}function Ss(e){return Object(m.last)(_s(e))||null}function Es(e,t){return ws(e)===t}function js(e,t){return-1!==_s(e).indexOf(t)}function Cs(e){var t=e.blockSelection,n=t.start;return n===t.end?null:n||null}function Ts(e){var t=e.blockSelection,n=t.start,r=t.end;return n===r?null:r||null}function Ps(e,t){return e.editor.present.blockOrder[t||""]||Di}function Bs(e,t,n){return Ps(e,n).indexOf(t)}function xs(e,t){var n=e.blockSelection,r=n.start;return r===n.end&&r===t}function Is(e,t){if(!t)return!1;var n=_s(e),r=n.indexOf(t);return r>-1&&r<n.length-1}function Ds(e){var t=e.blockSelection;return t.start!==t.end}function As(e){return e.blockSelection.isMultiSelecting}function Ns(e){return e.blockSelection.isEnabled}function Rs(e,t){return e.blocksMode[t]||"visual"}function Ls(e){return e.isTyping}function Us(e){var t=void 0,n=void 0,r=void 0,o=e.blockSelection.end;return o?(t=vs(e,o)||void 0,n=Object(m.get)(is(e,o),["attributes","layout"]),r=Bs(e,o,t)+1):r=Ps(e).length,{rootUID:t,layout:n,index:r}}function Ms(e){return e.isInsertionPointVisible}function Fs(e){return e.template.isValid}function Hs(e){return e.settings.template}function Vs(e){return e.settings.templateLock}function Ks(e){return e.saving.requesting}function Ws(e){return e.saving.successful}function zs(e){return!!e.saving.error}function qs(e){var t=Ps(e),n=void 0;switch(1===t.length&&(n=is(e,t[0]).name),2===t.length&&"core/paragraph"===is(e,t[1]).name&&(n=is(e,t[0]).name),n){case"core/image":return"image";case"core/quote":case"core/pullquote":return"quote";case"core/gallery":return"gallery";case"core/video":case"core-embed/youtube":case"core-embed/vimeo":return"video";case"core/audio":case"core-embed/spotify":case"core-embed/soundcloud":return"audio"}return null}var Gs=Object(Pi.a)(function(e){var t=Wi(e);return"content"in t?t.content:Object(A.serialize)(ss(e))},function(e){return[e.editor.present.edits.content,e.editor.present.blocksByUID,e.editor.present.blockOrder]});function Ys(e){return e.notices}function Xs(e,t,n){return t&&n?Array.isArray(t)&&!Object(m.includes)(t,n.name)?null:Object(A.hasBlockSupport)(n,"inserter",!0)?{id:n.name,name:n.name,initialAttributes:{},title:n.title,icon:n.icon,category:n.category,keywords:n.keywords,isDisabled:!!n.useOnce&&ss(e).some(function(e){return e.name===n.name})}:null:null}function $s(e,t,n){if(!t||!n)return null;if(Array.isArray(t)&&!Object(m.includes)(t,"core/block"))return null;var r=is(e,n.uid);if(!r)return null;var o=Object(A.getBlockType)(r.name);return o?{id:"core/block/"+n.id,name:"core/block",initialAttributes:{ref:n.id},title:n.title,icon:o.icon,category:"shared",keywords:[],isDisabled:!1}:null}function Js(e,t){if(!t)return[];var n=Object(A.getBlockTypes)().map(function(n){return Xs(e,t,n)}),r=ra(e).map(function(n){return $s(e,t,n)}),o=[].concat(x()(n),x()(r));return Object(m.compact)(o)}function Qs(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Bi;if(!n)return[];var o=function(e){var t=e.filter(function(e){return Object(A.getBlockType)(e.name)}),n=Object(A.getBlockTypes)().filter(function(e){return"common"===e.category}).map(function(e){return{name:e.name}});return Object(m.unionWith)(t,n,function(e,t){return e.name===t.name&&e.ref===t.ref})}(t).map(function(t){if(t.ref){var r=ea(e,t.ref);return $s(e,n,r)}var o=Object(A.getBlockType)(t.name);return Xs(e,n,o)});return Object(m.compact)(o).slice(0,r)}function Zs(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Bi,r=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<3600:return 4*t;case n<86400:return 2*t;case n<604800:return t/2;default:return t/4}};return Qs(e,Object(m.values)(e.preferences.insertUsage).sort(function(e,t){return r(t.time,t.count)-r(e.time,e.count)}).map(function(e){return e.insert}),t,n)}var ea=Object(Pi.a)(function(e,t){var n=e.sharedBlocks.data[t];if(!n)return null;var r=isNaN(parseInt(t));return k()({},n,{id:r?t:+t,isTemporary:r})},function(e,t){return[e.sharedBlocks.data[t]]});function ta(e,t){return e.sharedBlocks.isSaving[t]||!1}function na(e,t){return!!e.sharedBlocks.isFetching[t]}function ra(e){return Object(m.map)(e.sharedBlocks.data,function(t,n){return ea(e,n)})}function oa(e,t){var n=Object(m.find)(e.optimist,function(e){return e.beforeState&&Object(m.get)(e.action,["optimist","id"])===t});return n?n.beforeState:null}function ia(e){if(!Ks(e))return!1;if(!Yi(e))return!1;var t=oa(e,xi);return!!t&&!Yi(t)}function sa(e){return e.provisionalBlockUID}function aa(e){var t=zi(e,"permalink_template");return Ii.test(t)}function ca(e){var t=la(e),n=t.prefix,r=t.postName,o=t.suffix;return aa(e)?n+r+o:n}function la(e){var t=zi(e,"permalink_template"),n=zi(e,"slug")||zi(e,"generated_slug"),r=t.split(Ii),o=Oe()(r,2);return{prefix:o[0],postName:n,suffix:o[1]}}function ua(e,t){var n=e.optimist;return!!n&&n.some(function(e){var n=e.beforeState;return n&&t(n)})}function da(e,t){return e.blockListSettings[t]}function pa(e,t,n){if(!n)return!1;var r=Object(m.get)(da(e,t),["supportedBlocks"]);return!0===r||void 0===r?n:!!r&&(!0===n?r:Object(m.intersection)(n,r))}function fa(e){return e.settings}var ha=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.reboot=e.reboot.bind(e),e.getContent=e.getContent.bind(e),e.state={error:null},e}return h()(t,e),u()(t,[{key:"componentDidCatch",value:function(e){this.setState({error:e})}},{key:"reboot",value:function(){this.props.onError()}},{key:"getContent",value:function(){try{return Gs(this.context.store.getState())}catch(e){}}},{key:"render",value:function(){var e=this.state.error;return e?wp.element.createElement(To,{actions:[wp.element.createElement(O.Button,{key:"recovery",onClick:this.reboot,isLarge:!0},Object(F.__)("Attempt Recovery")),wp.element.createElement(O.ClipboardButton,{key:"copy-post",text:this.getContent,isLarge:!0},Object(F.__)("Copy Post Text")),wp.element.createElement(O.ClipboardButton,{key:"copy-error",text:e.stack,isLarge:!0},Object(F.__)("Copy Error"))]},Object(F.__)("The editor has encountered an unexpected error.")):this.props.children}}]),t}(v.Component);ha.contextTypes={store:m.noop};var ma=ha;var va=Object(g.withSelect)(function(e){var t=e("core/editor").getMultiSelectedBlockUids();return{isMultiBlockSelection:t.length>1,selectedBlockUids:t}})(function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockUids;return t?wp.element.createElement(Ei,{key:"switcher",uids:n}):null}),ba=function(e){function t(){return c()(this,t),p()(this,(t.__proto__||s()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"componentDidUpdate",value:function(){this.scrollIntoView()}},{key:"scrollIntoView",value:function(){var e=this.props.extentUID;if(e){var t=so(e);if(t){var n=Object(qe.getScrollContainer)(t);n&&Ze()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(v.Component),ga=Object(g.withSelect)(function(e){return{extentUID:e("core/editor").getLastMultiSelectedBlockUid()}})(ba),ya=[b.keycodes.UP,b.keycodes.RIGHT,b.keycodes.DOWN,b.keycodes.LEFT,b.keycodes.ENTER,b.keycodes.BACKSPACE];var ka=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(e),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(e),e.startTypingInTextField=e.startTypingInTextField.bind(e),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(e),e.lastMouseMove=null,e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var r=this.lastMouseMove,o=r.clientX,i=r.clientY;o===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,r=t.onStartTyping,o=e.type,i=e.target;n||!Object(qe.isTextField)(i)||i.closest(".editor-block-toolbar")||("keydown"!==o||function(e){var t=e.keyCode;return!e.shiftKey&&Object(m.includes)(ya,t)}(e))&&r()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout(function(){var n=t.props,r=n.isTyping,o=n.onStopTyping,i=e.target;r&&!Object(qe.isTextField)(i)&&o()})}},{key:"render",value:function(){var e=this.props.children;return wp.element.createElement("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.startTypingInTextField},e)}}]),t}(v.Component),_a=Object(v.compose)([Object(g.withSelect)(function(e){return{isTyping:(0,e("core/editor").isTyping)()}}),Object(g.withDispatch)(function(e){var t=e("core/editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}}),O.withSafeTimeout])(ka),Oa=function(e){function t(){return c()(this,t),p()(this,(t.__proto__||s()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"componentWillUpdate",value:function(e){var t=e.blockOrder,n=e.selectionStart;t!==this.props.blockOrder&&n&&this.setPreviousOffset(n)}},{key:"componentDidUpdate",value:function(){this.previousOffset&&this.restorePreviousOffset()}},{key:"setPreviousOffset",value:function(e){var t=so(e);t&&(this.previousOffset=t.getBoundingClientRect().top)}},{key:"restorePreviousOffset",value:function(){var e=so(this.props.selectionStart);if(e){var t=Object(qe.getScrollContainer)(e);t&&(t.scrollTop=t.scrollTop+e.getBoundingClientRect().top-this.previousOffset)}delete this.previousOffset}},{key:"render",value:function(){return null}}]),t}(v.Component),wa=Object(g.withSelect)(function(e){return{blockOrder:e("core/editor").getBlockOrder(),selectionStart:e("core/editor").getBlockSelectionStart()}})(Oa),Sa=(n(569),b.keycodes.UP),Ea=b.keycodes.DOWN,ja=b.keycodes.LEFT,Ca=b.keycodes.RIGHT,Ta=Object(m.overEvery)([qe.isTextField,qe.focus.tabbable.isTabbableIndex]),Pa=function(e){function t(){c()(this,t);var e=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.onKeyDown=e.onKeyDown.bind(e),e.bindContainer=e.bindContainer.bind(e),e.clearVerticalRect=e.clearVerticalRect.bind(e),e.focusLastTextField=e.focusLastTextField.bind(e),e.verticalRect=null,e}return h()(t,e),u()(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearVerticalRect",value:function(){this.verticalRect=null}},{key:"getClosestTabbable",value:function(e,t){var n=qe.focus.focusable.find(this.container);return t&&(n=Object(m.reverse)(n)),n=n.slice(n.indexOf(e)+1),Object(m.find)(n,function t(n,r,o){if(!qe.focus.tabbable.isTabbableIndex(n))return!1;if(!Object(qe.isTextField)(n)&&!n.classList.contains("editor-block-list__block"))return!1;if(n.contains(e))return!1;for(var i,s=1;(i=o[r+s])&&n.contains(i);s++)if(t(i,r+s,o))return!1;return!0})}},{key:"expandSelection",value:function(e){var t=this.props,n=t.selectedBlockUID,r=t.selectionStartUID,o=t.selectionBeforeEndUID,i=t.selectionAfterEndUID,s=e?o:i;s&&this.props.onMultiSelect(r||n,s)}},{key:"moveSelection",value:function(e){var t=this.props,n=t.selectedFirstUid,r=t.selectedLastUid,o=e?n:r;o&&this.props.onSelectBlock(o)}},{key:"isTabbableEdge",value:function(e,t){var n,r,o=this.getClosestTabbable(e,t);return!(o&&(n=e,r=o,n.closest("[data-block]")===r.closest("[data-block]")))}},{key:"onKeyDown",value:function(e){var t=this.props.hasMultiSelection,n=e.keyCode,r=e.target,o=n===Sa,i=n===ja,s=o||i,a=i||n===Ca,c=o||n===Ea,l=a||c,u=e.shiftKey,d=c?qe.isVerticalEdge:qe.isHorizontalEdge;if(c?this.verticalRect||(this.verticalRect=Object(qe.computeCaretRect)(r)):this.verticalRect=null,l)if(u&&(t||this.isTabbableEdge(r,s)&&d(r,s,!0)))this.expandSelection(s),e.preventDefault();else if(t)this.moveSelection(s),e.preventDefault();else if(c&&Object(qe.isVerticalEdge)(r,s,u)){var p=this.getClosestTabbable(r,s);p&&(Object(qe.placeCaretAtVerticalEdge)(p,s,this.verticalRect),e.preventDefault())}else if(a&&Object(qe.isHorizontalEdge)(r,s,u)){var f=this.getClosestTabbable(r,s);Object(qe.placeCaretAtHorizontalEdge)(f,s),e.preventDefault()}}},{key:"focusLastTextField",value:function(){var e=qe.focus.focusable.find(this.container),t=Object(m.findLast)(e,Ta);t&&Object(qe.placeCaretAtHorizontalEdge)(t,!0)}},{key:"render",value:function(){var e=this.props.children;return wp.element.createElement("div",{className:"editor-writing-flow"},wp.element.createElement("div",{ref:this.bindContainer,onKeyDown:this.onKeyDown,onMouseDown:this.clearVerticalRect},e),wp.element.createElement("div",{"aria-hidden":!0,tabIndex:-1,onClick:this.focusLastTextField,className:"editor-writing-flow__click-redirect"}))}}]),t}(v.Component),Ba=Object(v.compose)([Object(g.withSelect)(function(e){var t=e("core/editor"),n=t.getSelectedBlockUID,r=t.getMultiSelectedBlocksStartUid,o=t.getMultiSelectedBlocksEndUid,i=t.getPreviousBlockUid,s=t.getNextBlockUid,a=t.getFirstMultiSelectedBlockUid,c=t.getLastMultiSelectedBlockUid,l=t.hasMultiSelection,u=n(),d=r(),p=o();return{selectedBlockUID:u,selectionStartUID:d,selectionBeforeEndUID:i(p||u),selectionAfterEndUID:s(p||u),selectedFirstUid:a(),selectedLastUid:c(),hasMultiSelection:l()}}),Object(g.withDispatch)(function(e){var t=e("core/editor");return{onMultiSelect:t.multiSelect,onSelectBlock:t.selectBlock}})])(Pa),xa=function(e){function t(e){c()(this,t);var n=p()(this,(t.__proto__||s()(t)).apply(this,arguments));return e.recovery||(n.props.updateEditorSettings(e.settings),n.props.setupEditor(e.post)),n}return h()(t,e),u()(t,[{key:"componentDidUpdate",value:function(e){this.props.settings!==e.settings&&this.props.updateEditorSettings(this.props.settings)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.undo,r=e.redo,o=e.createUndoLevel,i=[[Xt,{onUndo:n,onRedo:r,onCreateUndoLevel:o}],[O.SlotFillProvider],[O.APIProvider,k()({},wpApiSettings,Object(m.pick)(wp.api,["postTypeRestBaseMapping","taxonomyRestBaseMapping"]))],[O.DropZoneProvider]];return Object(m.flow)(i.map(function(e){var t=Oe()(e,2),n=t[0],r=t[1];return function(e){return Object(v.createElement)(n,r,e)}}))(t)}}]),t}(v.Component),Ia=Object(g.withDispatch)(function(e){var t=e("core/editor"),n=t.setupEditor,r=t.updateEditorSettings;return{setupEditor:n,undo:t.undo,redo:t.redo,createUndoLevel:t.createUndoLevel,updateEditorSettings:r}})(xa),Da={Autocomplete:P,AlignmentToolbar:V,BlockAlignmentToolbar:q,BlockControls:J,BlockEdit:ne,BlockFormatControls:ae,BlockIcon:N,ColorPalette:le,ContrastChecker:ke,ImagePlaceholder:Ee,InnerBlocks:Ce,InspectorAdvancedControls:Ie,InspectorControls:Le,PlainText:Ke,RichText:zt,RichTextProvider:Xt,MediaUpload:Se,UrlInput:st,UrlInputButton:$t},Aa={withColorContext:ce,getColorClass:fe,getColorName:pe,withColors:be,editorMediaUpload:we};Object(m.forEach)(Da,function(e,t){wp.blocks[t]=function(n){function r(){c()(this,r);var e=p()(this,(r.__proto__||s()(r)).apply(this,arguments));return Object(b.deprecated)("wp.blocks."+t,{version:"3.1",alternative:"wp.editor."+t,plugin:"Gutenberg"}),e}return h()(r,n),u()(r,[{key:"render",value:function(){return wp.element.createElement(e,this.props)}}]),r}(v.Component)}),Object(m.forEach)(Aa,function(e,t){wp.blocks[t]=function(){return Object(b.deprecated)("wp.blocks."+t,{version:"3.1",alternative:"wp.editor."+t,plugin:"Gutenberg"}),e.apply(void 0,arguments)}}),wp.blocks.withEditorSettings=function(e){return function(t){var n=Object(g.withSelect)(function(t,n){var r=t("core/editor").getEditorSettings();return e?e(r,n):{settings:r}});return Object(b.deprecated)("wp.blocks.withEditorSettings",{version:"3.1",alternative:'the data module to access the editor settings `wp.data.select( "core/editor" ).getEditorSettings()`',plugin:"Gutenberg"}),n(t)}};var Na=n(69),Ra=n.n(Na),La=n(161),Ua=n.n(La),Ma={resetTypes:[],ignoreTypes:[],shouldOverwriteState:function(){return!1}},Fa=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){(e=k()({},Ma,e)).shouldOverwriteState=Object(m.overSome)([e.shouldOverwriteState,function(t){return Object(m.includes)(e.ignoreTypes,t.type)}]);var n={past:[],present:t(void 0,{}),future:[]},r=void 0,o=!1,i=e,s=i.resetTypes,a=void 0===s?[]:s,c=i.shouldOverwriteState,l=void 0===c?function(){return!1}:c;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,i=arguments[1],s=e.past,c=e.present,u=e.future,d=r;switch(r=i,i.type){case"UNDO":return s.length?{past:Object(m.dropRight)(s),present:Object(m.last)(s),future:[c].concat(x()(u))}:e;case"REDO":return u.length?{past:[].concat(x()(s),[c]),present:Object(m.first)(u),future:Object(m.drop)(u)}:e;case"CREATE_UNDO_LEVEL":return o=!0,e}var p=t(c,i);if(Object(m.includes)(a,i.type))return{past:[],present:p,future:[]};if(c===p)return e;var f=s;return!(o=!s.length||o)&&l(i,d)||(f=[].concat(x()(s),[c])),o=!1,{past:f,present:p,future:[]}}}},Ha=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n,r){var o=t(n,r),i=void 0===n||Object(m.includes)(e.resetTypes,r.type),s=n!==o;if(!s&&!i)return n;s&&void 0!==n||(o=k()({},o));var a=Object(m.includes)(e.ignoreTypes,r.type);return o.isDirty=a?n.isDirty:!i&&s,o}}},Va={insertUsage:{}},Ka={alignWide:!1,colors:[{name:"pale pink",color:"#f78da7"},{name:"vivid red",color:"#cf2e2e"},{name:"luminous vivid orange",color:"#ff6900"},{name:"luminous vivid amber",color:"#fcb900"},{name:"light green cyan",color:"#7bdcb5"},{name:"vivid green cyan",color:"#00d084"},{name:"pale cyan blue",color:"#8ed1fc"},{name:"vivid cyan blue",color:"#0693e3"},{name:"very light gray",color:"#eeeeee"},{name:"cyan bluish gray",color:"#abb8c3"},{name:"very dark gray",color:"#313131"}],maxWidth:608,allowedBlockTypes:!0};function Wa(e,t,n){return[].concat(x()(e.slice(0,n)),x()(Object(m.castArray)(t)),x()(e.slice(n)))}function za(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=[].concat(x()(e));return o.splice(t,r),Wa(o,e.slice(t,t+r),n)}function qa(e){return e&&"object"===(void 0===e?"undefined":Ra()(e))&&"raw"in e?e.raw:e}function Ga(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=de()({},t,[]);return e.forEach(function(e){var r=e.uid,o=e.innerBlocks;n[t].push(r),Ot()(n,Ga(o,r))}),n}function Ya(e){for(var t={},n=[].concat(x()(e));n.length;){var r=n.shift(),o=r.innerBlocks,i=Me()(r,["innerBlocks"]);n.push.apply(n,x()(o)),t[i.uid]=i}return t}function Xa(e,t){return Object(m.isEqual)(Object(m.keys)(e),Object(m.keys)(t))}function $a(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&e.uid===t.uid&&Xa(e.attributes,t.attributes)}function Ja(e,t){return"EDIT_POST"===e.type&&Xa(e.edits,t.edits)}var Qa=Object(m.flow)([g.combineReducers,function(e){return function(t,n){if(t&&"REMOVE_BLOCKS"===n.type){for(var r=[].concat(x()(n.uids)),o=0;o<r.length;o++)r.push.apply(r,x()(t.blockOrder[r[o]]));n=k()({},n,{uids:r})}return e(t,n)}},Fa({resetTypes:["SETUP_EDITOR_STATE"],ignoreTypes:["RECEIVE_BLOCKS"],shouldOverwriteState:function(e,t){return!(!t||e.type!==t.type)&&Object(m.overSome)([$a,Ja])(e,t)}}),Ha({resetTypes:["SETUP_EDITOR_STATE","UPDATE_POST"],ignoreTypes:["RECEIVE_BLOCKS","RESET_POST"]})])({edits:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"EDIT_POST":case"SETUP_EDITOR_STATE":return Object(m.reduce)(t.edits,function(t,n,r){return n!==e[r]&&(t===e&&(t=k()({},e)),t[r]=n),t},e);case"RESET_BLOCKS":return"content"in e?Object(m.omit)(e,"content"):e;case"UPDATE_POST":case"RESET_POST":var n="UPDATE_POST"===t.type?function(e){return t.edits[e]}:function(e){return qa(t.post[e])};return Object(m.reduce)(e,function(t,r,o){return r!==n(o)?t:(e===t&&(t=k()({},e)),delete t[o],t)},e)}return e},blocksByUID:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"RESET_BLOCKS":case"SETUP_EDITOR_STATE":return Ya(t.blocks);case"RECEIVE_BLOCKS":return k()({},e,Ya(t.blocks));case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.uid])return e;var n=Object(m.reduce)(t.attributes,function(n,r,o){return r!==n[o]&&(n===e[t.uid].attributes&&(n=k()({},n)),n[o]=r),n},e[t.uid].attributes);return n===e[t.uid].attributes?e:k()({},e,de()({},t.uid,k()({},e[t.uid],{attributes:n})));case"MOVE_BLOCK_TO_POSITION":return e[t.uid].attributes.layout===t.layout?e:k()({},e,de()({},t.uid,k()({},e[t.uid],{attributes:k()({},e[t.uid].attributes,{layout:t.layout})})));case"UPDATE_BLOCK":return e[t.uid]?k()({},e,de()({},t.uid,k()({},e[t.uid],t.updates))):e;case"INSERT_BLOCKS":return k()({},e,Ya(t.blocks));case"REPLACE_BLOCKS":return t.blocks?k()({},Object(m.omit)(e,t.uids),Ya(t.blocks)):e;case"REMOVE_BLOCKS":return Object(m.omit)(e,t.uids);case"SAVE_SHARED_BLOCK_SUCCESS":var r=t.id,o=t.updatedId;return r===o?e:Object(m.mapValues)(e,function(e){return"core/block"===e.name&&e.attributes.ref===r?k()({},e,{attributes:k()({},e.attributes,{ref:o})}):e})}return e},blockOrder:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"RESET_BLOCKS":case"SETUP_EDITOR_STATE":return Ga(t.blocks);case"RECEIVE_BLOCKS":return k()({},e,Object(m.omit)(Ga(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootUID,r=void 0===n?"":n,o=t.blocks,i=e[r]||[],s=Ga(o,r),a=t.index,c=void 0===a?i.length:a;return k()({},e,s,de()({},r,Wa(i,s[r],c)));case"MOVE_BLOCK_TO_POSITION":var l,u=t.fromRootUID,d=void 0===u?"":u,p=t.toRootUID,f=void 0===p?"":p,h=t.uid,v=t.index,b=void 0===v?e[f].length:v;if(d===f){var g=e[f].indexOf(h);return k()({},e,de()({},f,za(e[f],g,b)))}return k()({},e,(l={},de()(l,d,Object(m.without)(e[d],h)),de()(l,f,Wa(e[f],h,b)),l));case"MOVE_BLOCKS_UP":var y=t.uids,_=t.rootUID,O=void 0===_?"":_,w=Object(m.first)(y),S=e[O];if(!S.length||w===Object(m.first)(S))return e;var E=S.indexOf(w);return k()({},e,de()({},O,za(S,E,E-1,y.length)));case"MOVE_BLOCKS_DOWN":var j=t.uids,C=t.rootUID,T=void 0===C?"":C,P=Object(m.first)(j),B=Object(m.last)(j),I=e[T];if(!I.length||B===Object(m.last)(I))return e;var D=I.indexOf(P);return k()({},e,de()({},T,za(I,D,D+1,j.length)));case"REPLACE_BLOCKS":var A=t.blocks,N=t.uids;if(!A)return e;var R=Ga(A);return Object(m.flow)([function(e){return Object(m.omit)(e,N)},function(e){return k()({},e,Object(m.omit)(R,""))},function(e){return Object(m.mapValues)(e,function(e){return Object(m.reduce)(e,function(e,t){return t===N[0]?[].concat(x()(e),x()(R[""])):(-1===N.indexOf(t)&&e.push(t),e)},[])})}])(e);case"REMOVE_BLOCKS":return Object(m.flow)([function(e){return Object(m.omit)(e,t.uids)},function(e){return Object(m.mapValues)(e,function(e){return m.without.apply(void 0,[e].concat(x()(t.uids)))})}])(e)}return e}});var Za=Object(g.combineReducers)({data:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"RECEIVE_SHARED_BLOCKS":return Object(m.reduce)(t.results,function(t,n){var r=n.sharedBlock,o=r.id,i=r.title,s={uid:n.parsedBlock.uid,title:i};return Object(m.isEqual)(t[o],s)||(t===e&&(t=k()({},t)),t[o]=s),t},e);case"UPDATE_SHARED_BLOCK_TITLE":var n=t.id,r=t.title;return e[n]&&e[n].title!==r?k()({},e,de()({},n,k()({},e[n],{title:r}))):e;case"SAVE_SHARED_BLOCK_SUCCESS":var o=t.id,i=t.updatedId;if(o===i)return e;var s=e[o];return k()({},Object(m.omit)(e,o),de()({},i,s));case"REMOVE_SHARED_BLOCK":var a=t.id;return Object(m.omit)(e,a)}return e},isFetching:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"FETCH_SHARED_BLOCKS":var n=t.id;return n?k()({},e,de()({},n,!0)):e;case"FETCH_SHARED_BLOCKS_SUCCESS":case"FETCH_SHARED_BLOCKS_FAILURE":var r=t.id;return Object(m.omit)(e,r)}return e},isSaving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"SAVE_SHARED_BLOCK":return k()({},e,de()({},t.id,!0));case"SAVE_SHARED_BLOCK_SUCCESS":case"SAVE_SHARED_BLOCK_FAILURE":var n=t.id;return Object(m.omit)(e,n)}return e}}),ec=Ua()(Object(g.combineReducers)({editor:Qa,currentPost:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":var n=void 0;if(t.post)n=t.post;else{if(!t.edits)return e;n=k()({},e,t.edits)}return Object(m.mapValues)(n,qa)}return e},isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch(arguments[1].type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},blockSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{start:null,end:null,isMultiSelecting:!1,isEnabled:!0,initialPosition:null},t=arguments[1];switch(t.type){case"CLEAR_SELECTED_BLOCK":return null!==e.start||null!==e.end||e.isMultiSelecting?k()({},e,{start:null,end:null,isMultiSelecting:!1,initialPosition:null}):e;case"START_MULTI_SELECT":return e.isMultiSelecting?e:k()({},e,{isMultiSelecting:!0,initialPosition:null});case"STOP_MULTI_SELECT":return e.isMultiSelecting?k()({},e,{isMultiSelecting:!1,initialPosition:null}):e;case"MULTI_SELECT":return k()({},e,{start:t.start,end:t.end,initialPosition:null});case"SELECT_BLOCK":return t.uid===e.start&&t.uid===e.end?e:k()({},e,{start:t.uid,end:t.uid,initialPosition:t.initialPosition});case"INSERT_BLOCKS":return k()({},e,{start:t.blocks[0].uid,end:t.blocks[0].uid,initialPosition:null,isMultiSelecting:!1});case"REMOVE_BLOCKS":return t.uids&&t.uids.length&&-1!==t.uids.indexOf(e.start)?k()({},e,{start:null,end:null,initialPosition:null,isMultiSelecting:!1}):e;case"REPLACE_BLOCKS":if(-1===t.uids.indexOf(e.start))return e;var n=Object(m.get)(t.blocks,[0,"uid"],null);return k()({},e,{start:n,end:n,initialPosition:null,isMultiSelecting:!1});case"TOGGLE_SELECTION":return k()({},e,{isEnabled:t.isSelectionEnabled})}return e},provisionalBlockUID:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments[1];switch(t.type){case"INSERT_BLOCKS":if(t.isProvisional)return Object(m.first)(t.blocks).uid;break;case"RESET_BLOCKS":return null;case"UPDATE_BLOCK_ATTRIBUTES":case"UPDATE_BLOCK":case"CONVERT_BLOCK_TO_SHARED":if(t.uid===e)return null;break;case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":var n=t.uids;if(Object(m.includes)(n,e))return null}return e},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if("TOGGLE_BLOCK_MODE"===t.type){var n=t.uid;return k()({},e,de()({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(m.omit)(e,t.uids);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.id;if(n&&!t.settings)return Object(m.omit)(e,n);var r=e[n];if(!Object(m.isEqual)(r,t.settings))return k()({},e,de()({},n,k()({},t.settings)))}return e},isInsertionPointVisible:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch(arguments[1].type){case"SHOW_INSERTION_POINT":return!0;case"HIDE_INSERTION_POINT":return!1}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Va,t=arguments[1];switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce(function(e,n){var r=n.name,o={name:n.name};return Object(A.isSharedBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),k()({},e,{insertUsage:k()({},e.insertUsage,de()({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})},e);case"REMOVE_SHARED_BLOCK":return k()({},e,{insertUsage:Object(m.omitBy)(e.insertUsage,function(e){return e.insert.ref===t.id})})}return e},saving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case"REQUEST_POST_UPDATE":return{requesting:!0,successful:!1,error:null};case"REQUEST_POST_UPDATE_SUCCESS":return{requesting:!1,successful:!0,error:null};case"REQUEST_POST_UPDATE_FAILURE":return{requesting:!1,successful:!1,error:t.error}}return e},notices:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];switch(t.type){case"CREATE_NOTICE":return[].concat(x()(Object(m.reject)(e,{id:t.notice.id})),[t.notice]);case"REMOVE_NOTICE":var n=t.noticeId,r=Object(m.findIndex)(e,{id:n});return-1===r?e:[].concat(x()(e.slice(0,r)),x()(e.slice(r+1)))}return e},sharedBlocks:Za,template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments[1];switch(t.type){case"SET_TEMPLATE_VALIDITY":return k()({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ka,t=arguments[1];switch(t.type){case"UPDATE_EDITOR_SETTINGS":return k()({},e,t.settings)}return e}})),tc=n(188),nc=n.n(tc),rc=n(277),oc=n.n(rc),ic=n(164),sc=n(178),ac=n.n(sc);function cc(e){return{type:"SETUP_EDITOR",post:e}}function lc(e){return{type:"RESET_POST",post:e}}function uc(e,t,n){return{type:"SETUP_EDITOR_STATE",post:e,blocks:t,edits:n}}function dc(e){return{type:"RESET_BLOCKS",blocks:e}}function pc(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function fc(e,t){return{type:"UPDATE_BLOCK_ATTRIBUTES",uid:e,attributes:t}}function hc(e,t){return{type:"UPDATE_BLOCK",uid:e,updates:t}}function mc(e){return{type:"SELECT_BLOCK",initialPosition:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,uid:e}}function vc(){return{type:"START_MULTI_SELECT"}}function bc(){return{type:"STOP_MULTI_SELECT"}}function gc(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function yc(){return{type:"CLEAR_SELECTED_BLOCK"}}function kc(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function _c(e,t){return{type:"REPLACE_BLOCKS",uids:Object(m.castArray)(e),blocks:Object(m.castArray)(t),time:Date.now()}}function Oc(e,t){return _c(e,t)}function wc(e){return function(t,n){return{uids:Object(m.castArray)(t),type:e,rootUID:n}}}var Sc=wc("MOVE_BLOCKS_DOWN"),Ec=wc("MOVE_BLOCKS_UP");function jc(e,t,n,r,o){return{type:"MOVE_BLOCK_TO_POSITION",fromRootUID:t,toRootUID:n,uid:e,index:o,layout:r}}function Cc(e,t,n){return Tc([e],t,n)}function Tc(e,t,n){return{type:"INSERT_BLOCKS",blocks:Object(m.castArray)(e),index:t,rootUID:n,time:Date.now()}}function Pc(){return{type:"SHOW_INSERTION_POINT"}}function Bc(){return{type:"HIDE_INSERTION_POINT"}}function xc(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Ic(){return{type:"CHECK_TEMPLATE_VALIDITY"}}function Dc(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Ac(e){return{type:"EDIT_POST",edits:e}}function Nc(){return{type:"REQUEST_POST_UPDATE"}}function Rc(){return{type:"REFRESH_POST"}}function Lc(e,t){return{type:"TRASH_POST",postId:e,postType:t}}function Uc(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function Mc(){return{type:"AUTOSAVE"}}function Fc(){return{type:"REDO"}}function Hc(){return{type:"UNDO"}}function Vc(){return{type:"CREATE_UNDO_LEVEL"}}function Kc(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{type:"REMOVE_BLOCKS",uids:Object(m.castArray)(e),selectPrevious:t}}function Wc(e){return Kc([e],!(arguments.length>1&&void 0!==arguments[1])||arguments[1])}function zc(e){return{type:"TOGGLE_BLOCK_MODE",uid:e}}function qc(){return{type:"START_TYPING"}}function Gc(){return{type:"STOP_TYPING"}}function Yc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.id,o=void 0===r?ac()():r,i=n.isDismissible;return{type:"CREATE_NOTICE",notice:{id:o,status:e,content:t,isDismissible:void 0===i||i,spokenMessage:n.spokenMessage}}}function Xc(e){return{type:"REMOVE_NOTICE",noticeId:e}}var $c=Object(m.partial)(Yc,"success"),Jc=Object(m.partial)(Yc,"info"),Qc=Object(m.partial)(Yc,"error"),Zc=Object(m.partial)(Yc,"warning");function el(e){return{type:"FETCH_SHARED_BLOCKS",id:e}}function tl(e){return{type:"RECEIVE_SHARED_BLOCKS",results:e}}function nl(e){return{type:"SAVE_SHARED_BLOCK",id:e}}function rl(e){return{type:"DELETE_SHARED_BLOCK",id:e}}function ol(e,t){return{type:"UPDATE_SHARED_BLOCK_TITLE",id:e,title:t}}function il(e){return{type:"CONVERT_BLOCK_TO_STATIC",uid:e}}function sl(e){return{type:"CONVERT_BLOCK_TO_SHARED",uid:e}}function al(e,t,n){var r=Object(A.createBlock)(Object(A.getDefaultBlockName)(),e);return k()({},Cc(r,n,t),{isProvisional:!0})}function cl(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",id:e,settings:t}}function ll(e){return{type:"UPDATE_EDITOR_SETTINGS",settings:e}}function ul(e,t){var n=t.getState(),r=sa(n);if(r&&!xs(n,r))return Wc(r,!1)}var dl={REQUEST_POST_UPDATE:function(e,t){var n=t.dispatch,r=(0,t.getState)(),o=Mi(r),i=Wi(r),s=k()({},i,{content:Gs(r),id:o.id});n({type:"UPDATE_POST",edits:s,optimist:{type:La.BEGIN,id:xi}}),n(Xc("SAVE_POST_NOTICE_ID"));var a=wp.api.getPostTypeRoute(Fi(r));wp.apiRequest({path:"/wp/v2/"+a+"/"+o.id,method:"PUT",data:s}).then(function(e){n(lc(e)),n({type:"REQUEST_POST_UPDATE_SUCCESS",previousPost:o,post:e,edits:s,optimist:{type:La.COMMIT,id:xi}})},function(e){n({type:"REQUEST_POST_UPDATE_FAILURE",error:Object(m.get)(e,["responseJSON"],{code:"unknown_error",message:Object(F.__)("An unknown error occurred.")}),post:o,edits:i,optimist:{type:La.REVERT,id:xi}})})},REQUEST_POST_UPDATE_SUCCESS:function(e,t){var n=e.previousPost,r=e.post,o=t.dispatch,i=["publish","private","future"],s=Object(m.includes)(i,n.status),a=Object(m.includes)(i,r.status),c=void 0,l=!0;s||a?s&&!a?(c=Object(F.__)("Post reverted to draft."),l=!1):c=!s&&a?{publish:Object(F.__)("Post published!"),private:Object(F.__)("Post published privately!"),future:Object(F.__)("Post scheduled!")}[r.status]:Object(F.__)("Post updated!"):c=null,c&&o($c(wp.element.createElement("p",null,wp.element.createElement("span",null,c)," ",l&&wp.element.createElement("a",{href:r.link},Object(F.__)("View post"))),{id:"SAVE_POST_NOTICE_ID",spokenMessage:c})),Object(m.get)(window.history.state,["id"])!==r.id&&window.history.replaceState({id:r.id},"Post "+r.id,at("post.php",{post:r.id,action:"edit"}))},REQUEST_POST_UPDATE_FAILURE:function(e,t){var n=e.post,r=e.edits,o=t.dispatch,i=["publish","private","future"],s=-1!==i.indexOf(n.status),a={publish:Object(F.__)("Publishing failed"),private:Object(F.__)("Publishing failed"),future:Object(F.__)("Scheduling failed")},c=s||-1===i.indexOf(r.status)?Object(F.__)("Updating failed"):a[r.status];o(Qc(c,{id:"SAVE_POST_NOTICE_ID"}))},TRASH_POST:function(e,t){var n=t.dispatch,r=t.getState,o=e.postId,i=wp.api.getPostTypeRoute(Fi(r()));n(Xc("TRASH_POST_NOTICE_ID")),wp.apiRequest({path:"/wp/v2/"+i+"/"+o,method:"DELETE"}).then(function(){n(k()({},e,{type:"TRASH_POST_SUCCESS"}))},function(t){n(k()({},e,{type:"TRASH_POST_FAILURE",error:Object(m.get)(t,["responseJSON"],{code:"unknown_error",message:Object(F.__)("An unknown error occurred.")})}))})},TRASH_POST_SUCCESS:function(e){var t=e.postId,n=e.postType;window.location.href=at("edit.php",{trashed:1,post_type:n,ids:t})},TRASH_POST_FAILURE:function(e,t){var n=e.error.message&&"unknown_error"!==e.error.code?e.error.message:Object(F.__)("Trashing failed");t.dispatch(Qc(n,{id:"TRASH_POST_NOTICE_ID"}))},REFRESH_POST:function(e,t){var n=t.dispatch,r=(0,t.getState)(),o=Mi(r),i=wp.api.getPostTypeRoute(Fi(r));wp.apiRequest({path:"/wp/v2/"+i+"/"+o.id,data:{context:"edit"}}).then(function(e){n(lc(e))})},MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=Oe()(e.blocks,2),i=o[0],s=o[1],a=is(r,i),c=is(r,s),l=Object(A.getBlockType)(a.name);if(l.merge){var u=a.name===c.name?[c]:Object(A.switchToBlockType)(c,a.name);if(u&&u.length){var d=l.merge(a.attributes,u[0].attributes);n(mc(a.uid,-1)),n(_c([a.uid,c.uid],[k()({},a,{attributes:k()({},a.attributes,d)})].concat(x()(u.slice(1)))))}}else n(mc(a.uid))},AUTOSAVE:function(e,t){var n=t.getState,r=t.dispatch,o=n();Ji(o)&&(Ri(o)||Li(o))&&(Yi(o)||r({type:"REQUEST_POST_UPDATE"}))},SETUP_EDITOR:function(e,t){var n=t.getState,r=e.post,o=n(),i=Hs(o),s=Vs(o),a=void 0,c=!0;r.content.raw?(a=Object(A.parse)(r.content.raw),c=!i||"all"!==s||Object(A.doBlocksMatchTemplate)(a,i)):a=i?Object(A.synchronizeBlocksWithTemplate)([],i):Object(A.getDefaultBlockForPostFormat)(r.format)?[Object(A.createBlock)(Object(A.getDefaultBlockForPostFormat)(r.format))]:[];var l={};return"auto-draft"===r.status&&(l.title=r.title.raw,l.status="draft"),[xc(c),uc(r,a,l)]},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)(),r=ss(n),o=Hs(n);return[dc(Object(A.synchronizeBlocksWithTemplate)(r,o)),xc(!0)]},CHECK_TEMPLATE_VALIDITY:function(e,t){var n=(0,t.getState)(),r=ss(n),o=Hs(n),i=Vs(n);return xc(!o||"all"!==i||Object(A.doBlocksMatchTemplate)(r,o))},FETCH_SHARED_BLOCKS:function(e,t){var n=wp.api.getPostTypeRoute("wp_block");if(n){var r=e.id,o=t.dispatch;(r?wp.apiRequest({path:"/wp/v2/"+n+"/"+r}):wp.apiRequest({path:"/wp/v2/"+n+"?per_page=-1"})).then(function(e){o(tl(Object(m.map)(Object(m.castArray)(e),function(e){return{sharedBlock:e,parsedBlock:Object(A.parse)(e.content)[0]}}))),o({type:"FETCH_SHARED_BLOCKS_SUCCESS",id:r})},function(e){o({type:"FETCH_SHARED_BLOCKS_FAILURE",id:r,error:e.responseJSON||{code:"unknown_error",message:Object(F.__)("An unknown error occurred.")}})})}},RECEIVE_SHARED_BLOCKS:function(e){return pc(Object(m.map)(e.results,"parsedBlock"))},SAVE_SHARED_BLOCK:function(e,t){var n=wp.api.getPostTypeRoute("wp_block");if(n){var r=e.id,o=t.dispatch,i=t.getState(),s=ea(i,r),a=s.uid,c=s.title,l=s.isTemporary,u=is(i,a),d=u.name,p=u.attributes,f=u.innerBlocks,h=Object(A.serialize)(Object(A.createBlock)(d,p,f)),v=l?{title:c,content:h}:{id:r,title:c,content:h},b=l?"/wp/v2/"+n:"/wp/v2/"+n+"/"+r,g=l?"POST":"PUT";wp.apiRequest({path:b,data:v,method:g}).then(function(e){o({type:"SAVE_SHARED_BLOCK_SUCCESS",updatedId:e.id,id:r});var t=l?Object(F.__)("Block created."):Object(F.__)("Block updated.");o($c(t,{id:"SHARED_BLOCK_NOTICE_ID"}))},function(e){o({type:"SAVE_SHARED_BLOCK_FAILURE",id:r});var t=Object(F.__)("An unknown error occurred.");o(Qc(Object(m.get)(e.responseJSON,["message"],t),{id:"SHARED_BLOCK_NOTICE_ID",spokenMessage:t}))})}},DELETE_SHARED_BLOCK:function(e,t){var n=wp.api.getPostTypeRoute("wp_block");if(n){var r=e.id,o=t.getState,i=t.dispatch,s=ea(o(),r);if(s&&!s.isTemporary){var a=ss(o()).filter(function(e){return Object(A.isSharedBlock)(e)&&e.attributes.ref===r}).map(function(e){return e.uid}),c=Object(m.uniqueId)();i({type:"REMOVE_SHARED_BLOCK",id:r,optimist:{type:La.BEGIN,id:c}}),i(Kc([].concat(x()(a),[s.uid]))),wp.apiRequest({path:"/wp/v2/"+n+"/"+r,method:"DELETE"}).then(function(){i({type:"DELETE_SHARED_BLOCK_SUCCESS",id:r,optimist:{type:La.COMMIT,id:c}});var e=Object(F.__)("Block deleted.");i($c(e,{id:"SHARED_BLOCK_NOTICE_ID"}))},function(e){i({type:"DELETE_SHARED_BLOCK_FAILURE",id:r,optimist:{type:La.REVERT,id:c}});var t=Object(F.__)("An unknown error occurred.");i(Qc(Object(m.get)(e.responseJSON,["message"],t),{id:"SHARED_BLOCK_NOTICE_ID",spokenMessage:t}))})}}},CONVERT_BLOCK_TO_STATIC:function(e,t){var n=t.getState(),r=is(n,e.uid),o=ea(n,r.attributes.ref),i=is(n,o.uid),s=Object(A.createBlock)(i.name,i.attributes);t.dispatch(Oc(r.uid,s))},CONVERT_BLOCK_TO_SHARED:function(e,t){var n=t.getState,r=t.dispatch,o=is(n(),e.uid),i={id:Object(m.uniqueId)("shared"),uid:o.uid,title:Object(F.__)("Untitled shared block")};r(tl([{sharedBlock:i,parsedBlock:o}])),r(nl(i.id)),r(Oc(o.uid,Object(A.createBlock)("core/block",{ref:i.id,layout:o.attributes.layout}))),r(pc([o]))},CREATE_NOTICE:function(e){var t=e.notice,n=t.content,r=t.spokenMessage||n;Object(ic.speak)(r,"assertive")},EDIT_POST:function(e,t){var n=t.getState,r=Object(m.get)(e,["edits","format"]);if(r){var o=Object(A.getDefaultBlockForPostFormat)(r);return o&&0===ls(n())?Cc(Object(A.createBlock)(o)):void 0}},CLEAR_SELECTED_BLOCK:ul,SELECT_BLOCK:ul,MULTI_SELECT:ul,REMOVE_BLOCKS:function(e,t){var n=t.getState,r=t.dispatch;if(e.selectPrevious){var o=e.uids[0],i=n(),s=ms(i),a=k()({},i,{editor:{present:Object(m.last)(i.editor.past)}}),c=vs(a,o),l=gs(a,o)||c;l!==s&&r(mc(l))}}};var pl=function(e){var t,n=[nc()(dl),oc.a],r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}};return t=n.map(function(e){return e(o)}),r=m.flowRight.apply(void 0,x()(t))(e.dispatch),e.dispatch=r,e},fl="GUTENBERG_PREFERENCES_"+window.userSettings.uid,hl=pl(Object(g.registerReducer)("core/editor",Object(g.withRehydratation)(ec,"preferences",fl)));Object(g.loadAndPersist)(hl,ec,"preferences",fl),Object(g.registerSelectors)("core/editor",r),Object(g.registerActions)("core/editor",o);function ml(e){var t=Object(A.getBlockSupport)(e,"align");if(Array.isArray(t))return t;var n=[];return!0===t&&(n.push("left","center","right"),Object(A.hasBlockSupport)(e,"wideAlign",!0)&&n.push("wide","full")),n}var vl=Object(v.createHigherOrderComponent)(function(e){return function(t){var n=ml(t.name);return[n.length>0&&t.isSelected&&wp.element.createElement(J,{key:"align-controls"},wp.element.createElement(q,{value:t.attributes.align,onChange:function(e){return t.setAttributes({align:e})},controls:n})),wp.element.createElement(e,k()({key:"edit"},t))]}},"withToolbarControls"),bl=Object(v.createHigherOrderComponent)(function(e){return function(t){var n=t.block.attributes.align,r=ml(t.block.name),o=t.wrapperProps;return Object(m.includes)(r,n)&&(o=k()({},o,{"data-align":n})),wp.element.createElement(e,k()({},t,{wrapperProps:o}))}},"withAlign");Object(_.addFilter)("blocks.registerBlockType","core/align/addAttribute",function(e){return Object(A.hasBlockSupport)(e,"align")&&(e.attributes=Object(m.assign)(e.attributes,{align:{type:"string"}})),e}),Object(_.addFilter)("editor.BlockListBlock","core/align/withAlign",bl),Object(_.addFilter)("blocks.BlockEdit","core/align/withToolbarControls",vl),Object(_.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",function(e,t,n){var r=n.align;return Object(m.includes)(ml(t),r)&&(e.className=Z()("align"+r,e.className)),e});var gl=/[\s#]/g;var yl=Object(v.createHigherOrderComponent)(function(e){return function(t){return Object(A.hasBlockSupport)(t.name,"anchor")&&t.isSelected?wp.element.createElement(v.Fragment,null,wp.element.createElement(e,t),wp.element.createElement(Ie,null,wp.element.createElement(O.TextControl,{label:Object(F.__)("HTML Anchor"),help:Object(F.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(gl,"-"),t.setAttributes({anchor:e})}}))):wp.element.createElement(e,t)}},"withInspectorControl");Object(_.addFilter)("blocks.registerBlockType","core/anchor/attribute",function(e){return Object(A.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(m.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}),Object(_.addFilter)("blocks.BlockEdit","core/anchor/inspector-control",yl),Object(_.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",function(e,t,n){return Object(A.hasBlockSupport)(t,"anchor")&&(e.id=n.anchor),e});var kl=Object(v.createHigherOrderComponent)(function(e){return function(t){return Object(A.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?wp.element.createElement(v.Fragment,null,wp.element.createElement(e,t),wp.element.createElement(Ie,null,wp.element.createElement(O.TextControl,{label:Object(F.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:e})}}))):wp.element.createElement(e,t)}},"withInspectorControl");Object(_.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",function(e){return Object(A.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(m.assign)(e.attributes,{className:{type:"string"}})),e}),Object(_.addFilter)("blocks.BlockEdit","core/custom-class-name/inspector-control",kl),Object(_.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",function(e,t,n){return Object(A.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=Z()(e.className,n.className)),e});var _l=[M];Object(_.addFilter)("blocks.Autocomplete.completers","blocks/autocompleters/set-default-completers",function(e,t){return e||(e=_l.map(m.clone),t===Object(A.getDefaultBlockName)()&&e.push(Object(m.clone)(U))),e}),Object(_.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",function(e,t){return Object(A.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(m.uniq)([Object(A.getBlockDefaultClassName)(t.name)].concat(x()(e.className.split(" ")))).join(" ").trim():e.className=Object(A.getBlockDefaultClassName)(t.name)),e}),Object(_.addFilter)("blocks.registerBlockType","core/layout/attribute",function(e){return e.attributes=Object(m.assign)(e.attributes,{layout:{type:"string"}}),e}),Object(_.addFilter)("blocks.getSaveContent.extraProps","core/layout/save-props",function(e,t,n){var r=n.layout;return r&&(e.className=Object(m.compact)([e.className,"layout-"+r]).join(" ")),e}),Object(_.addFilter)("blocks.switchToBlockType.transformedBlock","core/layout/preserve-layout",function(e,t){var n=Object(m.get)(t,[0,"attributes","layout"]);return e.attributes.layout=n,e}),Object(_.addFilter)("blocks.isUnmodifiedDefaultBlock.attributes","core/layout/exclude-layout-attribute-check",function(e){return Object(m.without)(e,"layout")}),n.d(t,"Autocomplete",function(){return P}),n.d(t,"AlignmentToolbar",function(){return V}),n.d(t,"BlockAlignmentToolbar",function(){return q}),n.d(t,"BlockControls",function(){return J}),n.d(t,"BlockEdit",function(){return ne}),n.d(t,"BlockFormatControls",function(){return ae}),n.d(t,"BlockIcon",function(){return N}),n.d(t,"ColorPalette",function(){return le}),n.d(t,"withColorContext",function(){return ce}),n.d(t,"ContrastChecker",function(){return ke}),n.d(t,"ImagePlaceholder",function(){return Ee}),n.d(t,"InnerBlocks",function(){return Ce}),n.d(t,"InspectorAdvancedControls",function(){return Ie}),n.d(t,"InspectorControls",function(){return Le}),n.d(t,"PanelColor",function(){return Fe}),n.d(t,"PlainText",function(){return Ke}),n.d(t,"RichText",function(){return zt}),n.d(t,"RichTextProvider",function(){return Xt}),n.d(t,"MediaUpload",function(){return Se}),n.d(t,"UrlInput",function(){return st}),n.d(t,"UrlInputButton",function(){return $t}),n.d(t,"AutosaveMonitor",function(){return Qt}),n.d(t,"DocumentOutline",function(){return an}),n.d(t,"DocumentOutlineCheck",function(){return cn}),n.d(t,"DocumentTitle",function(){return un}),n.d(t,"EditorGlobalKeyboardShortcuts",function(){return fn}),n.d(t,"EditorHistoryRedo",function(){return mn}),n.d(t,"EditorHistoryUndo",function(){return bn}),n.d(t,"EditorNotices",function(){return yn}),n.d(t,"PageAttributesCheck",function(){return kn}),n.d(t,"PageAttributesOrder",function(){return wn}),n.d(t,"PageAttributesParent",function(){return Cn}),n.d(t,"PageTemplate",function(){return Tn}),n.d(t,"PostAuthor",function(){return xn}),n.d(t,"PostAuthorCheck",function(){return Pn}),n.d(t,"PostComments",function(){return In}),n.d(t,"PostExcerpt",function(){return Dn}),n.d(t,"PostExcerptCheck",function(){return An}),n.d(t,"PostFeaturedImage",function(){return Hn}),n.d(t,"PostFeaturedImageCheck",function(){return Rn}),n.d(t,"PostFormat",function(){return Wn}),n.d(t,"PostFormatCheck",function(){return Vn}),n.d(t,"PostLastRevision",function(){return qn}),n.d(t,"PostLastRevisionCheck",function(){return zn}),n.d(t,"PostPendingStatus",function(){return Yn}),n.d(t,"PostPendingStatusCheck",function(){return Gn}),n.d(t,"PostPingbacks",function(){return Xn}),n.d(t,"PostPreviewButton",function(){return Jn}),n.d(t,"PostPublishButton",function(){return Zn}),n.d(t,"PostPublishButtonLabel",function(){return Qn}),n.d(t,"PostPublishPanel",function(){return dr}),n.d(t,"PostPublishPanelToggle",function(){return pr}),n.d(t,"PostSavedState",function(){return vr}),n.d(t,"PostSchedule",function(){return ir}),n.d(t,"PostScheduleCheck",function(){return br}),n.d(t,"PostScheduleLabel",function(){return sr}),n.d(t,"PostSticky",function(){return yr}),n.d(t,"PostStickyCheck",function(){return gr}),n.d(t,"PostSwitchToDraftButton",function(){return fr}),n.d(t,"PostTaxonomies",function(){return Cr}),n.d(t,"PostTaxonomiesCheck",function(){return Tr}),n.d(t,"PostTextEditor",function(){return Br}),n.d(t,"PostTitle",function(){return Fr}),n.d(t,"PostTrash",function(){return Hr}),n.d(t,"PostTrashCheck",function(){return Vr}),n.d(t,"PostTypeSupportCheck",function(){return _n}),n.d(t,"PostVisibility",function(){return nr}),n.d(t,"PostVisibilityLabel",function(){return rr}),n.d(t,"PostVisibilityCheck",function(){return Kr}),n.d(t,"TableOfContents",function(){return ro}),n.d(t,"UnsavedChangesWarning",function(){return io}),n.d(t,"WordCount",function(){return to}),n.d(t,"BlockInspector",function(){return co}),n.d(t,"BlockList",function(){return _i}),n.d(t,"BlockMover",function(){return bo}),n.d(t,"BlockSelectionClearer",function(){return wi}),n.d(t,"BlockSettingsMenu",function(){return Co}),n.d(t,"BlockTitle",function(){return Zt}),n.d(t,"BlockToolbar",function(){return ji}),n.d(t,"CopyHandler",function(){return Ti}),n.d(t,"DefaultBlockAppender",function(){return vi}),n.d(t,"ErrorBoundary",function(){return ma}),n.d(t,"Inserter",function(){return ti}),n.d(t,"MultiBlocksSwitcher",function(){return va}),n.d(t,"MultiSelectScrollIntoView",function(){return ga}),n.d(t,"NavigableToolbar",function(){return Ho}),n.d(t,"ObserveTyping",function(){return _a}),n.d(t,"PreserveScrollInReorder",function(){return wa}),n.d(t,"SkipToSelectedBlock",function(){return ao}),n.d(t,"Warning",function(){return To}),n.d(t,"WritingFlow",function(){return Ba}),n.d(t,"EditorProvider",function(){return Ia}),n.d(t,"blockAutocompleter",function(){return U}),n.d(t,"userAutocompleter",function(){return M}),n.d(t,"getColorClass",function(){return fe}),n.d(t,"getColorName",function(){return pe}),n.d(t,"withColors",function(){return be}),n.d(t,"editorMediaUpload",function(){return we})},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var o="BEGIN",i="COMMIT",s="REVERT",a=[];function c(e,t){return e.optimist&&e.optimist.id===t}function l(e,t){if(!e||"object"!=typeof e||Array.isArray(e))throw new TypeError('Error while handling "'+t.type+'": Optimist requires that state is always a plain object.')}function u(e){if(e){var t=e.optimist;return{optimist:void 0===t?a:t,innerState:function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["optimist"])}}return{optimist:a,innerState:e}}e.exports=function(e){function t(t,n,o){return t.length&&(t=t.concat([{action:o}])),l(n=e(n,o),o),r({optimist:t},n)}return function(n,a){if(a.optimist)switch(a.optimist.type){case o:return function(t,n){var o=u(t),i=o.optimist,s=o.innerState;return i=i.concat([{beforeState:s,action:n}]),l(s=e(s,n),n),r({optimist:i},s)}(n,a);case i:return function(e,n){var r=u(e),o=r.optimist,i=r.innerState,s=[],a=!1,l=!1;o.forEach(function(e){a?e.beforeState&&c(e.action,n.optimist.id)?(l=!0,s.push({action:e.action})):s.push(e):e.beforeState&&!c(e.action,n.optimist.id)?(a=!0,s.push(e)):e.beforeState&&c(e.action,n.optimist.id)&&(l=!0)}),l||console.error('Cannot commit transaction with id "'+n.optimist.id+'" because it does not exist');return t(o=s,i,n)}(n,a);case s:return function(n,r){var o=u(n),i=o.optimist,s=o.innerState,a=[],d=!1,p=!1,f=s;i.forEach(function(t){t.beforeState&&c(t.action,r.optimist.id)&&(f=t.beforeState,p=!0),c(t.action,r.optimist.id)||(t.beforeState&&(d=!0),d&&(p&&t.beforeState?a.push({beforeState:f,action:t.action}):a.push(t)),p&&(f=e(f,t.action),l(s,r)))}),p||console.error('Cannot revert transaction with id "'+r.optimist.id+'" because it does not exist');return t(i=a,f,r)}(n,a)}var d=u(n),p=d.optimist,f=d.innerState;if(n&&!p.length){var h=e(f,a);return h===f?n:(l(h,a),r({optimist:p},h))}return t(p,f,a)}},e.exports.BEGIN=o,e.exports.COMMIT=i,e.exports.REVERT=s},function(e,t){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]}},function(e,t,n){var r=n(329);e.exports=function(e){var t=r(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var o=e.style.lineHeight;e.style.lineHeight=t+"em",t=r(e,"line-height"),n=parseFloat(t,10),o?e.style.lineHeight=o:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,s=document.createElement(i);s.innerHTML="&nbsp;","TEXTAREA"===i.toUpperCase()&&s.setAttribute("rows","1");var a=r(e,"font-size");s.style.fontSize=a,s.style.padding="0px",s.style.border="0px";var c=document.body;c.appendChild(s),n=s.offsetHeight,c.removeChild(s)}return n}},function(e,t,n){var r,o,i;
13
  /*!
14
  autosize 4.0.2
15
  license: MIT
build/editor/style-rtl.css CHANGED
@@ -1 +1 @@
1
- .editor-post-permalink{display:inline-flex;align-items:center;background:#fff;padding:5px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid rgba(25,30,35,.15);border-bottom:none;background-clip:padding-box;box-sizing:padding-box;margin-right:-15px;margin-left:-15px}@media (min-width:600px){.editor-post-permalink{margin-right:-1px;margin-left:-1px}}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 5px 0 10px}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-left:10px;width:100%;overflow:hidden;position:relative;white-space:nowrap}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(270deg,hsla(0,0%,100%,0),#fff 90%);top:1px;bottom:1px;left:1px;right:auto;width:20%;height:auto}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-right:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink-editor__edit{min-width:20%;margin:0 5px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-left:10px}.editor-autocompleters__block .dashicon{margin-left:8px}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-left:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-right:8px;color:#8f98a1;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:#66c6e4}.gutenberg .editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.editor-rich-text{position:relative}.editor-rich-text__tinymce{margin:0;position:relative}.editor-rich-text__tinymce>p:empty{min-height:28.8px}.editor-rich-text__tinymce>p:first-child{margin-top:0}.editor-rich-text__tinymce:focus{outline:none}.editor-rich-text__tinymce a{color:#007fac}.editor-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}.editor-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.is-multi-selected .editor-rich-text__tinymce code{background:#67cffd}.editor-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.editor-rich-text__tinymce:focus b[data-mce-selected],.editor-rich-text__tinymce:focus del[data-mce-selected],.editor-rich-text__tinymce:focus em[data-mce-selected],.editor-rich-text__tinymce:focus i[data-mce-selected],.editor-rich-text__tinymce:focus ins[data-mce-selected],.editor-rich-text__tinymce:focus strong[data-mce-selected],.editor-rich-text__tinymce:focus sub[data-mce-selected],.editor-rich-text__tinymce:focus sup[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e8eaeb;background:#e8eaeb}.editor-rich-text__tinymce[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0}.editor-rich-text__tinymce[data-is-placeholder-visible=true]>p{margin-top:0}.editor-rich-text__tinymce+.editor-rich-text__tinymce{opacity:.5;pointer-events:none}.editor-rich-text__tinymce.mce-content-body{line-height:1.8}.editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;right:0;left:0;z-index:1}.editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.editor-block-list__block .editor-url-input,.editor-block-toolbar .editor-url-input{width:100%;flex-grow:1;position:relative;width:230px}.editor-block-list__block .editor-url-input input[type=text],.editor-block-toolbar .editor-url-input input[type=text]{width:100%;padding:10px;border:none;margin:0}.editor-block-list__block .editor-url-input input[type=text]::-ms-clear,.editor-block-toolbar .editor-url-input input[type=text]::-ms-clear{display:none}.editor-block-list__block .editor-url-input .spinner,.editor-block-toolbar .editor-url-input .spinner{position:absolute;left:0;top:10px;margin:0}.editor-url-input__suggestions{position:absolute;background:#fff;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7;max-height:200px;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;margin:0 -1px;padding:4px 0;width:304px}.editor-url-input .spinner,.editor-url-input__suggestions{display:none}@media (min-width:600px){.editor-url-input .spinner,.editor-url-input__suggestions{display:inherit}}.editor-url-input__suggestion{padding:4px 10px 4px 46px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:right;border:none;box-shadow:none}.editor-url-input__suggestion:hover{background:#e2e4e7}.editor-url-input__suggestion.is-selected,.editor-url-input__suggestion:focus{background:#0088b3;color:#fff;outline:none}body.admin-color-sunrise .editor-url-input__suggestion.is-selected,body.admin-color-sunrise .editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .editor-url-input__suggestion.is-selected,body.admin-color-ocean .editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .editor-url-input__suggestion.is-selected,body.admin-color-midnight .editor-url-input__suggestion:focus{background:#c1423c}body.admin-color-ectoplasm .editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .editor-url-input__suggestion.is-selected,body.admin-color-coffee .editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .editor-url-input__suggestion.is-selected,body.admin-color-blue .editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .editor-url-input__suggestion.is-selected,body.admin-color-light .editor-url-input__suggestion:focus{background:#0088b3}.components-toolbar>.editor-url-input__button{position:inherit}.editor-url-input__button .editor-url-input__back{margin-left:4px;overflow:visible}.editor-url-input__button .editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#e2e4e7}.editor-url-input__button .editor-url-input__suggestions{right:-40px;left:-32px}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item .document-outline__emdash:before{color:#e2e4e7;margin-left:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;color:#23282d;text-align:right}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.document-outline__level{background:#e2e4e7;color:#23282d;border-radius:3px;font-size:13px;padding:1px 6px;margin-left:4px}.is-invalid .document-outline__level{background:#f0b849}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-right:5px}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-post-excerpt>.components-base-control{margin-bottom:0}.editor-post-excerpt__textarea{width:100%;height:80px;margin-bottom:10px}.editor-post-featured-image{padding:10px 0 0}.editor-post-featured-image .spinner{margin:0}.editor-post-featured-image__toggle{text-decoration:underline;color:#0073aa}body.admin-color-sunrise .editor-post-featured-image__toggle{color:#c8b03c}body.admin-color-ocean .editor-post-featured-image__toggle{color:#a89d8a}body.admin-color-midnight .editor-post-featured-image__toggle{color:#77a6b9}body.admin-color-ectoplasm .editor-post-featured-image__toggle{color:#c77430}body.admin-color-coffee .editor-post-featured-image__toggle{color:#9fa47b}body.admin-color-blue .editor-post-featured-image__toggle{color:#d9ab59}body.admin-color-light .editor-post-featured-image__toggle{color:#c75726}.editor-post-featured-image__toggle:focus{box-shadow:none;outline:none}.editor-post-featured-image__toggle:hover{color:#00a0d2}body.admin-color-sunrise .editor-post-featured-image__toggle:hover{color:#d1864a}body.admin-color-ocean .editor-post-featured-image__toggle:hover{color:#a3b9a2}body.admin-color-midnight .editor-post-featured-image__toggle:hover{color:#e34e46}body.admin-color-ectoplasm .editor-post-featured-image__toggle:hover{color:#a7b656}body.admin-color-coffee .editor-post-featured-image__toggle:hover{color:#c2a68c}body.admin-color-blue .editor-post-featured-image__toggle:hover{color:#82b4cb}body.admin-color-light .editor-post-featured-image__toggle:hover{color:#00a0d2}.editor-post-featured-image__preview{display:block;width:100%}.editor-post-featured-image__howto{color:#6c7781;font-style:italic;margin:10px 0}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:left;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-left:5px}.components-icon-button:not(:disabled).editor-post-last-revision__title:active,.components-icon-button:not(:disabled).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-post-publish-panel{background:#fff;color:#555d66}.editor-post-publish-panel__content .spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{padding-right:16px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header-publish-button{flex-grow:1;text-align:left}.editor-post-publish-panel__header-published{flex-grow:1}.wp-core-ui .editor-post-publish-panel__toggle.button-primary{display:inline-flex;align-items:center}.wp-core-ui .editor-post-publish-panel__toggle.button-primary.is-busy .dashicon{display:none}.wp-core-ui .editor-post-publish-panel__toggle.button-primary .dashicon{margin-left:-4px}.editor-post-publish-panel__link{color:#007fac;text-decoration:underline}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish .components-panel__body{margin:10px -16px -16px;border:none}.editor-post-publish-panel__prepublish .components-panel__body .components-panel__body-toggle{font-weight:400}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;border-top:none}.wp-core-ui .post-publish-panel__postpublish-buttons{display:flex;align-content:space-between}.wp-core-ui .post-publish-panel__postpublish-buttons>*{flex-grow:1;margin-left:10px}.wp-core-ui .post-publish-panel__postpublish-buttons>:last-child{margin-left:0}.wp-core-ui .post-publish-panel__postpublish-buttons .components-button{text-align:center}.wp-core-ui .post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-link-input[readonly]{width:100%;padding:10px;margin:15px 0;background:#fff;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.editor-post-saved-state{display:flex;align-items:center;color:#555d66;overflow:hidden}.editor-post-saved-state.is-saving{animation:loading_fade .5s infinite}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto}.editor-post-save-draft,.editor-post-saved-state{white-space:nowrap;padding:8px 4px;width:28px}.editor-post-save-draft .dashicon,.editor-post-saved-state .dashicon{margin-left:8px}@media (min-width:600px){.editor-post-save-draft,.editor-post-saved-state{padding:8px;width:auto;text-indent:inherit}.editor-post-save-draft .dashicon,.editor-post-saved-state .dashicon{margin-left:4px}}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:5px}.editor-post-taxonomies__hierarchical-terms-input[type=checkbox]{margin-top:0}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:5px;margin-right:16px}.button-link.editor-post-taxonomies__hierarchical-terms-add,.button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:10px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:10px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:5px;width:100%}.editor-post-text-editor{border:1px solid #e2e4e7;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #e2e4e7;box-shadow:none;outline:1px solid #e2e4e7;outline-offset:-2px}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-right:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#00a0d2}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e34e46}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#00a0d2}.editor-post-text-editor__del{text-decoration:line-through}.editor-post-title{position:relative;padding:5px 0}.editor-post-title .editor-post-title__input{display:block;width:100%;padding:19px 14px;margin:0;box-shadow:none;border:1px solid transparent;background:transparent;font-family:Noto Serif,serif;line-height:1.4;font-size:2.441em;font-weight:600}.editor-post-title .editor-post-title__input:hover,.editor-post-title.is-selected .editor-post-title__input{border:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-post-title .editor-post-title__input:hover,.is-dark-theme .editor-post-title.is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.3)}.editor-post-title .editor-post-permalink{font-size:13px;position:absolute;top:-35px;right:0;left:0}.editor-contrast-checker>.notice{margin:0}.editor-post-trash{margin-right:auto!important;text-decoration:underline}.editor-post-trash .dashicon{display:inline-block;vertical-align:middle;margin:-3px 10px 0 -4px}.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content{min-width:380px}.table-of-contents__popover .components-popover__content{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto;box-shadow:inset 0 -5px 5px -4px rgba(25,30,35,.1)}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__counts{display:flex;flex-wrap:wrap}.table-of-contents__count{width:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-block-inspector__multi-blocks,.editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.editor-block-inspector__multi-blocks{border-bottom:1px solid #e2e4e7}.editor-block-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.editor-block-inspector__card-icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.editor-block-inspector__card-content{flex-grow:1}.editor-block-inspector__card-title{font-weight:500;margin-bottom:5px}.editor-block-inspector__card-description{font-size:13px}.editor-skip-to-selected-block{position:absolute;top:-9999em}.editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#0073aa;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .editor-skip-to-selected-block:focus{color:#c75726}.editor-block-mover{opacity:0}.editor-block-mover.is-visible{animation:fade-in .3s ease-out;animation-fill-mode:forwards}.editor-block-mover__control{display:flex;align-items:center;justify-content:center;border:none;outline:none;background:none;cursor:pointer;padding:0;width:28px;height:28px;border-radius:4px;color:rgba(25,30,35,.5)}.is-dark-theme .editor-block-mover__control{color:hsla(0,0%,100%,.65)}.editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(25,30,35,.075)}.is-dark-theme .editor-block-mover__control[aria-disabled=true]{color:hsla(0,0%,100%,.2)}.editor-block-mover__control svg{width:28px;height:28px;padding:5px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control{background:#fff;border:1px solid #e2e4e7}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:first-child{border-width:1px 1px 0}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:last-child{border-width:0 1px 1px}}.editor-block-mover__control:not(:disabled):not([aria-disabled=true]):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.editor-block-mover__control:not(:disabled):not([aria-disabled=true]):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.editor-block-mover__control:not(:disabled):not([aria-disabled=true]):focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.editor-block-mover__description{display:none}.components-draggable__clone>.editor-block-list__block>.editor-block-list__block-draggable{background:#fff;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1)}@media (min-width:600px){.components-draggable__clone>.editor-block-list__block>.editor-block-list__block-draggable{right:0;left:0}}.components-draggable__clone .editor-block-contextual-toolbar,.components-draggable__clone .editor-block-mover,.components-draggable__clone .editor-block-settings-menu{display:none!important}.editor-block-list__block-draggable{position:absolute;top:0;left:0;bottom:0;right:0;z-index:0;cursor:move;cursor:-webkit-grab;cursor:grab}.editor-block-list__block-draggable>.editor-block-list__block-draggable-inner{position:absolute;top:0;left:0;bottom:0;right:0;visibility:hidden;background-color:rgba(25,30,35,.05)}.is-dark-theme .editor-block-list__block-draggable>.editor-block-list__block-draggable-inner{background-color:hsla(0,0%,100%,.15)}@media (min-width:600px){.editor-block-list__block-draggable>.editor-block-list__block-draggable-inner{margin:0 48px}}.editor-block-list__block-draggable.is-visible>.editor-block-list__block-draggable-inner{visibility:visible}@media (min-width:600px){.editor-block-list__block-draggable{right:-36px;left:-36px}.editor-block-list__block[data-align=full] .editor-block-list__block-draggable{right:0;left:0}}.editor-block-list__block .editor-block-mover,.editor-block-list__block .editor-block-settings-menu{pointer-events:none}.editor-block-list__block .editor-block-mover>*,.editor-block-list__block .editor-block-settings-menu>*{pointer-events:auto}.editor-block-list__block.is-hidden *,.editor-block-list__block.is-hidden>*{visibility:hidden}.editor-block-list__block .editor-block-list__block-edit .shared-block-edit-panel *{z-index:1}@media (min-width:600px){.editor-block-list__layout{padding-right:36px;padding-left:36px}}.editor-block-list__block .editor-block-list__layout{padding-right:0;padding-left:0}.editor-block-list__layout .editor-block-list__block{position:relative;padding:1px 14px;margin-bottom:4px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block{padding-right:50px;padding-left:50px}}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit{margin-top:14px;margin-bottom:14px;padding-top:1px;padding-bottom:1px}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit{position:relative;min-height:250px;max-height:500px;overflow:hidden}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit>:not(.editor-warning){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-color:hsla(0,0%,100%,.6);background-image:linear-gradient(180deg,transparent,#fff)}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-mover:before,.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-settings-menu:before,.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-mover:before,.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-settings-menu:before{content:"";position:absolute;height:36px;top:10px}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-mover:before{left:0;border-left:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-mover:before{border-left-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-settings-menu:before{right:0;border-right:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-settings-menu:before{border-right-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__side-inserter{opacity:0}.editor-block-list__layout .editor-block-list__block .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block .editor-block-list__side-inserter{opacity:1;transition:opacity .2s}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit{position:relative}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;top:-14px;left:-14px;bottom:-14px;right:-14px;outline:1px solid transparent;pointer-events:none}.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block ::-moz-selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block ::selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::-moz-selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit:before{background:#b3e7fe;mix-blend-mode:multiply}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit:before{mix-blend-mode:soft-light}.editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-mover:before{border-left:none}.editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-settings-menu:before{border-right:none}.editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-list__block-edit:before{outline:1px dashed rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-list__block-edit:before{outline-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block[data-align=left],.editor-block-list__layout .editor-block-list__block[data-align=right]{z-index:20;width:100%;margin-bottom:0}.editor-block-list__layout .editor-block-list__block[data-align=left]:before,.editor-block-list__layout .editor-block-list__block[data-align=right]:before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit{float:right;margin-left:2em}.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit{float:left;margin-right:2em}.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-toolbar{float:left}.editor-block-list__layout .editor-block-list__block[data-align=full],.editor-block-list__layout .editor-block-list__block[data-align=wide]{clear:both;z-index:20}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]{margin-right:-36px;margin-left:-36px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-right:-50px;margin-left:-50px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit figure{width:100%}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit:before{right:0;left:0;border-right-width:0;border-left-width:0}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu{top:-29px;bottom:auto;height:auto;width:auto;z-index:inherit}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover:before,.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu:before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{right:10px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu{left:10px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover .editor-block-mover__control,.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu>*{float:right}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{display:none}@media (min-width:1280px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{display:block}}.editor-block-list__layout .editor-block-list__block[data-clear=true]{float:none}.editor-block-list__layout .editor-block-list__block .editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.editor-block-list__block>.editor-block-mover,.editor-block-list__block>.editor-block-settings-menu{position:absolute;top:0;bottom:0;width:30px;cursor:move;cursor:-webkit-grab;cursor:grab}@media (min-width:600px){.editor-block-list__block.is-hovered .editor-block-mover,.editor-block-list__block.is-hovered .editor-block-settings-menu,.editor-block-list__block.is-multi-selected .editor-block-mover,.editor-block-list__block.is-multi-selected .editor-block-settings-menu,.editor-block-list__block.is-selected .editor-block-mover,.editor-block-list__block.is-selected .editor-block-settings-menu{z-index:80}}.editor-block-list__block>.editor-block-settings-menu{left:-30px;padding-right:2px;display:none}@media (min-width:600px){.editor-block-list__block>.editor-block-settings-menu{display:flex;flex-direction:column}}.editor-block-list__block>.editor-block-mover{right:-30px;padding-left:2px;display:none}@media (min-width:600px){.editor-block-list__block>.editor-block-mover{display:block}}.editor-block-list__block .editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;margin-top:10px}@media (min-width:600px){.editor-block-list__block .editor-block-list__block-mobile-toolbar{display:none}}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter{position:relative;right:auto;top:auto;margin:0}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-settings-menu .components-button,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control .dashicon,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-settings-menu .components-button .dashicon,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle .dashicon{margin:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover{display:flex;margin-left:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-inserter,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-settings-menu>*{float:right}.editor-block-list .editor-inserter{margin:10px;cursor:move;cursor:-webkit-grab;cursor:grab}.editor-block-list__insertion-point{position:relative;z-index:5}.editor-block-list__insertion-point-indicator{position:absolute;top:13px;height:2px;right:0;left:0;background:#00a0d2}body.admin-color-sunrise .editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .editor-block-list__insertion-point-indicator{background:#e34e46}body.admin-color-ectoplasm .editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .editor-block-list__insertion-point-indicator{background:#00a0d2}.editor-block-list__insertion-point-inserter{position:absolute;background:none;border:none;display:block;top:0;height:28px;width:100%;cursor:pointer;padding:0}.editor-block-list__insertion-point-inserter:before{position:absolute;top:13px;height:2px;right:14px;left:14px;background:#8f98a1;content:"";opacity:0;transition:opacity .1s linear .1s}.editor-block-list__insertion-point-inserter:hover:before{opacity:1;transition:opacity .2s linear .5s}.editor-block-list__insertion-point-inserter:focus{outline:none}.editor-block-list__insertion-point-inserter:focus:before{opacity:1;transition:opacity .2s linear;outline:1px solid #6c7781;outline-offset:2px}.editor-block-list__insertion-point-inserter:focus:active:before{outline:none}.editor-block-list__block>.editor-block-list__insertion-point{position:absolute;top:-14px;height:28px;bottom:auto;right:0;left:0}.editor-block-list__block .editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.editor-block-list__block .editor-block-list__block-html-textarea:focus{box-shadow:none}.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{z-index:21;white-space:nowrap;text-align:right;pointer-events:none;height:37px;position:absolute;bottom:-36px;right:14px;left:14px;box-shadow:0 5px 10px rgba(25,30,35,.1),0 2px 2px rgba(25,30,35,.1);margin-right:-15px;margin-left:-15px}@media (min-width:480px){.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{position:-webkit-sticky;position:sticky;bottom:auto;right:auto;left:auto;box-shadow:none;margin-top:-38px;margin-bottom:15px}}@media (min-width:600px){.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{top:-1px}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=left] .editor-block-list__breadcrumb,.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=right] .editor-block-list__breadcrumb{margin-bottom:1px;margin-top:-38px}@media (min-width:600px){.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{margin-right:-51px;margin-left:-51px}[data-align=full] .editor-block-contextual-toolbar,[data-align=full] .editor-block-list__breadcrumb{margin-right:-50px;margin-left:-50px}}.editor-block-contextual-toolbar>*,.editor-block-list__breadcrumb>*{pointer-events:auto}.editor-block-contextual-toolbar .editor-block-toolbar,.editor-block-list__breadcrumb .components-toolbar{width:100%;background:#fff;background-clip:padding-box;box-sizing:padding-box;border:1px solid rgba(25,30,35,.15);position:absolute;right:0}.is-dark-theme .editor-block-contextual-toolbar .editor-block-toolbar,.is-dark-theme .editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.3)}.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar .editor-block-toolbar,.editor-block-list__block[data-align=right] .editor-block-list__breadcrumb .components-toolbar{right:auto;left:0}@media (min-width:600px){.editor-block-contextual-toolbar .editor-block-toolbar,.editor-block-list__breadcrumb .components-toolbar{width:auto}}.editor-block-contextual-toolbar .editor-block-toolbar{border-bottom:none}.editor-block-list__breadcrumb .components-toolbar{padding:0 12px;line-height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;cursor:default}.editor-block-list__breadcrumb .components-toolbar .components-button{margin-right:-12px;margin-left:12px;border-left:1px solid #e2e4e7;color:#555d66;padding-top:6px}.editor-block-list__breadcrumb{opacity:0}.editor-block-list__breadcrumb.is-visible{animation:fade-in .3s ease-out;animation-fill-mode:forwards}.editor-block-drop-zone{border:none;border-radius:0}.editor-block-drop-zone .components-drop-zone__content{display:none}.editor-block-drop-zone.is-close-to-bottom{background:none;border-bottom:3px solid #00a0d2}body.admin-color-sunrise .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e34e46}body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #00a0d2}.editor-block-drop-zone.is-appender.is-close-to-bottom,.editor-block-drop-zone.is-appender.is-close-to-top,.editor-block-drop-zone.is-close-to-top{background:none;border-top:3px solid #00a0d2;border-bottom:none}body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-sunrise .editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ocean .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-midnight .editor-block-drop-zone.is-close-to-top{border-top:3px solid #e34e46}body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-coffee .editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-blue .editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-light .editor-block-drop-zone.is-close-to-top{border-top:3px solid #00a0d2}.editor-block-drop-zone.is-dragging-default .components-drop-zone__content,.editor-block-drop-zone.is-dragging-html .components-drop-zone__content{display:none}.editor-block-settings-menu{opacity:0}.editor-block-settings-menu.is-visible{animation:fade-in .3s ease-out;animation-fill-mode:forwards}.editor-block-settings-menu__toggle,.editor-block-settings-remove{justify-content:center;padding:0;width:28px;height:28px;border-radius:4px;color:rgba(25,30,35,.6)}.is-dark-theme .editor-block-settings-menu__toggle,.is-dark-theme .editor-block-settings-remove{color:hsla(0,0%,100%,.75)}@media (min-width:600px){.editor-block-list__layout .editor-block-list__layout .editor-block-settings-menu__toggle,.editor-block-list__layout .editor-block-list__layout .editor-block-settings-remove{background:#fff;border:1px solid #e2e4e7;color:#555d66}}.editor-block-settings-menu__toggle .dashicon{transform:rotate(-90deg)}.editor-block-settings-menu__popover{z-index:21}.editor-block-settings-menu__popover:after,.editor-block-settings-menu__popover:before{margin-right:2px}.editor-block-settings-menu__popover .components-popover__content{width:182px}.editor-block-settings-menu__popover .editor-block-settings-menu__content{width:100%}.editor-block-settings-menu__popover .editor-block-settings-menu__separator{margin-top:10px;margin-bottom:10px;border-top:1px solid #e2e4e7}.editor-block-settings-menu__popover .editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.editor-block-settings-menu__popover .editor-block-settings-menu__control{width:100%;justify-content:flex-start;padding:8px;background:none;outline:none;border-radius:0;color:#555d66;text-align:right;cursor:pointer;border:none;box-shadow:none}.editor-block-settings-menu__popover .editor-block-settings-menu__control:focus,.editor-block-settings-menu__popover .editor-block-settings-menu__control:hover,.editor-block-settings-menu__popover .editor-block-settings-menu__control:not(:disabled):hover{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-block-settings-menu__popover .editor-block-settings-menu__control .dashicon{margin-left:5px}.editor-warning{z-index:1;position:absolute;top:15px;right:50%;transform:translateX(50%);display:flex;flex-direction:column;justify-content:space-around;align-items:center;width:96%;max-width:780px;padding:20px;background-color:#fff;border:1px solid #e2e4e7;text-align:center;line-height:1.4;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.editor-warning__actions{display:flex;margin-top:20px}.editor-warning__action{margin:0 5px 5px}.editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.editor-inserter{position:relative}}.editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}input[type=search].editor-inserter__search{display:block;width:100%;margin:0;padding:11px 16px;position:relative;z-index:1;border:none;box-shadow:0 1px 0 0 #e2e4e7;outline-offset:-1px;font-size:16px}@media (min-width:600px){input[type=search].editor-inserter__search{font-size:13px}}input[type=search].editor-inserter__search:focus{color:#191e23;outline:1px solid #6c7781;box-shadow:none}.editor-inserter__category-blocks{display:flex;flex-flow:row wrap;padding:8px}.editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.editor-inserter__menu{width:350px;position:relative}.editor-inserter__menu .editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px}}.editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.editor-inserter__block{display:flex;flex-direction:column;width:calc(33% - 8px);margin:4px;font-size:13px;color:#555d66;padding:8px 4px;align-items:center;justify-content:center;cursor:pointer;border:none;line-height:1em;background:transparent;outline:1px solid #f3f4f5;min-height:5em;overflow:hidden;word-break:break-word}.editor-inserter__block .dashicon{margin-bottom:3px}.editor-inserter__block:disabled{opacity:.6;cursor:default}.editor-inserter__block:not(:disabled):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.editor-inserter__block:not(:disabled).is-active,.editor-inserter__block:not(:disabled):active,.editor-inserter__block:not(:disabled):focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px;position:relative}.editor-inserter__separator{border-bottom:1px solid #e2e4e7;background:hsla(0,0%,100%,.8);text-align:center;display:block;margin:0;padding:12px 14px;font-size:13px;font-weight:600;margin-top:-1px}.editor-inserter__search-results{flex-grow:1;overflow:auto}@media (min-width:782px){.editor-inserter__search-results{height:288px}}.editor-inserter__no-blocks{display:block;text-align:center;font-style:italic;padding:24px}.editor-inserter__tabs{display:flex;flex-direction:column;height:100%;flex-grow:1;box-shadow:inset 0 -5px 5px -4px rgba(25,30,35,.1);overflow:hidden}.editor-inserter__tabs .components-tab-panel__tab-content{overflow:auto;outline-offset:-1px}.editor-inserter__tabs .components-tab-panel__tab-content:focus{color:#191e23;outline:1px solid #6c7781;box-shadow:none}.editor-inserter__tabs .components-tab-panel__tab-content:focus:active{outline:none}@media (min-width:782px){.editor-inserter__tabs .components-tab-panel__tab-content{height:250px}}.editor-inserter__tabs .components-tab-panel__tabs{width:100%;display:flex;justify-content:space-between;position:relative;background:#f8f9f9;border-bottom:1px solid #e2e4e7;flex-shrink:0;margin-top:1px;outline-offset:-1px}.editor-inserter__tab{border:none;background:none;font-size:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;padding:11px 8px;width:100%;border-radius:0;margin:0;color:#555d66;cursor:pointer;outline-offset:-1px}.editor-inserter__tab.is-active{padding-bottom:8px;font-weight:600;border-bottom:3px solid #00a0d2;position:relative;z-index:1}body.admin-color-sunrise .editor-inserter__tab.is-active{border-bottom:3px solid #d1864a}body.admin-color-ocean .editor-inserter__tab.is-active{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .editor-inserter__tab.is-active{border-bottom:3px solid #e34e46}body.admin-color-ectoplasm .editor-inserter__tab.is-active{border-bottom:3px solid #a7b656}body.admin-color-coffee .editor-inserter__tab.is-active{border-bottom:3px solid #c2a68c}body.admin-color-blue .editor-inserter__tab.is-active{border-bottom:3px solid #82b4cb}body.admin-color-light .editor-inserter__tab.is-active{border-bottom:3px solid #00a0d2}.editor-inserter__tab:active,.editor-inserter__tab:focus{z-index:1;color:#191e23;outline:1px solid #6c7781;box-shadow:none}.editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.editor-block-preview{display:block}}.editor-block-preview__title{margin-bottom:10px;color:#6c7781}.editor-block-preview__content{padding:14px;border:1px solid #e2e4e7}.editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:Noto Serif,serif}.editor-block-preview__content>div section{height:auto}.editor-block-preview__content>.shared-block-indicator{display:none}.editor-inserter-with-shortcuts{display:flex;align-items:center}.editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.editor-inserter-with-shortcuts__block{margin-left:4px;width:36px;height:36px;padding-top:8px;color:rgba(25,30,35,.25)}.is-dark-theme .editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.4)}.editor-default-block-appender input[type=text].editor-default-block-appender__content{border:none;background:none;box-shadow:none;display:block;margin:0;max-width:none;padding:14px;font-size:16px;cursor:text;width:100%;font-family:Noto Serif,serif;outline:1px solid transparent;transition:outline .2s;height:60px;color:rgba(25,30,35,.5)}.is-dark-theme .editor-default-block-appender input[type=text].editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.editor-default-block-appender .editor-inserter-with-shortcuts{opacity:.5;transition:opacity .2s}.editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:rgba(25,30,35,.6)}.is-dark-theme .editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:hsla(0,0%,100%,.75)}.editor-default-block-appender .editor-inserter__toggle:not([aria-expanded=true]){opacity:0}.editor-default-block-appender:hover .editor-inserter-with-shortcuts,.editor-default-block-appender:hover .editor-inserter__toggle{opacity:1}.editor-default-block-appender .components-drop-zone__content-icon{display:none}.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{position:absolute;top:10px;left:10px}@media (min-width:600px){.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{right:-36px;left:auto}}.editor-block-list__empty-block-inserter:disabled,.editor-default-block-appender .editor-inserter:disabled{display:none}.editor-block-list__empty-block-inserter .editor-inserter__toggle,.editor-default-block-appender .editor-inserter .editor-inserter__toggle{transition:opacity .2s;border-radius:50%}.editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:rgba(25,30,35,.6)}.is-dark-theme .editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.is-dark-theme .editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.editor-inserter-with-shortcuts{position:absolute;top:10px;left:14px;display:none}@media (min-width:600px){.editor-inserter-with-shortcuts{left:0;display:flex}}.editor-block-toolbar{display:inline-flex;flex-grow:1;width:100%;background:#fff;overflow:auto;position:relative}@media (min-width:600px){.editor-block-toolbar{overflow:inherit}}.editor-block-toolbar .components-toolbar{border:none;border-right:1px solid #e2e4e7}.editor-block-toolbar>div{display:flex}.editor-block-toolbar .editor-block-switcher{display:inline-flex}.edit-post-header-toolbar__block-toolbar .editor-block-toolbar .editor-block-switcher{border-right-color:1px solid #e2e4e7}.editor-block-switcher{position:relative}.editor-block-switcher .components-toolbar{border-right:none}.editor-block-switcher__toggle{width:auto;margin:0;padding:8px;border-radius:0}.editor-block-switcher__toggle:focus:before{top:-3px;left:-3px;bottom:-3px;right:-3px}.editor-block-switcher__popover .components-popover__content{width:200px}.editor-block-switcher__menu{box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;padding:3px 3px 0}.editor-block-switcher__menu-title{display:block;padding:6px;color:#6c7781}.editor-block-switcher__menu-item{color:#555d66;display:flex;align-items:center;width:100%;padding:6px;text-align:right}.editor-block-switcher__menu-item .editor-block-switcher__block-icon{margin-left:8px;height:20px}.editor-writing-flow{height:100%;display:flex;flex-direction:column}.editor-writing-flow__click-redirect{flex-basis:100%;cursor:text}.editor-format-toolbar{display:inline-flex}.editor-format-toolbar__link-modal{position:relative;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4;z-index:81}.edit-post-header-toolbar__block-toolbar .editor-format-toolbar__link-modal{position:absolute;right:0;left:0}.editor-format-toolbar__link-container{position:absolute;transform:translateX(50%);z-index:81}.editor-format-toolbar__link-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.editor-format-toolbar__link-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.editor-format-toolbar__link-settings-toggle .dashicon{transform:rotate(-90deg)}.editor-format-toolbar__link-value{margin:9px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;position:relative;white-space:nowrap;min-width:150px;max-width:500px}.editor-format-toolbar__link-settings{padding:7px 8px;border-top:1px solid #e2e4e7;padding-top:8px}.editor-format-toolbar__link-settings .components-base-control{margin:0;flex-grow:1;flex-shrink:1}
1
+ .editor-post-permalink{display:inline-flex;align-items:center;background:#fff;padding:5px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid rgba(25,30,35,.15);border-bottom:none;background-clip:padding-box;box-sizing:padding-box;margin-right:-15px;margin-left:-15px}@media (min-width:600px){.editor-post-permalink{margin-right:-1px;margin-left:-1px}}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 5px 0 10px}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-left:10px;width:100%;overflow:hidden;position:relative;white-space:nowrap}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(270deg,hsla(0,0%,100%,0),#fff 90%);top:1px;bottom:1px;left:1px;right:auto;width:20%;height:auto}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-right:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink-editor__edit{min-width:20%;margin:0 5px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-left:10px}.editor-autocompleters__block .dashicon{margin-left:8px}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-left:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-right:8px;color:#8f98a1;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:#66c6e4}.gutenberg .editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.editor-rich-text{position:relative}.editor-rich-text__tinymce{margin:0;position:relative}.editor-rich-text__tinymce>p:empty{min-height:28.8px}.editor-rich-text__tinymce>p:first-child{margin-top:0}.editor-rich-text__tinymce:focus{outline:none}.editor-rich-text__tinymce a{color:#007fac}.editor-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}.editor-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.is-multi-selected .editor-rich-text__tinymce code{background:#67cffd}.editor-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.editor-rich-text__tinymce:focus b[data-mce-selected],.editor-rich-text__tinymce:focus del[data-mce-selected],.editor-rich-text__tinymce:focus em[data-mce-selected],.editor-rich-text__tinymce:focus i[data-mce-selected],.editor-rich-text__tinymce:focus ins[data-mce-selected],.editor-rich-text__tinymce:focus strong[data-mce-selected],.editor-rich-text__tinymce:focus sub[data-mce-selected],.editor-rich-text__tinymce:focus sup[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e8eaeb;background:#e8eaeb}.editor-rich-text__tinymce[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0}.editor-rich-text__tinymce[data-is-placeholder-visible=true]>p{margin-top:0}.editor-rich-text__tinymce+.editor-rich-text__tinymce{opacity:.5;pointer-events:none}.editor-rich-text__tinymce.mce-content-body{line-height:1.8}.editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;right:0;left:0;z-index:1}.editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.editor-block-list__block .editor-url-input,.editor-block-toolbar .editor-url-input{width:100%;flex-grow:1;position:relative;width:230px}.editor-block-list__block .editor-url-input input[type=text],.editor-block-toolbar .editor-url-input input[type=text]{width:100%;padding:10px;border:none;margin:0}.editor-block-list__block .editor-url-input input[type=text]::-ms-clear,.editor-block-toolbar .editor-url-input input[type=text]::-ms-clear{display:none}.editor-block-list__block .editor-url-input .spinner,.editor-block-toolbar .editor-url-input .spinner{position:absolute;left:0;top:10px;margin:0}.editor-url-input__suggestions{position:absolute;background:#fff;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7;max-height:200px;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;margin:0 -1px;padding:4px 0;width:304px}.editor-url-input .spinner,.editor-url-input__suggestions{display:none}@media (min-width:600px){.editor-url-input .spinner,.editor-url-input__suggestions{display:inherit}}.editor-url-input__suggestion{padding:4px 10px 4px 46px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:right;border:none;box-shadow:none}.editor-url-input__suggestion:hover{background:#e2e4e7}.editor-url-input__suggestion.is-selected,.editor-url-input__suggestion:focus{background:#0088b3;color:#fff;outline:none}body.admin-color-sunrise .editor-url-input__suggestion.is-selected,body.admin-color-sunrise .editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .editor-url-input__suggestion.is-selected,body.admin-color-ocean .editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .editor-url-input__suggestion.is-selected,body.admin-color-midnight .editor-url-input__suggestion:focus{background:#c1423c}body.admin-color-ectoplasm .editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .editor-url-input__suggestion.is-selected,body.admin-color-coffee .editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .editor-url-input__suggestion.is-selected,body.admin-color-blue .editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .editor-url-input__suggestion.is-selected,body.admin-color-light .editor-url-input__suggestion:focus{background:#0088b3}.components-toolbar>.editor-url-input__button{position:inherit}.editor-url-input__button .editor-url-input__back{margin-left:4px;overflow:visible}.editor-url-input__button .editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#e2e4e7}.editor-url-input__button .editor-url-input__suggestions{right:-40px;left:-32px}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item .document-outline__emdash:before{color:#e2e4e7;margin-left:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;color:#23282d;text-align:right}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.document-outline__level{background:#e2e4e7;color:#23282d;border-radius:3px;font-size:13px;padding:1px 6px;margin-left:4px}.is-invalid .document-outline__level{background:#f0b849}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-right:5px}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-post-excerpt>.components-base-control{margin-bottom:0}.editor-post-excerpt__textarea{width:100%;height:80px;margin-bottom:10px}.editor-post-featured-image{padding:10px 0 0}.editor-post-featured-image .spinner{margin:0}.editor-post-featured-image__toggle{text-decoration:underline;color:#0073aa}body.admin-color-sunrise .editor-post-featured-image__toggle{color:#c8b03c}body.admin-color-ocean .editor-post-featured-image__toggle{color:#a89d8a}body.admin-color-midnight .editor-post-featured-image__toggle{color:#77a6b9}body.admin-color-ectoplasm .editor-post-featured-image__toggle{color:#c77430}body.admin-color-coffee .editor-post-featured-image__toggle{color:#9fa47b}body.admin-color-blue .editor-post-featured-image__toggle{color:#d9ab59}body.admin-color-light .editor-post-featured-image__toggle{color:#c75726}.editor-post-featured-image__toggle:focus{box-shadow:none;outline:none}.editor-post-featured-image__toggle:hover{color:#00a0d2}body.admin-color-sunrise .editor-post-featured-image__toggle:hover{color:#d1864a}body.admin-color-ocean .editor-post-featured-image__toggle:hover{color:#a3b9a2}body.admin-color-midnight .editor-post-featured-image__toggle:hover{color:#e34e46}body.admin-color-ectoplasm .editor-post-featured-image__toggle:hover{color:#a7b656}body.admin-color-coffee .editor-post-featured-image__toggle:hover{color:#c2a68c}body.admin-color-blue .editor-post-featured-image__toggle:hover{color:#82b4cb}body.admin-color-light .editor-post-featured-image__toggle:hover{color:#00a0d2}.editor-post-featured-image__preview{display:block;width:100%}.editor-post-featured-image__howto{color:#6c7781;font-style:italic;margin:10px 0}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:left;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-left:5px}.components-icon-button:not(:disabled).editor-post-last-revision__title:active,.components-icon-button:not(:disabled).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-post-publish-panel{background:#fff;color:#555d66}.editor-post-publish-panel__content .spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{padding-right:16px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header-publish-button{flex-grow:1;text-align:left}.editor-post-publish-panel__header-published{flex-grow:1}.wp-core-ui .editor-post-publish-panel__toggle.button-primary{display:inline-flex;align-items:center}.wp-core-ui .editor-post-publish-panel__toggle.button-primary.is-busy .dashicon{display:none}.wp-core-ui .editor-post-publish-panel__toggle.button-primary .dashicon{margin-left:-4px}.editor-post-publish-panel__link{color:#007fac;text-decoration:underline}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish .components-panel__body{margin:10px -16px -16px;border:none}.editor-post-publish-panel__prepublish .components-panel__body .components-panel__body-toggle{font-weight:400}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;border-top:none}.wp-core-ui .post-publish-panel__postpublish-buttons{display:flex;align-content:space-between}.wp-core-ui .post-publish-panel__postpublish-buttons>*{flex-grow:1;margin-left:10px}.wp-core-ui .post-publish-panel__postpublish-buttons>:last-child{margin-left:0}.wp-core-ui .post-publish-panel__postpublish-buttons .components-button{text-align:center}.wp-core-ui .post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-link-input[readonly]{width:100%;padding:10px;margin:15px 0;background:#fff;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.editor-post-saved-state{display:flex;align-items:center;color:#555d66;overflow:hidden}.editor-post-saved-state.is-saving{animation:loading_fade .5s infinite}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto}.editor-post-save-draft,.editor-post-saved-state{white-space:nowrap;padding:8px 4px;width:28px}.editor-post-save-draft .dashicon,.editor-post-saved-state .dashicon{margin-left:8px}@media (min-width:600px){.editor-post-save-draft,.editor-post-saved-state{padding:8px;width:auto;text-indent:inherit}.editor-post-save-draft .dashicon,.editor-post-saved-state .dashicon{margin-left:4px}}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:5px}.editor-post-taxonomies__hierarchical-terms-input[type=checkbox]{margin-top:0}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:5px;margin-right:16px}.button-link.editor-post-taxonomies__hierarchical-terms-add,.button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:10px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:10px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:5px;width:100%}.editor-post-text-editor{border:1px solid #e2e4e7;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #e2e4e7;box-shadow:none;outline:1px solid #e2e4e7;outline-offset:-2px}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-right:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#00a0d2}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e34e46}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#00a0d2}.editor-post-text-editor__del{text-decoration:line-through}.editor-post-title{position:relative;padding:5px 0}@media (min-width:600px){.editor-post-title{padding:5px 36px}}.editor-post-title .editor-post-title__input{display:block;width:100%;padding:19px 14px;margin:0;box-shadow:none;border:1px solid transparent;background:transparent;font-family:Noto Serif,serif;line-height:1.4;font-size:2.441em;font-weight:600}.editor-post-title .editor-post-title__input:hover,.editor-post-title.is-selected .editor-post-title__input{border:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-post-title .editor-post-title__input:hover,.is-dark-theme .editor-post-title.is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.3)}.editor-post-title .editor-post-permalink{font-size:13px;position:absolute;top:-35px;right:0;left:0}@media (min-width:600px){.editor-post-title .editor-post-permalink{right:36px;left:36px}}.editor-contrast-checker>.notice{margin:0}.editor-post-trash{margin-right:auto!important;text-decoration:underline}.editor-post-trash .dashicon{display:inline-block;vertical-align:middle;margin:-3px 10px 0 -4px}.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content{min-width:380px}.table-of-contents__popover .components-popover__content{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto;box-shadow:inset 0 -5px 5px -4px rgba(25,30,35,.1)}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__counts{display:flex;flex-wrap:wrap}.table-of-contents__count{width:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-block-inspector__multi-blocks,.editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.editor-block-inspector__multi-blocks{border-bottom:1px solid #e2e4e7}.editor-block-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.editor-block-inspector__card-icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.editor-block-inspector__card-content{flex-grow:1}.editor-block-inspector__card-title{font-weight:500;margin-bottom:5px}.editor-block-inspector__card-description{font-size:13px}.editor-skip-to-selected-block{position:absolute;top:-9999em}.editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#0073aa;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .editor-skip-to-selected-block:focus{color:#c75726}.components-draggable__clone>.editor-block-list__block>.editor-block-list__block-draggable{background:#fff;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1)}@media (min-width:600px){.components-draggable__clone>.editor-block-list__block>.editor-block-list__block-draggable{right:0;left:0}}.components-draggable__clone .editor-block-contextual-toolbar,.components-draggable__clone .editor-block-mover,.components-draggable__clone .editor-block-settings-menu{display:none!important}.editor-block-list__block-draggable{position:absolute;top:0;left:0;bottom:0;right:0;z-index:0;cursor:move;cursor:-webkit-grab;cursor:grab}.editor-block-list__block-draggable>.editor-block-list__block-draggable-inner{position:absolute;top:0;left:0;bottom:0;right:0;visibility:hidden;background-color:rgba(25,30,35,.05)}.is-dark-theme .editor-block-list__block-draggable>.editor-block-list__block-draggable-inner{background-color:hsla(0,0%,100%,.15)}@media (min-width:600px){.editor-block-list__block-draggable>.editor-block-list__block-draggable-inner{margin:0 48px}}.editor-block-list__block-draggable.is-visible>.editor-block-list__block-draggable-inner{visibility:visible}@media (min-width:600px){.editor-block-list__block-draggable{right:-36px;left:-36px}.editor-block-list__block[data-align=full] .editor-block-list__block-draggable{right:0;left:0}}.editor-block-list__block .editor-block-mover,.editor-block-list__block .editor-block-settings-menu{pointer-events:none}.editor-block-list__block .editor-block-mover>*,.editor-block-list__block .editor-block-settings-menu>*{pointer-events:auto}.editor-block-list__block.is-hidden *,.editor-block-list__block.is-hidden>*{visibility:hidden}.editor-block-list__block .editor-block-list__block-edit .shared-block-edit-panel *{z-index:1}@media (min-width:600px){.editor-block-list__layout{padding-right:36px;padding-left:36px}}.editor-block-list__block .editor-block-list__layout{padding-right:0;padding-left:0}.editor-block-list__layout .editor-block-list__block{position:relative;padding:1px 14px;margin-bottom:4px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block{padding-right:50px;padding-left:50px}}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit{margin-top:14px;margin-bottom:14px;padding-top:1px;padding-bottom:1px}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit{position:relative;min-height:250px;max-height:500px;overflow:hidden}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit>:not(.editor-warning){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-color:hsla(0,0%,100%,.6);background-image:linear-gradient(180deg,transparent,#fff)}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-mover:before,.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-settings-menu:before,.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-mover:before,.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-settings-menu:before{content:"";position:absolute;height:36px;top:10px}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-mover:before{left:0;border-left:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-mover:before{border-left-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-settings-menu:before{right:0;border-right:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-settings-menu:before{border-right-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__side-inserter{opacity:0}.editor-block-list__layout .editor-block-list__block .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block .editor-block-list__side-inserter{opacity:1;transition:opacity .2s}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit{position:relative}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;top:-14px;left:-14px;bottom:-14px;right:-14px;outline:1px solid transparent;pointer-events:none}.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block ::-moz-selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block ::selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::-moz-selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit:before{background:#b3e7fe;mix-blend-mode:multiply}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit:before{mix-blend-mode:soft-light}.editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-mover:before{border-left:none}.editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-settings-menu:before{border-right:none}.editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-list__block-edit:before{outline:1px dashed rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-list__block-edit:before{outline-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block[data-align=left],.editor-block-list__layout .editor-block-list__block[data-align=right]{z-index:20;width:100%;margin-bottom:0}.editor-block-list__layout .editor-block-list__block[data-align=left]:before,.editor-block-list__layout .editor-block-list__block[data-align=right]:before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit{float:right;margin-left:2em}.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit{float:left;margin-right:2em}.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-toolbar{float:left}.editor-block-list__layout .editor-block-list__block[data-align=full],.editor-block-list__layout .editor-block-list__block[data-align=wide]{clear:both;z-index:20}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]{margin-right:-36px;margin-left:-36px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-right:-50px;margin-left:-50px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit figure{width:100%}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit:before{right:0;left:0;border-right-width:0;border-left-width:0}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu{top:-29px;bottom:auto;height:auto;width:auto;z-index:inherit}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover:before,.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu:before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{right:10px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu{left:10px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover .editor-block-mover__control,.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu>*{float:right}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{display:none}@media (min-width:1280px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{display:block}}.editor-block-list__layout .editor-block-list__block[data-clear=true]{float:none}.editor-block-list__layout .editor-block-list__block .editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.editor-block-list__block>.editor-block-mover,.editor-block-list__block>.editor-block-settings-menu{position:absolute;top:0;bottom:0;width:30px;cursor:move;cursor:-webkit-grab;cursor:grab}@media (min-width:600px){.editor-block-list__block.is-hovered .editor-block-mover,.editor-block-list__block.is-hovered .editor-block-settings-menu,.editor-block-list__block.is-multi-selected .editor-block-mover,.editor-block-list__block.is-multi-selected .editor-block-settings-menu,.editor-block-list__block.is-selected .editor-block-mover,.editor-block-list__block.is-selected .editor-block-settings-menu{z-index:80}}.editor-block-list__block>.editor-block-settings-menu{left:-30px;padding-right:2px;display:none}@media (min-width:600px){.editor-block-list__block>.editor-block-settings-menu{display:flex;flex-direction:column}}.editor-block-list__block>.editor-block-mover{right:-30px;padding-left:2px;display:none}@media (min-width:600px){.editor-block-list__block>.editor-block-mover{display:block}}.editor-block-list__block .editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;margin-top:10px}@media (min-width:600px){.editor-block-list__block .editor-block-list__block-mobile-toolbar{display:none}}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter{position:relative;right:auto;top:auto;margin:0}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-settings-menu .components-button,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control .dashicon,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-settings-menu .components-button .dashicon,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle .dashicon{margin:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover{display:flex;margin-left:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-inserter,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-settings-menu>*{float:right}.editor-block-list .editor-inserter{margin:10px;cursor:move;cursor:-webkit-grab;cursor:grab}.editor-block-list__insertion-point{position:relative;z-index:5}.editor-block-list__insertion-point-indicator{position:absolute;top:13px;height:2px;right:0;left:0;background:#00a0d2}body.admin-color-sunrise .editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .editor-block-list__insertion-point-indicator{background:#e34e46}body.admin-color-ectoplasm .editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .editor-block-list__insertion-point-indicator{background:#00a0d2}.editor-block-list__insertion-point-inserter{position:absolute;background:none;border:none;display:block;top:0;height:28px;width:100%;cursor:pointer;padding:0}.editor-block-list__insertion-point-inserter:before{position:absolute;top:13px;height:2px;right:14px;left:14px;background:#8f98a1;content:"";opacity:0;transition:opacity .1s linear .1s}.editor-block-list__insertion-point-inserter:hover:before{opacity:1;transition:opacity .2s linear .5s}.editor-block-list__insertion-point-inserter:focus{outline:none}.editor-block-list__insertion-point-inserter:focus:before{opacity:1;transition:opacity .2s linear;outline:1px solid #6c7781;outline-offset:2px}.editor-block-list__insertion-point-inserter:focus:active:before{outline:none}.editor-block-list__block>.editor-block-list__insertion-point{position:absolute;top:-14px;height:28px;bottom:auto;right:0;left:0}.editor-block-list__block .editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.editor-block-list__block .editor-block-list__block-html-textarea:focus{box-shadow:none}.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{z-index:21;white-space:nowrap;text-align:right;pointer-events:none;height:37px;position:absolute;bottom:-36px;right:14px;left:14px;box-shadow:0 5px 10px rgba(25,30,35,.1),0 2px 2px rgba(25,30,35,.1);margin-right:-15px;margin-left:-15px}@media (min-width:480px){.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{position:-webkit-sticky;position:sticky;bottom:auto;right:auto;left:auto;box-shadow:none;margin-top:-38px;margin-bottom:15px}}@media (min-width:600px){.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{top:-1px}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=left] .editor-block-list__breadcrumb,.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=right] .editor-block-list__breadcrumb{margin-bottom:1px;margin-top:-38px}@media (min-width:600px){.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{margin-right:-51px;margin-left:-51px}[data-align=full] .editor-block-contextual-toolbar,[data-align=full] .editor-block-list__breadcrumb{margin-right:-50px;margin-left:-50px}}.editor-block-contextual-toolbar>*,.editor-block-list__breadcrumb>*{pointer-events:auto}.editor-block-contextual-toolbar .editor-block-toolbar,.editor-block-list__breadcrumb .components-toolbar{width:100%;background:#fff;background-clip:padding-box;box-sizing:padding-box;border:1px solid rgba(25,30,35,.15);position:absolute;right:0}.is-dark-theme .editor-block-contextual-toolbar .editor-block-toolbar,.is-dark-theme .editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.3)}.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar .editor-block-toolbar,.editor-block-list__block[data-align=right] .editor-block-list__breadcrumb .components-toolbar{right:auto;left:0}@media (min-width:600px){.editor-block-contextual-toolbar .editor-block-toolbar,.editor-block-list__breadcrumb .components-toolbar{width:auto}}.editor-block-contextual-toolbar .editor-block-toolbar{border-bottom:none}.editor-block-list__breadcrumb .components-toolbar{padding:0 12px;line-height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;cursor:default}.editor-block-list__breadcrumb .components-toolbar .components-button{margin-right:-12px;margin-left:12px;border-left:1px solid #e2e4e7;color:#555d66;padding-top:6px}.editor-block-list__breadcrumb{opacity:0}.editor-block-list__breadcrumb.is-visible{animation:fade-in .3s ease-out;animation-fill-mode:forwards}.editor-block-mover{opacity:0}.editor-block-mover.is-visible{animation:fade-in .3s ease-out;animation-fill-mode:forwards}.editor-block-mover__control{display:flex;align-items:center;justify-content:center;border:none;outline:none;background:none;cursor:pointer;padding:0;width:28px;height:28px;border-radius:4px;color:rgba(25,30,35,.5)}.is-dark-theme .editor-block-mover__control{color:hsla(0,0%,100%,.65)}.editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(25,30,35,.075)}.is-dark-theme .editor-block-mover__control[aria-disabled=true]{color:hsla(0,0%,100%,.2)}.editor-block-mover__control svg{width:28px;height:28px;padding:5px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control{background:#fff;border:1px solid #e2e4e7}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:first-child{border-width:1px 1px 0}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:last-child{border-width:0 1px 1px}}.editor-block-mover__control:not(:disabled):not([aria-disabled=true]):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.editor-block-mover__control:not(:disabled):not([aria-disabled=true]):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.editor-block-mover__control:not(:disabled):not([aria-disabled=true]):focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.editor-block-mover__description{display:none}.editor-block-drop-zone{border:none;border-radius:0}.editor-block-drop-zone .components-drop-zone__content{display:none}.editor-block-drop-zone.is-close-to-bottom{background:none;border-bottom:3px solid #00a0d2}body.admin-color-sunrise .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e34e46}body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #00a0d2}.editor-block-drop-zone.is-appender.is-close-to-bottom,.editor-block-drop-zone.is-appender.is-close-to-top,.editor-block-drop-zone.is-close-to-top{background:none;border-top:3px solid #00a0d2;border-bottom:none}body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-sunrise .editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ocean .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-midnight .editor-block-drop-zone.is-close-to-top{border-top:3px solid #e34e46}body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-coffee .editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-blue .editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-light .editor-block-drop-zone.is-close-to-top{border-top:3px solid #00a0d2}.editor-block-drop-zone.is-dragging-default .components-drop-zone__content,.editor-block-drop-zone.is-dragging-html .components-drop-zone__content{display:none}.editor-block-settings-menu{opacity:0}.editor-block-settings-menu.is-visible{animation:fade-in .3s ease-out;animation-fill-mode:forwards}.editor-block-settings-menu__toggle,.editor-block-settings-remove{justify-content:center;padding:0;width:28px;height:28px;border-radius:4px;color:rgba(25,30,35,.6)}.is-dark-theme .editor-block-settings-menu__toggle,.is-dark-theme .editor-block-settings-remove{color:hsla(0,0%,100%,.75)}@media (min-width:600px){.editor-block-list__layout .editor-block-list__layout .editor-block-settings-menu__toggle,.editor-block-list__layout .editor-block-list__layout .editor-block-settings-remove{background:#fff;border:1px solid #e2e4e7;color:#555d66}}.editor-block-settings-menu__toggle .dashicon{transform:rotate(-90deg)}.editor-block-settings-menu__popover{z-index:21}.editor-block-settings-menu__popover:after,.editor-block-settings-menu__popover:before{margin-right:2px}.editor-block-settings-menu__popover .components-popover__content{width:182px}.editor-block-settings-menu__popover .editor-block-settings-menu__content{width:100%}.editor-block-settings-menu__popover .editor-block-settings-menu__separator{margin-top:10px;margin-bottom:10px;border-top:1px solid #e2e4e7}.editor-block-settings-menu__popover .editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.editor-block-settings-menu__popover .editor-block-settings-menu__control{width:100%;justify-content:flex-start;padding:8px;background:none;outline:none;border-radius:0;color:#555d66;text-align:right;cursor:pointer;border:none;box-shadow:none}.editor-block-settings-menu__popover .editor-block-settings-menu__control:focus,.editor-block-settings-menu__popover .editor-block-settings-menu__control:hover,.editor-block-settings-menu__popover .editor-block-settings-menu__control:not(:disabled):hover{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-block-settings-menu__popover .editor-block-settings-menu__control .dashicon{margin-left:5px}.editor-warning{z-index:1;position:absolute;top:15px;right:50%;transform:translateX(50%);display:flex;flex-direction:column;justify-content:space-around;align-items:center;width:96%;max-width:780px;padding:20px;background-color:#fff;border:1px solid #e2e4e7;text-align:center;line-height:1.4;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.editor-warning__actions{display:flex;margin-top:20px}.editor-warning__action{margin:0 5px 5px}.editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.editor-inserter{position:relative}}.editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}input[type=search].editor-inserter__search{display:block;width:100%;margin:0;padding:11px 16px;position:relative;z-index:1;border:none;box-shadow:0 1px 0 0 #e2e4e7;outline-offset:-1px;font-size:16px}@media (min-width:600px){input[type=search].editor-inserter__search{font-size:13px}}input[type=search].editor-inserter__search:focus{color:#191e23;outline:1px solid #6c7781;box-shadow:none}.editor-inserter__category-blocks{display:flex;flex-flow:row wrap;padding:8px}.editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.editor-inserter__menu{width:350px;position:relative}.editor-inserter__menu .editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);background:#fff;position:absolute;right:100%;top:-1px;bottom:-1px;width:300px}}.editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.editor-inserter__block{display:flex;flex-direction:column;width:calc(33% - 8px);margin:4px;font-size:13px;color:#555d66;padding:8px 4px;align-items:center;justify-content:center;cursor:pointer;border:none;line-height:1em;background:transparent;outline:1px solid #f3f4f5;min-height:5em;overflow:hidden;word-break:break-word}.editor-inserter__block .dashicon{margin-bottom:3px}.editor-inserter__block:disabled{opacity:.6;cursor:default}.editor-inserter__block:not(:disabled):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.editor-inserter__block:not(:disabled).is-active,.editor-inserter__block:not(:disabled):active,.editor-inserter__block:not(:disabled):focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px;position:relative}.editor-inserter__separator{border-bottom:1px solid #e2e4e7;background:hsla(0,0%,100%,.8);text-align:center;display:block;margin:0;padding:12px 14px;font-size:13px;font-weight:600;margin-top:-1px}.editor-inserter__search-results{flex-grow:1;overflow:auto}@media (min-width:782px){.editor-inserter__search-results{height:288px}}.editor-inserter__no-blocks{display:block;text-align:center;font-style:italic;padding:24px}.editor-inserter__tabs{display:flex;flex-direction:column;height:100%;flex-grow:1;box-shadow:inset 0 -5px 5px -4px rgba(25,30,35,.1);overflow:hidden}.editor-inserter__tabs .components-tab-panel__tab-content{overflow:auto;outline-offset:-1px}.editor-inserter__tabs .components-tab-panel__tab-content:focus{color:#191e23;outline:1px solid #6c7781;box-shadow:none}.editor-inserter__tabs .components-tab-panel__tab-content:focus:active{outline:none}@media (min-width:782px){.editor-inserter__tabs .components-tab-panel__tab-content{height:250px}}.editor-inserter__tabs .components-tab-panel__tabs{width:100%;display:flex;justify-content:space-between;position:relative;background:#f8f9f9;border-bottom:1px solid #e2e4e7;flex-shrink:0;margin-top:1px;outline-offset:-1px}.editor-inserter__tab{border:none;background:none;font-size:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;padding:11px 8px;width:100%;border-radius:0;margin:0;color:#555d66;cursor:pointer;outline-offset:-1px}.editor-inserter__tab.is-active{padding-bottom:8px;font-weight:600;border-bottom:3px solid #00a0d2;position:relative;z-index:1}body.admin-color-sunrise .editor-inserter__tab.is-active{border-bottom:3px solid #d1864a}body.admin-color-ocean .editor-inserter__tab.is-active{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .editor-inserter__tab.is-active{border-bottom:3px solid #e34e46}body.admin-color-ectoplasm .editor-inserter__tab.is-active{border-bottom:3px solid #a7b656}body.admin-color-coffee .editor-inserter__tab.is-active{border-bottom:3px solid #c2a68c}body.admin-color-blue .editor-inserter__tab.is-active{border-bottom:3px solid #82b4cb}body.admin-color-light .editor-inserter__tab.is-active{border-bottom:3px solid #00a0d2}.editor-inserter__tab:active,.editor-inserter__tab:focus{z-index:1;color:#191e23;outline:1px solid #6c7781;box-shadow:none}.editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.editor-block-preview{display:block}}.editor-block-preview__title{margin-bottom:10px;color:#6c7781}.editor-block-preview__content{padding:14px;border:1px solid #e2e4e7}.editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:Noto Serif,serif}.editor-block-preview__content>div section{height:auto}.editor-block-preview__content>.shared-block-indicator{display:none}.editor-inserter-with-shortcuts{display:flex;align-items:center}.editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.editor-inserter-with-shortcuts__block{margin-left:4px;width:36px;height:36px;padding-top:8px;color:rgba(25,30,35,.25)}.is-dark-theme .editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.4)}.editor-default-block-appender input[type=text].editor-default-block-appender__content{border:none;background:none;box-shadow:none;display:block;margin:0;max-width:none;padding:14px;font-size:16px;cursor:text;width:100%;font-family:Noto Serif,serif;outline:1px solid transparent;transition:outline .2s;height:60px;color:rgba(25,30,35,.5)}.is-dark-theme .editor-default-block-appender input[type=text].editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.editor-default-block-appender .editor-inserter-with-shortcuts{opacity:.5;transition:opacity .2s}.editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:rgba(25,30,35,.6)}.is-dark-theme .editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:hsla(0,0%,100%,.75)}.editor-default-block-appender .editor-inserter__toggle:not([aria-expanded=true]){opacity:0}.editor-default-block-appender:hover .editor-inserter-with-shortcuts,.editor-default-block-appender:hover .editor-inserter__toggle{opacity:1}.editor-default-block-appender .components-drop-zone__content-icon{display:none}.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{position:absolute;top:10px;left:10px}@media (min-width:600px){.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{right:-36px;left:auto}}.editor-block-list__empty-block-inserter:disabled,.editor-default-block-appender .editor-inserter:disabled{display:none}.editor-block-list__empty-block-inserter .editor-inserter__toggle,.editor-default-block-appender .editor-inserter .editor-inserter__toggle{transition:opacity .2s;border-radius:50%}.editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:rgba(25,30,35,.6)}.is-dark-theme .editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.is-dark-theme .editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.editor-inserter-with-shortcuts{position:absolute;top:10px;left:14px;display:none}@media (min-width:600px){.editor-inserter-with-shortcuts{left:0;display:flex}}.editor-block-toolbar{display:inline-flex;flex-grow:1;width:100%;background:#fff;overflow:auto;position:relative}@media (min-width:600px){.editor-block-toolbar{overflow:inherit}}.editor-block-toolbar .components-toolbar{border:none;border-right:1px solid #e2e4e7}.editor-block-toolbar>div{display:flex}.editor-block-toolbar .editor-block-switcher{display:inline-flex}.edit-post-header-toolbar__block-toolbar .editor-block-toolbar .editor-block-switcher{border-right-color:1px solid #e2e4e7}.editor-block-switcher{position:relative}.editor-block-switcher .components-toolbar{border-right:none}.editor-block-switcher__toggle{width:auto;margin:0;padding:8px;border-radius:0}.editor-block-switcher__toggle:focus:before{top:-3px;left:-3px;bottom:-3px;right:-3px}.editor-block-switcher__popover .components-popover__content{width:200px}.editor-block-switcher__menu{box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;padding:3px 3px 0}.editor-block-switcher__menu-title{display:block;padding:6px;color:#6c7781}.editor-block-switcher__menu-item{color:#555d66;display:flex;align-items:center;width:100%;padding:6px;text-align:right}.editor-block-switcher__menu-item .editor-block-switcher__block-icon{margin-left:8px;height:20px}.editor-writing-flow{height:100%;display:flex;flex-direction:column}.editor-writing-flow__click-redirect{flex-basis:100%;cursor:text}.editor-format-toolbar{display:inline-flex}.editor-format-toolbar__link-modal{position:relative;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4;z-index:81}.edit-post-header-toolbar__block-toolbar .editor-format-toolbar__link-modal{position:absolute;right:0;left:0}.editor-format-toolbar__link-container{position:absolute;transform:translateX(50%);z-index:81}.editor-format-toolbar__link-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.editor-format-toolbar__link-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.editor-format-toolbar__link-settings-toggle .dashicon{transform:rotate(-90deg)}.editor-format-toolbar__link-value{margin:9px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;position:relative;white-space:nowrap;min-width:150px;max-width:500px}.editor-format-toolbar__link-settings{padding:7px 8px;border-top:1px solid #e2e4e7;padding-top:8px}.editor-format-toolbar__link-settings .components-base-control{margin:0;flex-grow:1;flex-shrink:1}
build/editor/style.css CHANGED
@@ -1 +1 @@
1
- .editor-post-permalink{display:inline-flex;align-items:center;background:#fff;padding:5px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid rgba(25,30,35,.15);border-bottom:none;background-clip:padding-box;box-sizing:padding-box;margin-left:-15px;margin-right:-15px}@media (min-width:600px){.editor-post-permalink{margin-left:-1px;margin-right:-1px}}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 10px 0 5px}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-right:10px;width:100%;overflow:hidden;position:relative;white-space:nowrap}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:1px;bottom:1px;right:1px;left:auto;width:20%;height:auto}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-left:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink-editor__edit{min-width:20%;margin:0 5px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-right:10px}.editor-autocompleters__block .dashicon{margin-right:8px}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-right:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-left:8px;color:#8f98a1;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:#66c6e4}.gutenberg .editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.editor-rich-text{position:relative}.editor-rich-text__tinymce{margin:0;position:relative}.editor-rich-text__tinymce>p:empty{min-height:28.8px}.editor-rich-text__tinymce>p:first-child{margin-top:0}.editor-rich-text__tinymce:focus{outline:none}.editor-rich-text__tinymce a{color:#007fac}.editor-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}.editor-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.is-multi-selected .editor-rich-text__tinymce code{background:#67cffd}.editor-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.editor-rich-text__tinymce:focus b[data-mce-selected],.editor-rich-text__tinymce:focus del[data-mce-selected],.editor-rich-text__tinymce:focus em[data-mce-selected],.editor-rich-text__tinymce:focus i[data-mce-selected],.editor-rich-text__tinymce:focus ins[data-mce-selected],.editor-rich-text__tinymce:focus strong[data-mce-selected],.editor-rich-text__tinymce:focus sub[data-mce-selected],.editor-rich-text__tinymce:focus sup[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e8eaeb;background:#e8eaeb}.editor-rich-text__tinymce[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0}.editor-rich-text__tinymce[data-is-placeholder-visible=true]>p{margin-top:0}.editor-rich-text__tinymce+.editor-rich-text__tinymce{opacity:.5;pointer-events:none}.editor-rich-text__tinymce.mce-content-body{line-height:1.8}.editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;left:0;right:0;z-index:1}.editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.editor-block-list__block .editor-url-input,.editor-block-toolbar .editor-url-input{width:100%;flex-grow:1;position:relative;width:230px}.editor-block-list__block .editor-url-input input[type=text],.editor-block-toolbar .editor-url-input input[type=text]{width:100%;padding:10px;border:none;margin:0}.editor-block-list__block .editor-url-input input[type=text]::-ms-clear,.editor-block-toolbar .editor-url-input input[type=text]::-ms-clear{display:none}.editor-block-list__block .editor-url-input .spinner,.editor-block-toolbar .editor-url-input .spinner{position:absolute;right:0;top:10px;margin:0}.editor-url-input__suggestions{position:absolute;background:#fff;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7;max-height:200px;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;margin:0 -1px;padding:4px 0;width:304px}.editor-url-input .spinner,.editor-url-input__suggestions{display:none}@media (min-width:600px){.editor-url-input .spinner,.editor-url-input__suggestions{display:inherit}}.editor-url-input__suggestion{padding:4px 46px 4px 10px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:left;border:none;box-shadow:none}.editor-url-input__suggestion:hover{background:#e2e4e7}.editor-url-input__suggestion.is-selected,.editor-url-input__suggestion:focus{background:#0088b3;color:#fff;outline:none}body.admin-color-sunrise .editor-url-input__suggestion.is-selected,body.admin-color-sunrise .editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .editor-url-input__suggestion.is-selected,body.admin-color-ocean .editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .editor-url-input__suggestion.is-selected,body.admin-color-midnight .editor-url-input__suggestion:focus{background:#c1423c}body.admin-color-ectoplasm .editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .editor-url-input__suggestion.is-selected,body.admin-color-coffee .editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .editor-url-input__suggestion.is-selected,body.admin-color-blue .editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .editor-url-input__suggestion.is-selected,body.admin-color-light .editor-url-input__suggestion:focus{background:#0088b3}.components-toolbar>.editor-url-input__button{position:inherit}.editor-url-input__button .editor-url-input__back{margin-right:4px;overflow:visible}.editor-url-input__button .editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#e2e4e7}.editor-url-input__button .editor-url-input__suggestions{left:-40px;right:-32px}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item .document-outline__emdash:before{color:#e2e4e7;margin-right:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;color:#23282d;text-align:left}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.document-outline__level{background:#e2e4e7;color:#23282d;border-radius:3px;font-size:13px;padding:1px 6px;margin-right:4px}.is-invalid .document-outline__level{background:#f0b849}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-left:5px}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-post-excerpt>.components-base-control{margin-bottom:0}.editor-post-excerpt__textarea{width:100%;height:80px;margin-bottom:10px}.editor-post-featured-image{padding:10px 0 0}.editor-post-featured-image .spinner{margin:0}.editor-post-featured-image__toggle{text-decoration:underline;color:#0073aa}body.admin-color-sunrise .editor-post-featured-image__toggle{color:#c8b03c}body.admin-color-ocean .editor-post-featured-image__toggle{color:#a89d8a}body.admin-color-midnight .editor-post-featured-image__toggle{color:#77a6b9}body.admin-color-ectoplasm .editor-post-featured-image__toggle{color:#c77430}body.admin-color-coffee .editor-post-featured-image__toggle{color:#9fa47b}body.admin-color-blue .editor-post-featured-image__toggle{color:#d9ab59}body.admin-color-light .editor-post-featured-image__toggle{color:#c75726}.editor-post-featured-image__toggle:focus{box-shadow:none;outline:none}.editor-post-featured-image__toggle:hover{color:#00a0d2}body.admin-color-sunrise .editor-post-featured-image__toggle:hover{color:#d1864a}body.admin-color-ocean .editor-post-featured-image__toggle:hover{color:#a3b9a2}body.admin-color-midnight .editor-post-featured-image__toggle:hover{color:#e34e46}body.admin-color-ectoplasm .editor-post-featured-image__toggle:hover{color:#a7b656}body.admin-color-coffee .editor-post-featured-image__toggle:hover{color:#c2a68c}body.admin-color-blue .editor-post-featured-image__toggle:hover{color:#82b4cb}body.admin-color-light .editor-post-featured-image__toggle:hover{color:#00a0d2}.editor-post-featured-image__preview{display:block;width:100%}.editor-post-featured-image__howto{color:#6c7781;font-style:italic;margin:10px 0}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:right;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-right:5px}.components-icon-button:not(:disabled).editor-post-last-revision__title:active,.components-icon-button:not(:disabled).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-post-publish-panel{background:#fff;color:#555d66}.editor-post-publish-panel__content .spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{padding-left:16px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header-publish-button{flex-grow:1;text-align:right}.editor-post-publish-panel__header-published{flex-grow:1}.wp-core-ui .editor-post-publish-panel__toggle.button-primary{display:inline-flex;align-items:center}.wp-core-ui .editor-post-publish-panel__toggle.button-primary.is-busy .dashicon{display:none}.wp-core-ui .editor-post-publish-panel__toggle.button-primary .dashicon{margin-right:-4px}.editor-post-publish-panel__link{color:#007fac;text-decoration:underline}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish .components-panel__body{margin:10px -16px -16px;border:none}.editor-post-publish-panel__prepublish .components-panel__body .components-panel__body-toggle{font-weight:400}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;border-top:none}.wp-core-ui .post-publish-panel__postpublish-buttons{display:flex;align-content:space-between}.wp-core-ui .post-publish-panel__postpublish-buttons>*{flex-grow:1;margin-right:10px}.wp-core-ui .post-publish-panel__postpublish-buttons>:last-child{margin-right:0}.wp-core-ui .post-publish-panel__postpublish-buttons .components-button{text-align:center}.wp-core-ui .post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-link-input[readonly]{width:100%;padding:10px;margin:15px 0;background:#fff;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.editor-post-saved-state{display:flex;align-items:center;color:#555d66;overflow:hidden}.editor-post-saved-state.is-saving{animation:loading_fade .5s infinite}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto}.editor-post-save-draft,.editor-post-saved-state{white-space:nowrap;padding:8px 4px;width:28px}.editor-post-save-draft .dashicon,.editor-post-saved-state .dashicon{margin-right:8px}@media (min-width:600px){.editor-post-save-draft,.editor-post-saved-state{padding:8px;width:auto;text-indent:inherit}.editor-post-save-draft .dashicon,.editor-post-saved-state .dashicon{margin-right:4px}}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:5px}.editor-post-taxonomies__hierarchical-terms-input[type=checkbox]{margin-top:0}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:5px;margin-left:16px}.button-link.editor-post-taxonomies__hierarchical-terms-add,.button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:10px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:10px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:5px;width:100%}.editor-post-text-editor{border:1px solid #e2e4e7;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #e2e4e7;box-shadow:none;outline:1px solid #e2e4e7;outline-offset:-2px}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-left:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#00a0d2}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e34e46}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#00a0d2}.editor-post-text-editor__del{text-decoration:line-through}.editor-post-title{position:relative;padding:5px 0}.editor-post-title .editor-post-title__input{display:block;width:100%;padding:19px 14px;margin:0;box-shadow:none;border:1px solid transparent;background:transparent;font-family:Noto Serif,serif;line-height:1.4;font-size:2.441em;font-weight:600}.editor-post-title .editor-post-title__input:hover,.editor-post-title.is-selected .editor-post-title__input{border:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-post-title .editor-post-title__input:hover,.is-dark-theme .editor-post-title.is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.3)}.editor-post-title .editor-post-permalink{font-size:13px;position:absolute;top:-35px;left:0;right:0}.editor-contrast-checker>.notice{margin:0}.editor-post-trash{margin-left:auto!important;text-decoration:underline}.editor-post-trash .dashicon{display:inline-block;vertical-align:middle;margin:-3px -4px 0 10px}.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content{min-width:380px}.table-of-contents__popover .components-popover__content{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto;box-shadow:inset 0 -5px 5px -4px rgba(25,30,35,.1)}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__counts{display:flex;flex-wrap:wrap}.table-of-contents__count{width:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-block-inspector__multi-blocks,.editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.editor-block-inspector__multi-blocks{border-bottom:1px solid #e2e4e7}.editor-block-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.editor-block-inspector__card-icon{border:1px solid #ccd0d4;padding:7px;margin-right:10px;height:36px;width:36px}.editor-block-inspector__card-content{flex-grow:1}.editor-block-inspector__card-title{font-weight:500;margin-bottom:5px}.editor-block-inspector__card-description{font-size:13px}.editor-skip-to-selected-block{position:absolute;top:-9999em}.editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#0073aa;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .editor-skip-to-selected-block:focus{color:#c75726}.editor-block-mover{opacity:0}.editor-block-mover.is-visible{animation:fade-in .3s ease-out;animation-fill-mode:forwards}.editor-block-mover__control{display:flex;align-items:center;justify-content:center;border:none;outline:none;background:none;cursor:pointer;padding:0;width:28px;height:28px;border-radius:4px;color:rgba(25,30,35,.5)}.is-dark-theme .editor-block-mover__control{color:hsla(0,0%,100%,.65)}.editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(25,30,35,.075)}.is-dark-theme .editor-block-mover__control[aria-disabled=true]{color:hsla(0,0%,100%,.2)}.editor-block-mover__control svg{width:28px;height:28px;padding:5px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control{background:#fff;border:1px solid #e2e4e7}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:first-child{border-width:1px 1px 0}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:last-child{border-width:0 1px 1px}}.editor-block-mover__control:not(:disabled):not([aria-disabled=true]):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.editor-block-mover__control:not(:disabled):not([aria-disabled=true]):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.editor-block-mover__control:not(:disabled):not([aria-disabled=true]):focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.editor-block-mover__description{display:none}.components-draggable__clone>.editor-block-list__block>.editor-block-list__block-draggable{background:#fff;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1)}@media (min-width:600px){.components-draggable__clone>.editor-block-list__block>.editor-block-list__block-draggable{left:0;right:0}}.components-draggable__clone .editor-block-contextual-toolbar,.components-draggable__clone .editor-block-mover,.components-draggable__clone .editor-block-settings-menu{display:none!important}.editor-block-list__block-draggable{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;cursor:move;cursor:-webkit-grab;cursor:grab}.editor-block-list__block-draggable>.editor-block-list__block-draggable-inner{position:absolute;top:0;right:0;bottom:0;left:0;visibility:hidden;background-color:rgba(25,30,35,.05)}.is-dark-theme .editor-block-list__block-draggable>.editor-block-list__block-draggable-inner{background-color:hsla(0,0%,100%,.15)}@media (min-width:600px){.editor-block-list__block-draggable>.editor-block-list__block-draggable-inner{margin:0 48px}}.editor-block-list__block-draggable.is-visible>.editor-block-list__block-draggable-inner{visibility:visible}@media (min-width:600px){.editor-block-list__block-draggable{left:-36px;right:-36px}.editor-block-list__block[data-align=full] .editor-block-list__block-draggable{left:0;right:0}}.editor-block-list__block .editor-block-mover,.editor-block-list__block .editor-block-settings-menu{pointer-events:none}.editor-block-list__block .editor-block-mover>*,.editor-block-list__block .editor-block-settings-menu>*{pointer-events:auto}.editor-block-list__block.is-hidden *,.editor-block-list__block.is-hidden>*{visibility:hidden}.editor-block-list__block .editor-block-list__block-edit .shared-block-edit-panel *{z-index:1}@media (min-width:600px){.editor-block-list__layout{padding-left:36px;padding-right:36px}}.editor-block-list__block .editor-block-list__layout{padding-left:0;padding-right:0}.editor-block-list__layout .editor-block-list__block{position:relative;padding:1px 14px;margin-bottom:4px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block{padding-left:50px;padding-right:50px}}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit{margin-top:14px;margin-bottom:14px;padding-top:1px;padding-bottom:1px}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit{position:relative;min-height:250px;max-height:500px;overflow:hidden}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit>:not(.editor-warning){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:hsla(0,0%,100%,.6);background-image:linear-gradient(180deg,transparent,#fff)}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-mover:before,.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-settings-menu:before,.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-mover:before,.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-settings-menu:before{content:"";position:absolute;height:36px;top:10px}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-mover:before{right:0;border-right:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-mover:before{border-right-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-settings-menu:before{left:0;border-left:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-settings-menu:before{border-left-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__side-inserter{opacity:0}.editor-block-list__layout .editor-block-list__block .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block .editor-block-list__side-inserter{opacity:1;transition:opacity .2s}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit{position:relative}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;outline:1px solid transparent;pointer-events:none}.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block ::-moz-selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block ::selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::-moz-selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit:before{background:#b3e7fe;mix-blend-mode:multiply}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit:before{mix-blend-mode:soft-light}.editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-mover:before{border-right:none}.editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-settings-menu:before{border-left:none}.editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-list__block-edit:before{outline:1px dashed rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-list__block-edit:before{outline-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block[data-align=left],.editor-block-list__layout .editor-block-list__block[data-align=right]{z-index:20;width:100%;margin-bottom:0}.editor-block-list__layout .editor-block-list__block[data-align=left]:before,.editor-block-list__layout .editor-block-list__block[data-align=right]:before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit{float:left;margin-right:2em}.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit{float:right;margin-left:2em}.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-toolbar{float:right}.editor-block-list__layout .editor-block-list__block[data-align=full],.editor-block-list__layout .editor-block-list__block[data-align=wide]{clear:both;z-index:20}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]{margin-left:-36px;margin-right:-36px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-left:-50px;margin-right:-50px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit figure{width:100%}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit:before{left:0;right:0;border-left-width:0;border-right-width:0}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu{top:-29px;bottom:auto;height:auto;width:auto;z-index:inherit}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover:before,.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu:before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{left:10px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu{right:10px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover .editor-block-mover__control,.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu>*{float:left}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{display:none}@media (min-width:1280px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{display:block}}.editor-block-list__layout .editor-block-list__block[data-clear=true]{float:none}.editor-block-list__layout .editor-block-list__block .editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.editor-block-list__block>.editor-block-mover,.editor-block-list__block>.editor-block-settings-menu{position:absolute;top:0;bottom:0;width:30px;cursor:move;cursor:-webkit-grab;cursor:grab}@media (min-width:600px){.editor-block-list__block.is-hovered .editor-block-mover,.editor-block-list__block.is-hovered .editor-block-settings-menu,.editor-block-list__block.is-multi-selected .editor-block-mover,.editor-block-list__block.is-multi-selected .editor-block-settings-menu,.editor-block-list__block.is-selected .editor-block-mover,.editor-block-list__block.is-selected .editor-block-settings-menu{z-index:80}}.editor-block-list__block>.editor-block-settings-menu{right:-30px;padding-left:2px;display:none}@media (min-width:600px){.editor-block-list__block>.editor-block-settings-menu{display:flex;flex-direction:column}}.editor-block-list__block>.editor-block-mover{left:-30px;padding-right:2px;display:none}@media (min-width:600px){.editor-block-list__block>.editor-block-mover{display:block}}.editor-block-list__block .editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;margin-top:10px}@media (min-width:600px){.editor-block-list__block .editor-block-list__block-mobile-toolbar{display:none}}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter{position:relative;left:auto;top:auto;margin:0}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-settings-menu .components-button,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control .dashicon,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-settings-menu .components-button .dashicon,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle .dashicon{margin:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover{display:flex;margin-right:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-inserter,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-settings-menu>*{float:left}.editor-block-list .editor-inserter{margin:10px;cursor:move;cursor:-webkit-grab;cursor:grab}.editor-block-list__insertion-point{position:relative;z-index:5}.editor-block-list__insertion-point-indicator{position:absolute;top:13px;height:2px;left:0;right:0;background:#00a0d2}body.admin-color-sunrise .editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .editor-block-list__insertion-point-indicator{background:#e34e46}body.admin-color-ectoplasm .editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .editor-block-list__insertion-point-indicator{background:#00a0d2}.editor-block-list__insertion-point-inserter{position:absolute;background:none;border:none;display:block;top:0;height:28px;width:100%;cursor:pointer;padding:0}.editor-block-list__insertion-point-inserter:before{position:absolute;top:13px;height:2px;left:14px;right:14px;background:#8f98a1;content:"";opacity:0;transition:opacity .1s linear .1s}.editor-block-list__insertion-point-inserter:hover:before{opacity:1;transition:opacity .2s linear .5s}.editor-block-list__insertion-point-inserter:focus{outline:none}.editor-block-list__insertion-point-inserter:focus:before{opacity:1;transition:opacity .2s linear;outline:1px solid #6c7781;outline-offset:2px}.editor-block-list__insertion-point-inserter:focus:active:before{outline:none}.editor-block-list__block>.editor-block-list__insertion-point{position:absolute;top:-14px;height:28px;bottom:auto;left:0;right:0}.editor-block-list__block .editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.editor-block-list__block .editor-block-list__block-html-textarea:focus{box-shadow:none}.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{z-index:21;white-space:nowrap;text-align:left;pointer-events:none;height:37px;position:absolute;bottom:-36px;left:14px;right:14px;box-shadow:0 5px 10px rgba(25,30,35,.1),0 2px 2px rgba(25,30,35,.1);margin-left:-15px;margin-right:-15px}@media (min-width:480px){.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{position:-webkit-sticky;position:sticky;bottom:auto;left:auto;right:auto;box-shadow:none;margin-top:-38px;margin-bottom:15px}}@media (min-width:600px){.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{top:-1px}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=left] .editor-block-list__breadcrumb,.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=right] .editor-block-list__breadcrumb{margin-bottom:1px;margin-top:-38px}@media (min-width:600px){.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{margin-left:-51px;margin-right:-51px}[data-align=full] .editor-block-contextual-toolbar,[data-align=full] .editor-block-list__breadcrumb{margin-left:-50px;margin-right:-50px}}.editor-block-contextual-toolbar>*,.editor-block-list__breadcrumb>*{pointer-events:auto}.editor-block-contextual-toolbar .editor-block-toolbar,.editor-block-list__breadcrumb .components-toolbar{width:100%;background:#fff;background-clip:padding-box;box-sizing:padding-box;border:1px solid rgba(25,30,35,.15);position:absolute;left:0}.is-dark-theme .editor-block-contextual-toolbar .editor-block-toolbar,.is-dark-theme .editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.3)}.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar .editor-block-toolbar,.editor-block-list__block[data-align=right] .editor-block-list__breadcrumb .components-toolbar{left:auto;right:0}@media (min-width:600px){.editor-block-contextual-toolbar .editor-block-toolbar,.editor-block-list__breadcrumb .components-toolbar{width:auto}}.editor-block-contextual-toolbar .editor-block-toolbar{border-bottom:none}.editor-block-list__breadcrumb .components-toolbar{padding:0 12px;line-height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;cursor:default}.editor-block-list__breadcrumb .components-toolbar .components-button{margin-left:-12px;margin-right:12px;border-right:1px solid #e2e4e7;color:#555d66;padding-top:6px}.editor-block-list__breadcrumb{opacity:0}.editor-block-list__breadcrumb.is-visible{animation:fade-in .3s ease-out;animation-fill-mode:forwards}.editor-block-drop-zone{border:none;border-radius:0}.editor-block-drop-zone .components-drop-zone__content{display:none}.editor-block-drop-zone.is-close-to-bottom{background:none;border-bottom:3px solid #00a0d2}body.admin-color-sunrise .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e34e46}body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #00a0d2}.editor-block-drop-zone.is-appender.is-close-to-bottom,.editor-block-drop-zone.is-appender.is-close-to-top,.editor-block-drop-zone.is-close-to-top{background:none;border-top:3px solid #00a0d2;border-bottom:none}body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-sunrise .editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ocean .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-midnight .editor-block-drop-zone.is-close-to-top{border-top:3px solid #e34e46}body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-coffee .editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-blue .editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-light .editor-block-drop-zone.is-close-to-top{border-top:3px solid #00a0d2}.editor-block-drop-zone.is-dragging-default .components-drop-zone__content,.editor-block-drop-zone.is-dragging-html .components-drop-zone__content{display:none}.editor-block-settings-menu{opacity:0}.editor-block-settings-menu.is-visible{animation:fade-in .3s ease-out;animation-fill-mode:forwards}.editor-block-settings-menu__toggle,.editor-block-settings-remove{justify-content:center;padding:0;width:28px;height:28px;border-radius:4px;color:rgba(25,30,35,.6)}.is-dark-theme .editor-block-settings-menu__toggle,.is-dark-theme .editor-block-settings-remove{color:hsla(0,0%,100%,.75)}@media (min-width:600px){.editor-block-list__layout .editor-block-list__layout .editor-block-settings-menu__toggle,.editor-block-list__layout .editor-block-list__layout .editor-block-settings-remove{background:#fff;border:1px solid #e2e4e7;color:#555d66}}.editor-block-settings-menu__toggle .dashicon{transform:rotate(90deg)}.editor-block-settings-menu__popover{z-index:21}.editor-block-settings-menu__popover:after,.editor-block-settings-menu__popover:before{margin-left:2px}.editor-block-settings-menu__popover .components-popover__content{width:182px}.editor-block-settings-menu__popover .editor-block-settings-menu__content{width:100%}.editor-block-settings-menu__popover .editor-block-settings-menu__separator{margin-top:10px;margin-bottom:10px;border-top:1px solid #e2e4e7}.editor-block-settings-menu__popover .editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.editor-block-settings-menu__popover .editor-block-settings-menu__control{width:100%;justify-content:flex-start;padding:8px;background:none;outline:none;border-radius:0;color:#555d66;text-align:left;cursor:pointer;border:none;box-shadow:none}.editor-block-settings-menu__popover .editor-block-settings-menu__control:focus,.editor-block-settings-menu__popover .editor-block-settings-menu__control:hover,.editor-block-settings-menu__popover .editor-block-settings-menu__control:not(:disabled):hover{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-block-settings-menu__popover .editor-block-settings-menu__control .dashicon{margin-right:5px}.editor-warning{z-index:1;position:absolute;top:15px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;justify-content:space-around;align-items:center;width:96%;max-width:780px;padding:20px;background-color:#fff;border:1px solid #e2e4e7;text-align:center;line-height:1.4;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.editor-warning__actions{display:flex;margin-top:20px}.editor-warning__action{margin:0 5px 5px}.editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.editor-inserter{position:relative}}.editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}input[type=search].editor-inserter__search{display:block;width:100%;margin:0;padding:11px 16px;position:relative;z-index:1;border:none;box-shadow:0 1px 0 0 #e2e4e7;outline-offset:-1px;font-size:16px}@media (min-width:600px){input[type=search].editor-inserter__search{font-size:13px}}input[type=search].editor-inserter__search:focus{color:#191e23;outline:1px solid #6c7781;box-shadow:none}.editor-inserter__category-blocks{display:flex;flex-flow:row wrap;padding:8px}.editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.editor-inserter__menu{width:350px;position:relative}.editor-inserter__menu .editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px}}.editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.editor-inserter__block{display:flex;flex-direction:column;width:calc(33% - 8px);margin:4px;font-size:13px;color:#555d66;padding:8px 4px;align-items:center;justify-content:center;cursor:pointer;border:none;line-height:1em;background:transparent;outline:1px solid #f3f4f5;min-height:5em;overflow:hidden;word-break:break-word}.editor-inserter__block .dashicon{margin-bottom:3px}.editor-inserter__block:disabled{opacity:.6;cursor:default}.editor-inserter__block:not(:disabled):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.editor-inserter__block:not(:disabled).is-active,.editor-inserter__block:not(:disabled):active,.editor-inserter__block:not(:disabled):focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px;position:relative}.editor-inserter__separator{border-bottom:1px solid #e2e4e7;background:hsla(0,0%,100%,.8);text-align:center;display:block;margin:0;padding:12px 14px;font-size:13px;font-weight:600;margin-top:-1px}.editor-inserter__search-results{flex-grow:1;overflow:auto}@media (min-width:782px){.editor-inserter__search-results{height:288px}}.editor-inserter__no-blocks{display:block;text-align:center;font-style:italic;padding:24px}.editor-inserter__tabs{display:flex;flex-direction:column;height:100%;flex-grow:1;box-shadow:inset 0 -5px 5px -4px rgba(25,30,35,.1);overflow:hidden}.editor-inserter__tabs .components-tab-panel__tab-content{overflow:auto;outline-offset:-1px}.editor-inserter__tabs .components-tab-panel__tab-content:focus{color:#191e23;outline:1px solid #6c7781;box-shadow:none}.editor-inserter__tabs .components-tab-panel__tab-content:focus:active{outline:none}@media (min-width:782px){.editor-inserter__tabs .components-tab-panel__tab-content{height:250px}}.editor-inserter__tabs .components-tab-panel__tabs{width:100%;display:flex;justify-content:space-between;position:relative;background:#f8f9f9;border-bottom:1px solid #e2e4e7;flex-shrink:0;margin-top:1px;outline-offset:-1px}.editor-inserter__tab{border:none;background:none;font-size:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;padding:11px 8px;width:100%;border-radius:0;margin:0;color:#555d66;cursor:pointer;outline-offset:-1px}.editor-inserter__tab.is-active{padding-bottom:8px;font-weight:600;border-bottom:3px solid #00a0d2;position:relative;z-index:1}body.admin-color-sunrise .editor-inserter__tab.is-active{border-bottom:3px solid #d1864a}body.admin-color-ocean .editor-inserter__tab.is-active{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .editor-inserter__tab.is-active{border-bottom:3px solid #e34e46}body.admin-color-ectoplasm .editor-inserter__tab.is-active{border-bottom:3px solid #a7b656}body.admin-color-coffee .editor-inserter__tab.is-active{border-bottom:3px solid #c2a68c}body.admin-color-blue .editor-inserter__tab.is-active{border-bottom:3px solid #82b4cb}body.admin-color-light .editor-inserter__tab.is-active{border-bottom:3px solid #00a0d2}.editor-inserter__tab:active,.editor-inserter__tab:focus{z-index:1;color:#191e23;outline:1px solid #6c7781;box-shadow:none}.editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.editor-block-preview{display:block}}.editor-block-preview__title{margin-bottom:10px;color:#6c7781}.editor-block-preview__content{padding:14px;border:1px solid #e2e4e7}.editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:Noto Serif,serif}.editor-block-preview__content>div section{height:auto}.editor-block-preview__content>.shared-block-indicator{display:none}.editor-inserter-with-shortcuts{display:flex;align-items:center}.editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.editor-inserter-with-shortcuts__block{margin-right:4px;width:36px;height:36px;padding-top:8px;color:rgba(25,30,35,.25)}.is-dark-theme .editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.4)}.editor-default-block-appender input[type=text].editor-default-block-appender__content{border:none;background:none;box-shadow:none;display:block;margin:0;max-width:none;padding:14px;font-size:16px;cursor:text;width:100%;font-family:Noto Serif,serif;outline:1px solid transparent;transition:outline .2s;height:60px;color:rgba(25,30,35,.5)}.is-dark-theme .editor-default-block-appender input[type=text].editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.editor-default-block-appender .editor-inserter-with-shortcuts{opacity:.5;transition:opacity .2s}.editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:rgba(25,30,35,.6)}.is-dark-theme .editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:hsla(0,0%,100%,.75)}.editor-default-block-appender .editor-inserter__toggle:not([aria-expanded=true]){opacity:0}.editor-default-block-appender:hover .editor-inserter-with-shortcuts,.editor-default-block-appender:hover .editor-inserter__toggle{opacity:1}.editor-default-block-appender .components-drop-zone__content-icon{display:none}.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{position:absolute;top:10px;right:10px}@media (min-width:600px){.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{left:-36px;right:auto}}.editor-block-list__empty-block-inserter:disabled,.editor-default-block-appender .editor-inserter:disabled{display:none}.editor-block-list__empty-block-inserter .editor-inserter__toggle,.editor-default-block-appender .editor-inserter .editor-inserter__toggle{transition:opacity .2s;border-radius:50%}.editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:rgba(25,30,35,.6)}.is-dark-theme .editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.is-dark-theme .editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.editor-inserter-with-shortcuts{position:absolute;top:10px;right:14px;display:none}@media (min-width:600px){.editor-inserter-with-shortcuts{right:0;display:flex}}.editor-block-toolbar{display:inline-flex;flex-grow:1;width:100%;background:#fff;overflow:auto;position:relative}@media (min-width:600px){.editor-block-toolbar{overflow:inherit}}.editor-block-toolbar .components-toolbar{border:none;border-left:1px solid #e2e4e7}.editor-block-toolbar>div{display:flex}.editor-block-toolbar .editor-block-switcher{display:inline-flex}.edit-post-header-toolbar__block-toolbar .editor-block-toolbar .editor-block-switcher{border-left-color:1px solid #e2e4e7}.editor-block-switcher{position:relative}.editor-block-switcher .components-toolbar{border-left:none}.editor-block-switcher__toggle{width:auto;margin:0;padding:8px;border-radius:0}.editor-block-switcher__toggle:focus:before{top:-3px;right:-3px;bottom:-3px;left:-3px}.editor-block-switcher__popover .components-popover__content{width:200px}.editor-block-switcher__menu{box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;padding:3px 3px 0}.editor-block-switcher__menu-title{display:block;padding:6px;color:#6c7781}.editor-block-switcher__menu-item{color:#555d66;display:flex;align-items:center;width:100%;padding:6px;text-align:left}.editor-block-switcher__menu-item .editor-block-switcher__block-icon{margin-right:8px;height:20px}.editor-writing-flow{height:100%;display:flex;flex-direction:column}.editor-writing-flow__click-redirect{flex-basis:100%;cursor:text}.editor-format-toolbar{display:inline-flex}.editor-format-toolbar__link-modal{position:relative;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4;z-index:81}.edit-post-header-toolbar__block-toolbar .editor-format-toolbar__link-modal{position:absolute;left:0;right:0}.editor-format-toolbar__link-container{position:absolute;transform:translateX(-50%);z-index:81}.editor-format-toolbar__link-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.editor-format-toolbar__link-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.editor-format-toolbar__link-settings-toggle .dashicon{transform:rotate(90deg)}.editor-format-toolbar__link-value{margin:9px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;position:relative;white-space:nowrap;min-width:150px;max-width:500px}.editor-format-toolbar__link-settings{padding:7px 8px;border-top:1px solid #e2e4e7;padding-top:8px}.editor-format-toolbar__link-settings .components-base-control{margin:0;flex-grow:1;flex-shrink:1}
1
+ .editor-post-permalink{display:inline-flex;align-items:center;background:#fff;padding:5px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid rgba(25,30,35,.15);border-bottom:none;background-clip:padding-box;box-sizing:padding-box;margin-left:-15px;margin-right:-15px}@media (min-width:600px){.editor-post-permalink{margin-left:-1px;margin-right:-1px}}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 10px 0 5px}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-right:10px;width:100%;overflow:hidden;position:relative;white-space:nowrap}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:1px;bottom:1px;right:1px;left:auto;width:20%;height:auto}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-left:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink-editor__edit{min-width:20%;margin:0 5px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-right:10px}.editor-autocompleters__block .dashicon{margin-right:8px}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-right:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-left:8px;color:#8f98a1;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:#66c6e4}.gutenberg .editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.editor-rich-text{position:relative}.editor-rich-text__tinymce{margin:0;position:relative}.editor-rich-text__tinymce>p:empty{min-height:28.8px}.editor-rich-text__tinymce>p:first-child{margin-top:0}.editor-rich-text__tinymce:focus{outline:none}.editor-rich-text__tinymce a{color:#007fac}.editor-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}.editor-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.is-multi-selected .editor-rich-text__tinymce code{background:#67cffd}.editor-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.editor-rich-text__tinymce:focus b[data-mce-selected],.editor-rich-text__tinymce:focus del[data-mce-selected],.editor-rich-text__tinymce:focus em[data-mce-selected],.editor-rich-text__tinymce:focus i[data-mce-selected],.editor-rich-text__tinymce:focus ins[data-mce-selected],.editor-rich-text__tinymce:focus strong[data-mce-selected],.editor-rich-text__tinymce:focus sub[data-mce-selected],.editor-rich-text__tinymce:focus sup[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e8eaeb;background:#e8eaeb}.editor-rich-text__tinymce[data-is-placeholder-visible=true]{position:absolute;top:0;width:100%;margin-top:0}.editor-rich-text__tinymce[data-is-placeholder-visible=true]>p{margin-top:0}.editor-rich-text__tinymce+.editor-rich-text__tinymce{opacity:.5;pointer-events:none}.editor-rich-text__tinymce.mce-content-body{line-height:1.8}.editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;left:0;right:0;z-index:1}.editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.editor-block-list__block .editor-url-input,.editor-block-toolbar .editor-url-input{width:100%;flex-grow:1;position:relative;width:230px}.editor-block-list__block .editor-url-input input[type=text],.editor-block-toolbar .editor-url-input input[type=text]{width:100%;padding:10px;border:none;margin:0}.editor-block-list__block .editor-url-input input[type=text]::-ms-clear,.editor-block-toolbar .editor-url-input input[type=text]::-ms-clear{display:none}.editor-block-list__block .editor-url-input .spinner,.editor-block-toolbar .editor-url-input .spinner{position:absolute;right:0;top:10px;margin:0}.editor-url-input__suggestions{position:absolute;background:#fff;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7;max-height:200px;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;margin:0 -1px;padding:4px 0;width:304px}.editor-url-input .spinner,.editor-url-input__suggestions{display:none}@media (min-width:600px){.editor-url-input .spinner,.editor-url-input__suggestions{display:inherit}}.editor-url-input__suggestion{padding:4px 46px 4px 10px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:left;border:none;box-shadow:none}.editor-url-input__suggestion:hover{background:#e2e4e7}.editor-url-input__suggestion.is-selected,.editor-url-input__suggestion:focus{background:#0088b3;color:#fff;outline:none}body.admin-color-sunrise .editor-url-input__suggestion.is-selected,body.admin-color-sunrise .editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .editor-url-input__suggestion.is-selected,body.admin-color-ocean .editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .editor-url-input__suggestion.is-selected,body.admin-color-midnight .editor-url-input__suggestion:focus{background:#c1423c}body.admin-color-ectoplasm .editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .editor-url-input__suggestion.is-selected,body.admin-color-coffee .editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .editor-url-input__suggestion.is-selected,body.admin-color-blue .editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .editor-url-input__suggestion.is-selected,body.admin-color-light .editor-url-input__suggestion:focus{background:#0088b3}.components-toolbar>.editor-url-input__button{position:inherit}.editor-url-input__button .editor-url-input__back{margin-right:4px;overflow:visible}.editor-url-input__button .editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#e2e4e7}.editor-url-input__button .editor-url-input__suggestions{left:-40px;right:-32px}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item .document-outline__emdash:before{color:#e2e4e7;margin-right:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;color:#23282d;text-align:left}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.document-outline__level{background:#e2e4e7;color:#23282d;border-radius:3px;font-size:13px;padding:1px 6px;margin-right:4px}.is-invalid .document-outline__level{background:#f0b849}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-left:5px}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-post-excerpt>.components-base-control{margin-bottom:0}.editor-post-excerpt__textarea{width:100%;height:80px;margin-bottom:10px}.editor-post-featured-image{padding:10px 0 0}.editor-post-featured-image .spinner{margin:0}.editor-post-featured-image__toggle{text-decoration:underline;color:#0073aa}body.admin-color-sunrise .editor-post-featured-image__toggle{color:#c8b03c}body.admin-color-ocean .editor-post-featured-image__toggle{color:#a89d8a}body.admin-color-midnight .editor-post-featured-image__toggle{color:#77a6b9}body.admin-color-ectoplasm .editor-post-featured-image__toggle{color:#c77430}body.admin-color-coffee .editor-post-featured-image__toggle{color:#9fa47b}body.admin-color-blue .editor-post-featured-image__toggle{color:#d9ab59}body.admin-color-light .editor-post-featured-image__toggle{color:#c75726}.editor-post-featured-image__toggle:focus{box-shadow:none;outline:none}.editor-post-featured-image__toggle:hover{color:#00a0d2}body.admin-color-sunrise .editor-post-featured-image__toggle:hover{color:#d1864a}body.admin-color-ocean .editor-post-featured-image__toggle:hover{color:#a3b9a2}body.admin-color-midnight .editor-post-featured-image__toggle:hover{color:#e34e46}body.admin-color-ectoplasm .editor-post-featured-image__toggle:hover{color:#a7b656}body.admin-color-coffee .editor-post-featured-image__toggle:hover{color:#c2a68c}body.admin-color-blue .editor-post-featured-image__toggle:hover{color:#82b4cb}body.admin-color-light .editor-post-featured-image__toggle:hover{color:#00a0d2}.editor-post-featured-image__preview{display:block;width:100%}.editor-post-featured-image__howto{color:#6c7781;font-style:italic;margin:10px 0}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:right;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-right:5px}.components-icon-button:not(:disabled).editor-post-last-revision__title:active,.components-icon-button:not(:disabled).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-post-publish-panel{background:#fff;color:#555d66}.editor-post-publish-panel__content .spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{padding-left:16px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header-publish-button{flex-grow:1;text-align:right}.editor-post-publish-panel__header-published{flex-grow:1}.wp-core-ui .editor-post-publish-panel__toggle.button-primary{display:inline-flex;align-items:center}.wp-core-ui .editor-post-publish-panel__toggle.button-primary.is-busy .dashicon{display:none}.wp-core-ui .editor-post-publish-panel__toggle.button-primary .dashicon{margin-right:-4px}.editor-post-publish-panel__link{color:#007fac;text-decoration:underline}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish .components-panel__body{margin:10px -16px -16px;border:none}.editor-post-publish-panel__prepublish .components-panel__body .components-panel__body-toggle{font-weight:400}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;border-top:none}.wp-core-ui .post-publish-panel__postpublish-buttons{display:flex;align-content:space-between}.wp-core-ui .post-publish-panel__postpublish-buttons>*{flex-grow:1;margin-right:10px}.wp-core-ui .post-publish-panel__postpublish-buttons>:last-child{margin-right:0}.wp-core-ui .post-publish-panel__postpublish-buttons .components-button{text-align:center}.wp-core-ui .post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-link-input[readonly]{width:100%;padding:10px;margin:15px 0;background:#fff;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.editor-post-saved-state{display:flex;align-items:center;color:#555d66;overflow:hidden}.editor-post-saved-state.is-saving{animation:loading_fade .5s infinite}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto}.editor-post-save-draft,.editor-post-saved-state{white-space:nowrap;padding:8px 4px;width:28px}.editor-post-save-draft .dashicon,.editor-post-saved-state .dashicon{margin-right:8px}@media (min-width:600px){.editor-post-save-draft,.editor-post-saved-state{padding:8px;width:auto;text-indent:inherit}.editor-post-save-draft .dashicon,.editor-post-saved-state .dashicon{margin-right:4px}}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:5px}.editor-post-taxonomies__hierarchical-terms-input[type=checkbox]{margin-top:0}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:5px;margin-left:16px}.button-link.editor-post-taxonomies__hierarchical-terms-add,.button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:10px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:10px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:5px;width:100%}.editor-post-text-editor{border:1px solid #e2e4e7;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #e2e4e7;box-shadow:none;outline:1px solid #e2e4e7;outline-offset:-2px}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-left:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#00a0d2}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e34e46}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#00a0d2}.editor-post-text-editor__del{text-decoration:line-through}.editor-post-title{position:relative;padding:5px 0}@media (min-width:600px){.editor-post-title{padding:5px 36px}}.editor-post-title .editor-post-title__input{display:block;width:100%;padding:19px 14px;margin:0;box-shadow:none;border:1px solid transparent;background:transparent;font-family:Noto Serif,serif;line-height:1.4;font-size:2.441em;font-weight:600}.editor-post-title .editor-post-title__input:hover,.editor-post-title.is-selected .editor-post-title__input{border:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-post-title .editor-post-title__input:hover,.is-dark-theme .editor-post-title.is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.3)}.editor-post-title .editor-post-permalink{font-size:13px;position:absolute;top:-35px;left:0;right:0}@media (min-width:600px){.editor-post-title .editor-post-permalink{left:36px;right:36px}}.editor-contrast-checker>.notice{margin:0}.editor-post-trash{margin-left:auto!important;text-decoration:underline}.editor-post-trash .dashicon{display:inline-block;vertical-align:middle;margin:-3px -4px 0 10px}.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content{min-width:380px}.table-of-contents__popover .components-popover__content{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto;box-shadow:inset 0 -5px 5px -4px rgba(25,30,35,.1)}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__counts{display:flex;flex-wrap:wrap}.table-of-contents__count{width:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-block-inspector__multi-blocks,.editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.editor-block-inspector__multi-blocks{border-bottom:1px solid #e2e4e7}.editor-block-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.editor-block-inspector__card-icon{border:1px solid #ccd0d4;padding:7px;margin-right:10px;height:36px;width:36px}.editor-block-inspector__card-content{flex-grow:1}.editor-block-inspector__card-title{font-weight:500;margin-bottom:5px}.editor-block-inspector__card-description{font-size:13px}.editor-skip-to-selected-block{position:absolute;top:-9999em}.editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#0073aa;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .editor-skip-to-selected-block:focus{color:#c75726}.components-draggable__clone>.editor-block-list__block>.editor-block-list__block-draggable{background:#fff;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1)}@media (min-width:600px){.components-draggable__clone>.editor-block-list__block>.editor-block-list__block-draggable{left:0;right:0}}.components-draggable__clone .editor-block-contextual-toolbar,.components-draggable__clone .editor-block-mover,.components-draggable__clone .editor-block-settings-menu{display:none!important}.editor-block-list__block-draggable{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;cursor:move;cursor:-webkit-grab;cursor:grab}.editor-block-list__block-draggable>.editor-block-list__block-draggable-inner{position:absolute;top:0;right:0;bottom:0;left:0;visibility:hidden;background-color:rgba(25,30,35,.05)}.is-dark-theme .editor-block-list__block-draggable>.editor-block-list__block-draggable-inner{background-color:hsla(0,0%,100%,.15)}@media (min-width:600px){.editor-block-list__block-draggable>.editor-block-list__block-draggable-inner{margin:0 48px}}.editor-block-list__block-draggable.is-visible>.editor-block-list__block-draggable-inner{visibility:visible}@media (min-width:600px){.editor-block-list__block-draggable{left:-36px;right:-36px}.editor-block-list__block[data-align=full] .editor-block-list__block-draggable{left:0;right:0}}.editor-block-list__block .editor-block-mover,.editor-block-list__block .editor-block-settings-menu{pointer-events:none}.editor-block-list__block .editor-block-mover>*,.editor-block-list__block .editor-block-settings-menu>*{pointer-events:auto}.editor-block-list__block.is-hidden *,.editor-block-list__block.is-hidden>*{visibility:hidden}.editor-block-list__block .editor-block-list__block-edit .shared-block-edit-panel *{z-index:1}@media (min-width:600px){.editor-block-list__layout{padding-left:36px;padding-right:36px}}.editor-block-list__block .editor-block-list__layout{padding-left:0;padding-right:0}.editor-block-list__layout .editor-block-list__block{position:relative;padding:1px 14px;margin-bottom:4px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block{padding-left:50px;padding-right:50px}}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit{margin-top:14px;margin-bottom:14px;padding-top:1px;padding-bottom:1px}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit{position:relative;min-height:250px;max-height:500px;overflow:hidden}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit>:not(.editor-warning){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:hsla(0,0%,100%,.6);background-image:linear-gradient(180deg,transparent,#fff)}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-mover:before,.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-settings-menu:before,.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-mover:before,.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-settings-menu:before{content:"";position:absolute;height:36px;top:10px}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-mover:before{right:0;border-right:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-mover:before{border-right-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-settings-menu:before{left:0;border-left:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-hovered>.editor-block-settings-menu:before{border-left-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block.is-typing .editor-block-list__side-inserter{opacity:0}.editor-block-list__layout .editor-block-list__block .editor-block-list__empty-block-inserter,.editor-block-list__layout .editor-block-list__block .editor-block-list__side-inserter{opacity:1;transition:opacity .2s}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit{position:relative}.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;outline:1px solid transparent;pointer-events:none}.editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline:1px solid rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-selected>.editor-block-list__block-edit:before{outline-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block ::-moz-selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block ::selection{background-color:#b3e7fe}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::-moz-selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit:before{background:#b3e7fe;mix-blend-mode:multiply}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-multi-selected .editor-block-list__block-edit:before{mix-blend-mode:soft-light}.editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-mover:before{border-right:none}.editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-settings-menu:before{border-left:none}.editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-list__block-edit:before{outline:1px dashed rgba(25,30,35,.15)}.is-dark-theme .editor-block-list__layout .editor-block-list__block.is-shared>.editor-block-list__block-edit:before{outline-color:hsla(0,0%,100%,.3)}.editor-block-list__layout .editor-block-list__block[data-align=left],.editor-block-list__layout .editor-block-list__block[data-align=right]{z-index:20;width:100%;margin-bottom:0}.editor-block-list__layout .editor-block-list__block[data-align=left]:before,.editor-block-list__layout .editor-block-list__block[data-align=right]:before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit{float:left;margin-right:2em}.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit{float:right;margin-left:2em}.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-toolbar{float:right}.editor-block-list__layout .editor-block-list__block[data-align=full],.editor-block-list__layout .editor-block-list__block[data-align=wide]{clear:both;z-index:20}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]{margin-left:-36px;margin-right:-36px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit{margin-left:-50px;margin-right:-50px}}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit figure{width:100%}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-list__block-edit:before{left:0;right:0;border-left-width:0;border-right-width:0}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover,.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu{top:-29px;bottom:auto;height:auto;width:auto;z-index:inherit}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover:before,.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu:before{content:none}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{left:10px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu{right:10px}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover .editor-block-mover__control,.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-settings-menu>*{float:left}.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{display:none}@media (min-width:1280px){.editor-block-list__layout .editor-block-list__block[data-align=full]>.editor-block-mover{display:block}}.editor-block-list__layout .editor-block-list__block[data-clear=true]{float:none}.editor-block-list__layout .editor-block-list__block .editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.editor-block-list__block>.editor-block-mover,.editor-block-list__block>.editor-block-settings-menu{position:absolute;top:0;bottom:0;width:30px;cursor:move;cursor:-webkit-grab;cursor:grab}@media (min-width:600px){.editor-block-list__block.is-hovered .editor-block-mover,.editor-block-list__block.is-hovered .editor-block-settings-menu,.editor-block-list__block.is-multi-selected .editor-block-mover,.editor-block-list__block.is-multi-selected .editor-block-settings-menu,.editor-block-list__block.is-selected .editor-block-mover,.editor-block-list__block.is-selected .editor-block-settings-menu{z-index:80}}.editor-block-list__block>.editor-block-settings-menu{right:-30px;padding-left:2px;display:none}@media (min-width:600px){.editor-block-list__block>.editor-block-settings-menu{display:flex;flex-direction:column}}.editor-block-list__block>.editor-block-mover{left:-30px;padding-right:2px;display:none}@media (min-width:600px){.editor-block-list__block>.editor-block-mover{display:block}}.editor-block-list__block .editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;margin-top:10px}@media (min-width:600px){.editor-block-list__block .editor-block-list__block-mobile-toolbar{display:none}}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter{position:relative;left:auto;top:auto;margin:0}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-settings-menu .components-button,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover__control .dashicon,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-settings-menu .components-button .dashicon,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-inserter__toggle .dashicon{margin:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover{display:flex;margin-right:auto}.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-block-mover__control,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-mover .editor-inserter,.editor-block-list__block .editor-block-list__block-mobile-toolbar .editor-block-settings-menu>*{float:left}.editor-block-list .editor-inserter{margin:10px;cursor:move;cursor:-webkit-grab;cursor:grab}.editor-block-list__insertion-point{position:relative;z-index:5}.editor-block-list__insertion-point-indicator{position:absolute;top:13px;height:2px;left:0;right:0;background:#00a0d2}body.admin-color-sunrise .editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .editor-block-list__insertion-point-indicator{background:#e34e46}body.admin-color-ectoplasm .editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .editor-block-list__insertion-point-indicator{background:#00a0d2}.editor-block-list__insertion-point-inserter{position:absolute;background:none;border:none;display:block;top:0;height:28px;width:100%;cursor:pointer;padding:0}.editor-block-list__insertion-point-inserter:before{position:absolute;top:13px;height:2px;left:14px;right:14px;background:#8f98a1;content:"";opacity:0;transition:opacity .1s linear .1s}.editor-block-list__insertion-point-inserter:hover:before{opacity:1;transition:opacity .2s linear .5s}.editor-block-list__insertion-point-inserter:focus{outline:none}.editor-block-list__insertion-point-inserter:focus:before{opacity:1;transition:opacity .2s linear;outline:1px solid #6c7781;outline-offset:2px}.editor-block-list__insertion-point-inserter:focus:active:before{outline:none}.editor-block-list__block>.editor-block-list__insertion-point{position:absolute;top:-14px;height:28px;bottom:auto;left:0;right:0}.editor-block-list__block .editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}.editor-block-list__block .editor-block-list__block-html-textarea:focus{box-shadow:none}.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{z-index:21;white-space:nowrap;text-align:left;pointer-events:none;height:37px;position:absolute;bottom:-36px;left:14px;right:14px;box-shadow:0 5px 10px rgba(25,30,35,.1),0 2px 2px rgba(25,30,35,.1);margin-left:-15px;margin-right:-15px}@media (min-width:480px){.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{position:-webkit-sticky;position:sticky;bottom:auto;left:auto;right:auto;box-shadow:none;margin-top:-38px;margin-bottom:15px}}@media (min-width:600px){.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{top:-1px}}.editor-block-list__block[data-align=left] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=left] .editor-block-list__breadcrumb,.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar,.editor-block-list__block[data-align=right] .editor-block-list__breadcrumb{margin-bottom:1px;margin-top:-38px}@media (min-width:600px){.editor-block-contextual-toolbar,.editor-block-list__breadcrumb{margin-left:-51px;margin-right:-51px}[data-align=full] .editor-block-contextual-toolbar,[data-align=full] .editor-block-list__breadcrumb{margin-left:-50px;margin-right:-50px}}.editor-block-contextual-toolbar>*,.editor-block-list__breadcrumb>*{pointer-events:auto}.editor-block-contextual-toolbar .editor-block-toolbar,.editor-block-list__breadcrumb .components-toolbar{width:100%;background:#fff;background-clip:padding-box;box-sizing:padding-box;border:1px solid rgba(25,30,35,.15);position:absolute;left:0}.is-dark-theme .editor-block-contextual-toolbar .editor-block-toolbar,.is-dark-theme .editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.3)}.editor-block-list__block[data-align=right] .editor-block-contextual-toolbar .editor-block-toolbar,.editor-block-list__block[data-align=right] .editor-block-list__breadcrumb .components-toolbar{left:auto;right:0}@media (min-width:600px){.editor-block-contextual-toolbar .editor-block-toolbar,.editor-block-list__breadcrumb .components-toolbar{width:auto}}.editor-block-contextual-toolbar .editor-block-toolbar{border-bottom:none}.editor-block-list__breadcrumb .components-toolbar{padding:0 12px;line-height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;cursor:default}.editor-block-list__breadcrumb .components-toolbar .components-button{margin-left:-12px;margin-right:12px;border-right:1px solid #e2e4e7;color:#555d66;padding-top:6px}.editor-block-list__breadcrumb{opacity:0}.editor-block-list__breadcrumb.is-visible{animation:fade-in .3s ease-out;animation-fill-mode:forwards}.editor-block-mover{opacity:0}.editor-block-mover.is-visible{animation:fade-in .3s ease-out;animation-fill-mode:forwards}.editor-block-mover__control{display:flex;align-items:center;justify-content:center;border:none;outline:none;background:none;cursor:pointer;padding:0;width:28px;height:28px;border-radius:4px;color:rgba(25,30,35,.5)}.is-dark-theme .editor-block-mover__control{color:hsla(0,0%,100%,.65)}.editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(25,30,35,.075)}.is-dark-theme .editor-block-mover__control[aria-disabled=true]{color:hsla(0,0%,100%,.2)}.editor-block-mover__control svg{width:28px;height:28px;padding:5px}@media (min-width:600px){.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control{background:#fff;border:1px solid #e2e4e7}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:first-child{border-width:1px 1px 0}.editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:last-child{border-width:0 1px 1px}}.editor-block-mover__control:not(:disabled):not([aria-disabled=true]):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.editor-block-mover__control:not(:disabled):not([aria-disabled=true]):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.editor-block-mover__control:not(:disabled):not([aria-disabled=true]):focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.editor-block-mover__description{display:none}.editor-block-drop-zone{border:none;border-radius:0}.editor-block-drop-zone .components-drop-zone__content{display:none}.editor-block-drop-zone.is-close-to-bottom{background:none;border-bottom:3px solid #00a0d2}body.admin-color-sunrise .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e34e46}body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #00a0d2}.editor-block-drop-zone.is-appender.is-close-to-bottom,.editor-block-drop-zone.is-appender.is-close-to-top,.editor-block-drop-zone.is-close-to-top{background:none;border-top:3px solid #00a0d2;border-bottom:none}body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-sunrise .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-sunrise .editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ocean .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ocean .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-midnight .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-midnight .editor-block-drop-zone.is-close-to-top{border-top:3px solid #e34e46}body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-ectoplasm .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-ectoplasm .editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-coffee .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-coffee .editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-blue .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-blue .editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-bottom,body.admin-color-light .editor-block-drop-zone.is-appender.is-close-to-top,body.admin-color-light .editor-block-drop-zone.is-close-to-top{border-top:3px solid #00a0d2}.editor-block-drop-zone.is-dragging-default .components-drop-zone__content,.editor-block-drop-zone.is-dragging-html .components-drop-zone__content{display:none}.editor-block-settings-menu{opacity:0}.editor-block-settings-menu.is-visible{animation:fade-in .3s ease-out;animation-fill-mode:forwards}.editor-block-settings-menu__toggle,.editor-block-settings-remove{justify-content:center;padding:0;width:28px;height:28px;border-radius:4px;color:rgba(25,30,35,.6)}.is-dark-theme .editor-block-settings-menu__toggle,.is-dark-theme .editor-block-settings-remove{color:hsla(0,0%,100%,.75)}@media (min-width:600px){.editor-block-list__layout .editor-block-list__layout .editor-block-settings-menu__toggle,.editor-block-list__layout .editor-block-list__layout .editor-block-settings-remove{background:#fff;border:1px solid #e2e4e7;color:#555d66}}.editor-block-settings-menu__toggle .dashicon{transform:rotate(90deg)}.editor-block-settings-menu__popover{z-index:21}.editor-block-settings-menu__popover:after,.editor-block-settings-menu__popover:before{margin-left:2px}.editor-block-settings-menu__popover .components-popover__content{width:182px}.editor-block-settings-menu__popover .editor-block-settings-menu__content{width:100%}.editor-block-settings-menu__popover .editor-block-settings-menu__separator{margin-top:10px;margin-bottom:10px;border-top:1px solid #e2e4e7}.editor-block-settings-menu__popover .editor-block-settings-menu__title{display:block;padding:6px;color:#6c7781}.editor-block-settings-menu__popover .editor-block-settings-menu__control{width:100%;justify-content:flex-start;padding:8px;background:none;outline:none;border-radius:0;color:#555d66;text-align:left;cursor:pointer;border:none;box-shadow:none}.editor-block-settings-menu__popover .editor-block-settings-menu__control:focus,.editor-block-settings-menu__popover .editor-block-settings-menu__control:hover,.editor-block-settings-menu__popover .editor-block-settings-menu__control:not(:disabled):hover{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-block-settings-menu__popover .editor-block-settings-menu__control .dashicon{margin-right:5px}.editor-warning{z-index:1;position:absolute;top:15px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;justify-content:space-around;align-items:center;width:96%;max-width:780px;padding:20px;background-color:#fff;border:1px solid #e2e4e7;text-align:center;line-height:1.4;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.editor-warning__actions{display:flex;margin-top:20px}.editor-warning__action{margin:0 5px 5px}.editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.editor-inserter{position:relative}}.editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}input[type=search].editor-inserter__search{display:block;width:100%;margin:0;padding:11px 16px;position:relative;z-index:1;border:none;box-shadow:0 1px 0 0 #e2e4e7;outline-offset:-1px;font-size:16px}@media (min-width:600px){input[type=search].editor-inserter__search{font-size:13px}}input[type=search].editor-inserter__search:focus{color:#191e23;outline:1px solid #6c7781;box-shadow:none}.editor-inserter__category-blocks{display:flex;flex-flow:row wrap;padding:8px}.editor-inserter__menu{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.editor-inserter__menu{width:350px;position:relative}.editor-inserter__menu .editor-block-preview{border:1px solid #e2e4e7;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);background:#fff;position:absolute;left:100%;top:-1px;bottom:-1px;width:300px}}.editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.editor-inserter__block{display:flex;flex-direction:column;width:calc(33% - 8px);margin:4px;font-size:13px;color:#555d66;padding:8px 4px;align-items:center;justify-content:center;cursor:pointer;border:none;line-height:1em;background:transparent;outline:1px solid #f3f4f5;min-height:5em;overflow:hidden;word-break:break-word}.editor-inserter__block .dashicon{margin-bottom:3px}.editor-inserter__block:disabled{opacity:.6;cursor:default}.editor-inserter__block:not(:disabled):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #e2e4e7,inset 0 0 0 2px #fff,0 1px 1px rgba(25,30,35,.2)}.editor-inserter__block:not(:disabled).is-active,.editor-inserter__block:not(:disabled):active,.editor-inserter__block:not(:disabled):focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px;position:relative}.editor-inserter__separator{border-bottom:1px solid #e2e4e7;background:hsla(0,0%,100%,.8);text-align:center;display:block;margin:0;padding:12px 14px;font-size:13px;font-weight:600;margin-top:-1px}.editor-inserter__search-results{flex-grow:1;overflow:auto}@media (min-width:782px){.editor-inserter__search-results{height:288px}}.editor-inserter__no-blocks{display:block;text-align:center;font-style:italic;padding:24px}.editor-inserter__tabs{display:flex;flex-direction:column;height:100%;flex-grow:1;box-shadow:inset 0 -5px 5px -4px rgba(25,30,35,.1);overflow:hidden}.editor-inserter__tabs .components-tab-panel__tab-content{overflow:auto;outline-offset:-1px}.editor-inserter__tabs .components-tab-panel__tab-content:focus{color:#191e23;outline:1px solid #6c7781;box-shadow:none}.editor-inserter__tabs .components-tab-panel__tab-content:focus:active{outline:none}@media (min-width:782px){.editor-inserter__tabs .components-tab-panel__tab-content{height:250px}}.editor-inserter__tabs .components-tab-panel__tabs{width:100%;display:flex;justify-content:space-between;position:relative;background:#f8f9f9;border-bottom:1px solid #e2e4e7;flex-shrink:0;margin-top:1px;outline-offset:-1px}.editor-inserter__tab{border:none;background:none;font-size:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;padding:11px 8px;width:100%;border-radius:0;margin:0;color:#555d66;cursor:pointer;outline-offset:-1px}.editor-inserter__tab.is-active{padding-bottom:8px;font-weight:600;border-bottom:3px solid #00a0d2;position:relative;z-index:1}body.admin-color-sunrise .editor-inserter__tab.is-active{border-bottom:3px solid #d1864a}body.admin-color-ocean .editor-inserter__tab.is-active{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .editor-inserter__tab.is-active{border-bottom:3px solid #e34e46}body.admin-color-ectoplasm .editor-inserter__tab.is-active{border-bottom:3px solid #a7b656}body.admin-color-coffee .editor-inserter__tab.is-active{border-bottom:3px solid #c2a68c}body.admin-color-blue .editor-inserter__tab.is-active{border-bottom:3px solid #82b4cb}body.admin-color-light .editor-inserter__tab.is-active{border-bottom:3px solid #00a0d2}.editor-inserter__tab:active,.editor-inserter__tab:focus{z-index:1;color:#191e23;outline:1px solid #6c7781;box-shadow:none}.editor-block-preview{pointer-events:none;padding:10px;overflow:hidden;display:none}@media (min-width:782px){.editor-block-preview{display:block}}.editor-block-preview__title{margin-bottom:10px;color:#6c7781}.editor-block-preview__content{padding:14px;border:1px solid #e2e4e7}.editor-block-preview__content>div{transform:scale(.9);transform-origin:center top;font-family:Noto Serif,serif}.editor-block-preview__content>div section{height:auto}.editor-block-preview__content>.shared-block-indicator{display:none}.editor-inserter-with-shortcuts{display:flex;align-items:center}.editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.editor-inserter-with-shortcuts__block{margin-right:4px;width:36px;height:36px;padding-top:8px;color:rgba(25,30,35,.25)}.is-dark-theme .editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.4)}.editor-default-block-appender input[type=text].editor-default-block-appender__content{border:none;background:none;box-shadow:none;display:block;margin:0;max-width:none;padding:14px;font-size:16px;cursor:text;width:100%;font-family:Noto Serif,serif;outline:1px solid transparent;transition:outline .2s;height:60px;color:rgba(25,30,35,.5)}.is-dark-theme .editor-default-block-appender input[type=text].editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.editor-default-block-appender .editor-inserter-with-shortcuts{opacity:.5;transition:opacity .2s}.editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:rgba(25,30,35,.6)}.is-dark-theme .editor-default-block-appender .editor-inserter-with-shortcuts .components-icon-button:not(:hover){color:hsla(0,0%,100%,.75)}.editor-default-block-appender .editor-inserter__toggle:not([aria-expanded=true]){opacity:0}.editor-default-block-appender:hover .editor-inserter-with-shortcuts,.editor-default-block-appender:hover .editor-inserter__toggle{opacity:1}.editor-default-block-appender .components-drop-zone__content-icon{display:none}.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{position:absolute;top:10px;right:10px}@media (min-width:600px){.editor-block-list__empty-block-inserter,.editor-default-block-appender .editor-inserter{left:-36px;right:auto}}.editor-block-list__empty-block-inserter:disabled,.editor-default-block-appender .editor-inserter:disabled{display:none}.editor-block-list__empty-block-inserter .editor-inserter__toggle,.editor-default-block-appender .editor-inserter .editor-inserter__toggle{transition:opacity .2s;border-radius:50%}.editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:rgba(25,30,35,.6)}.is-dark-theme .editor-block-list__empty-block-inserter .editor-inserter__toggle:not(:hover),.is-dark-theme .editor-default-block-appender .editor-inserter .editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.editor-inserter-with-shortcuts{position:absolute;top:10px;right:14px;display:none}@media (min-width:600px){.editor-inserter-with-shortcuts{right:0;display:flex}}.editor-block-toolbar{display:inline-flex;flex-grow:1;width:100%;background:#fff;overflow:auto;position:relative}@media (min-width:600px){.editor-block-toolbar{overflow:inherit}}.editor-block-toolbar .components-toolbar{border:none;border-left:1px solid #e2e4e7}.editor-block-toolbar>div{display:flex}.editor-block-toolbar .editor-block-switcher{display:inline-flex}.edit-post-header-toolbar__block-toolbar .editor-block-toolbar .editor-block-switcher{border-left-color:1px solid #e2e4e7}.editor-block-switcher{position:relative}.editor-block-switcher .components-toolbar{border-left:none}.editor-block-switcher__toggle{width:auto;margin:0;padding:8px;border-radius:0}.editor-block-switcher__toggle:focus:before{top:-3px;right:-3px;bottom:-3px;left:-3px}.editor-block-switcher__popover .components-popover__content{width:200px}.editor-block-switcher__menu{box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;padding:3px 3px 0}.editor-block-switcher__menu-title{display:block;padding:6px;color:#6c7781}.editor-block-switcher__menu-item{color:#555d66;display:flex;align-items:center;width:100%;padding:6px;text-align:left}.editor-block-switcher__menu-item .editor-block-switcher__block-icon{margin-right:8px;height:20px}.editor-writing-flow{height:100%;display:flex;flex-direction:column}.editor-writing-flow__click-redirect{flex-basis:100%;cursor:text}.editor-format-toolbar{display:inline-flex}.editor-format-toolbar__link-modal{position:relative;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4;z-index:81}.edit-post-header-toolbar__block-toolbar .editor-format-toolbar__link-modal{position:absolute;left:0;right:0}.editor-format-toolbar__link-container{position:absolute;transform:translateX(-50%);z-index:81}.editor-format-toolbar__link-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.editor-format-toolbar__link-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.editor-format-toolbar__link-settings-toggle .dashicon{transform:rotate(90deg)}.editor-format-toolbar__link-value{margin:9px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;position:relative;white-space:nowrap;min-width:150px;max-width:500px}.editor-format-toolbar__link-settings{padding:7px 8px;border-top:1px solid #e2e4e7;padding-top:8px}.editor-format-toolbar__link-settings .components-base-control{margin:0;flex-grow:1;flex-shrink:1}
changelog.txt CHANGED
@@ -1,5 +1,12 @@
1
  == Changelog ==
2
 
 
 
 
 
 
 
 
3
  = 2.9.1 =
4
 
5
  * Ensure the wp-editor script is also enqueued soon using the `enqueue_block_assets` hook
1
  == Changelog ==
2
 
3
+ = 2.9.2 =
4
+
5
+ * Ensure the Title uses the same max-width as blocks
6
+ * Center the background of the cover image block
7
+ * Fix formatting controls regression
8
+ * Fix classic editor visual mode regression
9
+
10
  = 2.9.1 =
11
 
12
  * Ensure the wp-editor script is also enqueued soon using the `enqueue_block_assets` hook
gutenberg.php CHANGED
@@ -3,15 +3,15 @@
3
  * Plugin Name: Gutenberg
4
  * Plugin URI: https://github.com/WordPress/gutenberg
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
- * Version: 2.9.1
7
  * Author: Gutenberg Team
8
  *
9
  * @package gutenberg
10
  */
11
 
12
  ### BEGIN AUTO-GENERATED DEFINES
13
- define( 'GUTENBERG_VERSION', '2.9.1' );
14
- define( 'GUTENBERG_GIT_COMMIT', '4c2a9070b85c3823985335a300562f7baa157eb0' );
15
  ### END AUTO-GENERATED DEFINES
16
 
17
  gutenberg_pre_init();
3
  * Plugin Name: Gutenberg
4
  * Plugin URI: https://github.com/WordPress/gutenberg
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
+ * Version: 2.9.2
7
  * Author: Gutenberg Team
8
  *
9
  * @package gutenberg
10
  */
11
 
12
  ### BEGIN AUTO-GENERATED DEFINES
13
+ define( 'GUTENBERG_VERSION', '2.9.2' );
14
+ define( 'GUTENBERG_GIT_COMMIT', '3b4842095fea97feeb49ca8690e0f351808c3a3f' );
15
  ### END AUTO-GENERATED DEFINES
16
 
17
  gutenberg_pre_init();
lib/client-assets.php CHANGED
@@ -1093,9 +1093,25 @@ JS;
1093
  * Remove this in Gutenberg 3.1
1094
  */
1095
  function polyfill_blocks_module_in_scripts() {
1096
- if ( is_admin() ) {
1097
- wp_enqueue_script( 'wp-editor' );
 
 
1098
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1099
  }
1100
 
1101
  add_action( 'enqueue_block_editor_assets', 'polyfill_blocks_module_in_scripts', 9 );
1093
  * Remove this in Gutenberg 3.1
1094
  */
1095
  function polyfill_blocks_module_in_scripts() {
1096
+ global $post;
1097
+
1098
+ if ( ! is_admin() ) {
1099
+ return;
1100
  }
1101
+
1102
+ if ( get_current_screen()->base !== 'post' ) {
1103
+ return;
1104
+ }
1105
+
1106
+ if ( isset( $_GET['classic-editor'] ) ) {
1107
+ return;
1108
+ }
1109
+
1110
+ if ( ! gutenberg_can_edit_post( $post ) ) {
1111
+ return;
1112
+ }
1113
+
1114
+ wp_enqueue_script( 'wp-editor' );
1115
  }
1116
 
1117
  add_action( 'enqueue_block_editor_assets', 'polyfill_blocks_module_in_scripts', 9 );
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: matveb, joen, karmatosed
3
  Requires at least: 4.9
4
  Tested up to: 4.9.6
5
- Stable tag: 2.9.0
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
 
@@ -81,6 +81,7 @@ See also <a href="https://github.com/WordPress/gutenberg/blob/master/CONTRIBUTIN
81
 
82
  = Latest =
83
 
84
- * Ensure the wp-editor script is also enqueued soon using the `enqueue_block_assets` hook
85
- * Allow clicking the block's input fields (regression fix)
86
- * Remove post type capabilities from the user object
 
2
  Contributors: matveb, joen, karmatosed
3
  Requires at least: 4.9
4
  Tested up to: 4.9.6
5
+ Stable tag: 2.9.1
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
 
81
 
82
  = Latest =
83
 
84
+ * Ensure the Title uses the same max-width as blocks
85
+ * Center the background of the cover image block
86
+ * Fix formatting controls regression
87
+ * Fix classic editor visual mode regression